body{
    min-width: 375px;
    max-width: 1000px;
    padding: 0 20px;
}
.page{
        background-color: #ffffff;
   
  max-width: 900px;            
  padding: 5px 35px;         
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

h3{ 
text-align: center;
font-family: "semplicitapro";
font-weight: bold;
font-size: 26px
}

.logo{
margin: 0 auto;
width: 300px; 
display: block;
}

.tile{
    display: block;
    border: solid; 
    width: 100%;
    height: auto;
    transform: translatex(-2px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.23);
}

.tile:hover{
    cursor: pointer;
    scale: 1.02;
}



.project {
  background-color: #313131;
  color: #cfcdce;
  border-radius: 6px; 
  padding: 3.5px;
  font-size: 22px;
  font-family: "semplicitapro";
  font-weight: bold;
  white-space: nowrap; 
}


.grid {
  display: grid;
}


.text-overlay {
  position: relative;
  display: inline-block;
  width: 275px; 
  margin: 8px auto;
}


.tile {
  width: 100%;
  height: auto;
  display: block;
}


.text-overlay p,
.text-overlay div {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-48%, -48%);
  background-color: gray;
  color: black;
  border-radius: 6px;
  padding: 3.5px 8px;
  font-size: 16px;
  font-family: "semplicitapro";
  font-weight: bold;
  pointer-events: none;
}
.project:hover{
    cursor:pointer;
}

.text-overlay{
    position: relative; 
    display: block;
}

.section-header1{
    text-align: left; 
    margin-left: 0;
    font-family: "semplicitapro";
    font-weight: bolder;
    margin-bottom: -8px;
    height: auto;
    background-color: gray; 
    padding: 12px;
}

.section-header2{
    text-align: left; 
    margin-left: 12px;
    font-family: "semplicitapro";
    font-weight: bolder;
    height: auto; 
    background-color: gray; 
    padding: 12px;
}
.designer{
    font-family: "semplicitapro";
    font-weight: lighter; 
    line-height: 26px;
    margin-left: 2px;
    text-indent: 20px;
    background-color: lightgray;
   padding: 16px;
}

    .block-divider{
width: 300px;
background-color: black;
height: 18px; 
border-radius: 16px 4px 16px 4px;
margin: 10px auto; 
display: block; 
}


form{
    display: grid;
    background-color: lightgray;
    margin: 0 auto;
    padding: 28px 22.5px 33px;
    font-family: "semplicitapro";
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    align-items: center;
    border: solid 6px black;
    border-radius: 5.68px;
    max-width: 275px;
    
}
input{
    font-family: "semplicitapro";
}
button{
    grid-column: 1/-1;
    justify-self: center;
    font-family: "semplicitapro";
    padding: 12px 22px;
    margin-top: 25px;
    margin-bottom: -15px;
}
button:hover{
    cursor: pointer;
}

@media (min-width: 1000px) {
    

  .block-divider {
    width: 925px;
    margin: 0 auto;
  }

  /* All four images on one line */
  .grid {
    display: flex;
    justify-content: center;   /* centers the row */
    align-items: flex-start;   /* or center, if you want vertical centering */
    gap: 24px;                 /* space between tiles */
    margin: 0 auto;
    flex-wrap: nowrap;         /* keep them on a single line */
    position: static;          /* no need for relative here */
    transform: none;           /* remove translateX shifting */
  }

  body {
    margin: 0 auto;
  }

  .about {
    display: flex;
    gap: 10px;
    line-height: 36px;
    padding: 0 45px;
  }

  /* You can delete these if you've moved to a single .project class */
  /* .project1, .project2, .project3, .project4 { ... } */

  .section-header1 {
    height: 115px;
  }

  .section-header2 {
    height: 115px;
  }
    .text-overlay p{
        position: absolute;
        top: 38%;
        left: 53%;
    }
    .tile{
        transform: translatex(6px);
    }
}