* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Press Start 2P", system-ui;
}

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

.header {
    display: flex;
    flex-direction: column;
}

.header-section-one {
    background-image: url('./img/TRAMAS---ROSA.jpg');
}

.header-section-one img {
    width: 200px;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px;
}

.header-section-one img:hover {
    width: 200px;
    transform: scale(1.1);
}

.header-section-two {
    background-image: url('./img/TRAMAS---YELLOW.jpg');
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-section-two-nav {
    display: flex;
    gap: 1rem;
    position: relative;
}

.acciones {
    position: relative;
    overflow: hidden;
}

.close,
.bx-menu-alt-right {
    position: absolute;
    right: -1000px;
}

.header-section-two-nav a {
    color: #fff;
    text-decoration: none;
    background-color: #555FA9;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 22px;
    transition: 0.3s;
}

.header-section-two-nav a:hover {
    background-color: #AF1874;
}

.main {
    background-color: #555FA9;
    color: #ccc;
}

.main-section-one {
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 2rem 0;
}

.main-section-one-info {
    text-align: center;
}

.main-section-one-info h4 {
    font-weight: 800;
    margin: 2rem 0;
    text-align: center;
    font-size: 28px;
    font-family: "Roboto", Sans-serif;
}


.main-section-one-info p {
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
}

.main-section-one-info-uno {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    margin-top: 3rem;
}

.main-section-one-info-uno p {
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
}

.main-section-one-info-cards {
    display: flex;
    gap: 1rem;
    height: 300px;
    margin-top: 2rem;
}

.contenu_carou_auto {
    display: none;
}

.contenedor-img {
    margin: 0 auto;
}

.efecto-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40vh;
}

.item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: none;
    transition: flex 0.8s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: center;

    &:hover {
        flex: 3;
    }
}

.sombra {
    background-color: rgba(0, 0, 0, .8);
    padding: 1rem;
    opacity: 1;
    transition: 0.5s;
    width: 100%;
}

.item span {
    color: #fff;
    display: none;
}

.item:hover div span {
    display: block;
}

.item:hover div p {
    display: none;
}

.item-1 {
    background-image: url('/img/imgUno.jpg');
}

.item-2 {
    background-image: url('/img/imgDos.jpg');
}

.item-3 {
    background-image: url('/img/imgTres.jpg');
}

.main-section-two {
    padding-bottom: 0;
}

