* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
    list-style: none;
}

body {
    text-align: center;
    font-family: poppins, sans-serif;
}

.menu {
    background-color: #00000071;
    color: #fff;
    height: 100px;
    display: flex;
    justify-content: center;
}

.menu__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.menu__links {
    height: 100%;
    transition: transform .5s;
    display: flex;
}

.menu__item {
    list-style: none;
    position: relative;
    height: 100%;
}

.menu__link {
    color: #fff;
    text-decoration: none;
    padding: 0 30px;
    display: flex;
    height: 100%;
    align-items: center;
}

.menu__link:hover {
    background-color: #34A326;
}

.menu__hamburguer {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img {
    display: block;
    width: 36px;
}

@media (max-width: 800px) {
    .menu__hamburguer {
        display: flex;
    }

    .menu__links {
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 70px;
        bottom: 0;
        right: 0;
        background-color: #000;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show {
        transform: unset;
        width: 100%;
    }

    .menu__link {
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow {
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting {
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside {
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #798499;
    }
}

/* Estilos del header */
video {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.header {
    height: 100vh !important;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 40px;
    font-weight: 650;
    text-transform: uppercase;
    color: #34A326;
    padding: 10px;
    margin: 10px;
    margin-top: 170px;
    margin-right: 270px;
}

p {
    font-size: 20px;
    color: #000;
    text-align: justify;
    padding: 0;
    margin: 15px 70px;
}

.btn {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 40px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    background: #34A326;
    font-family: poppins, sans-serif;
    font-size: 18px;
    box-shadow: 5px 5px #24262b;
    transition: .2s;
}

.btn:hover {
    background: #ffc107;
    color: #000;
    cursor: pointer;
    transform: translateY(-4px);
    box-shadow: 0 1px 14px 2px rgba(0, 0, 0, 1.15);
}

.content {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .title {
        font-size: 30px;
        text-align: center;
        padding: 20px;
        margin-right: 0;
        margin-top: 30px;
    }

    .content {
        height: auto;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* Estilos para la misión y visión */
.sau {
    padding: 30px;
    background: #34A326;
    height: auto;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.box-container .box {
    height: auto;
    width: 30rem;
    background: #fff;
    text-align: center;
    margin: 3rem;
    border-radius: 20px;
    box-shadow: 5px 5px #24262b;
    transition: .2s;
}

.box-container .box:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 14px 2px rgba(0, 0, 0, 1.15);
}

.box-container .box i {
    height: 2rem;
    width: 3rem;
    line-height: 2rem;
    text-align: center;
    color: #34A326;
    font-size: 2rem;
    padding-top: 20px;
}

.box-container .box h3 {
    font-size: 30px;
    color: #34A326;
}

.mivi {
    color: #24262b;
}

.box-container .box p {
    padding: 0px;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .box-container {
        flex-direction: column;
    }

    .box-container .box {
        width: 90%;
        margin: 2vh auto;
    }
}

/* Estilos del Footer */
.container {
    max-width: 1200px;
    margin: 20px auto;
}

.footer {
    background-color: #24262b;
    padding: 80px 10px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-links {
    width: 25%;
    padding: 0 15px;
    list-style: none;
}

.footer-links h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid #34A326;
    padding-bottom: 10px;
    display: inline-block;
    list-style: none;
}

.footer-links ul li a {
    font-size: 18px;
    text-decoration: none;
    color: #34A326;
    display: block;
    margin-bottom: 15px;
    transition: all.3s ease;
    list-style: none;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

.social-link a {
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all .5s ease;
}

.social-link a:hover {
    background-color: #34A326;
}

.fin {
    text-align: center;
    color: #fff6;
}

@media (max-width: 991px) {
    .footer-row {
        text-align: center;
    }

    .footer-links {
        width: 100%;
        margin-bottom: 30px;
    }
}

/*------NAVBAR-------*/
.menu{
    background-color: #00000071;
    color: #fff;
    height: 100px;
    display: flex;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.menu__links{
    height: 100%;
    transition: transform .5s;
    display: flex;
}

.menu__item{
    list-style: none;
    position: relative;
    height: 100%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    color: #fff;
    text-decoration: none;
    padding: 0 30px;
    display: flex;
    height: 100%;
    align-items: center;
}

.menu__link:hover{
    background-color: #34A326;
}


.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: 0;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #000;
}

.menu__link--inside{
    padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
    background-color: #798499;
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img{
    display: block;
    width: 36px;
}

@media (max-width:800px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #5e7094;
    }

    .menu__item--show{
        background-color: var(--background);
    }


    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 70px;
        bottom: 0;
        right: 0;
        background-color: #000;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #798499;
    }
}

/*----FIN NAVBAR-----*/

.go-top-container {
    position: fixed;
    bottom: 2.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 0rem;
    z-index: -1;
}

.go-top-button {
    width: 0rem;
    height: 0rem;
    background: #ffc107;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.go-top-button i {
    position: absolute;
    font-size: 1rem;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #000;
    transition: 0.2s;
}

.show {
    z-index: 10;
}

.show .go-top-button {
    animation: popup 0.3s ease-in-out;
    width: 3rem;
    height: 3rem;
    z-index: 11;
}

.show i {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup {
    0% {
        width: 0;
        height: 0;
    }
    50% {
        width: 4rem;
        height: 4rem;
    }
    100% {
        width: 3rem;
        height: 3rem;
    }
}