/* Todos los estilos para el footer video y footer */

/*-------------------------
 Video container 
 -------------------------*/
.container_videofooter {
    position: relative;
    margin-top: 10%;
    bottom: 5%;
    width: 100vw;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wrap_video {
    position: absolute;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.arrow_icon {
    position: absolute;
    width: 100px;
    height: auto;
    top: 58%;
    left: 80%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wrap_video:hover .arrow_icon {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Proyecto siguiente */
.container_next_project {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

/* Estilos para el div interno */
.internal_next_project {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wrap_rollingtext {
    width: 100%;
}

/* Texto rolling */
.next_rolling_text {
    font-family: "PPEditorial_New", sans-serif;
    font-weight: 200;
    font-style: italic;
    font-size: 65px;
    font-weight: 200;
    color: #ebebeb;
}

/* Título grande */
.next_project {
    font-family: "Poppins", sans-serif;
    font-size: 230px;
    line-height: 250px;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}



.wrap_videofooter:hover .next_project {
    color: #f3bc44;
    letter-spacing: 5px;
    transition: all 0.3s ease;
}

.next_custom_imag {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next_custom_imag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.5) saturate(1.2) opacity(.3);
}

/* Responsive */
@media screen and (max-width: 1600px) {
    .wrap_rollingtext {
        width: 90%;
    }

    .next_rolling_text {
        font-size: 40px;
    }

    .next_project {
        font-size: 150px;
        line-height: 160px;
    }

    .arrow_icon {
        display: none;
    }
}

@media screen and (max-width: 420px) {

    .wrap_rollingtext {
        width: 90%;
    }

    .next_rolling_text {
        font-size: 26px;
    }

    .next_project {
        font-size: 80px;
        line-height: 90px;
    }

    .arrow_icon {
        display: none;
    }

    .next_custom_imag img {
        width: auto;
        height: 100%;
    }
}





/* --------------
Footer
--------------- */

.wrap_footer_magg {
    position: relative;
    width: 100vw;
    height: auto;
    border-top: 1px solid #323232;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Imagen de fondo en el footer */
.footer_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    filter: grayscale(90%) blur(0);
    transition: opacity 0.3s ease-in-out;
}

.footer_background_copyright {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    filter: grayscale(90%) blur(2px);
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}


/* --- */

.footer {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.footer .footer-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.5rem;
    padding: 60px;
}

.footer-row .footer-col h4 {
    color: #424242;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    /* text-transform: uppercase; */
}

.footer-col .links {
    position: relative;
    width: auto;
    margin-top: 20px;
    margin-left: 0;
}

.items_magg {
    position: relative;
    list-style: none;
    margin-bottom: 10px;
    /* ---------------------------------- */
    right: 40px;
    /* ---------------------------------- */
}

.items_magge_err {
    right: 0;
}

.links_text {
    text-decoration: none;
    color: #bfbfbf;
}

.footer-col .links_text:hover {
    color: #fff;
}

/* Estilos del icono */
.site_section::after {
    content: "";
    background: url("/images/arrow_white.svg") no-repeat center / contain;
    width: 14px;
    height: 14px;
    position: absolute;
    margin-top: 6px;
    opacity: 0;
    transform: translateX(-10px) rotate(0deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animación al hacer hover */
.site_section:hover {
    color: #f0f0f0;
    /* Color al pasar el mouse */
}

.site_section:hover::after {
    opacity: 1;
    transform: translateX(20px) rotate(45deg);
}

.suscribe_iw {
    color: #999;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.imput_your_email {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.button_subscribe {
    color: #000;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.button {
    display: inline-block;
    height: 45px;
    line-height: 50px;
    left: 0;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    color: white;
    transition: 0.3s;
}

/* BUTTON UP */
.label_up_news {
    font-size: 16px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    display: block;
    margin: 0px 90px;
    height: 100%;
    position: relative;
    top: -10px;
    left: -45px;
    transition: 0.3s;
}

.button:hover .label_up_news {
    top: -260%;
}

.up_second {
    color: #3f2c03;
    margin-top: 30px;
}

/* --- */

.site_section {
    text-transform: uppercase;
    color: #999;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.site_section:hover {
    color: #f3bc44 !important;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

.galleri_links {
    /* background-color: #0a66c2; */
    color: #999;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.galleri_links:hover {
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.legal_links {
    color: #999;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.legal_links:hover {
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.footer-col p {
    margin: 20px 0;
    color: #bfbfbf;
    max-width: 300px;
}

.footer-col form {
    display: flex;
    gap: 5px;
}

.footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid #7489c6;
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
}

.footer-col input::placeholder {
    color: #ccc;
}

.footer-col form button {
    background: #f3bc44;
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-col form button:hover {
    background: #f0cd83;
}

/* Estilos del contenedor */
.social_media {
    display: flex;
    margin-top: 30px;
    gap: 1.5rem;
}

/* Tamaño y color por defecto de los iconos */
.social_media a {
    text-decoration: none;
}

.social_media a i {
    font-size: 20px;
    color: #454545;
    transition: color 0.3s ease-in-out;
}

.social_media a:hover i.fa-facebook-f {
    color: #1877f2;
}

.social_media a:hover i.fa-instagram {
    color: #ff0069;
}

.social_media a:hover i.fa-500px {
    color: #0099e5;
}

.social_media a:hover i.fa-youtube {
    color: red;
}

@media (max-width: 768px) {
    .footer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .footer .footer-row {
        padding: 20px;
        gap: 1rem;
    }

    .footer-col form {
        display: block;
    }

    .footer-col form :where(input, button) {
        width: 100%;
    }

    .footer-col form button {
        margin: 10px 0 0 0;
    }
}

/* --- */

.footer_magg {
    position: relative;
    width: 100%;
    padding: 30px 0px;
    font-family: "Play", sans-serif;
    text-align: center;
    z-index: 1;
    background-color: #121212;
    color: #ffffff;
    border-top: 1px solid #222222;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_magg .row_magg {
    width: 100%;
    margin: 1% 0%;
    padding: 0.6% 0%;
    color: gray;
    font-size: 0.8em;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer_magg .row_magg a {
    text-decoration: none;
    color: gray;
    transition: 0.5s;
}

.footer_magg .row_magg a:hover {
    color: #fff;
}

.footer_magg .row_magg ul {
    width: 100%;
}

.footer_magg .row_magg ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer_magg .row_magg a i {
    font-size: 2em;
    margin: 0% 1%;
}

/* Estilos de la fila dentro del footer */

.wrap_copy {
    width: 80%;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.textdesign {
    width: 30%;
    margin-top: 0;
}

.text_site {
    font-size: 14px;
    line-height: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}

/* Resaltar la marca "IMAGIWEB" */
.title_imagiweb {
    font-weight: bold;
    color: #f3bc44;
}

/* Texto de derechos reservados */
.text_derechos {
    font-style: italic;
    color: #bfbfbf;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}

.design_magg {
    font-size: 14px;
    line-height: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.design_autor {
    font-size: 14px;
    line-height: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

/* Autor del diseño */
.footer_magg .autor {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #757575;
}

@media (max-width: 1600px) {
    footer .flex:first-child {
        flex-wrap: wrap;
    }

    footer .flex:first-child .flex-content {
        flex: 1 1 40%;
        text-align: center;
    }

    .wrap_footer_magg {
        position: relative;
        width: 100%;
        height: auto;
    }

    .footer-row .footer-col h4 {
        font-size: 20px;
        line-height: 22px;
        /* text-transform: uppercase; */
    }

    .site_section {
        font-size: 16px;
    }

    .site_section::after {
        width: 14px;
        height: 14px;
        margin-top: 6px;
    }

    .galleri_links {
        font-size: 16px;
    }

    .legal_links {
        font-size: 16px;
    }

    .text_site {
        width: 80%;
    }

    .row_magg {
        max-width: 100%;
    }

    .wrap_copy {
        width: 100%;
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
    }

    .textdesign {
        width: 50%;
        margin-top: 0;
    }

    .text_derechos {
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        font-weight: 300;
    }
}

@media (max-width: 920px) {
    footer .flex:last-child .flex-content:last-child {
        text-align: left;
    }
}

@media (max-width: 420px) {
    footer .flex:first-child .flex-content {
        flex: 1 1 100%;
    }

    .wrap_footer_magg {
        position: relative;
        width: 100%;
        height: auto;
    }

    .footer-row .footer-col h4 {
        font-size: 18px;
        line-height: 22px;
        /* text-transform: uppercase; */
    }

    .site_section {
        font-size: 14px;
    }

    .site_section::after {
        width: 12px;
        height: 12px;
        margin-top: 6px;
    }

    .galleri_links {
        font-size: 14px;
    }

    .legal_links {
        font-size: 14px;
    }

    .footer_col_newsletter {
        margin: 0 auto;
    }

    .footer_col_newsletter h4 {
        text-align: center;
    }

    .footer-col form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .social_media {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
        gap: 1.5rem;
    }

    .row_magg {
        max-width: 100%;
    }

    .wrap_copy {
        width: 100%;
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
    }

    .textdesign {
        width: 80%;
        margin-top: 0;
    }

    .text_derechos {
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        font-weight: 300;
    }
}



/* Newsletter */

/* Contenedor principal newsletter*/
#contact-formular {
    margin: 0 auto;
    max-width: 500px;
    padding: 40px 20px;
    position: relative;
}

/* Caja del email */
.email-box {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Input */
.email-box input {
    width: 100%;
    padding: 12px 0;
    border: none;
    /* border-bottom: 1px solid rgb(255, 255, 255); */
    background: transparent;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    outline: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Línea animada debajo del input */
.input_label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #f3bc44;
    transition: width 0.4s ease;
}

/* Texto descriptivo encima del input */
.input_email.title_imput_email {
    font-size: 30px;
    color: #444;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin-top: -30px;
}

/* Caja del texto de arriba */
.box_input_email {
    margin-top: 10px;
    /* overflow: hidden; */
}

/* Botón circular */
.button-border {
    background-color: #f3bc44;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0 auto;
    transition: background-color 0.4s ease;
}

.button-border:hover {
    background-color: #6d541f;
}

/* Botón */
input[type="submit"].send_message {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

/* Mensaje de éxito o error */

#success_page {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    color: #e93735;
}

.error_message {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    color: #e93735;
}

.error_message h3 {
    color: #e93735;
    font-weight: 600;
}

#success_page h3 {
    color: green;
}

/* Texto en el puntero del mouse */
.videotext_floats {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    top: 0;
    left: 0;
    z-index: 999999;
}

.mouse_text {
    background-color: #0c0c0c;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    line-height: 32px;
    font-style: italic;
    font-weight: 500;
    width: auto;
    padding: 15px 22px;
    border-radius: 35px;
}

/* --- */

/* Icono en el puntero del mouse */
.text_floating_magg {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 333333;
    top: 0;
    left: 0;
    background-size: cover;
    opacity: 0.1;
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.text_floating_magg img {
    width: 40px;
    height: 40px;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* --- */