@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&family=Poppins:wght@400;500&display=swap");

:root {
  --primary-color: #161616;
  --text-dark: #000000;
  --text-light: #767268;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Oswald", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
  overflow: hidden;
}

.section__container .imagen-center-grid{
  padding: 50px;
}
.section__header {
  position: relative;
  isolation: isolate;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 1rem;
  padding-inline: 1rem;
  font-size: 2rem;
  font-family: var(--header-font);
  color: var(--text-dark);
  text-align: center;
  background-color: var(--extra-light);
  box-shadow: 3px 5px 5px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}



.section__header::before,
.section__header::after {
  position: absolute;
  content: "";
  width: 100%;
  max-width: 100px;
  height: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 1px solid var(--text-light);
  border-bottom: 1px solid var(--text-light);
  z-index: -1;
}

.section__header::after {
  right: 100%;
}

.section__header::before {
  left: 100%;
}

.section__description {
  line-height: 1.75rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: flex;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.header {
  position: relative;
  height: 100vh; 
  overflow: hidden; 
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  padding: 15px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--text-dark);
}

.nav__logo {
  max-width: 80px;
  
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.1rem;
  font-family: var(--header-font);
  background-color: var(--primary-color);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links .nav__logo {
  display: none;
}

.nav__links a {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
  color: var(--white);
  display: flex;
  transition: all .2s ease;
}

.nav__links a:hover{
  margin-bottom: 6px;
  transform: scale(1.2);
}


.banner__grid {
  margin-bottom: 10px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-auto-rows: 240px;
  gap: 10px;
  
}

/* Estilo principal del banner */
.banner__card {
  display: grid;
  justify-content: center;
  align-items: end;
  cursor: pointer;
  padding: 10px;
  overflow: hidden; /* Para evitar que la imagen se salga del contenedor */
  position: relative;
}

/* Estilo del contenedor de fondo de la tarjeta */
.banner__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 1s ease-in-out; /* Suavizamos la transición */
  z-index: -1; /* Asegura que el fondo esté detrás del contenido */
}

/* Aplicamos la imagen de fondo a cada tarjeta */
.banner__card:nth-child(1)::before {
  background-image: url("assets/tophouse/Casa.png");
}

.banner__card:nth-child(2)::before {
  background-image: url("assets/tophouse/Cabaña.png");
}

.banner__card:nth-child(3)::before {
  background-image: url("assets/tophouse/Tiny-house.png");
}

.banner__card:nth-child(4)::before {
  background-image: url("assets/tophouse/muebles.jpg");
}

/* Efecto hover: al pasar el ratón ampliamos la imagen de fondo */
.banner__card:hover::before {
  transform: scale(1.1); /* Imagen más grande */
}

/* Estilo de texto en las tarjetas */
.banner__card h4 {
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
  user-select: none;
  text-align: center;
  z-index: 1; 
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0));
  width: 1000px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; 
  margin-bottom: -10px; 
}

.banner__card h4 a {
  text-decoration: none; 
  color: inherit;  
}




.banner__card:nth-child(even) {
  background-color: var(--text-dark);
}


.banner__grid img {
  position: absolute;
  width: 250px;
  padding: 3rem 1.5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-color);
  display: none;
  box-shadow: 2px 4px 5px black;
  transition: transform 0.3s ease-in-out;
}

.banner__strip {
  display: grid;
  gap: 5px;
}

.banner__strip__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.banner__strip__card div {
  flex: 1;
  padding: 1rem;
  display: grid;
  place-content: center;
  font-size: 1.2rem;
  font-family: var(--header-font);
  color: var(--white);
  text-align: center;
  background-color: var(--primary-color);
}

.banner__strip__card:nth-child(even) {
  grid-auto-flow: dense;
  direction: rtl;
}

