:root{
    --amaVer: rgb(206,182,60);
    --verdCla: rgb(136,166,80);
    --verdOsc: rgb(75,125,74);
}

body {
    margin: 0;
    font-family: "Figtree", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6rem;
    min-height: 100vh;
    background-image: white;
  }

header{
    position:fixed; 
    z-index: 100; 
    width: 100%;
    top: 0;
  }


#imgIcon{
    width: 70px;
    height: 70px;
}

.img-presentacion{
    justify-content: center;
    align-items: center;
}

.img-presentacion img{
    width: 1200px;
    height: 600px;
}


#events{
    background-image: linear-gradient(45deg, #227629, #419223);
}

#banner{
    background-image: linear-gradient(45deg, #4c4c4c, #585858);
}


.ls-header:hover {
    border-bottom: 2px solid var(--verdCla);
    border-top: 2px solid var(--amaVer);
}

.nav-link:hover{
    color: var(--verdOsc) !important;
    text-decoration: none;
}

.col-md-4:hover{
    -webkit-transform:scale(1.03);
    transform:scale(1.03);
}

.col-md-4:before{
    background: linear-gradient(45deg, #ffffff, transparent, transparent, transparent, #ffffff);
    z-index: -1;
}

.col-md-4:after{
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.col-md-6:hover{
    -webkit-transform:scale(1.03);
    transform:scale(1.03);
}

.col-md-6:before{
    background: linear-gradient(45deg, #ffffff, transparent, transparent, transparent, #ffffff);
    z-index: -1;
}

.col-md-6:after{
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.8);
    z-index: -1;
}

footer{
    background-color: black;
    color: white;
}




article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    border: 2px solid var(--verdOsc);
    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: "";
  }
  
  /* basic article elements styling */
  article h2 {
    margin: 0 0 18px 0;
    font-family: "Bebas Neue", cursive;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    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: #28666e;
  }
  
  article a:focus {
    outline: 1px dotted #28666e;
  }
  
  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;
  }
  
  /* using the has() relational pseudo selector to update our custom properties */
  article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: rgb(75,125,74);
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(196, 185, 185, 0.16) 0px 10px 36px 0px, rgba(229, 207, 207, 0.06) 0px 0px 0px 1px;
  }

  article:hover{
    box-shadow: 5px 5px 5px black;
    transform: scale(1.04,1.04);
  }
  
  
  /************************ 
  Generic layout (demo looks)
  **************************/
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  
  
  .articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 50px;
  }

  
  .art-rect{
    width: 550px;
  }

  .articles-rect {
    display: flex;
    justify-content: center;
    padding-inline: 24px;
    background-color: white;
    
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 50px;
  }

  #text-pregunta{
    margin-left: 100px; 
    margin-top: 20px;
  }

  .description-p{
    background-color: var(--verdCla);
    color: #fff;
}

  
  @media screen and (max-width: 960px) {
    article {
      container: card/inline-size;
    }
    .article-body p {
      display: none;
    }
    .articles-rect{
        container: card/inline-size;
        display: flex;
        flex-direction: column;
    }
    #text-pregunta{
        margin-left: 10px; 
        margin-top: 20px;
      }
    
    header{
        position: absolute;
    }

    #imgTitle{
      margin-top: 220px!important;
    }

    
    
    
  }
  
  @container card (min-width: 380px) {
    .article-wrapper {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 16px;
    }
    .article-body {
      padding-left: 0;
      width: 300px;
    }
    figure {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    figure img {
      height: 100%;
      aspect-ratio: 1;
      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;
  }

.container-text{
  margin-top: 30px;
}

.container-text p{
  margin-top: 40px;
  padding: 8px;
  background-color: var(--verdCla);
}

#imgTitle{
  margin-top: 80px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  background-color: var(--amaVer);
}

.container-desc{
  background-color: var(--verdOsc);
  margin: 10px 30px 0px 30px;
  padding: 20px;
  box-shadow: 5px 5px gray;
  border: unset;
}

#img-QS{
  margin-left: 100px;
  border: 8px solid var(--verdCla);
}


