@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --fondo-blanco: #FFFFFF;
    --fondo-negro: #111111;
    --azul-base: #1859E8;
    --borde-linea: #CCCCCC;
    --borde-linea-azul: #1859E8;
    --texto-negro: #111111;
    --texto-blanco: #FFFFFF;
    --texto-pel: #F87553;
    --texto-branding-pacch: #6e3f6a;
    --texto-eras: #49635D;
    --texto-antico: #A01916;
    --texto-gaceta-cch: #D59F0F;
    --texto-50-aniv-cch: #3813C2;
    --texto-vigiluccis: #f9c229;
    --texto-jung-real-state: #195252;
    --texto-pacch: #4fc2bd;
    --texto-sid-unam: #c41443;
    --texto-sdsn-mx: #20165b;
    --texto-ampersand: #ff1f20;
}

@media (hover: none) {
    .cursor {
        display: none !important;
    }
}

* {
    cursor: none !important;
}

.cursor {
    --size: 15px;
    height: var(--size);
    width: var(--size);
    border-radius: 50%;
    position: fixed;
    z-index: 99999999999;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.5);
    mix-blend-mode: difference;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.cursor.active {
    --size: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    body {
        color: var(--texto-negro);
        background-color: var(--fondo-blanco);
    }

    p {
        color: var(--texto-negro);
    }

    .navbar {
        background-color: var(--fondo-blanco);
        color: var(--texto-negro);
    }

    .slider:before {
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

[data-theme="dark"] {
    body {
        color: var(--texto-blanco);
        background-color: var(--fondo-negro);
    }

    .navbar {
        background-color: var(--fondo-negro);
        color: var(--texto-blanco);
    }

    .slider:before {
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

    .sl-overlay {
        background: var(--fondo-negro);
    }

    p,
    a.link,
    .sl-wrapper .sl-close,
    .sl-wrapper .sl-navigation button {
        color: var(--texto-blanco);
    }

    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
    }

    .navbar-toggler:focus {
        color: rgba(255, 255, 255, 0.65);
    }

    .progress-wrap .progress-icon {
        color: rgba(255, 255, 255, 0.4);
    }

    .progress-wrap:hover .progress-icon {
        color: var(--texto-blanco);
    }

}

body {
    font-family: "Raleway", sans-serif;
    font-size: 1.125rem;
}

/* Inicia Index */
a {
    text-decoration: none;
    color: var(--texto-negro);
}

a.link {
    color: var(--texto-negro);
    font-weight: 700;
    text-transform: uppercase;
}

a:hover,
a:hover.link {
    color: var(--azul-base);
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    transition: color 0.5s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.navbar {
    background-color: var(--fondo-blanco);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--borde-linea-azul) !important;
}

.navbar li {
    margin: 0 0 0 0.625rem;
}

.logo-david-ortuno img {
    height: 3.75rem;
}

.intro-titulo {
    padding: 6.25rem 0;
}

.proyectos {
    padding: 6.25rem 0 0 0;
}

h1.titulo-principal {
    font-family: "Raleway", sans-serif;
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--azul-base);
}

.texto-bold {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.texto-ornamental-bold {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.038rem;
    text-wrap: pretty;
}

.texto-ornamental-normal {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-style: normal;
    text-wrap: pretty;
}

.texto-ornamental-italic {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.038rem;
    text-wrap: pretty;
}

.texto-hola {
    padding-bottom: 0.875rem;
    text-wrap: pretty;
}

.proyecto-12-col,
.proyecto-6-col {
    padding-bottom: 6.25rem;
}

.col-proyecto {
    border-top: 1px solid var(--borde-linea);
    padding-top: 1.875rem;
}

.numero-proyecto,
.anio-proyecto {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1.875rem;
    padding-bottom: 1.875rem;
}

.proyecto-6-col .nombre-proyecto {
    padding-top: 0;
}

.nombre-proyecto {
    font-family: "Raleway", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    text-wrap: pretty;
    margin-bottom: 1rem;
}

.row-nombre-proyecto {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}

.proyecto-12-col .link-anima::before,
.proyecto-6-col .link-anima::before {
    margin-top: -1rem;
}

.link-nombre-proyecto {
    display: flex;
    width: fit-content;
}

.otros-proyecto-col {
    display: flex;
    align-items: center;
}

a.link-nombre-proyecto {
    text-transform: none !important;
}

.img-proyecto {
    padding-top: 1.875rem;
}

.proyecto-6-col .img-proyecto {
    padding-bottom: 1.875rem;
}

.proyecto-6-col .texto-bold {
    margin-bottom: 0;
}

footer .container-footer {
    padding: 1.875rem 0;
}

.container-footer {
    border-top: 1px solid var(--borde-linea-azul);
}

.container-footer .logo-david-ortuno img {
    height: 5rem;
}

.links-footer {
    text-align: right;
}

/* Inician estilos del switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 0.625rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    user-select: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--azul-base);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--fondo-blanco);
    border-radius: 50%;
}

/* Terminan estilos del switch */

/* Termina Index */

/* Inicia Perfil */
.intro-titulo-perfil {
    padding: 6.25rem 0 3.125rem 0;
}

.img-perfil {
    padding-top: 2.625rem;
    padding-bottom: 3.125rem;
}

.titulo-cv,
.titulo-otros-proyectos {
    font-family: "Raleway", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-base);
    margin: 3.125rem 0;
}

.col-cv {
    border-top: 1px solid var(--borde-linea);
    margin-bottom: 3.125rem;
}

.col-otros-proyectos {
    border-top: 1px solid var(--borde-linea);
    margin-bottom: 6.25rem;
}

.bloque-contacto,
.bloque-otros-proyectos {
    border-top: 1px solid var(--borde-linea);
    padding-top: 0.938rem;
}

.resumen-cv .col-cv:last-child {
    margin-bottom: 6.25rem
}

/* Termina Perfil */
.img-intro-proyecto {
    padding-top: 2.625rem;
    padding-bottom: 3.125rem;
}

/* Inicia Proyecto */

.intro-proyecto {
    padding: 6.25rem 0;
}

.img-intro-proyecto {
    /* padding: 2.625rem 0 6.25rem 0; */
    padding: 1.5rem 0 6.25rem 0;
}

.imagenes-proyecto {
    padding-top: 6.25rem;
}

.imagenes-proyecto img {
    /* margin-bottom: 1.5rem; */
    margin-bottom: 0;
    padding-bottom: 0;
}

.otros-proyectos {
    padding-bottom: 6.25rem;
}

.proyecto-miniatura {
    margin-bottom: 1.5rem;
}

.proyecto-actual {
    opacity: 0.15;
    cursor: not-allowed;
}

/* Termina Proyecto */

/* Inician colores de proyectos */
.texto-pel,
.titulo-principal.texto-pel,
.texto-hover-pel:hover {
    color: var(--texto-pel) !important;
}

/* .texto-hover-pel.menu__item-name::before,
.texto-hover-pel.menu__item-label::before {
    background: var(--texto-pel);
} */

.texto-branding-pacch,
.titulo-principal.texto-branding-pacch,
.texto-hover-branding-pacch:hover {
    color: var(--texto-branding-pacch) !important;
}

.texto-eras,
.titulo-principal.texto-eras,
.texto-hover-eras:hover {
    color: var(--texto-eras) !important;
}

.texto-antico,
.titulo-principal.texto-antico,
.texto-hover-antico:hover {
    color: var(--texto-antico) !important;
}

.texto-gaceta-cch,
.titulo-principal.texto-gaceta-cch,
.texto-hover-gaceta-cch:hover {
    color: var(--texto-gaceta-cch) !important;
}

.texto-50-aniv-cch,
.titulo-principal.texto-50-aniv-cch,
.texto-hover-50-aniv-cch:hover {
    color: var(--texto-50-aniv-cch) !important;
}

.texto-vigiluccis,
.titulo-principal.texto-vigiluccis,
.texto-hover-vigiluccis:hover {
    color: var(--texto-vigiluccis) !important;
}

.texto-jung-real-state,
.titulo-principal.texto-jung-real-state,
.texto-hover-jun-real-state:hover {
    color: var(--texto-jung-real-state) !important;
}

.texto-pacch,
.titulo-principal.texto-pacch,
.texto-hover-pacch:hover {
    color: var(--texto-pacch) !important;
}

.texto-sid-unam,
.titulo-principal.texto-sid-unam,
.texto-hover-sid-unam:hover {
    color: var(--texto-sid-unam) !important;
}

.texto-sdsn-mx,
.titulo-principal.texto-sdsn-mx,
.texto-hover-sdsn-mx:hover {
    color: var(--texto-sdsn-mx) !important;
}

.texto-ampersand,
.titulo-principal.texto-ampersand,
.texto-hover-ampersand:hover {
    color: var(--texto-ampersand) !important;
}


/* Terminan colores de proyectos */

/* Inicia anima link */
.link {
    cursor: pointer;
    position: relative;
    /* white-space: nowrap; */
    color: currentColor;
}

.link::before,
.link::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.link::before {
    content: '';
}

.link-anima::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.link-anima:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

/* Termina anima link */

/* Inicia adsila menu */
.menu__item {
    color: var(--texto-negro);
    /* letter-spacing: 0.03rem; */
}

/* .menu__item:hover,
.menu--adsila .menu__item:focus {
    color: var(--azul-base);
} */

.menu__item {
    position: relative;
    outline: none;
    z-index: 1;
}

.menu__item-name {
    padding: 0 0.35rem;
    transition: color 0.5s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.menu__item-name {
    position: relative;
    display: inline-block;
}

.menu__item:hover .menu__item-name::before,
.menu__item:focus .menu__item-name::before,
.menu__item:hover .menu__item-label::before,
.menu__item:focus .menu__item-label::before {
    transform: scale3d(1, 1, 1);
}

.menu__item-name::before,
.menu__item-label::before {
    background: var(--azul-base);
}

.menu__item-name::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    opacity: 0.3;
    transform: scale3d(0, 1, 1);
    transform-origin: 0% 50%;
    transition: transform 0.5s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

/* Termina adsila menu */

/*Comienza estilos para scrollTo */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 46px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(24, 90, 232, 0.4);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
}

.progress-wrap .progress-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: rgba(24, 90, 232, 0.4);
    /* --- Arrow color --- */
    z-index: 1;
}

