:root {
    --bg-color: rgba(252, 250, 238, 1);
    --txt-color: rgba(24, 24, 24, 1);
    --accent-color: rgba(242, 100, 48, 1);
    --secondary-color: rgba(247, 175, 143, 1);
}

.dark-mode {
    --bg-color: rgb(21, 22, 23);
    --txt-color: rgba(252, 250, 238, 1);
}

::-webkit-scrollbar {
    background-color: transparent;
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(198, 183, 167);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(255, 213, 168);
}

.logo-phone {
    display: none;
}

@font-face {
    font-family: 'kobe-regular';
    src: url(../fonts/Block-round-RD-CH.woff2);
}

@font-face {
    font-family: 'kobe-black';
    src: url(../fonts/Block-round-RD-CH.woff2);
}

@font-face {
    font-family: 'kobe-italic';
    src: url(../fonts/Block-round-RD-CH.woff2);
}

@font-face {
    font-family: 'kobe-italic-black';
    src: url(../fonts/Block-round-RD-CH.woff2);
}

@font-face {
    font-family: dana;
    src: url(../fonts/Estedad-FD[KSHD\,wght].woff2);
}


body {
    padding: 0;
    margin: 0;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    scroll-behavior: smooth !important;
}

a {
    text-decoration: none;
    color: var(--txt-color);
    text-align: center;
    vertical-align: baseline;
}

img {
    display: block;
    max-width: 100%;
}

a:hover {
    color: var(--accent-color);
    transition: 0.1s;
}

p {
    font-family: 'dana';
    color: var(--txt-color);
    margin: 0;
}

.main-nav {
    position: fixed;
    display: flex;
    height: 100dvh;
    width: 118px;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    margin-right: 32px;
    z-index: 200000;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: -5px;
    padding: 0;
}

li {
    font-family: 'dana';
    font-size: 16px;
    font-weight: 400;
    color: var(--txt-color);
}

.language-button {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 5px 5px;
    justify-content: space-between;
    font-family: dana;
    font-weight: 500;
    width:100%;
    font-size: 12px;
    background-color: rgba(255, 180, 83, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 5px;
    height: 30px;
    color: var(--txt-color);
    cursor: pointer;
}

.language-button:hover {
    background-color: rgba(255, 145, 0, 0.3);
    transition: 0.2s;
}

.language-button img {
    object-fit: contain;
    max-width: 30px;
    height: auto; /* Maintain aspect ratio */
}

.dark-mode .language-button img {
    filter: invert(1);
}

.dark-mode .language-button:hover {
    background-color: rgba(125, 71, 0, 0.3);
}

.dark-mode .language-button {
    background-color: rgba(91, 67, 47, 0.2);
}

h3 {
    font-family: 'dana';
    font-size: 24px;
    font-weight: 500;
    color: var(--txt-color);
    margin: 0;
}

.dark-mode-button {
    font-family: 'dana';
    background-color: transparent;
    backdrop-filter: blur(10);
    font-size: 14px;
    font-weight: 400;
    color: var(--txt-color);
    height: 30px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px var(--txt-color) solid;
    padding: auto;
    cursor: pointer;
}

.dark-mode-button:hover {
    background-color: var(--txt-color);
    color: var(--bg-color);
    transition: 0.2s;
}

.dark-mode .dark-mode-button:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    transition: 0.2s;
}

.dark-mode-li{
    padding: 250px 0 28px 0;

}

.dark-mode .dark-mode-button {
    color: var(--secondary-color);
    border: 1px var(--secondary-color) solid;
}

.logo {
    font-family: 'dana';
    font-weight: 500;
    font-size: 24px;
    color: var(--secondary-color);
}

.social-medias-logo {
    display: flex;
    flex-direction: column;
    height: 250px;
    justify-content: end;
    padding-bottom: 55px;
    row-gap: 10px;
}

.linkedin-icon {
    width: 18px;
}

.telegram-icon {
    width: 18px;
}

section {
    max-width: 100%;
    min-height: 720px;
}

