body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Merriweather", serif;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
}

.grid-container {
    max-width: 90%;
    margin: auto;
}

.grid-container2 {
    max-width: 100%;
    margin: auto;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* MENU */

.menu {
    width: 100%;
    height: 60px;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 50%);
    background-color: #193783;
}

.logo-menu {
    display: grid;
    grid-column: 1/2;
    padding: 10px 50px;
    width: 30px;
}

.nav {
    display: grid;
    grid-column: 2/2;
    align-self: center;
    justify-self: end;
}

nav ul li {
    display: inline-block;
    margin: 0 5px;
}

.nav-menu {
    width: 600px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
    margin-right: 20px;
    color: #ffffff;
}

.nav-menu li a:hover {
    color: #ffcc00;
}

.checkbtn {
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/* PANTALLA CARGA */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BANNER */

.MainBanner {
    align-items: center;
    background: url(/img/Portadas/Portada-2.jpg) 50% no-repeat;
    background-size: cover;
    display: flex;
    height: 550px;
    justify-content: flex-start;
    max-height: 600px;
    overflow: hidden;
    width: 100%;
    display: none;
}

.MainBanner .content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 80%;
    justify-content: end;
    width: 50%;
}

.h1-banner {
    color: #ffffff;
    text-align: center;
    font-size: 34px;
    margin: 0 auto;
}

.p-banner {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
}

/* General Container */

.general-container {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 60% auto;
    margin: 0 auto;
    max-width: 1500px;
    height: auto;
    padding-top: 50px;
}

.txt-historia {
    grid-column: 1/3;
    margin: 0 auto;
    margin-bottom: 100px;
    color: #707070;
    text-align: justify;
    width: 100%;
}

.his {
    display: grid;
    justify-content: center;
}

.txt-bases {
    display: grid;
    grid-row: 2/2;
    width: 90%;
    margin: 0 auto;
    font-size: 19px;
    color: #707070;
    text-align: justify;
}

.img-container {
    width: 100%;
    grid-column: 2/2;
    grid-row: 2/2;
    margin: 0 auto;
    display: grid;
    max-height: auto;
}

.img-1 {
    display: grid;
    width: 100%;
}

h1 {
    color: #193783;
}

p {
    margin: 0px;
}

.fa-sharp {
    font-size: 25px;
}

.fa-solid {
    font-size: 25px;
}

/* FOOTER */

footer {
    width: 100%;
    height: auto;
    display: grid;
    justify-content: center;
    grid-template-rows: 1fr 1fr;
    margin-top: 100px;
}

.footer-container {
    display: grid;
    grid-row: 50% 50%;
    justify-items: center;
}

.logo-footer {
    display: flex;
    align-items: center;
    width: 40px;
}

.redes-container {
    display: grid;
    grid-template-columns: repeat(3, 30px);
    gap: 40px;
    height: 40px;
    margin: auto;
}

.face {
    display: flex;
    width: 100%;
    grid-column: 1/2;
}

.insta {
    display: flex;
    width: 100%;
    grid-column: 2/3;
}

.whats {
    display: flex;
    width: 100%;
    grid-column: 3/3;
}

@media (max-width: 980px) {
    .nav-menu {
        width: 350px;
        height: 100vh;
        list-style: none;
        justify-content: center;
        align-items: center;
        z-index: 4;
    }

    .fas {
        z-index: 6;
    }

    .checkbtn {
        display: grid;
        justify-self: end;
        align-self: center;
    }

    ul {
        position: fixed;
        justify-self: center;
        width: 100%;
        height: 100vh;
        background: #193783;
        left: -100%;
        margin-top: -15px;
        text-align: center;
        transition: all 0.5s;
        z-index: 6;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover,
    li a.active {
        background: none;
        color: #ffffff;
    }

    #check:checked~ul {
        left: 0;
    }

    .grid-container {
        grid-template-columns: 100%;
        grid-template-rows: 2fr;
    }

    /*BANNER */

    .MainBanner {
        background: url(/img/Portadas/Portada-2.jpg) 50% no-repeat;
        background-size: cover;
        justify-content: center;
        display: none;
    }

    .general-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 0;
        max-height: auto;
    }

    .img-container {
        grid-column: 1;
        grid-row: auto;
        padding-top: 10%;
        width: 90%;
    }
}

.txt-historia {
    margin-bottom: 50px;
    width: 90%;
}

@media (max-width: 750px) {
    .nav-menu {
        width: 90.5%;
        height: 100vh;
        list-style: none;
        justify-content: center;
        align-items: center;
        z-index: 4;
    }

    ul {
        position: fixed;
        justify-self: center;
        width: 100%;
        height: 100vh;
        background: #193783;
        left: -130%;
        margin-top: -15px;
        text-align: center;
        transition: all 0.5s;
        z-index: 6;
    }

    .MainBanner {
        background: url(/img/Portadas/Portada-2.jpg) 50% no-repeat;
        background-size: cover;
        justify-content: center;
    }

    .MainBanner {
        height: 370px;
    }

    .h1-banner {
        color: #ffffff;
        text-align: center;
        font-size: 24px;
    }

    .p-banner {
        color: #ffffff;
        text-align: center;
        font-size: 18px;
    }
}