@font-face {
    font-family: Aller;
    src: url('fonts/aller-regular.ttf');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: Swis721LtBT;
    src: url('fonts/Swis72.ttf');
    font-style: light;
    font-weight: 100;
}

p{
    font-family: Swis721LtBT;
}

:root{
    --green-color: #A9CD4E;
    --blue-color: #00158A;
    --white-color: #FEFFFF;
    --light-blue-color: #9AA0D2;
}

*{
    margin: 0;
}

body{
    font-family: Aller;
}

strong{
    color: var(--green-color);
}

a{
    text-decoration: none;
    color: var(--white-color);
    transition: 0.5s;
}

a:hover{
    color: var(--green-color);
}

#header{
    height: auto; 
    position: fixed;
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 1;
    transition: 0.4s;
}

.hero{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
}

.logoStar{
    display: flex;
    width: 100%;
    align-items: center;
}

.logoStar .logotitle{
    font-size: 20px;
    color: var(--white-color);
}

#logo{
    height: 110px;
    width: 100px;
}

.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.itemnav{ 
    margin: 0 1rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s;
    color: white;
}

nav .openMenu{
    display: none;
    font-size: 2rem;
    margin: 20px;
    cursor: pointer;
}

nav .closeMenu, i {
    font-size: 2rem;
    display: none;  
    cursor: pointer;
}


#inicio{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(Img/FondoSeccionInicio.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white-color);
    font-size: 20px;
}

#about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 121vh;
    color: var(--blue-color);
    background-image: url(Img/FondoSeccionAbout.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tituloseccion{
    height: 100px;
    font-size: 20px;
}

#about .contenido{
    width: 1080px;
    padding: 14px;
    text-align: justify;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color);
}

/*.contenidoMisionVision{
    display: flex;
    flex-direction: column;
    margin: 25px;
}*/

.contenidoMisionVision .mision{
    padding: 14px;
    width: 1080px;
    margin: 25px 25px;
    text-align: justify;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color); 
}

.contenidoMisionVision .vision{
    padding: 14px;
    width: 1080px;
    margin: 25px 25px;
    text-align: justify;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color);
}

.contenidoMisionVision .vision .listaVision{
  text-align: justify;
}

.btn-wsp{
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0DF053;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    z-index: 1;
}

.btn-wsp:hover{
    text-decoration: none;
    color: var(--blue-color);
    background: var(--green-color);
    transition: 0.4s;
}


#footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 245px;
    background-color: var(--blue-color);
    color: var(--white-color);
    text-align: center;
}

#footer .footercontent{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#footer .redessociales{
    margin: 0px 20px;
}

#footer .redessociales i{
    margin-top: 10px;
    font-size: 30px;
}

#footer img{
    width: 200px;
    height: 200px;
}

#footer .creditos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: rgb(46, 46, 226);
}

@media (max-width: 500px){
    #header{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .logoStar{
        width: 350px;
        justify-content: center;
    }


    .navbar{
        display: none;
        height: 100vh;
        flex-direction: column;
        list-style: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        justify-content: center;
        align-items: center;
        background: var(--blue-color);
        transition: top 1s ease;
        font-size: 20px;
    }

    nav .navbar .closeMenu{
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
    }

    nav .openMenu{
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
    }

    #inicio{
        font-size: 18px;
        height: 95vh;
    }

    .hero{
        display: none;
    }

    #about{
        height: 140vh;
    }

    #about h2{
        text-align: center;
        margin-bottom: 10px;
    }

    #about .contenido{
        width: 350px;
    }

    .contenidoMisionVision .mision{
        width: 350px;
    }

    .contenidoMisionVision .vision{
        width: 350px;
    }
}