@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Libre Baskerville", serif;
}

:root {
    --standard-color: #000000;
    --medium-color-black: #000000f8;
    --light-color-black: #141414;
    --standard-color-white: #ffffff;
    --standard-color-white-light: #ffffff84;
    --toggleBtn-bgColor--night: var(--standard-color);
    --toggleBtn-bgColor--day: var(--standard-color-white);
    --standard-color-yellow: #f1c40f;
}

::-webkit-scrollbar {
    display: none;
}

::selection {
    background: var(--standard-color);
    color: var(--standard-color-white);
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    background: var(--medium-color-black);
    cursor: none;
    width: 100vw;
    overflow-x: hidden;
}

input#icheckbox {
    position: absolute;
    display: none;
    pointer-events: none;
}

header nav label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 55px;
    height: 30px;
    padding: 5px;
    border: 1px solid var(--standard-color);
    background-color: var(--standard-color-white);
    border-radius: 50px;
}

.div-ball {
    position: absolute;
    top: 2px;
    right: 2px;
    transform: translateX(none);
    width: 22px;
    height: 22px;
    background: var(--medium-color-black);
    border-radius: 50%;
    transition: transform .2s linear;
}

.checkbox:checked+.label .div-ball {
    transform: translateX(-24px);
}

.bi-moon-fill {
    width: 20px;
    height: 20px;
    fill: var(--standard-color);
}

.bi-brightness-high-fill {
    width: 20px;
    height: 20px;
    fill: var(--standard-color-yellow);
}

.sun {
    background: var(--standard-color-white);
}

.sun-dark {
    background: var(--standard-color);
}

.sun-p {
    font-weight: 650;
    color: var(--standard-color);
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(-50%, -50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-family: "Bodoni Moda", serif;
    font-size: 20px;
    background: var(--standard-color-white);
    pointer-events: none;
    z-index: 999;
}

.cursor-lazy {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--standard-color-white);
    transition: .1s ease-out;
    z-index: 999;
    pointer-events: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .5rem 4rem;
    z-index: 100;
    transition: .7s ease-in-out;
}

header div p {
    font-family: "Bodoni Moda", serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--standard-color-white);
}

header nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

header nav a {
    text-decoration: none;
    font-family: "Libre Baskerville", serif;
    font-size: 12px;
    color: var(--standard-color-white);
}

.blur-navbar {
    backdrop-filter: blur(24px);
}

header nav.nav-mobile {
    position: absolute;
    top: 0;
    right: 0;
    display: none; /* Inicialmente oculto */
    flex-direction: column;
    align-items: end;
    width: 100%;
    height: 100vh;
    padding: 100px 20px;
    background: #000000dd;
    backdrop-filter: blur(50px);
    animation: show-animation .5s ease-in-out;
}

header nav.nav-mobile div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

header nav.nav-mobile div a {
    font-size: 40px;
    color: var(--standard-color-white);
    z-index: 5;
}

.div-mobile-button {
    display: none;
    z-index: 5;
}

.div-mobile-button p {
    font-size: 13px;
}

.navbar-black {
    font-weight: 650;
    color: #000000;
}

.section-main-portfolio{
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.div-img-main {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.div-img-main img {
    width: 100%;
    height: 100%;
    filter: brightness(70%);
    object-fit: cover;
}

.div-main-located {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.div-main-located-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 320px;
    height: 100px;
    padding: 0 2rem;
    background: var(--standard-color-white);
    border-radius: 0 50px 50px 0;
}

.div-main-located-children p {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--light-color-black);
}

.div-main-located-children svg {
    width: 70px;
    height: 70px;
    padding: 20px;
    border-radius: 50%;
    background: var(--standard-color);
}

.div-main-located div:last-child {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin: 0 6.5rem;
}

.div-main-located div:last-child h2 {
    font-size: 30px;
    color: var(--standard-color-white);
}

.div-main-scroll-auto {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    animation: scrollText 40s infinite linear;
}

.div-main-scroll-auto p {
    width: 800px;
    font-family: "Montserrat", sans-serif;
    font-size: 80px;
    color: var(--standard-color-white);
}

#section-main-images-project {
    width: 100%;
    height: 100%;
    margin: 10rem auto;
}

