/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h3,
h2,
h2,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

li {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  text-decoration: none;
}

a {
  text-decoration: none;
}

/* Natural flow and rhythm in articles by default */
article>*+* {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

@font-face {
  font-family: "Poppins-Light";
  src: url("../fonts/Poppins-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Poppins-Regular";
  src: url("../fonts/Poppins-Regular.ttf");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Medium";
  src: url("../fonts/Poppins-Medium.ttf");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("../fonts/Poppins-Bold.ttf");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-ExtraBold";
  src: url("../fonts/Poppins-ExtraBold.ttf");
  font-weight: 800;
  font-display: swap;
}

/*-----------------------------------------------------------------------NAVEGACION*/
h1 {
  font-family: "Poppins-Bold", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  color: rgb(255, 255, 255);
}

p.botonesp {
  font-family: "Poppins-Medium", sans-serif;
  font-size: 0.8em;
  text-align: center;
  color: rgb(255, 255, 255);
}

section.cont-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: antiquewhite;
}

.contenedor {
  width: 90%;
  height: auto;
  background-color: rgb(91, 30, 137);
  border-radius: 20px;
}

.contenedor-p {
  width: 90%;
  height: auto;
  background-image: url("../img/backpremium.webp");
  border-radius: 20px;
  background-size: cover;
}

.estilo1 {
  display: flex;
  height: 60vh;
}

.estilo2 {
  display: flex;
  height: 60vh;
}

.izq {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33%;
  height: auto;
}

.cen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columnas */
  gap: 20px;
  width: 90%;
  max-width: 800px;
  margin: auto;
}

.cenb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columnas */
  gap: 20px;
  width: 90%;
  max-width: 800px;
  margin: auto;
}

.cenc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 3 columnas */
  gap: 20px;
  width: 90%;
  max-width: 800px;
  margin: auto;
}

.btns {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  max-height: 120px;
  width: 100%;
  background-color: transparent;
  color: white;
  border: 3px solid white;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  transition: background-color 0.3s ease;
  margin: auto;
  /* centrar dentro de la celda */
}

.der {
  width: 33%;
  height: 60vh;
  background-repeat: no-repeat;
  background-position: center bottom;

  background-color: rgb(161, 157, 150);
}

.img-1 {
  background-image: url("../img/imgb1.webp");
}

.img-2 {
  background-image: url("../img/imgb2.webp");
}

.img-3 {
  background-image: url("../img/imgb3.webp");
}



@media only screen and (max-width: 1680px) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 1.8rem);
    line-height: 1.2;
  }
}

@media only screen and (max-width: 1440px) {


  .izq {
    width: 30%;
  }

  .cen {
    width: 40%;
  }

  .cenb {
    width: 40%;

  }

  .cenc {
    width: 40%;

  }

  .der {
    width: 30%;
  }
}

@media only screen and (max-width: 1368px) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 1.8rem);
    line-height: 1.2;
  }

  p.botonesp {
    font-size: 0.7em;
  }

  .estilo1 {
    display: flex;
    height: 55vh;
  }

  .estilo2 {
    display: flex;
    height: 55vh;
  }

  .cen {
    gap: 20px;
    width: 50%;
    max-width: 800px;
    height: 370px;
    margin: auto;
    padding: 0px;
  }

  .cenb {
    gap: 20px;
    width: 50%;
    max-width: 800px;
    height: 370px;
    margin: auto;
    padding: 0px;
  }

  .cenc {
    gap: 20px;
    width: 50%;
    max-width: 800px;
    height: 370px;
    margin: auto;
    padding: 0px;
  }

  .der {
    width: 30%;
    height: 55vh;
  }

  .btns {
    max-width: 105px;
    max-height: 105px;
  }
}

@media only screen and (max-width: 1280px) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 1.8rem);
    line-height: 1.2;
  }

  .estilo1 {
    display: flex;
    height: 60vh;
  }

  .estilo2 {
    display: flex;
    height: 60vh;
  }


  .izq {
    width: 30%;
  }

  .cen {
    width: 35%;
  }

  .cenb {
    width: 35%;
  }

  .cenc {
    width: 35%;
  }

  .der {
    width: 31%;
    height: 60vh;
  }
}

@media only screen and (max-width: 1024px) {
  h1 {
    font-size: clamp(1rem, 5vw, 1.5rem);
    line-height: 1.2;
  }

  .estilo1 {
    display: flex;
    height: 70vh;
  }

  .estilo2 {
    display: flex;
    height: 70vh;
  }

  .izq {
    width: 25%;
  }

  .cen {
    width: 40%;
  }

  .cenb {
    width: 40%;
  }

  .cenc {
    width: 40%;
  }

  .der {
    width: 31%;
    height: 70vh;
  }
}

@media only screen and (max-width: 962px) {
  h1 {
    font-size: clamp(1rem, 5vw, 1.5rem);
    line-height: 1.2;
  }

  .estilo1 {
    display: flex;
    height: 60vh;
  }

  .estilo2 {
    display: flex;
    height: 60vh;
  }


  .izq {
    width: 25%;
  }

  .cen {
    width: 40%;
  }

  .cenb {
    width: 40%;
  }

  .der {
    width: 31%;
    height: 60vh;
  }

}

@media only screen and (max-width: 834px) {


  p.botonesp {
    font-size: 0.9em;
  }



  .izq {
    width: 90%;
    height: auto;
  }

  .cen {
    width: 90%;
    height: auto;
  }

  .cenb {
    width: 90%;
    height: auto;
  }

  .cenc {
    width: 90%;
    height: auto;
  }



  .btns {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 15px;
  }

}



@media only screen and (max-width: 768px) {
  p.botonesp {
    font-size: 0.75em;
  }



  .izq {
    width: 90%;
    height: auto;
  }

  .cen {
    width: 90%;
    padding-top: 70px;
    height: auto;
  }

  .cenb {
    width: 90%;
    padding-top: 30px;
    height: auto;
  }

  .cenc {
    width: 90%;
    padding-top: 30px;
    height: auto;
  }



  .btns {
    max-width: 110px;
    max-height: 110px;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 440px) {
  h1 {
    font-size: clamp(1.7rem, 5vw, 1.7rem);
    line-height: 1.4;
  }

  p.botonesp {
    font-size: 0.65em;
  }

  .estilo1 {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 900px;
    padding-top: 150px;
  }

  .estilo2 {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 1200px;
    padding-top: 150px;
  }

  .izq {
    width: 90%;
    height: 150px;
  }

  .cen {
    width: 90%;
    height: auto;
  }

  .cenb {
    width: 90%;
    height: auto;
  }

  .cenc {
    width: 90%;
    height: auto;
  }

  .der {
    width: 90%;
    height: 400px;
    margin-bottom: 0px;
  }

  .btns {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 15px;
    border: 2px solid white;
    border-radius: 8px;
    padding: 0;
  }
}

@media only screen and (max-width: 390px) {}

@media only screen and (max-width: 375px) {}

@media only screen and (max-width: 360px) {}