* {
    font-family: "Kanit", sans-serif;
}

body,
nav {
    background-color: #141414;
}

.contenedor-animacion {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141414;
    z-index: 999999;
    position: absolute;
}

.loader {
    width: 400px;
    height: 400px;
    position: relative;
}

.logo {
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.cls-1 {
    fill: none;
    stroke: #a6de4d;
    stroke-miterlimit: 10;
    stroke-width: 7px;
    stroke-dasharray: 0, 1500;
    animation: strokeAnimate 3s linear forwards;
}

@keyframes strokeAnimate {
    0% {
        stroke-dasharray: 0, 1500;
    }

    100% {
        stroke-dasharray: 1500, 0;
    }
}


.cls-fill {
    fill: transparent;
    transition: fill 2s;
}


.custom-logo {
    width: 70px;
    padding: 0.5rem;
}

#primary-menu {
    margin: 0;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    color: white;
    font-weight: normal;
    font-size: larger;
}

.nav-link:visited {
    color: white;
}

.nav-link:hover {
    color: #A6DE4D;
}


.nav-link:focus {
    color: white;
}

.offcanvas {
    background-color: #141414;
}

.offcanvas-body {
    justify-content: end;
}

.rrss {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rrss::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.469);
}

.icono-rrss {
    color: white;
    margin-left: 1.5rem;
}

.icono-rrss:hover {
    color: #A6DE4D;
}

.icono-rrss:visited {
    color: white;
}

.one-section {
    position: relative;
    height: 100vh;
}

.hero-image {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0.1;
    z-index: -1;
}

.one-article {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-site {
    color: white;
    width: 100%;
}

.welcome-title {
    font-size: 4rem;
    width: 100%;
    text-align: center;
}

.welcome-p{
    font-size: 1.25rem;
}

.mouse-scroll {
    position: absolute;
    bottom: 0;
    margin-bottom: 5rem;

}

.span-color {
    color: #A6DE4D;
}

.p-mouse {
    font-size: small;
    font-weight: lighter;
    color: rgba(255, 255, 255, 0.488);
}

.scrolldown {
    --color: rgba(255, 255, 255, 0.488);
    --sizeX: 30px;
    --sizeY: 50px;
    position: relative;
    width: var(--sizeX);
    height: var(--sizeY);
    margin-left: var(sizeX / 2);
    border: calc(var(--sizeX) / 10) solid var(--color);
    border-radius: 50px;
    box-sizing: border-box;
    margin-bottom: 16px;
    margin: auto;
}

.scrolldown::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--color);
    border-radius: 100%;
    animation: scrolldown-anim 2s infinite;
    box-sizing: border-box;
    box-shadow: 0px -5px 3px 1px #ffffff66;
}

.splide {
    padding: 5rem;
}

.four-section {
    position: relative;
    height: auto;
}

.row-sobre {
    width: 100%;
    padding: 3rem;
    justify-content: center;
    align-items: center;
}

.hero-image2 {
    position: absolute;
    z-index: -1;
    width: 100%;
    left: 0;
    height: 100%;
    opacity: 0.1;
}

.sobremi-p {
    text-align: start;
    color: rgba(255, 255, 255, 0.7);
    margin: auto;
    line-height: 1.8rem;
    font-size: 1.1rem;
}

.imagen-sobre-mi {
    background: radial-gradient(circle, rgba(166, 222, 77, 0.22) 0%, rgba(166, 222, 77, 0.08) 35%, rgba(166, 222, 77, 0) 60%, rgba(166, 222, 77, 0) 100%);
}

.img-sobremi {
    mask-image: linear-gradient(black 65%,
            transparent);
}

@keyframes scrolldown-anim {
    0% {
        opacity: 0;
        height: 6px;
    }

    40% {
        opacity: 1;
        height: 10px;
    }

    80% {
        transform: translate(0, 20px);
        height: 10px;
        opacity: 0;
    }

    100% {
        height: 3px;
        opacity: 0;
    }
}

