* {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

:root {
    --carbon:#111313;
    --verde-esmerlada: #008C45;
    --verde-industrial: #006B36;
}

body {
    background-color: white;
}

header {
    height: 120px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--carbon);
    color: white;
    padding: 0 5%;
}

.logoheader {
    display: flex;
    align-items: end;
    justify-content: center;
    height: 100%;
}

.logoheader img {
    display: flex;
    height: 75%;
}

header nav {
    width: 60%;
    display: flex;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    list-style: none;
}

.btnmenu a {
    color: white;
    text-decoration: none;
    transition: all .3s;
}

.btnmenu a:hover {
    color: var(--verde-industrial);
    text-decoration: none;
}

.cotmenu a{
    background-color: var(--verde-industrial);
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    transition: all .3s;
}

.cotmenu a:hover {
    color: var(--carbon);
}

.hero {
    height: calc(100vh - 120px);
    width: 100%;
    background: url(img/hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.txthero {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
}

.txthero h2 {
    font-size: 4rem;
}

.btnshero {
    display: flex;
    gap: 10px;
}

.btnhero1 {
    background-color: var(--verde-esmerlada);
    color: white;
    padding: 15px 20px;
    border: 1px solid transparent;
    transition: all .3s;
    cursor: pointer;

}

.btnhero2 {
    color: white;
    border: 1px solid white;
    padding: 15px 20px;
    background-color: transparent;
    transition: all .3s;
    cursor: pointer;
}

.btnhero1:hover {
    scale: 1.1;
}

.btnhero2:hover {
    scale: 1.1;
}

@media (max-width:991px) {
    header {
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 1%;
        width: 98%;
    }

    .logoheader img {
        height: 100px;
    }

    header nav {
        width: 100%;
        align-items: center;
        justify-content: center;
        height: 50px;
    }

    .btnmenu a {
        font-size: .6rem;
        display: flex;
    }

    .cotmenu a {
        font-size: .6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }

    .txthero {
        width: 80%;
    }

    .txthero h2 {
    font-size: 3rem;
    }
}