@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
:root{
    --border: .1rem solid rgba(255,255,255,.3);
    --bg:#010103;
    --black:#13131a;
    --green:#358500;
    --hueso:#f8f8f8;

    --background-dark: #2d3548;
  --text-light: rgba(255,255,255,0.6);
  --text-lighter: rgba(255,255,255,0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 30px;
  --width-container: 1200px;
}
*{
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline:none; border:none;
    text-transform: capitalize;
    transition: .2s linear;
}
html{
    font-size: 75%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}
html::-webkit-scrollbar{
    width: .8rem;
}
html::-webkit-scrollbar-track{
    background: #3f3f3f;
}
html::-webkit-scrollbar-thumb{
    background: #3f3f3f;
    border-radius:5rem;
}
body{
  background-color: #fff4e4;
  height: 100vh;
}

.header_1{
    
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 7%;
    border-bottom:var(--border) ;
    top: 0; left: 0;right: 0;

    background: linear-gradient(to top,rgba(0,0,0,0.5)50%,rgba(0,0,0,0.5)50%),url(../images/img_8.jpg);
    background-position: center;
    background-size: cover;
    width:100%;

} 
.logo {
    height: 7rem;
}

.header_1 .icons div{
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}
.header_1 .icons div:hover{
    color:var(--green);
}



.header_1 .navbar a{
    
    text-decoration: none;
    text-transform: uppercase;

    margin:0 1rem;
    font-size: 1.6rem;
    color:#fff;
}
.header_1 .navbar a:hover{
    color:var(--green);
    border-bottom: .1rem solid var(--green) ;
    padding-bottom: .5rem;
}
/*////////////////////////////////////////////////////////////// lista_act////////*/
.navbar{
  display: flex;
  flex-direction: row;
  z-index: 1000;
}
ul{
  list-style: none;
}
.navbar > li{
  float: left;
}
.navbar ul li ul li a{
  background-color: #000000;
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  display: block;
}
.navbar li ul{
  display: none;
  position: absolute;
}
.navbar li:hover > ul{
  display: block;
}
.navbar li ul li{
  position: relative;
}
.navbar li ul li ul{
  left: 100%;
  top: 0;
  list-style:none;
}
.navbar li ul li:hover > ul {
  left: 80%;
  top: 0;
  list-style: none;
}
/*//////////////////////////////////////////////////////////////*/
.hero-section{
    align-items: flex-start;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 20px;
    flex: 1;
  }
  
  .card-grid{
    display: grid;
    grid-template-columns: repeat(4, 300px);
    grid-column-gap: var(--spacing-l);
    grid-row-gap: var(--spacing-l);
    width: 100%;
  }
  .card-grid-2{
    display: grid;
    grid-template-columns: repeat(2, 600px);
    grid-column-gap: var(--spacing-l);
    margin-bottom: 20px;
    margin-right: 20px;
    width: 100%;
  }
  
  
  .card{
    list-style: none;
    position: relative;
  }
  
  .card:before{
    content: '';
    display: block;
    padding-bottom: 55%;
    width: 100%;
  }
  .card-grid-2 .card:before{
    content: '';
    display: block;
    padding-bottom: 25%;
    width: 80%;
  }
  
  .card__background{
    background-size: cover;
    background-position: center;
    border-radius: var(--spacing-l);
    bottom: 0;
    filter: brightness(0.75) saturate(1.2) contrast(0.85);
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: center;
    transform: scale(1) translateZ(0);
    transition: 
      filter 200ms linear,
      transform 200ms linear;
  }
  
  .card:hover .card__background{
    transform: scale(1.03) translateZ(0);
  }
  
  
  .card__content{
    left: 0;
    padding: var(--spacing-l);
    position: absolute;
    top: 0;
  }
  
  
  .card__heading{
    color: var(--text-lighter);
    font-size: 2rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    line-height: 1.4;
    word-spacing: 100%;
  }
/*//////////////////////////////////////////////////////////////////////*/
.footer-07{
  position: relative;
  background-color: rgb(12, 27, 0);
  width: 100%;
  margin: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  padding-left: 10%;
  padding-right: 10%;
}
.footer_heading{
  color: white;
  font-size: 20px;
  text-decoration: none;
  font-weight: 450;
  text-transform: uppercase;
  margin: 1rem;
}
.telefono a, .correo a{
  color: white;
  font-size: 15px;
  margin: 0.5rem;
  text-transform: lowercase;
    text-decoration: none;
  }
.telefono i, .correo i{
  color: white;
  font-size: 25px;
  margin: 0.5rem;
  text-transform: lowercase;
}

.social_buttons a{ text-decoration: none; }
  .social_buttons a i{
  color: white;
  font-size: 1.9rem;
  margin: 0.5rem;
  margin-top: 0.9rem;
}


/*///////////////////////////////////////////*/

@media(min-width: 500px){
    .card-grid{
      grid-template-columns: repeat(2, 1fr);
      
    }
    .card-grid-2{

      grid-template-columns: repeat(1, 2fr);
      
    }
    html{
        font-size: 30%;
    }
    
  }
  
  @media(min-width: 960px){
    .card-grid{
      grid-template-columns: repeat(4, 2fr); 
    }
    .card-grid-2{
      grid-template-columns: repeat(2, 4fr); 
    }
    html{
        font-size: 50%;
    }
  }

  @media(min-width:1199px){
    html{
        font-size: 75%;
    }
}