.bg{
    background-color: #6358A3;
}
.cont-princ-slider {
    height: auto;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.slier-prin {
    display: inline-flex;
    -moz-animation: slider 5s infinite linear;
    -webkit-animation: slider 5s infinite linear;
    animation: slider 100s infinite linear;
    height: 100%;
    width: auto;
}

.slier-prin img {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
}

@keyframes slider {
    to {
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.main-section-three {
    background-image: url('./img/TRAMAS---YELLOW.jpg');
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.main-section-three a {
    background-color: #6358A3;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 2rem;
    color: #fff;
    transition: 0.3s;
}

.main-section-three a:hover {
    background-color: #E42369;
    transform: scale(1.1);
}

.main-contacto {
    background-color: #555FA9;
    color: #fff;
    padding: 3rem 0;
}

.main-contacto h4 {
    font-family: "Roboto", Sans-serif;
    font-size: 25px;
    margin-bottom: 2rem;
}

.contenedor-contacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.contacto-section-one p {
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
}

.contacto-section-one-redes-sociales {
    display: flex;
    padding: 1rem 0;
    gap: 1rem;
    align-items: center;
}

.redes-especial-blanca{
    color: #fff;
}

.redes {
    background-color: #FCCB0F;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 2rem;
    color: #181717;
    transition: 0.3s;
}

.redes-img{
    width: 28px;
}

.redes:hover {
    background-color: #a58402;
    transform: scale(1.3);
}

.form {
    background-color: #DE0463;
    color: #fff;
    border-radius: 15px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-info-individual {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.grid-complete {
    grid-column: 1/3;
}

.label {
    font-family: "Roboto", Sans-serif;
}

.input,
.select,
.text-area,
.option {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #363434;
    font-family: "Roboto", Sans-serif;
}

.input:focus,
.select:focus {
    border-color: #fccd0f86;
    box-shadow: 0 0 5px #fccd0f86;
}

.text-area {
    height: 150px;
}

.text-area:focus {
    border-color: #fccd0f86;
    box-shadow: 0 0 5px #fccd0f86;
}

.btn {
    background-color: #FCCB0F;
    color: #2c2b2b;
    padding: 1rem 0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn:hover{
    background-color: #d3aa05;
}

.map {
    height: 400px;
    width: 100%;
    z-index: 5;
}

.ventana-map{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.gm-style-iw-chr {
    height: 1px;
}

.gm-style-iw button span{
    position: absolute;
    top: -3px;
}

.gm-style-iw-d {
    padding: 12px !important;
}

.ventana-map p{
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
}

.ventana-map p span{
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.footer{
    background-color: #555FA9;
}

.footer-contenedor{
    display: flex; 
    gap: 10px;
}

.footer-ul{
    display: flex; 
    gap: 1rem;
}

.footer-contenedor-info{
    display: flex; 
    gap: 10px;
    display: flex; flex-direction: column;
}

.footer h4, .footer p{
    background-color: #555FA9;
    font-family: "Roboto", Sans-serif;
}

.footer a{
    color: #fff;
    text-decoration: none;
    font-family: "Roboto", Sans-serif;
}

.ancho-footer{
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    color: #fff;
    padding: 2rem 0;
}

.footer img {
    width: 150px;
    height: 150px;
    margin-left: 15px;
}

.footer-secciones{
    display: flex;
    gap: 7rem;
    color: #fff;
    align-items: center;
    text-align: center;
}

.footer h3{
    margin-bottom: 1rem;
    font-family: "Roboto", Sans-serif;
    font-family: 700;
    font-size: 22px;
}

.footer p{
    margin-bottom: 1rem;
    font-family: "Roboto", Sans-serif;
}

.media-principal{
    display: flex;
    flex-direction: column;
    background-color: #555FA9;
    padding: 3rem 0;
}

.media-ancho{
    width: 70%;
    margin: 0 auto;
}

.media-numeros{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 1.5rem;
    gap: 3rem;
}

.media-numero h2{
    color: #fff;
    font-size: 38px;
}

.media-numero p{
    color: #fff;
    margin-top: 10px;
}

.media-consolas{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}


.card{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
    border: solid 1px #ffffff62 !important;
    color: #1a1818;
}

.card-body{
    padding: 1rem;
}

.card-title{
    margin-bottom: 10px;
    font-size: 16px;
}
.card img{
    max-height: 300px;
    height: 300px;
    width: px;
}

.card-text{
    font-family: "Roboto", Sans-serif;
}

@media (max-width : 575px) {
    .ancho {
        width: 100%;
        margin: 0 auto;
    }

    .header-section-one img {
        width: 100px;
        margin: 10px;
    }

    .header-section-two {
        position: fixed;
        top: -1000px;
    }

    .header-section-two-nav {
        position: fixed;
        top: -400px;
        left: 0;
        height: 400px;
        width: 100%;
        background-color: rgba(0, 0, 0, .9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        z-index: 15;
    }

    .header-section-two-nav-animation {
        position: fixed;
        top: 0;
        left: 0;
        height: 400px;
        width: 100%;
        background-color: rgba(0, 0, 0, .9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        z-index: 15;
    }

    .acciones {
        overflow: visible;
    }

    .close {
        position: absolute;
        top: 35px;
        right: 15px;
        z-index: 1000;
        color: #fff;
        font-size: 25px;
        font-weight: 700;
        opacity: 0;
    }

    .bx-menu-alt-right {
        top: 35px;
        right: 5px;
        z-index: 1000;
        color: #fff;
        font-size: 40px;
        font-weight: 700;
        opacity: 1;
    }

    .bx-menu-alt-right-animation {
        opacity: 0;
    }

    .close-animation {
        opacity: 1;
    }

    .main-section-one {
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem;
        text-align: center;
    }

    .contenedor-img {
        display: none;
    }

    .contenu_carou_auto {
        display: block;
    }

    .main-section-one-info-cards {
        flex-direction: column;
        height: 1000px;
    }

    .main-section-three {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
    }

    .main-section-three a {
        text-align: center;
        padding: 1rem;
    }

    .main-section-three a i {
        font-size: 40px;
    }

    .main-contacto {
        background-color: #555FA9;
        color: #fff;
        padding: 3rem 1rem;
    }


    .contenedor-contacto {
        grid-template-columns: repeat(1, 1fr);
    }

    .contacto-section-one-redes-sociales {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .contacto-section-one-redes-sociales a{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .pad{
        margin-bottom: 2rem;
    }
    .map{
        z-index: 4 !important;
    }
    .map-animation{
        z-index: 4 !important;
        margin-top: 300px;
    }
    .index{
        z-index: 5 !important;
        background-color: red;
    }

    .footer{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .media-ancho{
        width: 90%;
        margin: 0 auto;
    }
    
    .media-numeros{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .media-numero h2{
        color: #fff;
        font-size: 38px;
    }
    
    .media-numero p{
        color: #fff;
        margin-top: 10px;
    }
    
    .media-consolas{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .card{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .card img{
        max-height: 350px;
        height: 200px;
        width: 200px;
    }
    .ancho-footer{
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .ancho-footer img{
        margin-bottom: 2rem;
        margin-left: 0;
    }

    .footer{
        align-items: center;
        justify-content: center;
    }

    .footer-contenedor{
        display: flex; 
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-contenedor-info{
        display: flex; 
        gap: 10px;
        display: flex; 
    }

    .footer-contenedor span{
        visibility: hidden;
    }

    .footer-ul{
        display: flex; 
        flex-direction: column;
        gap: 0;
    }
}