.color_bg {
background-color: #036042;
}

.color_bgs {
background-color: #fff;
}

.text_icon {
color:#036042
}

.nav-a{    
    padding: 8px;
    font-weight: bold;
}

.nav-a:hover{
border-bottom: #fff solid 3px;
margin-bottom: -1px;      
}

.navbar-dark .navbar-nav .nav-link {
    color: rgb(255, 255, 255); 
}


.containerg {
max-width: 75%;
    margin: auto;
}

.carousel-caption {      
    z-index: 1;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: rgb(0,27,8);
background: linear-gradient(0deg, rgba(0,27,8,0.6727065826330532) 0%, rgba(0,66,20,0) 100%);
    
}

@keyframes aparecer {
    from {
        opacity: 0;
    margin-top: -80px;

    }

    to {
        opacity: 1;
        transform: translatey(0); 
        margin-top: 0;       
    }
}

@keyframes apa-scroll {
    from {
        
    transform: translatey(280px) scale(0.8) ;
    

    }

    to {
        
        transform: translatey(0) scale(1);        
    }
}

.aparecer{
   animation: aparecer 0.6s 0.1s;
   animation-fill-mode: backwards;
    
}

.apa-scroll{
    animation-name: apa-scroll; 
    animation-timeline: view();
    animation-range: cover;
    animation-range-start: 0%;
    animation-range-end: 30%;

 }

 .slider {
    position: relative;
    width: 100%;
    height: 80dvh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    animation: slide 50s infinite;
}

.slide {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide video {
    object-fit: cover;
}

@keyframes slide {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    24% { transform: translateX(-100%); }
    55% { transform: translateX(-100%); }
    58% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    73% { transform: translateX(-300%); }
    98% { transform: translateX(-300%); }
    100% { transform: translateX(-400%); }
    
}

.caption {
    position: absolute;
    top: 30%;
    left: 3%;
    color: #fff; 
    padding: 15px;      
    
}

.title{
    color:#fff;
    font-size: 2.5em;
    margin-bottom: -10px;
    
}
.sub_title{
    color:#fff;
    font-size: 1.5em;
    
}

@media (max-width: 576px)  {
    .slider {
        position: relative;
        width: 100%;
        height: 100dvh;
        overflow: hidden;
    }


    .title{
        color:#ffffff;
        font-size: 1.5em;
        padding: 3px;
        
        
    }
    .sub_title{
        color:#fff;
        font-size: 1em;
        padding: 3px;
        
    }
    
}






@media (max-width: 576px) {
    
    .containerg {
max-width: 100%;
    margin: auto;
}

    .carousel-caption h4 {
        font-size: 1em;
        font-weight: 500 !important;
    }

    .carousel-caption h2 {
        font-size: 2em;
        font-weight: 600 !important;
    }

    .aparecer{
        animation: aparecer 0.0s;
        animation-fill-mode: backwards;
         
     }
     
    
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.programe::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 30%;
    right: 50%;
    bottom: 70%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0,27,8);
background: linear-gradient(0deg, rgba(0,27,8,0.6727065826330532) 0%, rgba(0,66,20,0) 100%);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}


.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .5), rgba(34, 36, 41, .7)), url(../img/carousel1-desktop.webp) top center no-repeat;
    background-size: cover;
}

.formulario {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(209, 17, 17, 0.1);
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.formulario input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.formulario input[type="submit"]:hover {
  background-color: #45a049;
}

.sticky{
    position:sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
}









