@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barrio&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
@charset "utf-8";

*/

*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

#logo {
    width: 100px;
    display: flex;
    float: right;
}

body{
    font-family: "Montserrat", fira-sans-condensed, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    justify-content: space-between;
}

html {
    height: -webkit-fill-available; 
}

.contenedor {
    max-width: 50em;
    margin: 0 auto;
}

main {
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

header{
    width: 100%;
}

header .contenedor {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    padding-bottom: .5em;
    padding-top: .6em;
    padding-left: .9em;
    padding-right: .9em;
}

footer {
    text-align: center;    
    color: white;
    padding: 1rem;
    font-size: 0.8rem;
    background-color: #4abcea;
}

.seguinos {
    display: inline-block;
    flex-direction: row;
    padding-bottom: .4em;
}

footer h3{
    font-size: 1rem;
    color:white;
    text-transform: uppercase;
    text-align: center; 
    margin: .3em;
}

.legales{
    background-color: #4abcea;
    color: white;
    padding: .1em;
    font-size: 0.8rem;
}

.icono {
    width: 20px;
    padding: .5em;
    align-content: center;
}

#menu {
    display: none;
}

header label {
    display: none;
    width: 30px;
    height: 30px;
    padding-bottom: .4em;
}

header label:hover {
    cursor: pointer;
    background-color: #cdebf7;
}

.menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    font-size: 10px;
}

.menu li {
    text-align: center;
}

.menu li:hover {
    background-color: #cdebf7;
}

.menu li a {
    display: block;
    padding: 10px 10px;
    color: black;
    text-decoration: none;
}




/*Quienes Somos*/
#quienessomos >*
#quienessomos p:not(:last-child) {
    margin-bottom: 1em;
}

#quienessomos {
    max-width: 50em;
    width: 100%;
    margin-top: 1em;
    border-radius: 1em;
    flex-direction: column;
    font-size: 15px;
    align-content: center;
}

#titulo {
    background-color: #4abcea;
    padding: 0.01em;
    text-align: center;
    color: white;
    text-transform: uppercase;
    padding: 0.5em 0;
    font-family:  ‘Montserrat’ , sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 1em;
    padding-top: 1em;
    
}
#quienessomos h1{
    background-color:#4abcea;
    
    
}
#quienessomos h1{
    text-align: center;
    color:white;
}
#parrafo{
    background-color:white;
    text-align: center;
}

.carrusel{
    display:flex;
    margin: 0;
    width: 100%;
    overflow: hidden;
    
}
.carrusel ul{
    width: 50em;
    height:20em;
    margin: 0;
    display: flex;
    padding: 0;
    animation: cambio 10s infinite;
    animation-direction:alternate;
    
}

.carrusel li{
    list-style: none;
    width: 100%;
}

.carrusel img{
    width:50em;
}

@keyframes cambio {
    0% { margin-left: 0; }
    20% { margin-left: 0;}
    
    25% { margin-left: -100%; }
    45% { margin-left: -100%; }
    
    50% { margin-left: -100%; }
    70% { margin-left: -100%; }
    
    75% { margin-left: -200%; }
    100% { margin-left: -200%; }
}
.videoresponsive{
    position:relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.videoresponsive iframe{
    position:absolute;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}
#contactate{
    display: flex;
    align-content: center;
    justify-content: center;
    width:100%;
}
.boton{
    background-color: #e93b44;
    border-radius: 2em;
    margin-top: 1em;
    padding: 2em;
    text-decoration: none;
    color:white;
    font-weight: bold;
    font-size:13px;
    text-align: center;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    width:50%;
    align-content: center;
    
}
/*MEDIA*/


@media (max-width: 768px) {

    header label {
        display: block;
    }
    main{
        width:100%;
        justify-content: center;
    }
    .menu {
        position: absolute;
        background-color: white;
        width: 50%;
        margin-left: -70%;
        transition: all 0.5s ease;
    }

    .menu ul {
        flex-direction: column;
        background-color: rgb(224, 246, 255);
        margin-top .8em,
    }
    
    .menu li {
        border-top: 1px solid black;
        margin-top: .8em:
    }
    
    #menu:checked ~ .menu {
        margin: 0;
    }

#contactate{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content:center;
    width:100%;
}
    .boton{
    background-color: #e93b44;
    border-radius: 3em;
    margin:0;
    padding:1rem;
    text-decoration: none;
    color:white;
    font-weight: bold;
    font-size:11px;
    text-align: center;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    width:auto;
    
}
 .carrusel{
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    overflow: hidden;
    
}

.carrusel ul{
    display: flex;
    padding: 0;
    width: 100%; 
    animation: cambio 5s infinite;
    animation-direction:reverse;
    animation-timing-function: step-start;
    
}

.carrusel li{
    list-style: none;
    width: 100%;
}

.carrusel img{
    width: auto;
}

@keyframes cambio {
    0% { margin-left: -100%; }  
    25%{ margin-left: -100%; }
    50% { margin-left: -200%; }
    100% { margin-left:0%; }
}

.videoresponsive{
    position:relative;
    margin: 0 auto;
    margin-bottom: 1.5em;
    height: 0;
    padding-bottom: 56.25%;
    margin-top: 1.5rem;
}

.videoresponsive iframe{
    position:absolute;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}