#section-main-images-project p {
    color: var(--standard-color-white);
}

.div-main-images-project {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 850px;
    margin: 20rem auto;
}

.div-main-images-project img {
    width: 1000px;
    height: 870px;
    object-fit: cover;
    transition: .3s ease-in-out;
}

.div-main-images-project img:hover {
    border-radius: 50px;
}

.div-main-images-project-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.div-main-images-project-title div:first-child p {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    color: #ffffffe6;
}

.div-main-images-project-title div:first-child h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 40px;
    color: var(--standard-color-white);
}

.div-main-images-project-title div:last-child p {
    width: 200px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.div-main-images-project-title div a {
    text-decoration: none;
    font-size: 0px;
}

.div-main-images-project-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.div-main-images-project-footer img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.div-main-images-project-footer p {
    font-family: "Montserrat", sans-serif;
}

.div-main-images-project-footer-title {
    display: flex;
    justify-content: space-between;
}

.div-main-images-project-footer-title div:first-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div-main-images-project-footer-title div:first-child p {
    font-weight: 400;
    font-size: 18px;
}

.div-main-images-project-footer-title div:first-child h2 {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    color: var(--standard-color-white);
}

.div-main-images-project-footer-title div:last-child p {
    width: 250px;
    font-weight: 400;
    font-size: 18px;
}

.section-title-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: var(--standard-color-white);
    /* overflow: hidden; */
}

.section-title-name p {
    font-family: "Bodoni Moda", serif;
    font-weight: 600;
    font-size: 100px;
}

.section-title-name-image {
    position: relative;
    width: 100%;
    height: auto;
}

.section-title-name img {
    width: 100%;
    height: auto;
}

.section-works-database {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13rem;
    padding: 15rem 2rem;
    overflow: hidden;
}

.div-woeks-database-align {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.div-works-database {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50vw;
}

.div-works-database:nth-child(2) {
    transition-delay: 400ms;
}

.div-works-database.three {
    transition-delay: 700ms;
}

.div-works-database.four {
    transition-delay: 1000ms;
}

.div-works-database img {
    width: 100%;
    height: 600px;
    image-rendering: optimizeQuality;
    object-fit: cover;
    transition: .3s ease-in-out;
}

.div-works-database img:hover {
    border-radius: 50px;
}

.div-works-database div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.div-works-database div h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--standard-color-white);
}

.div-works-database div button {
    width: 130px;
    height: 37px;
    border: 1px solid var(--standard-color-white-light);
    border-radius: 20px;
    background: transparent;
    font-size: 10px;
    color: var(--standard-color-white-light);
}

footer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--standard-color-white);
}

.div-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.div-footer-links-title {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 4rem 20rem;
}

.div-footer-links-title h2 {
    font-size: 14px;
}

