/*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;

}

/* MAIN PAGE STYLING */

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;

}

.moth2 {
  position: absolute;
  top: 11rem;
  left: 1%;
  width:40rem;
  transition: top 0.1s ease-out;
  z-index: 1;
  animation: slideFromLeft 1.2s ease-in-out;
}

.branding.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-self: center;
}

.branding-title {
    font-size: 13rem;
    font-weight: bold;
    font-family: 'Vogue', sans-serif;
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    
}

.branding-title-1 {
  display: flex;
  align-content: flex-start;
  margin-left: 3rem;
  animation: slideFromLeft 1.2s ease-in-out;

}

.branding-title-2 {
  display: flex;
  justify-content: flex-end;
  margin-right: 3rem;
  animation: slideFromRight 1.2s ease-in-out;

}

@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;
  }
}


.branding-intro {
   margin-top: 3rem;
  margin: 2rem;
}

.branding-conclution {
  margin: 2rem;
  margin-bottom: 5rem;
  text-align: left;
}
.branding-subtitle {
  font-size: 1.7rem;
  font-family: 'Vogue', sans-serif;
  margin: 1rem;
  text-align: center;
 
}

.branding-text1 {
  font-family: "Lora", serif;
  text-align: center;
  font-size: 1.2rem;
  
}

.branding-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 3rem;
}

.branding-box1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  margin: 4rem;
 
 
}

.branding-image {
  width: 30%;
  height: auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  margin-right: 4rem;
  margin-left: 4rem;
}

.branding-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%;

}

.branding-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;
}

.branding-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;
}

.branding-text2 {

  text-align: left;
  
}

.branding-image[alt="mylogo"] {
  margin-top: 4rem;
}

.branding-image[alt="email"],
.branding-image[alt="marketingplan"] {
   
  margin-top: 8rem;

}

.branding-image[alt="marketingplan"],
.branding-image[alt="persona"] {
  width: 60%;
  height: auto;
  display: block;
  max-width: 600px;
}

.branding-image[alt="brandidentity"],
.branding-image[alt="brandidentity2"] {

  width: 20%;
  height: auto;
  display: block;
  max-width: 400px;
}


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

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

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