html{
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body{
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
    margin: 0px;

    display: flex;
    width: 100vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    color: black;
}


.link{
    color: black;
    text-decoration: none;
    cursor: pointer;
    text-underline-offset: 2px;
    transition: 0.3s;
}

/*text styles*/
    h1{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 48px;
        font-style: normal;
        font-weight: 300;
        line-height: 50px;
        margin: 0;
        display: flex;
    }

    h2{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 32px;
        font-style: normal;
        font-weight: 300;
        line-height: 40px;
        margin: 0;
        display: flex;
    }

    h3{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 24px;
        font-weight: 300;
        margin: 0px;
        display: flex;
    }

    h3-reg{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 24px;
        font-weight: 400;
        margin: 0px;
        display: flex;
    }

    small{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: 400;
        margin: 0px;
        display: flex;
        line-height: 27px;
    }

    p{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px;
        margin: 0;
    }

    p-semi{
        font-family: "DM Sans", Arial, Helvetica, sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px;
        margin: 0;
        display: flex;
    }
    
    .project-title{
        font-family: "Playfair Display", 'Times New Roman', Times, serif;
        font-size: 25px;
        font-style: normal;
        font-weight: 400;
        line-height: 50px;
        display: flex;
        letter-spacing: 3px;
    }

    homepage-ux{
        font-family: "Playfair Display", 'Times New Roman', Times, serif;
        font-size: 60px;
        font-weight: 500;
        letter-spacing: 25px;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    #scrollBtn {
        position: fixed;
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        background-color: #333;
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 2;
    }
    
/* Visible state */
#scrollBtn.show {
    opacity: 1;
    pointer-events: auto;
}

/* Hover effect (only works when .show is active) */
#scrollBtn.show:hover {
    opacity: 0.7;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Show when in view */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}