@font-face {
    font-family: "hemi";
    src: url(hemi\ head\ bd\ it.ttf) format("truetype");
    font-weight: 500;
}

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    font-family: "Hemi.ttf";
    font-weight: 500;
    font-size: 1em;
    overflow: hidden;
}

header.encabezado {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    min-height: 100px;
    border-bottom: 3px solid #8af070;
    background-color: #ffffffaf;
}

.logo {
    float: right;
    width: 40%;
    max-width: 200px;
    margin-right: 10px;
}

.logo img {
    width: 100%;
}

.menu-lista {
    display: none;
}

.menu-lista a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 60px;
    color: #141486;
    text-shadow: 1px 1px 3px rgba(106, 104, 104, 0.3);
    font-family: "hemi";
    font-size: 1em;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 20px 15px;
}

header nav {
    width: 90%;
    height: 100px;
    max-width: 1000px;
    max-height: 150px;
    z-index: 999;
    /*esto hara que este por encima de cualquier otro elemento*/
}

header nav ul {
    list-style: none;
}

header nav ul li {
    float: left;
    padding-top: 2px;
    width: 50%;
}

header nav ul li a {
    font-size: .9em;
    background-color: #ffffffaf;
    color: #141486;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    display: block;
    font-family: "hemi";
    font-weight: 500;
}

header nav ul li a:hover {
    background-color: #141486;
    color: #fff;
}

.container {
    margin-top: 100px;
    width: 100%;
    height: 100vh;
    max-height: calc(100vh - 100px - 60px);   /*para que tanto header como footer tengan su espacio fijo*/
}
section.main {
    width: 100%;
    height: 100%;
    margin: auto;
}

/*.form h2 {
    color:#141486;
    background-color:#8af070;
    text-align: center;
    margin-bottom: 10px;;
}*/

.form iframe {
    display: block;
    width: 70%;
    height: 100vh;
    margin: auto;
}

/*.info h4 {
    display: flex;
    width: 100%;
    padding: 5px;
    justify-content:center;
    text-transform: uppercase;
    color:#141486;
    text-shadow: 1px 2px 3px 5px #adb1b0;
    font-family: "Hemi.ttf";
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1em;
}

.info p {
    text-align: center;
    color: #484b4a;
    padding: 0 15px;
    font-size: 1em;
    font-family: "Hemi.ttf";
    font-weight: 500;
}

a {
    color:#484b4a;
}

.jobs{
    display: none;
    align-items: center;
    border-top: 5px solid #8af070;
    border-bottom: 5px solid #8af070;
    text-align: center;
    width: 100%;
    height: 17%;
    transition: 500ms;
    font-family: "Hemi.ttf";
    font-weight: 500;
    color: #484b4a;
    padding: 0;

}

.jobs:hover{
    transform: scale(1.1,1.1);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    background-color: #8af070;
}

.jobs p {
    font-size: .8em;
}

.jobs p:hover {
    color: #141486;
}

.info {
    display: none;
    width: 100%;
    height: auto;
    border-right: 5px solid #8af070;
    border-left: 5px solid #8af070;
    padding: 10px;
    margin-top: 10px;
    transition: 500ms;
    font-weight: 500;
    background-color: #8af070;
}

.info:hover{
    transform: scale(1.1,1.1);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}


h4:hover {
    background-color: #8af070;
}

iframe{
    display: none;
    width: 90%;
    height: auto;
    margin-top: 4%;
    margin-left: 4%;;
}*/

footer {
    width: 100%;
    height: 30px;
    text-align: center;
    background-color: #ffffffaf;
    margin-top: 20px;
}

.bottom {
    display: flex;
    justify-content: center;
    color: #141486;
    font-family: "hemi";
    padding: 5px;
}

h3 {
    width: 100%;
    height: 10px;
    font-size: .7em;
}

.bottom a {
    text-decoration: none;
    font-size: 1em;
    color: #141486;
}

@media screen and (max-width:500px) {

    header.encabezado {
        height: 100px;
        padding-top: 5px;
    }

    .logo {
        max-width: 200px;
    }

    header nav ul li a {
        background-color: #ffffffaf;
        border: 2px solid #141486;
    }

    nav a {
        font-size: 25px;
    }

    .bottom {
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width:900px) {

    .menu-lista {
        display: block;
        width: 100%;
    }
    
    header nav {
        width: 80%;
        left: -100%;
        /*llevamos el menu desplegable fuera de la pantalla para que al presionar el boton se produzca la animación*/
        position: fixed;
    }

    header nav ul li {
        display: block;
        float: none;
        border-bottom: rgba(255, 255, 255, .3)1px solid;
    }

    header nav ul li a {
        font-size: .9em;
        color: #141486;
        padding: 10px;
        background-color: #ffffffaf;
        border: 2px solid #141486;
    }

    .bottom {
        font-size: 1em;
    }
}

@media screen and (min-width:900px){

    .menu-lista {
        display: none;
    }
    
    header nav {
        display: flex;
        width: 70%;
        align-items: center;
        margin-top: 0;
    }

    header nav ul {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    header nav ul li {
        min-width: 150px;
        text-align: center;
        margin: 0 10px;
    }

    header nav ul li a {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color:#ffffffaf;
        color: #141486;
    }
    
    .jobs {
        width: 80%;
        font-size: 1.2em;
        margin: auto;
        margin-top: 1%;
    }
    
    .main{
        max-width: 1500px;
    }
}



@media screen and (max-width: 300px) {
    body {
        display: none;
    }
}