/*FONT*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

/*-------OPERADOR UNIVERSAL-------*/
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*-------CSS HEADER-------*/
header {
  display: flex;
  width: 100%;
  background-color: rgb(184, 234, 234);
  position: relative;
  justify-content: space-between;
  text-align: center;
  padding: 1rem 2rem;
}

header .logo {
  height: auto;
  cursor: pointer;
}

header .logo img {
  width: 300px;
  height: auto;
}

header .caja_buscar {
  display: flex;
  font-size: 1rem;
  height: 35px;
  margin: auto 0;
}

header .caja_buscar input {
  border: 3px solid rgb(156 141 125);
  border-radius: 15px;
  padding: 0 10px;
  text-transform: uppercase;
  text-transform: uppercase;
  width: 330px;
}

header .caja_buscar span {
  color: rgb(90, 68, 39);
  font-size: 20px;
  height: 100%;
  position: relative;
  cursor: pointer;
  z-index: 1;
  padding: 8px;
}

/*------- CSS NAV opciones -------*/
nav {
  display: inline-block;
  justify-content: center;
  text-align: center;
  width: 100%;
  border: none;
  outline: none;
  background-color: rgb(181, 205, 163);
  padding: 26px 30px;
}

nav select {
  border: 3px solid rgb(156 141 125);
  padding: 5px;
  height: 45px;
  border-radius: 14px;
  outline: none;
  width: 240px;
  font-size: 1rem;
}

/*------- MAIN -------*/
main {
  background: url("img/aside1.png") no-repeat right top rgb(252, 216, 212);
  justify-content: center;
  width: 100%;
  display: flex;
  padding: 100px;
  position: relative;
}

main section {
  position: relative;
}

/*-----------------CSS DE LAS TARJETAS--------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

/*CSS*/
.container .card {
  width: 250px;
  height: 490px;
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin: 20px;
  padding-top: 3%;
  text-align: center;
  transition: all 0.25s;
  background-color: rgb(246 197 206);
  z-index: 1;
}

/*CSS*/
.container .card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

/*CSS*/
.container .card img {
  border-radius: 4%;
  width: 169px;
  height: 246px;
}

/*CSS titulo en tarjeta*/
.container .card h4 {
  font-weight: 600;
  padding: 10px;
}

/*CSS parrafo en tarjeta*/
.container .card p {
  padding: 0 1rem;
  font-size: 16px;
  font-weight: 300;

}

/*CSS enlace archivos de la misma página*/
.container .card a {
  font-weight: 500;
  text-decoration: none;
  color: #38301f;
}

.container .card button {
  background: rgb(253 246 240);
  padding: 10px 15px;
  margin-top: 1rem;
  border-radius: 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  width: 70%;
  border: 0;
}

.container .card button:hover {
  background: rgb(181, 205, 163);
}

/*----------------CSS FOOTER-----------------------*/
footer div {
  background-color: rgb(193, 172, 149);
  height: 100%;
  padding: 5px;
  position: relative;
  text-align: center;
  width: 100%;
}

/**/
footer div img {
  padding: 0px 22px 0px 22px;
  line-height: 80px;
  width: 500px;
  height: 280px;
}

/*------- CSS RESPONSIVE -------*/
/*cuando la pantalla es menor a 768px (tablest y telefonos inteligentes)*/
@media screen and (max-width: 768px) {
  header {
    display: block;
    padding: 0;
  }

  header .logo {
    display: inline-block;
    padding: 1rem 2rem;
  }

  header .caja_buscar {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    height: 35px;
  }

  nav {
    padding: 26px 120px;
  }

  nav select {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    height: 35px;
  }

  main {
    background: rgb(252, 216, 212);
    justify-content: center;
    width: 100%;
    display: flex;

    padding: 100px;
    position: relative;
  }
}

/*------- CSS MODAL -------*/

.modal {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  transition: all 500ms ease;
  opacity: 0;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 2;
}

.modal .contenedor {
  align-content: center;
  width: 600px;
  height: 400px;
  margin: auto;
  background: rgb(218, 194, 172);
  box-shadow: 1px 7px 25px rgba(0, 0, 0, 0.6);
  transition: all 500ms ease;
  position: relative;
  transform: translateY(-30%);
  border-radius: 8px;
  background-image: ("img/modalpic.png");
}

.modal .contenedor img {
  height: 20%;
  width: 20%;
  float: right;
  padding-right: 1rem;
  top: 4rem;
}

.modal .contenedor header {
  padding: 20px;
  background: #98d8d5;
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 6px;
}

/*CSS "X" del modal*/
.modal .contenedor label {
  position: absolute;
  top: 15px;
  right: 28px;
  color: rgb(90 68 39);
  cursor: pointer;
  font-size: 19px;
  font-weight: bolder;
}

.modal .contenedor .contenido {
  width: 100%;
  padding: 20px;
}

.modal .contenedor .contenido h3 {
  margin-bottom: 10px;
}

.modal .contenedor .contenido p {
  font-weight: 800;
  margin-bottom: 7px;
}
