@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.logo {
    width: 180px;
    z-index: 100;
}

.logo img {
    width: 100%;
}

header, footer {
    background: black;
}

.bannersup {
    width: 100%;
    background: rgb(92, 92, 92);
}

.bannersupcont {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
    justify-content: space-between;
}

.pie {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    justify-content: center;
}

.frasemam, .whats {
    padding: 5px 15px;
    width: auto;
    color: white;
}

.avisode, .sociales {
    padding: 10px 30px;
    width: auto;
    color: white;
}

.avisode {
    font-size: 18px;
    text-align: center;
}

.sociales {
    font-size: 35px;
    justify-content: center;
}

.avisode a {
    color: rgb(119, 181, 223);
    text-decoration: none;
}

.avisode a:hover {
    color: rgba(119, 181, 223, 0.7);
    text-decoration: underline;
}

.sociales a {
    color: white;
    margin: 0 7px;
}

.sociales a:hover {
    color:rgb(119, 181, 223);
}

.frasemam {
    text-align: left;
}

.whats {
    text-align: right;
}

.navcontenedor {
    --state-close: scale(0);
    --state-hamburguer: scale(1);
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    overflow: hidden;
    padding: 13px 0;
    display: grid;
    grid-template-columns: repeat(2,max-content);
    justify-content: space-between;
    align-items: center;
    --state-menu: translate(-100%);
}

.navcontenedor:target {
    --state-menu: translate(0%);
    --state-close: scale(1);
    --state-hamburguer: scale(0);
}

.hamburguer {
    transform: var(--state-hamburguer);
}

.close {
    transform: var(--state-close);
    z-index: 101;
}

.navlinks {
    background: rgba(11, 44, 63, 0.9);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 0 0 7%;
    display: grid;
    align-content: center;
    gap: 2em;
    transform: var(--state-menu);
    transition: 0.5s transform;
    z-index: 99;
}

.hamburguer, .close {
    color: white;
    cursor: pointer;
    grid-column: -2/-1;
    grid-row: 1/2;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s transform;
    text-align: center;
}

.navitem {
    list-style: none;
}

.navlink:hover {
    /*background: white;
    color: black;*/
    font-weight: 700;
    border-bottom: 2px solid white;
    padding: 2px 0;
}

.navlink {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.contenedor {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
}

h1 {
    text-align: center;
    padding-bottom: 20px;
    font-size: 28px;
    width: 100%;
    font-weight: 500;
}

h2 {
    text-align: center;
    padding-bottom: 20px;
    font-size: 25px;
    width: 100%;
    font-weight: 500;
}

@media(max-width:1250px) {
    .bannersup {
        display: none;
    }
}

@media(min-width:1074px) {
    .navcontenedor {
        --state-hamburguer: scale(0);
        --state-menu: translate(0%);
    }
    
    .navcontenedor:target {
        --state-close: scale(0);
    }

    .navlinks {
        background: unset;
        position: unset;
        padding: 0;
        gap: 1.5em;
        transform: unset;
        grid-column: -2/-1;
        grid-row: 1/2;
        grid-auto-flow: column;
    }

    .navlink {
        font-size: 1rem;
        letter-spacing: none;
    }
}