/* 320px — 480px: Mobile devices
481px — 768px: iPads, Tablets
769px — 1024px: Small screens, laptops
1025px — 1200px: Desktops, large screens
1201px and more —  Extra large screens, TV */
@keyframes animacionMenuCerrar {
  0% {
    transform: translateX(00px);
  }
  100% {
    transform: translateX(-300px);
  }
}
@keyframes animacionMenuAbrir {
  0% {
    transform: translateX(-300px);
  }
  100% {
    transform: translateX(00px);
  }
}
:root {
  --colorPri: #cccccc;
  --colorSec: #3d81a0;
  --colorTer: rgb(14, 13, 13);
  --colorText: #626d72;
  --colorTop: #d1dee4;

  --fuenteZen: "Zen Kaku Gothic Antique", sans-serif;
  --fuenteRoboto: "Roboto", sans-serif;
  --fuenteFredoka: "Fredoka One", cursive;
  --fuenteRalewey: "Raleway", sans-serif;
  --funeteAnton: "Anton", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0%;
}
header {
  display: flex;
  position: fixed;
  width: 100%;
  background-color: var(--colorTop);
  z-index: 100;
}
header .logo {
  display: flex;
  width: 60%;
  align-items: center;
  padding-left: 40px;
  background-color: var(--colorTop);
}
header .logo img {
  width: 50px;
  height: fit-content;
}
header .logo h6 {
  margin: 10px;
  font-size: 0.8rem;
  height: fit-content;
  font-family: var(--fuenteRoboto);
  font-weight: 700;
  color: var(--colorPri);
}
header nav {
  width: 40%;
  height: inherit;
  background-color: var(--colorTop);
}
header nav button {
  display: block;
  width: fit-content;
  height: 55px;
  padding: 0;
  margin: 1rem 1rem 1rem auto;
  background-color: var(--colorTop);
  border: none;
}
header nav button span {
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--colorSec);
  margin: 4px;
  transition: 0.5s ease;
}

header nav ul {
  z-index: 50;
  list-style: none;
  left: 0;
  right: 20%;
  height: 100vh;
  position: absolute;
  padding: 1.5rem;
  background-color: var(--colorTop);
  border-right: 3px solid var(--colorSec);
  transform: translateX(-300px);
  display: none;
  transition: 1s ease;
}
@keyframes animacionMenuCerrar {
  0% {
    transform: translateX(00px);
  }
  100% {
    transform: translateX(-300px);
  }
}
@keyframes animacionMenuAbrir {
  0% {
    transform: translateX(-300px);
  }
  100% {
    transform: translateX(00px);
  }
}
header nav ul a {
  text-decoration: none;
  display: block;
  color: var(--colorSec);
  font-family: var(--fuenteRalewey);
  font-weight: 900;
  margin: 2rem 1rem;
}
main {
  padding: 6rem 0;
}
.section1 {
  margin: 0;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
}
.section1 h1 {
  padding-left: 0.5rem;
  font-family: var(--fuenteRoboto);
  color: #196588;
  border-left: 5px solid #196588;
  margin-bottom: 2rem;
  font-size: 24px;
}
.section1 p {
  font-size: 1rem;
  color: var(--colorSec);
  color: #626d72;
  font-family: var(--fuenteRalewey);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section2 {
  margin: 0;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
}

.section2 div {
  background-color: var(--colorSec);
  border-bottom: 3px solid;
  padding-top: 2rem;
  border-radius: 7px;
  box-shadow: 0px 5px 5px 0 rgb(28, 39, 48);
  margin-bottom: 2rem;
  overflow: hidden;
}
.section2 div img {
  width: 100px;
  display: block;
  margin: 2rem auto;
}
.section2 div h3 {
  padding: 1rem 2rem;
  font-family: var(--fuenteRoboto);
  color: rgb(8, 78, 136);
  border-left: 5px solid white;
  background-color: white;
}
.section2 div p {
  font-size: 1rem;
  color: rgb(51, 72, 88);
  background-color: white;
  font-family: var(--fuenteRalewey);
  font-weight: 500;
  padding: 2rem;
}
footer {
  background-color: var(--colorSec);
  min-height: 200px;
}
footer .donde {
  padding: 2rem;
}
footer .cuando {
  padding: 2rem;
}
footer .cuando p {
  margin-top: 2rem;
  color: var(--colorPri);
  font-family: var(--fuenteRalewey);
}
footer .cuando ul,
footer .donde ul {
  list-style: none;
}
footer .cuando h1,
.donde h1 {
  color: white;
  font-family: var(--fuenteRoboto);
  font-weight: 700;
  margin-bottom: 1rem;
}
footer .cuando ul li,
footer .donde ul li {
  color: var(--colorPri);
  font-family: var(--fuenteRalewey);
}
footer .donde iframe {
  max-width: 100%;
  max-height: 300px;
  box-shadow: 5px 5px 5px 0 rgb(49, 59, 102);
  border-radius: 10px;
  margin: 1rem 0;
}
footer .redes {
  padding: 1rem 0;
}
footer .redes a {
  width: 100px;
  color: var(--colorPri);
}
footer .redes a img {
  width: 50px;
  display: block;
}
@media (min-width: 700px) {
  header {
    background-color: #d1dee4;
  }
  header nav {
    width: 60%;
    height: 5rem;
  }
  header nav button {
    display: none;
  }

  header nav #enlaces {
    display: flex;
    transform: translateX(300px);
    z-index: 50;
    background-color: transparent;
    height: initial;
    position: initial;
    transform: none;
    padding: 0 1.5rem;
    border: none;
  }

  header nav ul a {
    text-align: center;
  }
  header nav ul li:nth-of-type(1) {
    display: block;
    margin: 0 0 0 auto;
  }
  .section2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: center;
  }
  .section2 div {
    max-width: 400px;
  }
  .section2 p {
    min-height: 8rem;
  }
}
@media (min-width: 800px) {
  .section1 {
    padding: 4rem 8rem;
  }
  .section1 h1 {
    font-size: 2rem;
  }
  .section2 {
    column-gap: 2rem;
  }
  .section2 p {
    min-height: 10rem;
  }
  footer {
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1025px) {
  .section2 {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 8rem;
  }
  .section2 p {
    min-height: 9rem;
  }
}
