:root {

    /**
   * coloress
   */

    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --blue: #0cc0df;
    --grey: #141414;

    /**
   * tipografia
   */

    --ff-montserrat: "Montserrat", sans-serif;
    --ff-space: "Space Grotesk", sans-serif;

    --headline-lg: 5rem;
    --headline-md: 3rem;
    --headline-sm: 2rem;
    --title-lg: 1.8rem;
    --title-md: 1.5rem;
    --title-sm: 1.4rem;

    --fw-500: 500;
    --fw-700: 700;



    --section-padding: 120px;



    --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
    --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);



    --radius-circle: 50%;
    --radius-12: 12px;
    --radius-6: 6px;
    --radius-4: 4px;

    /**
   * transition
   */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --transition-3: 1s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

.proyectos-pagina {
    display: grid;
    
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.media-square-project-card {
    transition: all 500ms ease;
}

.media-square-project-card:hover {
    border-color: var(--blue);
}

.media-square-project-card-desktop {
    width: 100%;
    transition: all 500ms ease;
    overflow: hidden;
}

.media-square-project-card-desktop:hover {
    transform: scale(1.13, 1.1);
}

.media-square-project-card-mobile {
    transition: all 500ms ease;
    
}

.media-square-project-card-mobile:hover {
    transform: scale(1.1, 1.13);
}

.content-media-square {
    opacity: 1;
    position: relative;
}

.content-media-square img {
    width: 100%;
    display: none;
}

.content-media-square video {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.media-project-card-container {
    border-radius: 20px;
    border: 1px solid var(--white);
    overflow: hidden;
    transition: all 500ms ease;
    height: fit-content;
}

.media-project-card-container-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.media-square-project-card-mobile {
    width: 33.33%;
    /* height: 100%; */
}

.media-project-card-container video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

.media-project-card-container a{
    font-size: 0px;
    width: 100%;
}

.paginas-projects-container {
    position: relative;
    max-width: 1000px;
    height: 900px;
    margin-inline: auto;
}

.proyectos-pagina {
    transition: all 500ms ease;
}

.proyectos-pagina:not(:first-of-type) {
    position: relative;
    width: 100%;
    top: 0;
    opacity: 0;
    display: none;
}

.paginacion-container {
    position: absolute;
    bottom: 0%;
    left: 0%;
    right: 0%;
    margin-inline: auto;
    width: fit-content;
    margin-inline: auto;
    margin-top: 100px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

.paginacion-container button {
    color: var(--white);
    font-family: var(--ff-space);
    padding: 10px 25px;
    border-radius: 100%;
    transition: all 500ms ease;
}

.paginacion-container button:hover {
    background-color: var(--blue);
    color: var(--black);
}

.agendar-section h2 {
    text-align: center;
    font-weight: 300;
    font-size: 40px;
}

.agendar-section h2 span {
    font-weight: 500;
}

.agendar-section a {
    width: fit-content;
    margin-inline: auto;
    border: 1px solid var(--white);
    border-radius: 40px;
    padding: 5px 70px;
    margin-top: 40px;
    transition: all 500ms ease;
}

.agendar-section a:hover {
    background-color: var(--blue);
}

.num-pagina-sel {
    background-color: var(--blue);
    color: var(--black) !important;
    font-weight: 700;
}

.card-exclusiva {
    width: 500px;
}


@media (min-width: 300px) and (max-width: 399px) {
    .proyectos-pagina {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .titulo-fecha-card p:first-of-type {
        font-size: 15px;
    }

    .titulo-fecha-card p:last-of-type {
        font-size: 15px;
    }

    .servicios-project-card {
        gap: 5px;
    }

    .servicio-project-card a {
        font-size: 8px;
        padding: 5px 10px;
        gap: 3px;
    }

    .servicio-project-card button {
        padding: 5px 11px;
        font-size: 10px;
    }

    .servicio-project-card p {
        font-size: 10px;
        padding: 5px 10px;
    }

    .project-card {
        padding-inline: 5px;
        max-width: 280px;
        margin-inline: auto;
    }

    .content-media-square video {
        position: relative;
        height: 200px;
    }

    .media-project-card-container video {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
    }

    .media-square-project-card {
        height: fit-content;
    }

    .mas-servicios-container {
        right: -51%;
        gap: 5px;
        justify-content: center;
    }

    .paginacion-container button {
        padding: 4px 15px;
        font-size: 15px;
    }

    .paginas-projects-container {
        height: 1400px;
    }

    .agendar-section h2 {
        font-size: 24px;
    }

    .agendar-section a {
        width: 100%;
        padding: 10px 26px;
        font-size: 13px;
        margin-top: 20px;
        text-align: center;
    }


}

@media (min-width: 400px) and (max-width: 767px) {

    .proyectos-pagina {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .titulo-fecha-card p:first-of-type {
        font-size: 15px;
    }

    .titulo-fecha-card p:last-of-type {
        font-size: 15px;
    }

    .servicios-project-card {
        gap: 5px;
    }

    .servicio-project-card a {
        font-size: 10px;
        padding: 5px 12px;
        gap: 3px;
    }

    .servicio-project-card button {
        padding: 5px 11px;
        font-size: 10px;
    }

    .servicio-project-card p {
        font-size: 10px;
        padding: 5px 10px;
    }

    .project-card {
        padding-inline: 20px;
    }

    .content-media-square video {
        position: relative;
        height: 200px;
    }

    .media-square-project-card {
        height: fit-content;
    }
    
    .media-project-card-container video {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
    }

    .mas-servicios-container {
        right: -51%;
        gap: 5px;
        justify-content: center;

    }

    .paginas-projects-container {
        height: 1400px;
    }

    .paginacion-container button {
        padding: 4px 15px;
        font-size: 15px;
    }

    .agendar-section h2 {
        font-size: 24px;
    }

    .agendar-section a {
        width: 100%;
        padding: 10px 26px;
        font-size: 13px;
        margin-top: 20px;
        text-align: center;
    }

    .card-exclusiva {
        width: 98%;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
    .proyectos-pagina {
        gap: 45px 15px;
    }

    .titulo-fecha-card p:first-of-type {
        font-size: 20px;
    }

    .titulo-fecha-card p:last-of-type {
        font-size: 22px;
    }

    .servicio-project-card a {
        font-size: 12px;
        gap: 3px;
        padding: 5px 15px;
    }

    .servicios-project-card {
        gap: 5px;
    }

    .servicio-project-card button {
        padding: 5px 11px;
        font-size: 12px;
    }

    .servicio-project-card p {
        padding: 5px 11px;
        font-size: 12px;
    }

    .media-square-project-card-mobile {
        height: fit-content;
    }

    
    .media-project-card-container video {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 20px;
    }

    .content-media-square video {
        position: relative;
        height: 180px;
    }

    .mas-servicios-container {
        right: -50%;
    }

    .mas-servicios-container {
        justify-content: center;
    }

    .project-card {
        width: 100%;
    }

    .card-exclusiva {
        width: 98%;
    }

    .card-exclusiva video {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .media-project-card-container:hover {
        transform: scale(1.25, 1.1);
        border: 1px solid var(--blue);
    }
}