
@import url('https://fonts.googleapis.com/css2?family=Gabarito&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    width: 100%!important;
}

body{
    font-family: 'Oswald';
    font-size: 400;
    margin: 0;
    letter-spacing: 0.8px;
    overflow-x: hidden!important;
    width: 100%;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.7em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
ul{ list-style: none;}
li{ font-size: 1rem;}
span{color: rgb(4, 185, 34);}

button{
    font-size: 1.25em;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    background-color: rgb(1, 167, 65);
}

button:hover{
    background-color: rgb(1, 112, 44);
}

.container{
    max-width: 1400px;
    margin: auto;
}
/* Whatsapp */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	left:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
}

.my-float{
	margin-top:16px;
}

/* Fin Whatsapp */

nav{
    background-color: rgb(102, 102, 102);

}

nav .navbar{
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav .navbar .nav-items{
    display: flex;
    flex-direction: column;
    
}

nav .navbar .nav-items li{
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    text-align: center;
    list-style: none;
}
nav .navbar .nav-items li a{
    padding: 5px 12px;
    text-decoration: none;
    letter-spacing: 2.5px;
    font-size: bold;
    color: rgb(255, 255, 255);
    
}

nav .navbar .nav-items li a:hover{
    color: rgb(92, 199, 65);
}

.navbar .logo{
    margin: 0;
    padding: 10px 30px;
    color: rgb(12, 139, 0);
    cursor: pointer;
    width: 180px;
    margin-top: -5px;
}
/* VIDEO */
video{
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

.absolute{
    width: 100%;
    height: 90vh;
    top: 20;
    right: 0;
    position: absolute;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items:center;
}

img{
    width: 70%;
    
}


.overlay{
    width: 100%;
    height: 90vh;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}

/*FIN DE VIDEO*/


#somos-kappa .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 50px 20px;
}

#somos-kappa .container .img{
    width: 50%;
}

#somos-kappa h2{
  padding: 20px;
}

#somos-kappa p{
  line-height: auto;
}
/* cartas */
    
#titulo{
    background-color: rgb(102, 102, 102);
    padding-top: 50px;
    padding-bottom: 100px;
}

#titulo h1{
font-size: 2rem;
text-align: center;
padding: 30px;
color: #fff;
}
article {
  --img-scale: 1.901;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

article h2 {
  margin: 0 0 18px 0;
  font-size: 1.9rem;
  letter-spacing: 0.01rem;
  color: var(--title-color);
  transition: color 0.3s ease-out;
}

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}

article img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgb(40, 110, 49);
}

article a:focus {
  outline: 1px dotted rgb(40, 110, 49);
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

article:has(:hover, :focus) {
  --img-scale: 3.1;
  --title-color: rgb(40, 110, 49);
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.articles {
  display: grid;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media screen and (max-width: 768px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    display: none;
  }

  .article img{
        max-width: 100%;
        padding-top: 30px;
        padding-left: 50px;
        transform-origin: center;
        transform: scale(var(--img-scale));
        transition: transform 0.4s ease-in-out;
    }

}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .article-body {
    padding-left: 0;
  }
  
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    object-fit: cover;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}
/* cartas */

/* ANUNCIO */
  
#anuncio{
    padding: 60px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.822),
        rgba(255, 255, 255, 0.808)
      ), url(/media/certificado.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
}

#anuncio h2{
    text-align: center;
    padding: 10px;
}

#anuncio p{
    padding: 20px;
}
  details.styled {
      color: #000000;
      padding: 1.2em;
      border: 1px solid #121212;
      border-radius:5px;
      margin-bottom: 1em;
      transition: all 0.4s ease-in-out;
      max-height: -20px;
      overflow: hidden;
      background-color: rgb(3, 219, 86);
  }
  
  details[open].styled {
      background-color: rgba(253, 253, 253, 0.1);
      max-height: 500px;
  }

  .balanza{
    color: #000000;
    font-weight: bold;
  }
  
  details.styled summary {
      font-size: 1.2rem;
      color: #000000;
      font-weight: bold;
      list-style: none;
      outline: none;
      cursor: pointer;
  }
  
  details[open].styled summary {
      padding-bottom: 1em;
  }

   #galeria{
    background-color: rgb(253, 253, 253);
    padding: 80px 12px;
   }

   #galeria .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
   }

   #galeria .container .logopagina{
    width: 100%;
   }

   #contacto{
    background-color: #242424;
   }

   #contacto .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 2.2rem;
    padding: 0px 20px;
   }

   .texto{
    color: #fff;
    padding: 20px 0px;
   }

   h3, h2{
    padding: 10px 0px;
   }

   iframe{
    width: 90%;
   }

   .ubicacion{
    fill: #ff0000;
   }

   .email{
    fill: rgb(189, 189, 189);
   }

   .tel{
    fill: #04bf48;
   }

   .ubi, .location{
    color: #fff;
    padding: 10px 0px;
   }


   

  footer{
    background-color: rgb(230,230,230);
    text-align: center;
  }

   footer p{
    font-size: 1rem;
    margin: 0;
    color: rgb(5, 5, 5);
    justify-content: center;
    padding-top: 45px;
    
   }

   footer .container{
    height: 120px;
    padding: 0px 10px;
    
   }


@media (min-width: 768px){
    nav .navbar{
        justify-content: space-between;
        flex-direction: row;
    }
    
    nav .navbar .nav-items{
        flex-direction: row;
        padding-bottom: 2px;
        padding-right: 30px;
        
    }

    .absolute .logo{
      width: 40%;
    }

    #somos-kappa .container{
        display: flex;
        flex-direction: row;
        text-align: center;
        padding: 106px 220px;
        background-image: linear-gradient(
        to bottom,
       rgba(255, 255, 255, 0.418),
       rgba(255, 255, 255, 0.308)
       ), url(/media/fondocontainer.svg);
       background-repeat: no-repeat;
       background-size: cover;
    }
     
    #somos-kappa .container .img{
      width: 100%;
      padding-top: 10px;
    }

    #somos-kappa h2{
        text-align: center;
    }
    #anuncio{
        padding: 90px;
    }
    .texto{
        text-align: center;
        padding: 0;
    }

    #titulo h1 {
        font-weight: bold;
        font-size: 3rem;
        text-align: center;
        padding: 20px;
    
    }

    footer .container{
        justify-content: flex-end;
    }

    #galeria{
        display: flex;
        flex-direction: row;
        height: 50rem;
        padding-bottom: 100px;
    }

    #galeria .container{
        align-items: center;
        font-size: 1.2rem;
    }

    #galeria .img{
      height: 100%
    }

    #contacto .container{
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
    }

    .texto{
      text-align: start;
      padding: 10px;
     }

    .mapa{
      padding-right: 10px;
      
    }

  
}