.chevrons {
    padding: 6px 0 0 0;
    margin-left: -3px;
    margin-top: 48px;
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevrondown {
    margin-top: -6px;
    position: relative;
    border: solid var(--color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
    animation: pulse 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
    animation: pulse 500ms ease infinite alternate 250ms;
}

@keyframes pulse {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

.two-section,
.three-section,
.four-section,
.five-section {
    text-align: center;
}

.article {
    padding: 2rem 0rem;
}

.title-section {
    color: white;
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.title-section::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 5px;
    background-color: #A6DE4D;
}

.container hr {
    color: rgba(255, 255, 255, 0.7);
}

.textwidget {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.one-section1 {
    position: relative;
    height: 50vh;
}

.hero-image1 {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0.1;
    z-index: -1;
}

.one-article1 {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-site1 {
    color: white;
    width: 55%;
}

.welcome-title1 {
    font-size: 4rem;
    width: 100%;
    text-align: center;
}

.row-qa {
    width: 100%;
    padding: 3rem;
    justify-content: center;
    align-items: center;
}

.accordion {
    padding: 3rem;
    background-color: transparent;
}

.accordion-body p {
    text-align: start;
}

.accordion-item {
    background-color: transparent;
    color: white;
}

.accordion-button {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    ;
}

.accordion-button:not(.collapsed) {
    color: rgba(255, 255, 255, 0.7);
    ;
    background-color: transparent;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem #a7de4d7a;
}

.accordion-button::after {
    background-image: var(--bs-accordion-btn-icon);
    /* Usa la imagen por defecto */
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    /* Usa la imagen activa */
    filter: grayscale(100%);
    /* Aplica un filtro de blanco y negro para hacerla gris */
}

.mini-title-section {
    color: white;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.mini-title-section::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 5px;
    background-color: #A6DE4D;
}

.herramientas-imgs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.herramientas-imgs img {
    height: 60px;
    filter: grayscale();
    border-radius: 0.5rem;
}

.herramientas-imgs img:hover {
    filter: none;
}


.five-section {
    position: relative;
}

.video-bg {
    position: absolute;
    left: 0;
    z-index: -10;
    height: 100%;
    width: 100%;
    opacity: 0.2;
    object-fit: cover;
    object-position: center;
}

.five-section article {
    background: linear-gradient(180deg, rgba(20, 20, 20, 1) 15%, rgba(20, 20, 20, 0.5004202364539565) 30%, rgba(20, 20, 20, 0.25112051656600143) 50%, rgba(20, 20, 20, 0.5032213569021359) 70%, rgba(20, 20, 20, 1) 85%);
    height: 100%;
}

.row-contacto {
    padding: 3rem;
    justify-content: center;
    align-items: center;
}

.row-contacto .col-md-6 {
    text-align: start;
}

.rrss-title {
    font-size: 3rem !important;
    margin-bottom: 2rem;
}

.form-title {
    font-size: x-large;
    margin-bottom: 2rem;
}

.red-social {
    text-align: start;
    display: flex;
    color: white;
    align-items: center;
    margin: 0rem 0rem 0.5rem 0rem;
}
.red-social-contenido{
    font-weight: lighter;
    font-size: 1.2rem;
    margin: 0;
}

.red-social-title {
    font-weight: lighter;
}

.formulario-de-contacto {
    background-color: #65960370;
    border-radius: 1rem;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wpcf7-form {
    color: white;
}

form p {
    font-weight: bold;
}

p label {
    font-weight: bold;
}

.wpcf7-form label {
    width: 100%;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form-control {
    margin: 0.5rem 0rem;
    padding: 0.5rem !important;
    width: 100%;
}

.wpcf7-list-item-label {
    font-weight: normal;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 1rem 0 0;
}

.wpcf7-submit {
    padding: 0.5rem 3rem !important;
    border-radius: 1rem !important;
    text-transform: uppercase !important;
    background-color: #141414 !important;
    color: white !important;
    border: none !important;
    width: 50%;
}


/* RESPONSIVE */

.navbar-toggler {
    background-color: #A6DE4D;
}

.offcanvas-title {
    color: white;
}

.offcanvas-body li.menu-item {
    margin: 0;
}

.copy a {
    color: rgba(255, 255, 255, 0.7);
}

.copy a:visited {
    color: rgba(255, 255, 255, 0.7);
}

.contact-page{
    padding: 7rem 0rem 0rem 0rem;
}


@media screen and (max-width: 991px) {

    .rrss {
        justify-content: start;
    }

    .welcome-title {
        font-size: 3.5rem;
    }

    .welcome-site1 {
        width: 80%;
    }

    .welcome-title1 {
        font-size: 3.5rem;
    }

    .title-section {
        font-size: 3.5rem;
    }

    .four-section {
        height: auto;
    }

    .sobremi-p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .five-section {
        height: auto;
    }

    .form-title {
        font-size: 1.5rem !important;
    }

    .formulario-de-contacto {
        padding: 2rem 1rem;
    }

    .herramientas-imgs img {
        height: 45px;
    }

    .nf-field-element ul {
        flex-direction: column;
    }

    .nf-field-element ul li label {
        text-align: left;
    }

    .rrss-title {
        font-size: 2rem !important;
    }
}

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

    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-p {
        font-size: 1rem;
    }

    .welcome-site1 {
        width: 100%;
    }

    .welcome-title1 {
        font-size: 2.5rem;
    }

    .title-section {
        font-size: 2.5rem;
        margin-top: 3rem;
    }

    .formulario-de-contacto {
        margin-top: 2rem;
    }

    .formulario-de-contacto .title-section {
        margin-top: 1rem !important;
    }

    .sobremi-p {
        font-size: 0.9rem;
    }

    .herramientas-imgs img {
        height: 35px;
        filter: none;
    }

    .accordion-body p {
        font-size: 0.9rem;
    }

    .navbar-toggler {
        margin-right: 1rem;
    }

    .article {
        padding: 0rem;
    }

    .row-contacto {
        padding: 2rem;
    }

    .row-sobre {
        padding: 2rem;
    }

    .contact-page {
        padding: 8rem 0rem 2rem 0rem;
    }

    .wpcf7-radio {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }
    .loader {
        width: 300px;
        height: 300px;
        position: relative;
    }
    
}

@media screen and (max-width: 575px) {

    .title-section {
        font-size: 1.8rem;
        margin-top: 3rem;
    }

}