:root {
    --color_primario: #E30713;
    --color_secundario: #D7D8DA;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/*
    Menu
*/
.container {
    max-width: 1170px;
    margin: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/*header*/
.header {
    /*position: absolute;*/
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    padding: 15px;
}

.header-main {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-radius: 4px;
}

.header .logo {
    padding: 0 15px;
}

.header .logo a {
    font-size: 30px;
    text-transform: capitalize;
    color: #e91e63;
    font-weight: 600;
}

.header .nav-menu {
    padding: 0 15px;
}

.header .menu>.menu-item {
    display: inline-block;
    margin-left: 30px;
    position: relative;
}

.header .menu>.menu-item>a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header .menu>.menu-item>a .plus {
    display: inline-block;
    height: 12px;
    width: 12px;
    position: relative;
    margin-left: 5px;
    pointer-events: none;
}

.header .menu>.menu-item>a .plus:before,
.header .menu>.menu-item>a .plus:after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    background-color: #000000;
    height: 2px;
    width: 100%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.header .menu>.menu-item:hover>a .plus:before,
.header .menu>.menu-item:hover>a .plus:after {
    background-color: #e91e63;
}

.header .menu>.menu-item>a .plus:after {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.header .menu>.menu-item>.sub-menu>.menu-item>a:hover,
.header .menu>.menu-item:hover>a {
    color: #e91e63;
}

.header .menu>.menu-item>.sub-menu {
    z-index: 99;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 220px;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #ffffff;
    padding: 10px 0;
    border-top: 3px solid #e91e63;
    transform: translateY(10px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

@media(min-width: 992px) {
    .header .menu>.menu-item-has-children:hover>.sub-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header .menu>.menu-item-has-children:hover>a .plus:after {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.header .menu>.menu-item>.sub-menu>.menu-item {
    display: block;
}

.header .menu>.menu-item>.sub-menu>.menu-item>a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.header .open-nav-menu {
    height: 34px;
    width: 40px;
    margin-right: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header .open-nav-menu span {
    display: block;
    height: 3px;
    width: 24px;
    background-color: #000000;
    position: relative;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    box-sizing: border-box;
}

.header .open-nav-menu span:before {
    top: -7px;
}

.header .open-nav-menu span:after {
    top: 7px;
}

.header .close-nav-menu {
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    margin: 0 0 15px 15px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.header .close-nav-menu img {
    width: 16px;
}

.header .menu-overlay {
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/*
    Home
*/

.hero {
    display: flex;
    flex-wrap: wrap;
    background: url(../img/fondo1pagina\ CEDIRSA.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 500px;
}


.hero-text {
    max-width: 900px;
    color: #1a1a1a;
    z-index: 2;
}

.hero-text h1 {
    font-size: 68px;
    margin-bottom: 20px;
}

.hero-text a {
    background-color: var(--color_primario);
    color: rgb(255, 255, 255);
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    width: 380px;
    margin-top: 20px;
    padding-right: 20px;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: #fff;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    z-index: 2;
    position: relative;
}


/*
    Sobre Nosotros Inicio
*/

.inicio_sobre_nosotros {
    width: 100%;
    height: 100%;
    padding: 40px;
    background: url('../img/fondo\ 2\ CEDIRSA.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.container_sobre {
    display: flex;
    justify-content: space-around;
}

.titulo {
    color: #b3b2b2;
    font-size: 30px;
    padding: 80px;
    align-items: center;
    text-align: center;
}

.container_texto {
    width: 800px;
    height: 700px;
    padding-top: 150px;
}

.textoo22 {
    width: 1000px;
    height: 700px;
    padding-left: 180px;
    display: flex;
    justify-content: space-between;
}

.container_texto h2 {
    font-size: 40px;
    color: var(--color_secundario);
    padding: 30px;
    position: relative;
    top: 30px;
}

.container_texto p {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}

.img2 {
    background: #fff;
    border-radius: 20px;
    width: 300px;
    padding: 20px;
}

@media (max-width: 1024px) {
    .container_sobre {
        flex-direction: column;
        align-items: center;
    }

    .container_texto {
        max-width: 100%;
        padding-left: 0;
        flex-direction: column;
    }

    .titulo {
        font-size: 25px;
        padding: 20px 0;
    }

    .img2 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container_texto h2 {
        font-size: 30px;
        top: 20px;
    }

    .titulo {
        font-size: 20px;
        padding: 10px 0;
    }

    .container_texto,
    .textoo22 {
        padding: 10px;
    }

    .textoo22 p {
        font-size: 14px;
    }
}

/*
    BOTON SUBIR
*/
#subir__arriba {
    width: 70px;
    height: 70px;
    background: rgb(255, 74, 74);
    color: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    position: fixed;
    right: 10px;
    bottom: 20px;
    cursor: pointer;
    display: none;
    z-index: 99;
}



/*
    ESTUDIOS
*/

.seciones_estudios1 {
    background: url('../img/fondo\ 3.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100%; 
    padding: 40px;
}


.seciones_estudios h2 {
    color: #ffffff;
    font-size: 30px;
    padding: 80px;
    align-items: center;
    text-align: center;
}

.card_seciones {
    display: flex;
    justify-content: space-evenly;
}

.card {
    background-color: transparent;
    width: 230px;
    height: 230px;
    padding: 20px;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    padding-bottom: 30px;
}

.card_icono {
    width: 100px;
    height: 100px;
    position: relative;
    top: 30px;
}

.card h1 {
    font-size: 18px;
    color: #b3b2b2;
    padding: 15px;
    align-items: center;
    position: relative;
    top: 30px;
}

@media (max-width: 1024px) {
    .card_seciones {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        margin: 10px 0;
    }

    .seciones_estudios h2 {
        font-size: 25px;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .seciones_estudios h2 {
        font-size: 20px;
        padding: 10px 0;
    }

    .card {
        width: 90%;
        margin: 10px 0;
    }

    .card h1 {
        font-size: 16px;
    }
}


/*
    ARS Slider
*/

.container_slider {
    margin-block: 20px;
}

@keyframes slidee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slidee infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
}

/*Footer*/
.footer {
    background: var(--white);
    padding: 30px 0px;
    font-family: 'Play', sans-serif;
    text-align: center;
    box-shadow: -1px -1px 15px -5px rgba(0, 0, 0, 0.2);
}

.footer .row {
    width: 100%;
    margin: 1% 0%;
    padding: 0.6% 0%;
    color: #1a1a1a;
    font-size: 0.8em;
}


.footer .row a {
    text-decoration: none;
    color: rgb(37, 37, 37);
    transition: 0.5s;
}

.footer .row a:hover {
    color: var(--color_primario);
}

.footer .row ul {
    width: 100%;
}

.footer .row ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

/* responsive */

@media(max-width: 991px) {
    .header .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .header .nav-menu {
        position: fixed;
        right: -280px;
        visibility: hidden;
        width: 280px;
        height: 100%;
        top: 0;
        overflow-y: auto;
        background-color: #222222;
        z-index: 1000;
        padding: 15px 0;
        transition: all 0.5s ease;
    }

    .header .nav-menu.open {
        visibility: visible;
        right: 0px;
    }

    .header .menu>.menu-item {
        display: block;
        margin: 0;
    }

    .header .menu>.menu-item-has-children>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header .menu>.menu-item>a {
        color: #ffffff;
        padding: 12px 15px;
        border-bottom: 1px solid #333333;
    }

    .header .menu>.menu-item:first-child>a {
        border-top: 1px solid #333333;
    }

    .header .menu>.menu-item>a .plus:before,
    .header .menu>.menu-item>a .plus:after {
        background-color: #ffffff;
    }

    .header .menu>.menu-item-has-children.active>a .plus:after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .header .menu>.menu-item>.sub-menu {
        width: 100%;
        position: relative;
        opacity: 1;
        visibility: visible;
        border: none;
        background-color: transparent;
        box-shadow: none;
        transform: translateY(0px);
        padding: 0px;
        left: auto;
        top: auto;
        max-height: 0;
        overflow: hidden;
    }

    .header .menu>.menu-item>.sub-menu>.menu-item>a {
        padding: 12px 45px;
        color: #ffffff;
        border-bottom: 1px solid #333333;
    }

    .header .close-nav-menu,
    .header .open-nav-menu {
        display: flex;
    }
}

@media (max-width:720px) {
    .footer {
        text-align: left;
        padding: 5%;
    }

    .footer .row ul li {
        display: block;
        margin: 10px 0px;
        text-align: left;
    }

    .footer .row a i {
        margin: 0% 3%;
    }
}