html {
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0px;
    z-index: 7;
    height: calc(var(--item-pdd) * 3);
    width: 100%;
    background-color: var(--primary-bg);
    box-sizing: border-box;
    padding: calc(var(--item-pdd) / 2) var(--item-pdd);
    display: flex;
}

nav.desktop {
    top: var(--item-pdd);
    display: none;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40px;
    transition: .3s;
    border: 2px solid var(--secondary-bg);
}

nav.mobile {
    transition: .3s;
    border-bottom: 2px solid var(--secondary-bg);
}

nav .mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 20px;
    justify-content: right;
}

nav .image-wrapper {
    display: flex;
    align-items: center;
    gap: 6.25px;
    font-size: 18px;
    width: 100px;
}

nav.desktop .image-wrapper {
    flex: 1;
    width: 200px;
}

nav .image-wrapper img {
    height: 100%;
}

nav .nav-wrapper {
    display: flex;
    align-items: center;
    gap: var(--item-pdd);
    font-size: 18px;
    font-weight: 500;
}

nav  a {
    color: var(--secondary-font-clr);
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: var(--primary-font-clr);
}

nav a span {
    color: var(--primary-clr);
    background-color: rgb(13, 109, 234, 0.1);
    border-radius: 6.25px;
    padding: 3.175px 6.25px;
    margin-left: calc(var(--item-pdd) / 2);
}

nav a.primary-btn {
    padding: 12.5px 25px;
    color: var(--primary-font-clr);
    font-weight: bold;
    margin-left: 6.25px;
}

nav .nav-wrapper .nav-user {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12.5px;
}

nav .nav-wrapper img {
    height: 65%;
}
nav .nav-wrapper img:hover {
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    z-index: 6;
    top: -100vh;
    transition: .3s;
    height: 100vh;
    width: 100vw;
    background-color: var(--primary-bg);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: calc(var(--item-pdd) * 5) var(--item-pdd);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    font-size: 25px;
}

.mobile-menu.active {
    top: 0px;
}

.mobile-menu img {
    width: 20%;
}

/*
.mobile-menu a {
    font-size: 25px;
    color: var(--secondary-font-clr);
    margin-bottom: 12.5px;
}
*/

/* HEADERS */
header h1 {
    margin: 0px;
    font-size: 50px;
}

header p {
    font-size: 18px;
    font-weight: bold;
    max-width: 750px;
}

header.content {
    text-align: center;
    margin: 25vh var(--item-pdd) 0px var(--item-pdd);
    min-height: 50vh;
}

section {
    text-align: center;
    width: calc(100% - var(--item-pdd) * 2);
    margin: 0px var(--item-pdd) 150px var(--item-pdd);
}

section h2 {
    font-size: 55px;
}

section h2 span {
    font-size: 80px;
}

section h3 {
    font-size: 40px;
}

section h4 {
    font-size: 30px;
}

section h5 {
    font-size: 20px;
}

section h5 span.gray {
    font-size: 14px;
    color: var(--secondary-font-clr);
    display: block;
}

/* FEATURES */
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    gap: 25px;
}   

.feature .feature-image {
    display: none;
    width: 70%;
}

.feature .feature-image img {
    width: 100%;
}

.feature .feature-image-mobile {
    display: block;
}

.feature-content {
    text-align: left;
}

.feature-content h3 {
    margin: 12.5px 0px;
}

.feature-content p {
    font-size: 20px;
}

.feature .connection {
    display: none;
}

/* FOOTER */
.footer-wrapper {
    margin-top: calc(var(--item-pdd) * 2);
}

.footer {
    padding: calc(var(--item-pdd) * 2);
    width: calc(100% - var(--item-pdd) * 4);
    display: flex;
    flex-wrap: wrap;
}

.footer h2 {
    margin: 0px 0px var(--item-pdd) 0px;
    color: var(--primary-font-clr);
}

.footer a {
    color: var(--secondary-font-clr);
    display: block;
}
.footer a:hover {
    color: var(--primary-clr);
}

.footer-item {
    flex: 100%;
    width: 100%;
    margin-bottom: var(--item-pdd);
    text-align: center;
}

.footer-item img {
    height: calc(var(--item-pdd) * 4);
}

.footer-item:nth-child(4) {
    display: none;
}

@media (min-width: 640px) {
    .footer-item {
        flex: 33%;
        width: 33%;
        text-align: left;
    }

    .footer-item:nth-child(4) {
        display: block;
    }
}

@media (min-width: 768px) {
    nav.desktop {
        display: flex;
    }

    nav.mobile {
        display: none;
    }

    header.content {
        margin: 35vh 0px 0px 0px;
        min-height: 40vh;
    }

    header h1 {
        font-size: 100px;
    }

    header p {
        font-size: 25px;
        margin: 0px auto;
    }
    
    .feature {
        flex-direction: row;
        gap: 0px;
    }

    .feature .feature-image {
        display: block;
        max-width: 35%;
    }

    .feature .feature-image-mobile {
        display: none;
    }

    .feature .feature-content {
        width: 35%;
    }

    .feature-content h3 {
        margin-bottom: 25px;
    }

    .feature .connection {
        display: block;
        border-top: 2px solid var(--secondary-bg);
        flex: 1;
        margin: 0px 50px;
    }
}

@media (min-width: 1024px) {
    nav.desktop {
        width: 1000px;
    }

    section {
        width: 1000px;
        margin: 0px auto 150px auto;
    }

    .footer-item {
        flex: 20%;
        width: 20%;
    }

    .footer-item:nth-child(4) {
        display: none;
    }
}