* {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

:root {
    --azuloscuro: #000e2a;
    --azulclaro: #2f539c; 
    --blanco:white;
    --negro: black;
    --plata:#b3b7c2;
    --amarillo:#cdae00; 
}

header {
   /*  background: linear-gradient(165deg, #022160, #022160, #022160, #2f539c); */
   background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 100px;
}

.logohead {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logohead img {
    height: 60%;
}

header nav {
    width: 60%;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav ul a{
    color: var(--negro);
    text-decoration: none;
    font-weight: 600;
}

.hero {
    background: url(img/herofondo.png);
    height: calc(100vh - 100px);
    width: 100%;
    position: relative;
}

.capahero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, transparent, rgba(0, 4, 33, 0.4), var(--azuloscuro));
}

.txthero {
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 100%;
    align-items: start;
    justify-content: center;
    padding: 0 30px;
    gap: 20px;
}

.txthero h1 {
    font-size: 2.6rem;
    text-transform: uppercase;
}

.txthero span {
    background-color: var(--amarillo);
    width: 70px;
    height: 2px;
}

.txthero p {
    font-size: 1.5rem;
}

.txthero a {
    font-size: 1.1rem;
    color: var(--blanco);
    background-color: var(--azuloscuro);
    padding: 13px 18px;
    text-decoration: none;
    border-radius: 15px;
    border: 1px solid var(--amarillo);
}

@media (max-width:800px) {
    header {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .logohead img {
        height: 70px;
    }

    header nav {
        width: 100%;
        padding: 10px 0;
    }

    header nav ul a {
        font-size: .9rem;
        font-weight: 100;
    }

    .txthero {
        width: 80%;
    }

    .txthero h1 {
        font-size: 1.5rem;
    }

    .txthero p {
        font-size: 1.2rem;
    }

    .txthero a {
        font-size: .9rem;
    }
}