.about__container .section__description {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.feature {
  position: relative;
  isolation: isolate;
}

.feature::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 60%;
  top: 0;
  left: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/header-bg3.jpg");
  background-position: center start;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.feature__container h4 {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 300;
  font-family: var(--header-font);
  color: var(--extra-light);
  text-align: center;
  line-height: 2.5rem;
  
}

.feature__container .section__header {
  color: var(--white);
  background-color: var(--primary-color);
}

.feature__grid {
  isolation: isolate;
  margin-top: 2rem;
  display: grid;
}

.feature__content {
  display: grid;
  align-items: center;
}

.feature__content > div {
  padding: 2rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  background-color: var(--white);
  z-index: 1;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
}

.feature__video video {
  width: 100%;
  
}

.feature__video img{
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
}

.icon-valores{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  padding: 0px 80px;
  gap: 75px;
  margin-top: 100px;
  height: 1150px;
}

.containerIcon{
  background-color: var(--white);
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 10px;
  width: 320px;
  height: 320px;
  gap: 20px;
}

.img-valores{
  width: 100%;
  border-radius: 100%;
  margin-top: -120px;
  padding: 10px;
  background-color:aliceblue;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  width: 120px;
}

.unoi {
  background-color:aliceblue;
  margin-top: -160px;
}



 /* ---- Testimonio ---- */
 .Cards-testimonios {
  width: 100%;
  height: 1480px;
  display: flex;
  gap: 50px;
  grid-template-columns: repeat(3, 1fr);
  flex-direction: column;
  justify-items:center;
  align-items: center;
  margin-top: 90px;
}
.testimonio{
  margin-top: 25px;
  background-color:var(--white);
  height: 400px;
  width: 350px;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 2px;
  gap: 20px;
  transition: all .3s ease;
  user-select: none;
  cursor: pointer;
  padding: 10px;
}

.contenedor-imagen{
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -60px;
  background-color:aliceblue;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 100%;
  transition: all .3s ease;
}

.contenedor-imagen img{
  width: 110px;
  border-radius: 100%;
}



.container-estrellas{
   width: 120px;
}

.textos-testimonio{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5px;
  gap: 15px;
  text-align: center;
}

.textos-testimonio h1{
  font-size: 25px;
}

.textos-testimonio p{
  opacity: 65%;
}

.btn-opiniones{
  width: 100%;
  height: 100px;
  margin-top: -150px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-opiniones button {
  color: aliceblue;
  background-color: rgba(0, 183, 255, 0.9);
  width: 200px;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  padding: 5px;
  border: none;
  box-shadow: 2px 1px 5px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-opiniones button:hover {
  border-radius: 5px;
    transform: scale(1.02);
    box-shadow: 1px 1px 2px 1px #f3f4f6a4;
}


/* --- fin testimonios --- */



.instagram__container {
  padding-block: 1rem;
  overflow: hidden;
}

.instagram__flex {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: scroll 35s linear infinite;
}

.instagram__flex img {
  max-width: 125px;
  transition: all .6s ease-in-out;
}

.instagram__flex img:hover{
  transform: scale(1.1);
}

.footer {
  background-color: var(--primary-color);
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container-footer{
 width: 100%;
 height: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 gap: 20px;
}

.container-footer .container{
  width: 90%;
  height: 30%;
  color: #ffffff;
}

.container-footer .uno{
 display: grid;
 grid-template-columns: 1fr;
 justify-content: center;
 align-items: center;
 gap: 50px;
 padding: 10px;
}

.container-imgtext{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 width: 100%;
 padding: 0px 1px;
 gap: 20px;
}

.container-imgtext img{
  width: 55px;
  padding: 8px;
  border-radius: 2px;
}

.container-imgtext h1{
  font-size: 20px;
}


.container-footer .dos{
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 gap: 10px;
}

.dos button{
  width: 300px;
  height: 70px;
  border: none;
  font-size: 20px;
  font-weight: 600;
  background-color: rgba(0, 175, 245, 0.2);
  color:aliceblue;
  box-shadow: 0px 0px 8px 4px rgb(0, 0, 0);
  transition: all .3s ease;
}

.dos button:hover{
  background-color: rgba(255, 255, 255, 0.2);
}

.container-footer .dos img{
 width: 65px;
 border-radius: 3px;
 padding: 10px;
 
}

.container .container-icon{
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 justify-content: center;
 align-items: center;
 width: 60px;
 padding: 35px;
 gap: 40px;
}


.container-footer .tres{
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-footer .tres img{
  width: 250px;
}

.final-de-pagina{
  background-color:#222222;
  display: flex;
  letter-spacing: 4px;
  justify-content: center;
  color: #f3f4f6;
  font-size: 20px;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 5px));
  }
}





/* -------------------- MEDIAQUERYS -------------------- */

@media (max-width: 360px){ 

  .containerHeader{
    margin-top: 10px;
    
  }
  .nav__bar{
    margin-left: -50px;

  }

  .nav__links{
    margin-left: -80px;
    width: 100%;
  }
  .containerTextHeader{
    height: 100%;
    width: 100%;
  }
}

@media (max-width: 361px){
  .containerHeader {
    display: grid;
    grid-template-columns: 1fr;
  }

  .containerImgHeader {
    background-image: url(assets/tophouse/Portada-Top-House-fondo.png);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    height: 300px;
    width: 100%;
    
  }
  .casa-img {
    width: 90%;
  }

  .containerTextHeader{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 500px;
  }

  .btn-info{
    width: 200px;
    height: 50px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(0, 183, 255);
    color:aliceblue;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  }

  .containerTextHeader h1{
    font-size: 24px;
  }

  .containerTextHeader p{
   font-size: 13px;
  }
  
}

@media (max-height: 740px){
  .containerHeader img{
    width: 320px;
  }
}

/* Samsung s20fe */
@media only screen and (max-width: 360px) and (max-height: 740px) {

  .header {
    position: relative;
    height: 120vh; 
    overflow: hidden; 
  }

  .casa-img{
    width: 360px;
    margin-bottom: 1px;
    
  }
  
  nav {
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
  }
  
  .nav__bar {
    padding: 15px 2rem;
    margin-left: 0px;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: var(--text-dark);
  }

  .nav__links{
    width: 360px;
    margin-left: 0px;
  }

  .containerTextHeader{
    margin-top: 0px;
    height: 0px;
  }

  .container-footer{
    padding: 50px 0px;
  }

  .container-footer .uno{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width: 350px;
  }

  .container-footer button{
    width: 220px;
  }

  .container-footer .tres{  
    width: 300px;
    margin-top: 10px;
    padding: 50px;
  }

}


@media (max-width: 390px){

  .containerHeader{
    margin-top: 10px;
  }

  .containerHeader img{
    width: 380px;
    margin-left: 2px;
    margin-bottom: 0px;
  }

}


@media (max-width: 412px){

  .containerHeader{
    margin-top: 10px;
  }

  .containerHeader img{
    width: 380px;
    margin-left: 2px;
    margin-bottom: 0px;
  }

}



@media (width > 480px) {
  .banner__grid {
    grid-auto-rows: 280px;
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__card:nth-child(4) {
    grid-area: 2/1/3/2;
  }

  .banner__strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__strip__card:nth-child(even) {
    grid-auto-flow: unset;
    direction: unset;
  }

  .banner__strip__card:nth-child(4n),
  .banner__strip__card:nth-child(4n -1) {
    grid-auto-flow: dense;
    direction: rtl;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .instagram__flex img {
    max-width: 135px;
  }

}




@media (width > 785px) {
  nav {
    padding: 0 1rem;
    position: static;
    max-width: 1450px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header{
    background-color:var(--primary-color);
  }

  .nav__bar {
    display: none;
  }

  .nav__links {
    padding: 5px;
    width: 100%;
    font-size: 30px;
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    background-color: transparent;
  }

  .nav__links .nav__logo {
    display: block;
    max-width: 180px;
    padding: 40px 25px;
  }

  /* --- imagen fondo --- */
.containerHeader{
  background-image: url(assets/tophouse/Portada-Top-House-fondo.png);
  background-position: center; 
  background-size: cover; 
  background-repeat: no-repeat; 
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* --- imagen-casa --- */
.casa-img{
 width: 1000px;
 margin-top: 287px;
}

/* --- textos y boton --- */
.containerHeader .containerTextHeader{
  width: 100%;
  height: 84vh;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0px 60px;
}

.container-text{
  width: 650px;
  height: 550px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 20px;
  padding: 30px;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}

/* --- textos y boton --- */
.container-text h1{
  font-size: 42px;
  font-weight: 600;
}

.container-text p{
  font-size: 18px;
  opacity: 0.6;
}

.btn-info{
  width: 250px;
  height: 70px;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: 600;
  background-color: rgba(0, 183, 255, 0.5);
  color:aliceblue;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  transition: all .3s ease;
  cursor: pointer;
}

.btn-info:hover{
  border-radius: 5px;
  transform: scale(1.02);
  box-shadow: 1px 1px 1px #f3f4f6a4;
}
/* --- textos y boton --- */

/* ----------- imagen y texto en header ----------- */ 


  .banner__grid {
    grid-auto-rows: 320px;
  }

  .banner__grid img {
    display: flex;
  }

  .banner__strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner__strip__card:nth-child(4n),
  .banner__strip__card:nth-child(4n -1) {
    grid-auto-flow: unset;
    direction: unset;
  }

  .banner__strip__card:nth-child(6n),
  .banner__strip__card:nth-child(6n - 1),
  .banner__strip__card:nth-child(6n - 2) {
    grid-auto-flow: dense;
    direction: rtl;
  }

  .feature__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .feature__content > div {
    transform: translateX(2rem);
  }

  .feature__video video {
    transform: translateX(-2rem);
  }

  /* ---- Testimonio ---- */
.Cards-testimonios {
  width: 100%;
  height: 500px;
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items:center;
  align-items: center; 
}
.testimonio{
  margin-top: 25px;
  background-color:var(--white);
  height: 430px;
  width: 100%;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 2px;
  gap: 40px;
  transition: all .3s ease;
  user-select: none;
  cursor: pointer;
}

.contenedor-imagen{
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
  background-color:aliceblue;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 100%;
  transition: all .3s ease;
}
.tesuno .contenedor-imagen{
  margin-top: -70px;
}

.contenedor-imagen img{
  width: 110px;
  border-radius: 100%;
}

.container-estrellas{
   width: 120px;
}

.textos-testimonio{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  gap: 15px;
  text-align: center;

}

.btn-opiniones{
  width: 100%;
  height: 100px;
  margin-top: -60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-opiniones button {
  color: aliceblue;
  background-color: rgba(0, 183, 255, 0.9);
  width: 220px;
  height: 60px;
  font-size: 18px;
  font-weight: 600;
  padding: 5px;
  border: none;
  box-shadow: 2px 1px 5px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

/* --- fin testimonios --- */
.icon-valores{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 0px 90px;
  gap: 15px;
  margin-top: 50px;
  height: 400px;
}

.containerIcon{
  background-color: var(--white);
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 5px;
  width: 320px;
  height: 320px;
  gap: 20px;
  
}

.iuno{
 gap: 30px;
}

.unoi{
  margin-top: -130px;
}

.img-valores{
  width: 100px;
  padding: 10px;
}


  .instagram__flex img {
    max-width: 120px;
  }

  .footer__container {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    gap: 2rem;
  }

  .footer__col:nth-child(1) {
    grid-area: 1/2/2/3;
  }

  .footer__col form {
    margin-inline-start: unset;
  }

  .footer {
    background-color: var(--primary-color);
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .container-footer{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 0px 0px 0px 58px;
  }

  .container-footer .uno{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    height: 300px;
    gap: 50px;
    padding: 10px;
   }
  
  .container-footer .dos {
    order: 3;
    height: 250px;
  }

  .dos button{
    width: 260px;
    height: 60px;
    border-radius: 2px;
    cursor: pointer;
  }

  .dos button:hover{
    border-radius: 5px;
    transform: scale(1.02);
    box-shadow: 1px 1px 2px 1px #f3f4f6a4;
  }
  
  .container-footer .tres {
    order: 2;
  
  }

  .container-icon img{
    transition: all .1s ease;
  }
  .container-icon img:hover{
    transform: scale(1.2);
    margin-top: -10px;
  }

  .final-de-pagina{
    background-color:#222222;
    display: flex;
    letter-spacing: 4px;
    justify-content: center;
    color: #f3f4f6;
    font-size: 20px;
  }

}



@media (max-width: 784px) {
  .containerHeader {
    display: grid;
    grid-template-columns: 1fr;
  }

  .containerImgHeader {
    background-image: url(assets/tophouse/Portada-Top-House-fondo.png);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    height: 360px;
    width: 100%;
  }
  .casa-img {
    width: 100%;
  }

  .containerTextHeader{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 500px;
  }

  .btn-info{
    width: 200px;
    height: 50px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(0, 183, 255);
    color:aliceblue;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
  }

  .icon-valores{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 200px;
    gap: 60px;
    margin-top: 100px;
    height: 1310px;
    width: 100%;
  }
  
  .containerIcon{
    background-color: var(--white);
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 10px;
    width: 320px;
    height: 320px;
    gap: 20px;
  }
  
  .img-valores{
    width: 100%;
    border-radius: 100%;
    margin-top: -120px;
    padding: 10px;
    background-color:aliceblue;
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
    width: 120px;
  }
  
  .unoi {
    background-color:aliceblue;
    margin-top: -160px;
  }
}


@media (min-width: 784px) and (max-width: 1715px){
  .container-text{
    width: 400px;
    height: 400px;
    text-align: center;
    display: flex;
    align-items: center;
  }
  .containerTextHeader h1{
    font-size: 22px;
  }

  .containerTextHeader p{
   font-size: 12px;
  }
  .btn-info{
    width: 150px;
    height: 30px;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    background-color: rgb(0, 183, 255);
    color:aliceblue;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
  }

  .icon-valores{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    justify-content: center;
    padding: 0px 80px;
    gap: 5px;
    margin-top: 20px;
    height: 420px;
  }
  
  .containerIcon{
    background-color: var(--white);
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    width: 250px;
    height: 320px;
    gap: 20px;
  }
  
  .img-valores{
    width: 100%;
    border-radius: 100%;
    margin-top: -120px;
    padding: 10px;
    background-color:aliceblue;
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
    width: 120px;
  }
  
  .unoi {
    background-color:aliceblue;
    margin-top: -125px;
  }
}

@media(width < 391px){

  .containerIcon{
    margin-right: 37px;
  }
}




/* - Notebooks estándar (la más común) - */
@media only screen and (width: 1366px) and (height: 768px){ 



  .header{
    height: 100vh;
  }

  nav{
    padding: 0 50px;
  }

  .containerHeader{
    display: flex;
    flex-direction: row;
    gap: 200px;
  }

  .containerTextHeader{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .containerHeader img{
    width: 670px;
    margin-left: 20px;
  }
  .container-text{
    width: 480px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
  }
  .container-text h1{
    font-size: 30px;
  }
  .container-text p{
    font-size: 15px;
  }
  .btn-info{
    width: 200px;
    height: 50px;
  }

  .container-footer{
    gap: 60px;
  }

  .dos button{
    font-size: 15px;
    width: 160px;
  }
}


/* LENOVO NOTEBOOK*/
@media (height < 651px){ 

  .header{
    height: 100vh;
  }

  nav{
    padding: 0 80px;
  }

  .containerTextHeader{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .containerHeader{
    display: flex;
    flex-direction: row;
    gap: 80px;
  
  }

  .containerHeader img{
    width: 700px;
    margin-top: 130px;
    margin-left: 20px;
  }
  .container-text{
    width: 480px;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    margin-left: -50px;
    margin-bottom: 50px;
  }

  .container-text h1{
    font-size: 30px;
  }
  .container-text p{
    font-size: 15px;
  }
  .btn-info{
    width: 200px;
    height: 50px;
  }

  .container-footer{
    gap: 60px;
  }

  .dos button{
    font-size: 15px;
    width: 160px;
  }
}

/* - Notebooks más viejas - */
@media screen and (max-width: 1280px) and (max-height: 800px) and (min-width: 1280px) and (min-height: 800px){ 
  .header{
    height: 100vh;
  }

  .containerTextHeader{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .containerHeader{
    display: flex;
    flex-direction: row;
    gap: 150px;
  }
  .container-text{
    width: 450px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .container-text h1{
    font-size: 30px;
  }
  .container-text p{
    font-size: 15px;
  }
  .btn-info{
    width: 200px;
    height: 50px;
  }
  .casa-img{
    width: 700px;
    margin-top: 300px;
    margin-right: -150px;
  }

  .container-footer{
    gap: 60px;
  }

  .uno h1{
    font-size: 18px;
  }

  .dos button{
    font-size: 15px;
    width: 180px;
  }
}

/* - Notebooks más viejas - */
@media screen and (max-width: 1600px) and (max-height: 900px) and (min-width: 1600px) and (min-height: 600px){ 
  .header{
    height: 100vh;
  }


  .containerTextHeader{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .containerHeader{
    display: flex;
    flex-direction: row;
    gap: 150px;
  }
  .container-text{
    width: 550px;
    height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
  }

  .container-text h1{
    font-size: 35px;
  }
  .container-text p{
    font-size: 20px;
  }
  .btn-info{
    width: 220px;
    height: 60px;
    font-size: 20px;
  }
  .casa-img{
    width: 750px;
    margin-top: 363px;
  }

  .container-footer{
    gap: 60px;
  }

  .uno h1{
    font-size: 18px;
  }

  .dos button{
    font-size: 15px;
    width: 180px;
  }
}

/* - Notebooks Full hd - */
@media screen and (max-width: 1920px) and (max-height: 1080px) and (min-width: 1920px) and (min-height: 1080px){ 
  .header{
    height: 100vh;
  }

  .containerTextHeader{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .containerHeader{
    display: flex;
    flex-direction: row;
    gap: 150px;
  }
  .container-text{
    width: 650px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px;
  }

  .container-text h1{
    font-size: 35px;
  }
  .container-text p{
    font-size: 20px;
  }
  .btn-info{
    width: 220px;
    height: 60px;
    font-size: 20px;
  }
  .casa-img{
    width: 1000px;
    margin-top: 415px;
  }

  .container-footer{
    gap: 60px;
  }

  .uno h1{
    font-size: 18px;
  }

  .dos button{
    font-size: 15px;
    width: 180px;
  }
}


@media only screen and (max-width: 412px) and (orientation: portrait){
  .casa-img{
    width: 320px;
    margin-bottom: 1px;
    margin-left: -50px;
  }

  .containerHeader{
   display: flex;
   flex-direction: column;
  }

  .container-text{
    width: 100%;
    height: 0px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .icon-valores{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    margin-top: -30px ;
  }
  .icon-valores .containerIcon{
    width: 280px;
    height: 320px;
    margin: 0;
  }

  .Cards-testimonios .testimonio{
   width: 320px;
  }
  .container-footer{
    padding: 10px;
  }

  .container-footer .uno{
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .container-footer button{
    width: 220px;
  }

  .container-footer .tres{  
    width: 300px;
    margin-top: 30px;
    padding: 50px;
  }
} 
 
/* Estilos para la pantalla de carga */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; 
  color: white;
  font-size: 2em;
  opacity: 1;
  transition: opacity 1s ease-out;  
}

/* Cuando la pantalla de carga desaparezca */
#loading-screen.hidden {
  opacity: 0;
  pointer-events: none; 
}

.container-img{
 width: 300px;
 height: 300px;
 padding: 20px;
 border-radius: 50%;
 display: flex;
 justify-items: center;
 align-items: center;
 background-color: rgba(0, 0, 0, 0.4);
 animation: scaleAnimation 20s ease-in-out;
}

.container-img img{
  width: 250px;
  height: auto;
  display: flex;
  margin: 25px;
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
 
  100% {
    transform: scale(1.4);
  }
}




