
body{
    font-family: 'Montserrat', sans-serif;
    background-image: url(../imagenes/gymbg.jpg);
    
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

main{background-color: rgba(255, 255, 255, 0.9);}

a{color:#862935;}
a:hover{
    color:#ecb51f;
}
.border-bottom{
    border-bottom:2px solid #bdbfc2!important
}
#logotipo{
    text-indent: -900px;
    overflow: hidden;
    background: url('../imagenes/VWLogo.png');
    background-repeat: no-repeat;
    background-size: contain;
    width:210px;
    height: 70px;
  
   background-position: 20px 3px;


}

#logotipo2 {
    padding: 0!important;
    display: block;
    text-indent: -999em;
    overflow: hidden;
    height: 200px;
    background: url('../imagenes/footerlogo.png') no-repeat;
    background-position: center center;


}
#carrosa2 > .carousel-inner{
    padding:30px;
   
}
#carrosa2  .carousel-control-next-icon, #carrosa2 .carousel-control-prev-icon{
    background-color: black;
}



.bg-dark {background-color: rgba(121, 17, 31, 0.9)!important;
    border-bottom: 3px #ecb51f solid;
}

ul.navbar{
    margin-left: 3em;
}



.carousel-indicators button span{
    display: block;
   text-indent: -9999px;
    
}

.carousel-caption{
    padding:5px;
}

picture img{
    width:80%!important;
 
    border:0!important;
}

.navbar-toggler-icon {
    
    text-indent: -9999px;
}
.accordion{
    margin-top:20px;
}
button.accordion-button {
    background-color: rgba(121, 17, 31, 0.9)!important;
    border-bottom: 3px #ecb51f solid;
    color: white;
}

button.accordion-button {
    color: white!important;
}


.btn{
    background-color: rgba(121, 17, 31, 0.9)!important;
    border: 2px #ecb51f solid;
}

button.btn-close{
    background-color: white;
}


.card-title{
    text-align:center;
    font-weight: bolder;
}

form > .modal-footer{
    margin-top:20px
}


.btn-close{
    display: block;
    text-indent: -9999px;;
}

footer{
    
    background-color: rgba(0, 0, 0, 0.8)!important;
    color:white;
    border-top:3px solid #ecb51f;
}

footer ul li{
    list-style-type: none;
    width:100%;
    word-break:break-all;
    
}

.list-group-horizontal-md{
    align-items: center;
}


footer li.list-group-item {
    background: none;
    color: white;
}
footer ul li img{
    border-radius: 4%;
    overflow: hidden;
}
footer ul{
    margin: 0 auto;
}
.social{
    width:100%;
}
.social a{
    
    display: inline-block;
    height: 48px;
    color:white;
    
}

.modal-content {
    background: #191919;
    color: white;
    border:2px solid #ecb51f;
}

.social a:hover{
    color:#ecb51f;
}

.twitter, .linkedin{
    margin-left:20px;

}






.carousel-caption {
    background: rgba(0, 0, 0, .5);
}






.abtn{
    width: 100%;
    margin-top:20px;
    background-color: #191919!important;
}


#autor p{
    word-break: break-all;
}
.lower{
    margin-top:107px;
}


/*Grid*/
.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 10px;
    
    width:80%;
    
    }

    .grid{
        max-width: 1000px;
        position: relative;
        margin: auto;
        margin-bottom:30px
    }
     .grid  div{
        
        display: flex;
        flex-direction: row;
        
     }
    
    .info div{
        width:100%;
    }
    
    
    
    .div4 { grid-area: 1 / 2 / 6 / 8;}
    
    
    .grid img{
        height:auto;
        width: 100%;
    }
     
    .column img{
        cursor:pointer;
        border:1px solid black;
        border-radius:3px;
        

    }
    
    #izquierda{
        -webkit-transform: scaleX(-1);
      transform: scaleX(-1);
    }
    
    #info{
        margin-left:10%;
    }
    #info p{
        text-indent:-9999px;
    }
    .mySlides { width:100%;
                
                border:1px solid black;
                border-radius:5px;
                overflow: hidden;
                background-color: white;
                
            }




    .prev, .next {
        color:black!important;
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        text-decoration: none;
      }
    
      .prev:hover,
      .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
      }
      
      .next {
        right: 0;
        border-radius: 3px 0 0 3px;
      }
   /* Fading animation */
.appear {
    animation-name: appear;
    animation-duration: 0.3s;
  }
  
  @keyframes appear {
    from {opacity: .4} 
    to {opacity: 1}
  }
    
    @media (max-width: 500px) { 


       



        .div1 { grid-area: 7 / 1 / 8 / 2; }
        .div2 { grid-area: 7 / 2 / 8 / 3; }
        .div3 { grid-area: 7 / 3 / 8 / 4; }
        .div4 { grid-area: 1 / 1 / 7 / 8; }
        
        
        .grid img{
        height:auto;
        width: 100%;
        }
        

        #info{
            margin-left:0%;;
        }


        


        }
    

        



          .column{margin-left:5px;}
 /*Grid*/




@media only screen and (max-width:800px) and (min-width:335px){
    .bg-dark {background-color: rgba(121, 17, 31, 1)!important;
        border-bottom: 3px #ecb51f solid;
    }
    
    #carrosa{
        margin-top:100px;
    }
}

@media (max-width:336px){

    .bg-dark {background-color: rgba(121, 17, 31, 1)!important;
        border-bottom: 3px #ecb51f solid;
    }








    
    
}



@media (max-width: 768px) { 
    section > h2{
        text-align: center;
    }


    #contacto form{
        background-color:rgba(80, 79, 79, 0.5);
        border-radius:10px;
        margin-top:10px;
        padding-bottom:10px;
        color:white;
    }

   
}