.div-footer-links-align {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.div-footer-links-align div {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.div-footer-links-align div a {
    text-decoration: none;
    font-weight: 550;
    font-size: 16px;
    color: var(--standard-color);
}

.div-footer-links-align div svg {
    width: .75rem;
}

.div-footer-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200px;
    margin-top: 20rem;
}

.div-projects-cursor {
    position: fixed;
    top: -10rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 500px;
    margin: auto;
    background: var(--standard-color-white);
    transition: .4s ease-out;
    opacity: 0;
}

.div-projects-cursor img {
    width: 400px;
    height: 300px;
    border-radius: 10px;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollText2 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.hidden {
    transform: translateY(150px);
    opacity: 0;
    filter: blur(15px);
    transition: all 2s;
}

.hidden-two {
    transform: translateX(100px);
    opacity: 0;
    filter: blur(0px);
    transition: all 1s;
}

.show {
    transform: translateY(0);
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition: all 1s;
    z-index: 4;
}

@keyframes show-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media only screen and (max-width: 670px) {
    body {
        cursor: inherit;
    }

    header {
        padding: .5rem 2rem;
    }

    header nav {
        display: none;
    }

    .div-mobile-button {
        display: block;
    }

    .section-main-portfolio {
        overflow-x: hidden;
        height: 60vh;
    }

    .div-main-located-children {
        width: 200px;
        height: 60px;
    }

    .div-main-located-children p {
        font-size: 14px;
    }

    .div-main-located-children svg {
        width: 50px;
        height: 50px;
        padding: 13px;
    }

    .div-main-located div:last-child {
        margin: 0 2rem;
    }

    .div-main-images-project {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 15rem auto;
        height: 500px;
    }

    .div-main-images-project.reverse {
        flex-direction: column-reverse;
    }

    .div-main-images-project img {
        width: 80%;
        height: 560px;
    }

    .div-main-images-project-title div:last-child p {
        font-size: 14px;
    }

    .section-title-name p {
        font-size: 60px;
    }

    .section-works-database {
        gap: 1rem;
        padding: 0rem 2rem 13rem 2rem;
    }

    .div-woeks-database-align {
        flex-wrap: wrap;
        justify-content: center;
    }

    .div-works-database {
        width: 100vw;
    }

    .div-works-database img {
        object-fit: contain;
        height: 350px;
    }

    .div-main-images-project-footer {
        width: 100%;
    }

    .div-main-images-project-footer img {
        max-width: 100%;
        height: 300px;
    }

    .div-main-images-project-footer p {
        font-size: 20px;
    }

    .div-main-images-project-footer-title {
        display: flex;
        justify-content: space-between;
        margin: 0 2rem;
    }

    .div-main-images-project-footer-title div:first-child h2 {
        font-size: 18px;
    }

    .div-main-images-project-footer-title div:last-child p {
        max-width: 150px;
        font-size: 14px;
    }

    .div-footer-timer {
        margin: 13rem auto;
        font-size: 100px;
    }

    .cursor {
        display: none;
    }

    .cursor-lazy {
        display: none;
    }

    .section-task-automation {
        top: -6rem;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        margin-top: -2rem;
    }

    .div-main-images-project.absolute {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 9rem;
        width: 400px;
        height: 600px;
    }

    .p-title-python {
        font-size: 16px;
    }

    .h1-title-python {
        font-size: 0px;
    }

    .div-main-images-project-footer-title.absolute div:last-child p {
        max-width: 100%;
    }

    .div-video {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 888;
    }

    .div-video div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .div-video video {
        width: 100%;
        height: 100%;
    }

    .div-tasks-images {
        flex-direction: column;
        gap: 0rem;
        width: 100%;
        height: 100%;
    }

    .div-tasks-images img {
        width: 100%;
        height: 100%;
    }

    .div-svg-arrow {
        position: absolute;
        top: -23%;
        left: 50%;
        transform: translateX(-50%);
    }

    .div-footer-links-title {
        margin: 4rem;
    }
    .div-main-scroll-auto p{
        font-size: 40px;
    }
    .div-main-located div:last-child {
        gap: 2rem;
    }
}

@media only screen and (max-width: 400px) {
    body {
        cursor: default;
    }

    .section-main-portfolio {
        height: 60vh;        
    }

    .div-main-located-children {
        width: 180px;
        height: 60px;
    }

    .div-main-located-children p {
        font-size: 14px;
    }

    .div-main-located-children svg {
        width: 50px;
        height: 50px;
        padding: 13px;
    }

    .div-main-located div:last-child {
        margin: 0 1rem;
    }

    .div-main-located div:last-child h2 {
        font-size: 25px;
        margin-left: 1rem;
    }

    .div-main-images-project {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 15rem auto;
        height: 500px;
    }

    .div-main-images-project.reverse {
        flex-direction: column-reverse;
    }

    .div-main-images-project img {
        width: 350px;
        height: 560px;
    }

    .div-works-database img {
        object-fit: contain;
        height: 300px;
    }

    .section-task-automation {
        top: -6rem;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        margin-top: -2rem;
    }

    .div-main-images-project.absolute {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 9rem;
        width: 400px;
        height: 600px;
    }

    .p-title-python {
        font-size: 16px;
    }

    .h1-title-python {
        font-size: 0px;
    }

    .div-video {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 888;
    }

    .div-video div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .div-video video {
        width: 100%;
        height: 100%;
    }

    .div-tasks-images {
        flex-direction: column;
        gap: 0rem;
        width: 100%;
        height: 100%;
    }

    .div-tasks-images img {
        width: 100%;
        height: 100%;
    }
}