/*NAV STYLING */

#button-box {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  background-color: transparent;
  z-index: 1;

}

.links {
  display:flex;
  flex-direction: row;
  gap: 1rem;
 
}

.linkbuttons {
  text-decoration: none;
  color: #000;
  font-weight: bold;

}



body {
    background-color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    display: flex;
    flex-direction: column;
      justify-content: center;
      position: relative;
      overflow-x: hidden;
  
  }
  
  .moth3 {
    position: absolute;
    top: 8rem;
    left: 1%;
    width:40rem;
    transition: top 0.1s ease-out;
    z-index: 1;
    animation: slideFromLeft 1.2s ease-in-out;
  }
  
  .prx.box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      align-self: center;
  }
  
  .prx-title {
      font-size: 10rem;
      font-weight: bold;
      font-family: 'Vogue', sans-serif;
      display: flex;
      flex-direction: column;
     
      
  }
  
  .prx-title-1 {
    display: flex;
    align-content: flex-start;
    margin-left: 3rem;
    animation: slideFromLeft 1.2s ease-in-out;
  
  }
  
  .prx-title-2 {
    display: flex;
    justify-content: flex-end;
    margin-right: 5rem;
    animation: slideFromRight 1.2s ease-in-out;
    margin-bottom: 7rem;
  
  }
  
  @keyframes slideFromLeft {
  
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideFromRight {
  
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  
  .prx-intro {
     margin-top: 3rem;
    margin: 2rem;
  }
  
  .prx-conclution {
    margin: 2rem;
    margin-bottom: 5rem;
    text-align: left;
  }
  .prx-subtitle {
    font-size: 1.7rem;
    font-family: 'Vogue', sans-serif;
    margin: 1rem;
    text-align: center;
   
  }
  
 
  .prx-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 3rem;
  }
  
  .prx-box1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 4rem;
   
   
  }
  
  .prx-image {
    width: 30%;
    height: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-right: 4rem;
    margin-left: 4rem;
  }

  .prx-image[alt="coda"],
  .prx-image[alt="moodboard-projectx"],
  .prx-image[alt="user-test-x"] {
    width:40%;
    height: auto;
    display: block;
    max-width: 600px;

  }
    
video[alt="gallery-final"], 
.outcome-photo[alt="gallery-final"] {
  width: 40%;
  height: auto;
  display: block;
  max-width: 600px;
  margin: 0 auto;
}
  
.prx-photo {
  width: 50%;
  max-width: 600px;
  min-width: 200px;
  height: auto;
  display: block;
  margin: 1rem auto;
}
  
  .prx-text{
    
   display: flex;
   flex: 1;
    justify-content: center;
    align-items: flex-start;
    margin-left: 4rem;
    font-family: "Lora", serif;
    text-align: center;
    font-size: 1.4rem;
    margin: 4rem;
    max-width: 40%;
  
  }
  
  .prx-text1 {
    
    font-size: 1.4rem;
    font-family: "Lora", serif;
  }

  .prx-link {
    font-size: 1.4rem;
    font-family: 'Aestera';
    color: #E4DBDB;
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    background-color: #6A533B;
  }
  
  .prx-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: 1;
    gap: 1rem;
    margin-top: 3rem;
    flex-shrink: 0;
    width: 50%;
  }
  
  @font-face {
    font-family: 'Aestera';
    src: url('fonts/Aestera.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  .prx-text2 {
  
    text-align: left;
    
  }

/* Responsive design */
@media (max-width: 1100px) {
  .prx-title {
    font-size: 6rem;
  }
  .prx-box1 {
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
  }
  .prx-image {
    width: 80vw;
    max-width: 90vw;
    margin: 2rem 0 1rem 0;
  }
  .prx-text {
    max-width: 90vw;
    margin: 1rem 0;
    font-size: 1.1rem;
  }
  .prx-image-container {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .prx-title {
    font-size: 2.5rem;
    margin-top: 1rem;
  }
  .prx-subtitle {
    font-size: 1.1rem;
  }
  .prx-image {
    width: 98vw;
    max-width: 98vw;
  }
  .prx-text {
    font-size: 1rem;
    max-width: 98vw;
  }
  .prx-content {
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .prx-title {
    font-size: 1.3rem;
    margin-top: 0.5rem;
  }
  .prx-image {
    width: 100vw;
    max-width: 100vw;
    margin: 1rem 0;
  }
  .prx-text {
    font-size: 0.95rem;
    margin: 0.5rem 0;
  }
}