/* Importing custom font from Google  */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&display=swap");

:root {
  --lightpink: #f9f5f6;
  --mediumpink: #f2bed1;
  --nero: #27262e;
  --black: #000000;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 5px;
  border-radius: 20px;
  background-color: var(--nero);
}

::-webkit-scrollbar-thumb {
  width: 100%;
  border-radius: 20px;
  background-color: var(--mediumpink);
}

h1 {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--nero);
}

html,
body {
  font-family: "DM Sans", sans-serif;
}

.container {
  width: 100%;
  overflow-x: hidden;
}

.menu-icon {
  display: none;
}

.close-icon {
  display: none;
}

button {
  background: var(--mediumpink);
  border: 1.5px solid var(--mediumpink);
  border-radius: 12px;
  color: var(--nero);
  transition: 0.2s linear;
  cursor: pointer;
  padding: 12px 18px;
  font-weight: 500;
  font-size: 16px;
}

button:hover {
  background: transparent;
  color: var(--mediumpink);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 35px;
}

header nav {
  display: flex;
  gap: 35px;
}

header nav a {
  transition: 0.2s linear;
  font-weight: 500;
  font-size: 18px;
}

header nav a:hover {
  color: var(--mediumpink);
}

header button {
  color: var(--white);
}

header .logo {
  font-size: 28px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

header .logo span {
  color: var(--mediumpink);
}

.hero {
  margin-top: 30px;
  width: 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0px 50px;
}

main section h1 {
  max-width: 800px;
  text-align: center;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 500;
}

main section h1 span {
  color: var(--mediumpink);
  border-bottom: 3px solid var(--mediumpink);
  padding-bottom: 3px;
  text-shadow: var(--lightpink) 2px 5px;
}

main section p {
  max-width: 600px;
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 10px;
}

main section button {
  font-size: 18px;
  font-weight: 500;
}

.youtube-video {
  max-width: fit-content;
  max-width: -moz-fit-content;
  width: 100%;
  margin: 30px auto;
  border-top: 8px solid var(--mediumpink);
  border-left: 5px solid var(--mediumpink);
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
}

.section-2 {
  display: flex;
  margin-top: 20px;
  background: var(--nero);
  padding: 75px 50px;
  align-items: center;
  gap: 50px;
  justify-content: space-between;
}

.section-2 div h3 {
  color: var(--mediumpink);
  text-align: left;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
}

.section-2 div p {
  color: var(--lightpink);
  font-size: 18px;
  line-height: normal;
  text-align: start;
}

.section-2 figure {
  width: 330px;
  height: 480px;
  flex-shrink: 0;
  border-radius: 60px 0px;
  background-image: url("../assets/images/adora.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.section-3 {
  display: flex;
  background: var(--lightpink);
  padding: 75px 50px;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.section-3 div h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.underline {
  color: var(--mediumpink);
  border-bottom: 1px solid var(--mediumpink);
}

.section-3 div p {
  font-size: 18px;
  line-height: normal;
  text-align: start;
}

.section-3 div button {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
}

.section-3 figure {
  width: 303px;
  height: 300px;
  flex-shrink: 0;
  background-image: url("../assets/images/grayscale-pic.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.partners {
  display: flex;
  flex-direction: column;
  padding: 75px 50px;
  width: 100%;
}

.become-a-partner {
  display: flex;
  flex-direction: column;
  padding: 75px 50px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: var(--nero);
  color: whitesmoke;
}

.become-a-partner h2 {
  color: white;
  text-align: center;
  font-size: 30px;
}

.become-a-partner p {
  max-width: 60vw;
  text-align: center;
  font-size: 18px;
  line-height: normal;
}

.partners h2 {
  color: var(--nero);
  text-align: center;
  font-size: 30px;
}

.partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  gap: 25px;
}

.partner div h3 {
  color: var(--mediumpink);
  font-size: 22px;
  margin-bottom: 10px;
}

.partner div p {
  font-size: 18px;
  line-height: normal;
  text-align: left;
}

.partner figure {
  width: 300px;
  height: 120px;
  flex-shrink: 0;
  background-image: url("../assets/images/slum2school-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
}

footer {
  background-color: var(--nero);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 50px;
  border-top: 1px solid var(--lightpink);
}

footer .logo {
  font-size: 26px;
  font-weight: 600;
  line-height: normal;
  color: var(--lightpink);
  white-space: nowrap;
}

footer .logo span {
  color: var(--mediumpink);
}

footer nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

i {
  color: var(--lightpink);
}

a {
  width: fit-content;
}

i:hover {
  color: var(--mediumpink);
  scale: 95%;
  transition: 0.2s linear;
}

.show {
  height: 0;
}

.mobile-menu {
  height: 0px;
  display: none;
  flex-direction: column;
  gap: 30px;
}

main {
  position: relative;
  z-index: 1;
  background-color: white;
}

.design {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
}

@media only screen and (max-width: 540px) {
  header .logo,
  footer .logo {
    font-size: 15px;
  }

  .section-2 div h3 {
    line-height: normal;
    margin-bottom: 20px;
  }

  .section-2 div p {
    margin-bottom: 10px;
  }

  .section-3 div button {
    line-height: 28px;
  }

  .become-a-partner p {
    max-width: 80vw;
  }
}

@media only screen and (max-width: 991px) {
  .show {
    height: 100%;
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 30px;
    background: var(--mediumpink);
    transform: translateX(1000px);
    transition: 0.5s ease-in;
    z-index: 2;
  }

  .menu-head {
    width: 100%;
    display: flex;
    justify-content: end;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu nav a {
    font-size: 25px;
    font-weight: 600;
  }

  .mobile-menu nav a:hover {
    color: var(--lightpink);
  }

  .mobile-menu nav a button {
    background: var(--lightpink);
    color: var(--mediumpink);
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
  }

  header nav,
  .header-button {
    display: none;
  }

  .section-2 figure {
    display: none;
  }

  .menu-icon {
    display: block;
    font-size: 18px;
  }

  .show-nav {
    transform: translateX(0);
    box-shadow: 0 0 6px 9999px rgba(0, 0, 0, 0.7);
  }

  .close-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    gap: 15px;
  }

  .section-2,
  .section-3,
  .partner,
  footer {
    flex-direction: column-reverse;
  }

  footer {
    gap: 25px;
  }

  .partner figure {
    width: 200px;
    height: 80px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 991px) and (min-width: 540px) {
  .show {
    max-width: 400px;
    width: 100%;
  }

  header .logo,
  footer .logo {
    font-size: 22px;
  }
}
