*{
    margin:0px;
    padding:0px;
    list-style:none;
    text-decoration:none;
    box-sizing:border-box;
    font-family: 'Roboto', sans-serif;
}
:root{
    --white-text:#fff;
}
html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
}
/*Menu*/ 

header{
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
.contenedor{
    width: 100%;
    margin: auto;
}

.contenedor img {
    height: 60px;
  margin-top: 10px;
  margin-left: 30px;
}
#menu-bar{
    display: none;
}

.menu{
    width: min-content ;
    float: right;
    margin: auto;
    font-size: 16px;
}
.menu-horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}
.menu-horizontal > li > a{
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    display: inline-block;
    padding: 20px 20px;
    margin-left: 30px;
    color: white;
    text-decoration: none;
    position: relative;
    
}

.underline{
    display: inline-block;
    position: relative;
}
.menu-horizontal > li > a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background:linear-gradient(to right,rgb(255, 255, 255),rgb(255, 255, 255));
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.4s ease-out;
}   
.menu-horizontal a:hover:after{
    transform: scaleX(1);
    transform-origin: bottom center;
}  
 






header label{
    display: none;
}
.iconos{
    text-align: right;
    display: flex;
    padding: 20px;
    float: right;  
}
.iconos a{
    text-decoration: none;
    color: white;
    padding-right: 20px;
    font-size: 20px;
   
}
.iconos a:hover{
    color:rgb(223, 109, 33); 
}
/*elementos resposivos */ 

.icon__menu{
    color:rgb(77, 76, 76);
    text-decoration: none;
    font-size: 30px;
    cursor: pointer;
    display: none;
    width: 30px;
    align-items: center;
}
#label__check{
    width: 30px;
    height: 100%;
    display: none;
}
#check__menu{
    display: none;
}


.banner_ img{
    width: 100%;
}
.fondologo{
    position: absolute;
    width: 100%;
    top: 0;
}
.fondologo img {
    width: 350px;
    position: absolute;
    top: -1px;
}
/*banner*/

.banner{
    background-image: url(/img/bannernosotros.jpg);
    background-size: cover;
    height: 490px;
    width: 100%;
}
.banner_{
    width: 100%;
    height: 100%;
}
.banner_ h1{
    color: #fff;
    text-align: center;
    padding-top: 200px;
    font-size: 80px;
    letter-spacing: 6px;
}

/*carrusel*/



.contenedor_ {
    width: 1400px;
    max-width: 1680px;
    margin: auto;
    position: relative;
    top: -4vw;
}
.carousel__contenedor {
	position: relative;
}

.carousel__anterior,
.carousel__siguiente {
	position: absolute;
	display: block;
    font-size: 50px;
	width: 40px;
	height: 40px;
	border: none;
	top: calc(50% - 35px);
	cursor: pointer;
	line-height: 30px;
	text-align: center;
	background: none;
	color: rgb(253, 96, 5);
	opacity: 50%;
}

.carousel__anterior:hover,
.carousel__siguiente:hover {
	opacity: 100%;
}

.carousel__anterior {
	left: -40px;
}

.carousel__siguiente {
	right: -30px;
}
.carousel__elemento {
	text-align: center;
}
@media screen and (max-width: 800px) {

	.contenido-principal {
		flex-direction: column;
	}

	.contenido-principal > * {
		width: 100%;
	}
}



/*Historia*/


.historia{
    width: 100%;
    margin-bottom: 100px;
}
.historia h1{
    text-align: center;
    letter-spacing: 6px;
    font-size: 43px;
    margin-bottom: 40px;
}
.historia_{
    width: 1400px;
    display: flex;
    margin: auto;
}
.imagenes img{
    width: 540px;
}
.texto p{
    text-align: justify;
    margin-right: 50px;
    font-size: 17px;
    font-weight: 400;

}
/*mision y vision*/
.misionyvision{
    background: url(/img/bannerautoconfondonegro.jpg);
    background-size: cover;
}
.background-top-row{
    background-color: rgba(52, 3 , 45 .3);
    backdrop-filter: blur(.4rem);
    -webkit-backdrop-filter: blur(.4rem);
}
.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 1400px;
    margin: auto;
}
.card{
    border-radius: 1rem;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    margin: 1.5rem;
    overflow: hidden;
    width: 30rem;
    height: 23rem;
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    background-color: rgba(255, 255, 255, .060);
    border: .1rem solid rgba(255, 255, 255, 0.18);
    color: var(--white-text);
}