.progress-wrap:hover .progress-icon {
    color: var(--azul-base);
    /* --- Arrow hover color --- */
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--azul-base);
    /* --- Progress line color --- */
    stroke-width: 4;
    box-sizing: border-box;
}

/*Termina estilos para scrollTo */

@media (min-width: 1200px) {
    .img-perfil-mobile {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .img-perfil {
        display: none;
    }
}

@media (max-width: 991.98px) {

    .switch {
        position: absolute;
        right: 70px;
        top: 34px;
    }

    .img-perfil-mobile {
        display: block;
        padding: 1.875rem 0;
    }

    .navbar-collapse ul {
        padding: 1.25rem 0 0 0;
    }

    .navbar li {
        margin: 0.625rem 0;
    }

    .intro-titulo {
        padding: 3.125rem 0;
    }

    .proyectos {
        padding: 3.125rem 0 0 0;
    }

    h1.titulo-principal {
        font-size: 3rem;
    }

    .texto-hola {
        padding-top: 1.875rem;
    }

    .proyecto-12-col,
    .proyecto-6-col {
        padding-bottom: 3.125rem;
    }

    .proyecto-6-col .col-lg-6:last-child {
        padding-top: 3.125rem;
    }

    .proyecto-12-col .numero-proyecto,
    .proyecto-6-col .numero-proyecto {
        border-top: 1px solid var(--borde-linea);
        padding-top: 1.875rem;
    }

    .col-proyecto {
        padding: 0;
        border: 0;
    }

    h2.nombre-proyecto,
    .titulo-cv,
    .titulo-otros-proyectos {
        font-size: 1.875rem;
        margin: 1.875rem 0;
    }

    .nombre-proyecto {
        padding-top: 0;
    }

    .numero-proyecto,
    .anio-proyecto {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .img-proyecto {
        padding-top: 0;
    }

    .proyecto-6-col .img-proyecto {
        padding-bottom: 0.938rem;
    }

    .proyecto-12-col .link-anima::before,
    .proyecto-6-col .link-anima::before {
        margin-top: -2rem;
    }

    footer .container-footer {
        padding: 1.25rem 0 3.125rem 0;
    }

    .container-footer .logo-david-ortuno {
        padding: 1.875rem 0;
    }

    .container-footer,
    .links-footer {
        text-align: center
    }

    .col-cv,
    .resumen-cv .col-cv:last-child {
        margin-bottom: 2.125rem;
    }

    .col-otros-proyectos {
        margin-bottom: 3.125rem;
    }


    .intro-titulo-perfil,
    .intro-titulo-proyecto {
        padding: 1.875rem 0;
    }

    .img-perfil {
        padding: 1.875rem 0;
    }

    .img-intro-proyecto {
        padding: 0.938rem 0 0 0;
    }

    .imagenes-proyecto img {
        /* margin-bottom: 0.938rem; */
        margin-bottom: 0;
    }

    .intro-proyecto {
        padding: 3.125rem 0;
    }

    .intro-titulo-proyecto {
        padding: 0 0 3.125rem 0;
    }

    .imagenes-proyecto {
        padding-top: 3.125rem;
    }

    .imagenes-proyecto .col-lg-6:last-child img {
        margin-bottom: 0;
    }

    .otros-proyectos {
        padding-bottom: 3.125rem;
    }
}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {}