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

/* Global CSS Variables */
:root {
  --primary: #00aae7;
  --primary-shadow: black;
  --secondary: #fceccf;
  --hover: #f9e1b5;
  /* font-family: "Young Serif", serif; */
  font-family: "Nunito", serif;
  text-align: center;
  scroll-behavior: smooth;
}

/* BASE STYLES */
main {
  background-color: var(--secondary);
  padding: 3rem 1rem;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  color: var(--primary);
  -webkit-text-stroke: 1px black;
  text-shadow: 2px 0 black;
}

h1 {
  font-size: 2.75rem;
  padding-bottom: 2rem;
}

h2 {
  font-size: 2.25rem;
  padding-bottom: 2rem;
}

h3 {
  font-size: 1.4rem;
  padding-bottom: 1rem;
}

p {
  font-size: 1.3rem;
}

button {
  color: white;
  background-color: var(--primary);
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
}

/* UTILITY CLASSES */
.container {
  width: 90%;
  margin: 0 auto;
}

.section-line {
  /* width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 10px; */
  margin: 0 auto 3rem;
  border-top: 1px solid black;
}

/* CUSTOM STYLES */

/* HEADER */
header {
  position: relative;
  color: white;
  background-color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

#inglesdc-logo {
  position: relative; /* Make z-index work */
  width: 200px;
}

#inglesdc-logo,
.nav-menu-icon {
  z-index: 100;
}

/* MOBILE NAV */
/* .mobile-nav, */
.desktop-nav {
  display: none;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: white;
  border-radius: 10px;
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.mobile-nav {
  position: absolute;
  font-size: 2rem;
  background-color: var(--primary);
  width: 100%;
  left: 0;
  top: 93px;
  padding-top: 2rem;
  transform: translateY(-150%);
  transition: transform 0.5s ease-out;
  z-index: 50;
}

.desktop-nav li:hover,
.mobile-nav li:hover {
  color: var(--hover);
  transition: 0.5s ease;
}

/* Bring the menu into view */
.mobile-nav.show {
  transform: translateY(0);
}

.mobile-nav li {
  padding-bottom: 2rem;
}

/* INTRODUCCION SECTION */
.introduccion-container p {
  text-align: center;
}

.introduccion-img-container {
  display: flex;
  justify-content: space-around;
}

.introduccion-img {
  width: 250px;
  height: 230px;
}

.introduccion-img:last-child {
  display: none;
}

.introduccion-container img,
.introduccion-container p {
  padding-bottom: 2rem;
}

.introduccion-container p:last-child {
  padding-bottom: 3rem;
}

/* COMO APRENDER SECTION */
.formas-de-aprender-container {
  display: flex;
  flex-direction: column;
}

.formas-de-aprender-img {
  background-color: white;
  width: 200px;
  height: 200px;
  border-radius: 200px;
  border: 1px solid black;
}

.formas-de-aprender {
  padding-bottom: 2rem;
}

.formas-de-aprender:last-child {
  padding-bottom: 3rem;
}

/* PREGUNTAS SECTION */
.preguntas p {
  padding: 2.5rem 2rem;
}

.preguntas p:last-child {
  color: var(--primary);
  font-weight: bold;
}

.preguntas {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  aspect-ratio: 9/16;
  background: white;
  box-shadow: 0px 0px 5px black;
  margin: 0 auto 2rem;
  max-height: 550px;
}

.preguntas:last-child {
  margin-bottom: 3rem;
}

/* UNETE SECTION */
.informacion-de-clases:not(:last-child) {
  margin-bottom: 2rem;
}

.informacion-de-clases-container {
  display: flex;
  flex-direction: column;
}

.informacion-de-clases {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  border: 2px solid black;
  height: 60vh;
  width: 100%;
}

.informacion-de-clases-img {
  height: 30vh;
  width: 60vw;
}

.informacion-de-clases p {
  font-size: 1.5rem;
  font-weight: bold;
}

/* FOOTER */
footer {
  color: white;
  background-color: var(--primary);
  padding: 1rem;
}

footer p:last-child {
  font-size: 1rem;
}

footer p:not(:last-child) {
  font-weight: bold;
  margin-bottom: 1rem;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* QUIENES SOMOS PAGE */
.quienes-somos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
}

.quienes-somos-img {
  width: 80vw;
  margin-top: 2rem;
  flex: 1;
}

/* SERVICIOS PAGE */
.tipo-de-clases {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clase-descripcion p {
  padding-bottom: 2rem;
  width: 80%;
  margin-inline: auto;
}

.tipo-de-clases-img {
  width: 250px;
  padding-bottom: 2rem;
}

/* CONTACTO PAGE  */
.contacto-container h1 {
  color: black;
  font-size: 1.5rem;
  font-style: italic;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.contacto-container h2 {
  font-size: 1.25rem;
  -webkit-text-stroke: 0.5px black;
  text-shadow: 1px 0 black;
}

.contacto-img {
  width: 80vw;
  margin-bottom: 2rem;
}

.formulario-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-top: 2rem;
  margin-inline: auto;
}

.nombre-container {
  display: flex;
  justify-content: space-between;
}

.nombre {
  width: 49.5%;
}

.formulario-container input,
.formulario-container textarea {
  font-size: 1rem;
  height: 50px;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 5px black;
  padding-left: 10px;
  margin-bottom: 0.5rem;
}

.formulario-container input:not(.nombre),
.formulario-container textarea {
  width: 100%;
}

.formulario-container textarea {
  font-family: inherit;
  font-size: 1.1rem;
  padding-top: 10px;
  margin-bottom: 2rem;
  resize: vertical;
  width: 100%;
  height: 25vh;
}

.formulario-container button {
  border-radius: 10px;
  box-shadow: 0px 0px 5px black;
}

/* MEDIA QUERY */

/* Tablet: 576px - 1024px */
@media (min-width: 577px), (orientation: landscape) {
  /* Styles for tablets */
  .container {
    width: 80%;
  }

  .formas-de-aprender-img {
    height: 250px;
    width: 250px;
  }

  .preguntas {
    aspect-ratio: 16/9;
    max-height: 480px;
    max-width: 875px;
  }
}

/* Desktop: 1025px - 1440px */
@media (min-width: 1024px) {
  /* Styles for desktop */
  header {
    padding-inline: 3rem;
  }

  /* DESKTOP NAV */
  .nav-menu-icon,
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-nav ul {
    display: flex;
    gap: 2rem;
  }

  .desktop-nav li {
    font-size: 1.25rem;
    font-weight: bold;
  }

  .introduccion-img:last-child {
    display: block;
  }

  .introduccion-p-container {
    width: 60%;
    margin: 0 auto;
  }

  .formas-de-aprender-container {
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 5rem;
    row-gap: 3rem;
  }

  .formas-de-aprender-container :nth-child(2) {
    order: 1;
  }

  .formas-de-aprender {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .informacion-de-clases-container {
    flex-direction: row;
    justify-content: space-around;
  }

  .redes-sociales {
    gap: 10rem;
  }

  .quienes-somos-descripcion {
    width: 50%;
  }

  .quienes-somos-img {
    width: 30vw;
    margin-top: 3rem;
  }

  .tipo-de-clases {
    flex-direction: row;
  }

  .tipo-de-clases:last-child {
    flex-direction: row-reverse;
  }

  .tipo-de-clases:not(:last-child) p {
    text-align: left;
  }

  .tipo-de-clases:last-child p {
    text-align: right;
  }

  .contacto-container h2 {
    -webkit-text-stroke: 1px black;
    text-shadow: 2px 0 black;
  }

  .formulario-container {
    width: 60%;
  }

  /* FONT SIZES AND MARGINS */
  h1 {
    font-size: 3.5rem;
    padding-bottom: 3rem;
  }

  .contacto-container h1 {
    font-size: 3rem;
    padding-bottom: 2rem;
  }

  h2 {
    font-size: 2.8rem;
    padding-bottom: 3rem;
  }

  .contacto-container h2 {
    font-size: 2.4rem;
    padding-bottom: 2rem;
  }

  h3 {
    font-size: 1.5rem;
    padding-bottom: 2.5rem;
  }

  p {
    font-size: 1.45rem;
    line-height: 3rem;
  }

  .informacion-de-clases p {
    font-size: 1.65rem;
  }

  .introduccion-container img {
    width: 20vw;
    height: 40vh;
  }

  .introduccion-container img,
  .introduccion-container p {
    padding-bottom: 3rem;
  }

  .formas-de-aprender,
  .formas-de-aprender:last-child {
    width: 30%;
    padding-bottom: 0;
  }

  .formas-de-aprender-img {
    height: 15vw;
    width: 15vw;
  }

  .informacion-de-clases {
    height: 65vh;
    width: 30vw;
    max-width: 380px;
  }

  .informacion-de-clases:first-child {
    margin-bottom: 0;
  }

  .informacion-de-clases-img {
    height: 40vh;
    width: 20vw;
    max-width: 240px;
  }

  .tipo-de-clases:not(:last-child) {
    margin-bottom: 3rem;
  }

  .tipo-de-clases-img {
    width: 30vw;
    height: 100%;
  }

  .tipo-de-clases-img,
  .tipo-de-clases p {
    padding-bottom: 0;
  }
}

/* Large Desktop: 1441px and above */
@media (min-width: 1441px) {
  /* Styles for large desktops */
}