.card h2{
    letter-spacing: .3rem;
    text-align: center;

}
.top-row{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.top-row img{
    width: 5rem;
    height: auto;
}
.content{
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

}
.content p{
    font-size: 1rem;
}

/*footer*/
.pie-pagina{
    width: 100%;
    background: linear-gradient(to right, #09037d, #00093c);
  
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
    
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
    
}
.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: #c8c7c7;
    margin-bottom: 15px;
    font-size: 14px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #191a60;
    text-align: center;
    transition:  all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: rgb(249, 124, 0);
}
.pie-pagina .grupo-2{
    background-color: #000000;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}
@media screen and (max-width: 800px){
    .pie-pagina .grupo-1{
      width: 100%;
      grid-template-columns: repeat(1, 1fr);
      grid-gap:50px;
      padding: 35px 0px;
    }
    .box{
      padding-left: 40px;
      padding-right: 40px;
    
    }
    
}

@media screen and (max-width: 1489px){
    .contenedor_ {
        width: 90%;
        max-width: 1400px;
    }
    .historia {
        width: 90%;
        margin: auto;
        padding-bottom: 100px;
    }
    .historia_ {
        width: 100%;
    }
}  
@media screen and (max-width: 1322px){
    .imagenes img {
        width: 500px;
        height: 100%;
        object-fit: cover;
    }
}  
@media screen and (max-width: 1220px){
    .imagenes img {
        width: 480px;
    }
} 
@media screen and (max-width: 1199px){
    .imagenes img {
        width: 450px;
    }
}  
@media screen and (max-width: 1100px){
   
    .menu-horizontal > li > a {
       
        padding: 20px 40px;
        color: rgb(255, 255, 255);
     
    }
    .contenedor img {
         height: 70px;
         margin-top: 10px;
         margin-left: 20px;
    }
    .iconos{
         display: none;
    }
    .toggle_btn{
         font-size: 30px;
         cursor: pointer;
         display:contents;
    }
    .contenedor {
        width: 100%;
        position: fixed;
        background: rgba(255, 255, 255, 0.9);
        height: 84px;
    }
    .menu{
         display: flex;
         text-align: center;
         width: 100%;
        
    }
    .menu-horizontal{
         list-style: none;
         flex-direction: column;
         position: fixed;
         top: 84px;
         left: 0;
         height: auto;
         width: 100%;
         background: rgba(13, 15, 52, 0.728);
         transition: all 300ms ease;
         z-index: 100;
         opacity: 0;
         visibility: hidden;
 
    }
    .menu-horizontal > li > a:after{
        background:rgba(236, 235, 235, 0.718);
        background:none;
    } 
    
    .menu-horizontal li:hover{
         background: rgb(19, 19, 19);
 
    }
 
  
    #check__menu:checked ~ .menu .menu-horizontal{
         visibility: visible;
         opacity: 1;
    }
    #label__check{
         display: inline-flex;
         float: right;
         margin-right: 20px;
    }
    .icon__menu{
         display: flex;
    }
    .fondologo {
        display: none;
    }
    .historia_ {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .texto p {
        text-align: justify;
        margin-right: 0px;
        font-size: 15px;
    }
    .imagenes{
        width: 100%;
    }.imagenes img {
        padding-top: 40px;
        width: 100%;
        height: 450px;
    }
    .banner {
        margin-top: 90px;
    }
    


}  
@media screen and (max-width: 799px){
    .banner_ h1 {
        font-size: 50px;
    }
    .banner {
        height: 340px;
    }
    .banner_ h1 {
        padding-top: 120px;
        font-size: 40px;
    }
    .misionyvision {
        background: url(/img/bannerautoconfondonegromini.jpg);
    }
    .contenedor_ {
        width: 80%;
    }
} 
@media screen and (max-width: 520px){
    .card {  
        width: 100%;
        height: auto;
    }
    .top-row img {
        width: 4rem;
    }
    .banner {
        background-image: url(/img/bannernosotrosmini.jpg);
        height: 250px;
    }

}  
@media screen and (max-width: 420px){
    .contenedor img {
        height: 50px;
        margin-top: 20px;
        margin-left: 20px;
    }    
    .banner {
        margin-top: 84px;
    }
    .banner_ h1 {
        padding-top: 100px;
        font-size: 30px;
    }
    .historia h1 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .pie-pagina .grupo-1 .box figure img {
        width: 150px;
    }
    .imagenes img {
        padding-top: 30px;
        height: 250px;
    }
    .top-row {
        padding: 0.5rem;
    }
    .content {
        padding: 1rem;
    }
}  