.hamburger {
    color: var(--txt-color);
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.work-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    width: 973px;
    top: 20px;
    left: 50%;
    margin-left: -514px;
    z-index: 200000;
    background-color: rgba(255, 158, 117, 0.6);
    padding: 0 27px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.work-nav ul {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.work-nav ul div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.work-nav ul div a {
    font-family: 'dana';
    font-weight: bolder;
    font-size: 18px;
    cursor: pointer;
}


.work-nav ul ul {
    flex-direction: row;
    width: 500px;
    vertical-align: baseline;
    align-items: center;
}

.work-nav ul h3 {
    font-family: 'dana';
    font-size: 20px;
    font-weight: 800;
    color: var(--txt-color);
    margin: 0;
}

.work-nav ul ul li {
    text-align: center;
    vertical-align: baseline;
    height: fit-content;
}

section {
    display: flex;
    flex-direction: column;
    width: 807px;
    align-self: center;
    padding: 177px 0 0 0;
    gap: 60px;
}

.overview-div {
    display: flex;
    flex-direction: row;
    width: 807px;
    align-self: center;
    gap: 60px;
}

.overview {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 25px;
}

.overview h3 {
    width: 100%;
    font-weight: 800;
}

.overview ul {
    list-style: inside;
}

.overview div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.overview div div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.overview-span {
    color: var(--secondary-color);
}

h1 {
    font-family: 'kobe-black';
    color: var(--txt-color);
    font-size: 66px;
    letter-spacing: 0px;
    margin: 0;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 0.01px;
    -webkit-text-stroke-color: var(--secondary-color);
}

.design-imgs, .first-image, .second-image, .color-palette {
    mix-blend-mode: multiply;
    border: 1px solid var(--txt-color);
    border-radius: 10px;
}

video {
    border-radius: 20px;
    border: 1px solid var(--txt-color);
}

.no-border-img {
    mix-blend-mode: multiply;
}

.dark-mode img {
    mix-blend-mode: normal;
}

.dark-mode .first-image {
    border: none;
}

.color-palette {
    mix-blend-mode: normal;
}

.mid-images {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 541px;
}

.first-image {
    width: 250px;
    height: 100%;
}

.second-image {
    height: 100%;
}

.overview-div {
    display: flex;
    flex-direction: row;
    width: 807px;
    align-self: center;
    gap: 60px;
}

.wrapper {
    max-width: 100%;
    overflow: hidden;
}

.sliding-header {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: sliding-header 25s linear infinite;
}

.sliding-header h1 {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 0.01px;
    -webkit-text-stroke-color: var(--secondary-color);
    font-size: 177px;
}

@keyframes sliding-header {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(12%, 0, 0);
    }
}


.contact-section {
    height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-message {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: -100px;
}

.contact-message h2 {
    font-family: 'kobe-black';
    text-align: center;
    font-size: 67.77px;
    font-weight: lighter;
    max-width: 630px;
    color: var(--txt-color);
    margin: 0;
    line-height: 10px;
    line-height: 55px;
}

.contact-message h5 {
    font-family: dana;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--txt-color);
}

.contact-message p {
    font-weight: 300;
    color: var(--txt-color);
    padding: 20px 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
    padding: 0px 20px 0px 20px;
}

.copyright {
    font-size: 9.89px;
    font-weight: 200;
    padding-left: 130px;
}

footer div {
    display: flex;
    flex-direction: row;
    column-gap: 5px;
}

footer div p {
    font-weight: 400;
}

.hi {
    display: block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 40px 200px;
}

.hi p {
    margin-right: -150px;
    font-size: 16px;
    font-weight: 300;
}

.dark-mode .hi img {
    filter: invert(1);
}

.back-to-top {
    padding-left: 20px;
}

.back-to-top p {
    padding: 0;
    font-size: 9.89px;
    font-weight: 400;
}

.dark-mode .back-to-top img {
    filter: invert(1);
}

.process-container {
    max-width: 464px;
    display: flex;
    flex-direction: column;
    row-gap: 75px;
}

.process-img {
    max-width: 941px;
}

.dark-mode .process-img {
    filter: invert(1);
}

.step {
    display: flex;
    flex-direction: column;

}

.step h2 {
    color: var(--txt-color);
    font-family: dana;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.step ul {
    list-style: outside;
    margin-left: 17px;
}

.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.SM-Phone {
    display: flex;
        flex-direction: row;
        margin: 30px 0;
        justify-content: center;
        align-items: center;
        column-gap: 15px;
}

@media only screen and (max-width: 960px) {
    .main-nav ul {
        display: none;
    }

    .main-nav {
        margin-left: 20px;
        padding-top: 20px;
    }

    .contact-section h2 {
        font-size: 60px;
    }

    footer div {
        display: none;
    }

    .hi {
        display: none;
    }

    footer {
        align-items: center;
        justify-content: center;
    }

    .copyright {
        padding: 0 0;
    }

    .hamburger {
        display: block;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 223, 182, 0.4);
        backdrop-filter: blur(10px);
        list-style-type: none;
        padding: 0;
        border-radius: 5px;
        transition: 0.2s;
    }

    .dark-mode .main-nav ul {
        background-color: rgba(56, 51, 47, 0.4);
    }

    .main-nav.main-nav ul li {
        margin: 10px 0;
    }

    .main-nav ul.show {
        display: flex;
        transition: 0.2s;
    }

    .logo-phone {
        color: var(--secondary-color);
        display: block;
        position: fixed;
        font-family: dana;
        font-size: 24px;
        font-weight: 500;
        letter-spacing: -1px;
        text-align: right;
        left: 40px;
        top: 0px;
    }

    .SM-Phone {
        display: flex;
        flex-direction: row;
        margin: 30px 0;
        justify-content: center;
        align-items: center;
        column-gap: 15px;
    }

    .dark-mode-button {
        width: 100px;
        margin-top: 10px;
    }

    .dark-mode-li{
        padding: 0;
    }

    .work-nav {
        display: none;
    }

    .logo {
        display: none;
    }

    .overview-div {
        flex-direction: column;
    }

    .mid-images {
        flex-direction: column;
        height: 100%;
        align-items: center;
        gap: 43px;
    }

    .first-image {
        width: fit-content;
        height: 320px;
    }
    
    .second-image {
        height: 100%;
    }

    .overview-div {
        width: 100%;
    }

    section {
        padding: 100px 0px;
        width: 85%;
    }

    .sliding-header h1 {
        font-size: 100px;
    }
    
    button {
        color: var(--txt-color);
    }

    section h1 {
        font-size: 55px;
        overflow: hidden;
    }

    .language-button {
        width: 100px;
        padding: 0 20px;
    }

    .contact-message h2 {
        max-width: 400px;
    }
}