:root {
    --color-primary: #444CF7;
    --color-title: #000;
    --align-title: left;
    --padding-container: 100px 0;
    --width-container: 90%;
    --max-width-container: 1200px;
    --color-btn: #8a1716;
    --text-btn: #fff;
    --padding-btn: 20px 35px;
    --height-shape: 18em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}

h1.fuente {
    font-weight: bold;
    color: red;
    z-index: 5;
    text-shadow: 1px 1px 1px rgba(180, 39, 37, .9);
    font-family: 'Roboto Condensed', sans-serif;
}

.navegacion {
    background-color: #00000077;
    position: fixed;
    width: 100%;
    z-index: 30;
    top: 0;
    left: 0;
    padding: 30px 20px;
    opacity: 90%;
}

.titulo-servicios {
    margin-top: 10%;
}

section#slider-section {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

div#content-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*Cambiar tamaño dela imagen */
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

div.texto-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

h1#slider-text {
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgba(166, 166, 166, 1) 0%, rgba(255, 255, 255, 1) 32%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

#slider-text h1 {
    top: 20px;
    display: flex;
}

.sesgoabajo_blanco {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.sesgoabajo_rojo {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color: transparent transparent #8a1716 transparent;
}

.sesgoabajo1 {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.sesgoarriba {
    z-index: 10;
    top: 0;
    left: 0;
    border-width: 35vh 100vw 0 0;
    border-style: solid;
    border-color: rgb(255, 255, 255) transparent transparent transparent;
}

.sesgoarriba1 {
    z-index: 10;
    top: 0;
    left: 0;
    border-width: 35vh 100vw 0 0;
    border-style: solid;
    border-color: #8a1716 transparent transparent transparent;
}

.container {
    max-width: var(--max-width-container);
    padding: var(--padding-container);
    margin: 0 auto;
    overflow: hidden;
}

.centrar {
    text-align: center;
}


/* Main */

.titulo_inicio {
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 3rem;
}

.sobre-nosotros {
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: -4rem;
}

.titulo_servicios {
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: -4rem;
    color: #ffffff;
}

.slogan {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 24px;
}

.parrafo {
    margin-bottom: 13px;
    font-weight: 300;
    text-align: justify;
    line-height: 24px;
    color: rgb(24, 16, 16);
}

.parrafo_servicios {
    margin-bottom: 13px;
    font-weight: 300;
    text-align: justify;
    margin-left: 3.5rem;
    line-height: 24px;
    color: rgb(24, 16, 16);
    font-size: 20px;
    margin-top: 2rem;
}

.desplegable {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    padding-top: 130px;
    background-color: white;
    margin-bottom: 50px;
}

.icon_servicios1 {
    width: 5%;
    height: 5%;
    position: absolute;
    margin-bottom: 2rem;
}

.icon_servicios2 {
    width: 5%;
    height: 5%;
    position: absolute;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.icon_servicios3 {
    width: 5%;
    height: 5%;
    position: absolute;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.icon_servicios4 {
    width: 5%;
    height: 5%;
    position: absolute;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.encima {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 53, 54, 0.815);
}

.encima h2 {
    position: relative;
    top: 45%;
    text-align: center;
    color: #fff;
}

.encima div {
    position: relative;
    display: block;
    top: 46%;
    width: 40px;
    height: 5px;
    background: #fff;
    margin: auto;
}

.cards {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    margin: 20px 0;
    width: 30%;
    height: 430px;
    text-align: center;
    padding: 20px;
    box-shadow: 0px 0px 4px 0 rgba(52, 73, 94, 0.849);
}

.card h4 {
    font-weight: bolder;
    margin: 10px auto;
    text-align: center;
    padding: 5px;
}

.card p {
    font-size: 15px;
    text-align: left;
    margin-bottom: 5px;
}

.cards img {
    width: 105px;
    height: 105px;
    object-fit: contain;
    margin: 0 auto;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.sesgoabajo-unico {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color: transparent transparent #050404 transparent;
}

.titulo-patrocinadores,
.subtitulo-patrocinadores {
    color: rgb(2, 2, 2);
    text-align: center;
}

.titulo-patrocinadores {
    font-size: 56px;
    margin-top: 48px;
}

.subtitulo-patrocinadores {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 64px;
}

.clientes {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 64px;
    width: 100%;
    justify-content: space-between;
}

.cliente {
    width: 30%;
}

.cliente img {
    width: 100%;
}


/* Footer */

.footer {
    position: relative;
    --padding-container: 120px 0 50px;
}

.footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    background: #8a1716;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.footer__contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    place-items: center;
    margin-bottom: 30px;
}

.footer__copy {
    margin: 20px 0;
    font-weight: 300;
}

.footer__social {
    display: flex;
    padding-top: 30px;
    flex-wrap: wrap;
}

.footer__link {
    width: 60px;
    height: 60px;
    border: 1px solid #000;
    border-radius: 50%;
    margin-right: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__icon {
    width: 30px;
}

.footer__link:hover {
    background-color: #8a1716;
}

.footer__picture {
    margin: 0;
    width: 60%;
}

.footer__img {
    width: 100%;
}

.footer__copyright {
    padding-top: 30px;
    border-top: 2px solid #918484;
    text-align: center;
}

.hero {
    height: 100vh;
    min-height: 500px;
    position: relative;
    --padding-container: 0;
}

.hero::after {
    content: "";
    display: block;
    position: absolute;
    height: var(--height-shape);
    width: 100%;
    bottom: 0;
    left: 0;
    background: #fff;
    z-index: -1;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero__container {
    display: grid;
    height: 100%;
    grid-template-columns: 3fr 2fr;
    place-items: center;
    gap: 20px;
}

.hero__title {
    font-size: 4rem;
}

.boton_servicio {
    display: inline-block;
    background: var(--color-btn);
    color: #fff;
    padding: var(--padding-btn);
    text-decoration: none;
    border-radius: 8px;
}

.boton_servicio:hover {
    background-color: rgba(0, 0, 0, .8);
    color: white;
}

.boton_servicio2 {
    display: inline-block;
    background: var(--color-btn);
    color: #fff;
    padding: var(--padding-btn);
    text-align: center;
    border-radius: 8px;
    margin-left: 43%;
    margin-top: 5rem;
}

.boton_servicio2:hover {
    background-color: rgba(0, 0, 0, .8);
    color: white;
}

.boton_index2 {
    display: inline-block;
    background: var(--color-btn);
    color: #fff;
    padding: var(--padding-btn);
    text-align: center;
    border-radius: 8px;
}

.boton_index2:hover {
    background-color: rgba(0, 0, 0, .8);
    color: white;
}

.hero__img {
    width: 95%;
}

.text_panel {
    font-size: small;
}

.instructor {
    text-align: center;
    border-bottom: 2px solid #ccc;
    --padding-container: 30px 0 60px;
}

.instructor__container {
    width: 70%;
    margin: 0 auto;
}

.instructor__name {
    margin: 20px 0;
}

.instructor__tag {
    font-weight: 700;
    color: #8a1716;
    margin-bottom: 20px;
}

.instructor__paragraph {
    text-align: center;
    line-height: 1.5;
    font-style: italic;
    color: #000000;
}

.instructor__img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.miembros p {
    font-size: 16px;
}

@media screen and (max-width:768px) {
    .sobre-nosotros {
        font-size: 38px;
    }
    .titulo_inicio {
        font-size: 38px;
    }
    .slogan {
        font-size: 25px;
        margin-top: -2rem;
    }
    .titulo-patrocinadores {
        font-size: 46px;
    }
    .subtitulo-patrocinadores {
        font-size: 20px;
    }
    .footer {
        margin-top: 100px;
    }
    .none {
        display: none
    }
    .card {
        width: 90%;
        margin-bottom: 20px;
    }
     :root {
        --height-shape: 14em;
    }
    .footer__contact {
        grid-template-columns: 1fr;
    }
    .footer__texts {
        order: 1;
        --align-title: center;
    }
    .footer__social {
        justify-content: space-evenly;
    }
    .instructor {
        --padding-container: 60px 0;
    }
    .instructor__container {
        width: 90%;
    }
    .sesgoabajo_rojo {
        position: relative;
        bottom: 7.7rem;
    }
    .boton_servicio2 {
        width: 60%;
        margin-left: 23%;
    }
}

@media screen and (max-width:768px) {
     :root {
        --height-shape: 14em;
    }
    /* Agregue un height auto, porque no habia espacio disponible
    para la imagen y los elementos */
    .hero {
        min-height: 100vh;
    }
    /* La primera fila tendrá una fila, definida por el 
     tamaño de su contenido "max-content" */
    .hero__container {
        --padding-container: 60px 0;
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
    }
    .hero__img {
        order: -1;
        max-width: 250px;
        margin-top: 4rem;
    }
    .hero__title {
        font-size: 2rem;
    }
    .miembros p {
        font-size: 16px;
    }
    .footer::before {
        margin-top: -6.25rem;
    }
}