:root {
    font-size: 15px;
    --gris_oscuro: rgb(63, 63, 63);
    --gris_medio: rgb(100, 100, 100);
    --gris_claro: rgb(158, 158, 158);
    --morado: rgb(49, 28, 59);
    --opensans300: 'Open Sans', sans-serif;
    --opensans400: 'Open Sans 400', sans-serif;
    --lobster: 'Lobster', cursive;
    --rosado: rgb(255, 188, 255);
}


* {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

html {
    /* Firefox Fix */
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: var(--opensans300);
    overflow-x: hidden;
    overflow-y: hidden;
}

/* MOBILE FIRST  */

/* Header */

.btn_menu {
    background: var(--gris_medio);
    width: 100%;
    height: 4rem;
    position: fixed;
    z-index: 1000;

}

.btn_menu .icon_menu {
    color: var(--gris_claro);
    font-family: var(--opensans400);
    display: flex;
    justify-content: space-between;
    height: 4rem;
    align-items: center;
    padding: 0 2rem;
    cursor: pointer;
}

.btn_menu .icon_menu i {
    font-size: 1.5rem;
}

#btn_menu {
    display: none;
}

.container_menu {
    position: absolute;
    padding-top: 4rem;
    transition: all 300ms ease;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 900;
    position: fixed;
}

#btn_menu:checked~.container_menu {
    opacity: 1;
    visibility: visible;
}

.cont_menu {
    width: 50%;
    background: var(--gris_oscuro);
    height: 100vh;
    transition: all 300ms ease;
    transform: translateX(-100%);


}

#btn_menu:checked~.container_menu .cont_menu {
    transform: translateX(0%);
}

.cont_menu nav {
    transform: translateY(15%);
}

.cont_menu nav a {
    display: block;
    text-decoration: none;
    color: var(--gris_claro);
    padding: 20px;
    border-left: 5px solid transparent;
    transition: all 300ms ease;
}

.cont_menu nav a:hover {
    border-left: 5px solid var(--gris_claro);
    background: rgb(73, 73, 73);

}

.cont_menu nav a i {
    margin-right: 1rem;
}

.cont_menu label {
    position: absolute;
    right: 15px;
    top: 10px;
    color: var(--gris_claro);
    font-size: 1.2rem;
    cursor: pointer;
}

.logo {
    display: none;
}

/* Section */

.section {
    width: 100vw;
    background: url(../img/testi_fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: start;
    margin-top: 60px;
}

.section::before {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(54, 0, 56, 0.795), rgba(209, 0, 199, 0.589));
}

.section .cont_section {
    width: 70%;
    margin: 5rem 0;
    /* background: greenyellow; */
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.cont_section .cajas {
    width: 90%;
    background: rgba(255, 255, 255, 0.678);
    height: 26rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 5px 6px 15px 0px rgba(0, 0, 0, 0.432);


}

.cont_section .caja9 {
    height: 10rem;
}

.cont_section .caja7 {
    height: 10rem;
}

.cajas .info {
    width: 90%;
    height: 10rem;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: auto;
    /* background: green; */
    margin-bottom: .8rem;
}

.info .parrafo {
    text-align: justify;
}

.info h3 {
    margin: .8rem 0;
    text-align: center;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* VISTA HASTA 420 PX */

@media screen and (max-width: 420px) {

    .cont_section .cajas {
        width: 100%;
        background: rgba(255, 255, 255, 0.678);
        height: 24rem;
        overflow: hidden;
        margin-bottom: 2rem;
        border-radius: 20px;
        box-shadow: 5px 6px 15px 0px rgba(0, 0, 0, 0.432);

    }

    .cajas .info {
        width: 90%;
        height: 10rem;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin: auto;
        /* background: rgb(207, 6, 6); */
        margin-bottom: 3rem;
    }

    .cont_section .caja9 {
        height: 10rem;
    }

    .cont_section .caja7 {
        height: 10rem;
    }

    .img img {
        width: 100%;
        position: relative;
        bottom: 2rem;
    }

}


/* VISTA PC */

@media screen and (min-width: 640px) {

    /* Hedaer */

    .btn_menu {
        display: none;
    }

    .container_menu {
        opacity: 1;
        visibility: visible;
        padding-top: 0;
        z-index: 1000;
    }

    .cont_menu {
        transform: translateX(0%);
        height: 4rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;

    }

    .cont_menu nav {
        transform: translateY(0%);
        display: flex;
        padding-right: 3rem;
    }

    .container_menu .cont_menu label {
        display: none;
    }

    .cont_menu nav a {
        display: block;
        text-decoration: none;
        color: var(--gris_claro);
        padding: 20px;
        border-left: none;
        transition: all 300ms ease;
    }

    .cont_menu nav a:hover {
        border-left: none;
        background: rgb(73, 73, 73);
        
    }

    .logo {
        display: block;
        width: 3rem;
        padding-left: 3rem;
    }


    /* Section */

    .cont_section .cajas {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 30px;
        width: 100%;
    }

    .cajas .info {
        width: 40%;
        height: 10rem;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin: auto;
        /* background: green; */
        margin: 0 30px 0 0;
       
    }


    .cajas .img {
        width: 60%;
        height: 80%;
    }
}