* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #f7f6ee;
  font-family: "Lora", serif;
}

/* nav styling start */
nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  font-family: "Lora", serif;
  padding: 0 5%;
  height: 10vh;
  background-color: #f7f6ee;
}
nav .logo {
  float: left;
  padding: 0;
  margin: 0;
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #000;
}
nav .links {
  float: right;
  padding: 0;
  margin: 0;
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
nav .links li {
  list-style: none;
}
nav .links a {
  display: block;
  padding: 1em;
  font-size: 16px;
  color: #000;
  text-decoration: none;
}
#nav-toggle {
  position: absolute;
  top: -100px;
}
nav .icon-burger {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}
nav .icon-burger .line {
  width: 30px;
  height: 3px;
  background-color: #000;
  margin: 5px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 768px) {
  nav .links {
    float: none;
    position: fixed;
    z-index: 9;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 100%;
    width: auto;
    height: auto;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: #262f38;
    color: #000;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
  }
  nav .links a {
    font-size: 30px;
    color: #f7f6ee;
  }
  nav :checked ~ .links {
    bottom: 0;
  }
  nav .icon-burger {
    display: block;
  }
  nav :checked ~ .icon-burger .line:nth-child(1) {
    transform: translateY(8px) rotate(225deg);
  }
  nav :checked ~ .icon-burger .line:nth-child(3) {
    transform: translateY(-8px) rotate(-225deg);
  }
  nav :checked ~ .icon-burger .line:nth-child(2) {
    opacity: 0;
  }
}
/* nav styling end */

/* header styling start */
#header {
  width: 100%;
  padding: 0 10vw;
  margin-top: 130px;
}

.wrapper {
  width: 50vw;
}

.headings {
  font-size: 55px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 1.5px;
  font-family: "Libre Baskerville", serif;
}

.divider {
  border-bottom: 3px solid black;
  width: 30px;
  margin-top: 20px;
}

.text {
  font-size: 23px;
  font-weight: 100;
  line-height: 30px;
  margin-top: 20px;
  letter-spacing: 1.5px;
}

.btn {
  padding: 15px 30px;
  background-color: black;
  color: white;
  border: none;
  outline: none;
  border-radius: 30px;
  margin-top: 50px;
  font-size: 20px;
}

@media (max-width: 768px) {
  #header {
    width: 100%;
    padding: 0 15vw;
    margin-top: 130px;
  }

  .wrapper {
    width: 100%;
  }
}
/* header styling end */

/* illustration styling start */
#illustration {
  width: 100%;
  margin-top: 100px;
}

#illustration img {
  width: 100%;
}
/* illustration styling end */

/* flexSection styling start */
#flexSection {
  display: flex;
  align-items: center;
  margin-top: 100px;
}

#flexSection .divLeft,
.divRight {
  width: 50%;
}

.divLeft img {
  width: 97%;
}

.divRight {
  padding-left: 3.5vw;
}

@media (max-width: 768px) {
  #flexSection {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    margin-top: 50px;
  }
  #flexSection .divLeft,
  .divRight {
    width: 100%;
  }

  .divLeft img {
    width: 97%;
  }

  .divRight {
    padding: 15vw;
  }

  .divRight h1 {
    font-size: 9vw;
  }

  .divRight p {
    font-size: 3.5vw;
  }
}
/* flexSection styling end */

/* illustration2 styling start */
#illustration2 {
  width: 100%;
  margin-top: 100px;
}

#illustration2 img {
  width: 100%;
}

@media (max-width: 768px) {
  #illustration2 {
    margin-top: 50px;
  }
}
/* illustration2 styling end */

/* illustration3 styling start */
#illustration3 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

#illustration3 img {
  width: 85%;
}

#illustration3 button {
  margin: 0;
}

@media (max-width: 768px) {
  #illustration3 {
    margin-top: 25px;
  }
}
/* illustration3 styling end */

/* footer styling start */
#footer {
  padding: 5vw 10vw 5vw;
}

#footer .divimg {
  width: 100%;
}

#footer .divimg img {
  width: 100%;
}

#footer .content {
  width: 100%;
  display: flex;
  align-items: first baseline;
  justify-content: space-between;
}

.div1 h2 {
  font-weight: 300;
  font-family: system-ui, sans-serif;
  margin-bottom: 10px;
}

.div1 h2 span {
  font-weight: 500;
}

.div1 p {
  line-height: 20px;
  opacity: 0.7;
}

.div2 h4 {
  font-size: 18px;
  font-weight: 100;
  opacity: 0.7;
  margin-bottom: 10px;
}

.div2 ul li {
  list-style: none;
  line-height: 25px;
  opacity: 0.7;
}

.div2 ul li span {
  border-bottom: 2px solid black;
}

.div3 h4 {
  font-size: 18px;
  font-weight: 100;
  opacity: 0.7;
  margin-bottom: 10px;
}

.div3 a {
  color: black;
}

.div3 p {
  line-height: 20px;
  opacity: 0.7;
  margin-top: 10px;
}

@media (max-width: 768px) {
  #footer {
    padding: 5vw 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .content {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .div1 {
    text-align: center;
  }
  .div1 h2 {
    font-size: 40px;
  }

  .div1 p {
    font-size: 25px;
    line-height: 1.5;
  }

  .div2 {
    display: none;
  }

  .div3 {
    text-align: center;
    margin-top: 20px;
  }

  .div3 h4 {
    font-size: 40px;
  }

  .div3 a,
  p {
    font-size: 25px;
    line-height: 2;
  }
}

/* footer styling end */
