* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Overpass", sans-serif;
    font-weight: 500;
    cursor: default;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    /*Base color will not change*/
    --base-accent-color: #224455;

    --primary-accent-color: #224455;
    --primary-font-color: #181a1b;
    --primary-background-color: #f7f7f7;
    --linear-gradient: linear-gradient(135deg, white, #e9f5f7);

    /*Content background on hover*/
    --content-hover-background-color: #d8d8d8;

    /*Side Menu Background*/
    --side-menu-background-color: #e0e0e0;

    --header-component-border: rgb(230, 230, 230);

    /*Background for the tech Stack*/
    --tiles-background: #f7f7f7;

    /*Background for the contact form input fields*/
    --secondary-font-color: white;

    /*project button and tech stack hover shadow*/
    --project-button-hover-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    --tech-stack-hover-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.dark-mode {
    --primary-accent-color: #9FC5D9;
    --primary-font-color: #f7f7f7;
    --primary-background-color: #0F0F0F;
    --linear-gradient: linear-gradient(135deg, rgb(24, 26, 27), rgb(18, 46, 51));

    /*Content background on hover*/
    --content-hover-background-color: #333333;

    /*Side Menu Background*/
    --side-menu-background-color: #1a1a1a;

    --header-component-border: rgb(33, 33, 33);

    /*Background for the tech Stack*/
    --tiles-background: #181a1b;

    /*Background for the contact form input fields*/
    --secondary-font-color: #121314;

    /*project button and tech stack hover shadow*/
    --project-button-hover-shadow: rgba(0, 0, 0, 0.5) 0px 15px 30px 5px;
    --tech-stack-hover-shadow: rgba(0, 0, 0, 0.5) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

body {
    max-width: 100vw;
    min-height: 100dvh;
    margin: 0;
    background-color: var(--primary-background-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-font-color);
}

header {
    width: 1200px;
    height: 100px;
    padding-top: 20px;
    z-index: 10000;
    margin: 0 auto;
    position: sticky;
    top: 0;
}

.navBar {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    padding-top: 20px;
    position: relative;
}

.navOptions,
.profilePicture,
.switchButton {
    border: 2px solid var(--header-component-border);
}

.navOptions {
    height: 60px;
    background-color: var(--tiles-background);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 15px;
    border-radius: 200px;
}

.profilePicture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.profilePicture:hover {
    scale: 1.15;
}

.navEl {
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 100px;
    user-select: none;
    transition: all 0.3s ease;
}

.navEl:hover {
    background-color: var(--content-hover-background-color);
}

.RightSideElements {
    display: flex;
    align-items: center;
}

.switchButton {
    height: 60px;
    width: 60px;
    background-color: var(--tiles-background);
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.fa-lightbulb {
    font-size: 24px;
    background-color: transparent;
}

.on-lightbulb {
    display: none;
}

.modeButton>* {
    transition: all 0.2s ease;
}

.modeButton>*:hover {
    background-color: var(--content-hover-background-color);
}

.navBarforSmallerScreens {
    display: none;
}

main {
    width: 1200px;
    height: 100%;
}

section {
    margin-bottom: 100px;
    color: var(--primary-font-color);
}

footer {
    width: 100%;
    height: auto;
    padding: 35px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.socialHeading {
    font-size: 24px;
    font-weight: 700;
}

.socials {
    height: 100px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.link {
    width: 60px;
    height: 60px;
    border: 2px solid var(--header-component-border);
    outline: none;
    border-radius: 50%;
    margin-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.link:last-child {
    margin-right: 0;
}

.github, .linkedin, .discord {
    font-size: 24px;
    color: var(--primary-accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-github, .fa-linkedin, .fa-discord {
    color: var(--primary-accent-color);
    display: inline-block;
}

.link:hover, .github:hover, .linkedin:hover, .discord:hover {
    background-color: var(--content-hover-background-color);
}

.fa-discord {
    margin-right: 0;
}

.contact-dark-mode {
    background-color: '#141414';
    color: '#f7f7f7';
}

.socialHeading {
    display: block;
    font-weight: 700;
    font-size: 22px;
}

a {
    text-decoration: none;
    color: var(--primary-font-color);
}

.fa-brands, .fa-solid, .fa-regular {
    cursor: pointer;
}

.createdBy {
    width: 80%; /*80% of the actual footer*/
    margin: 0 auto;
}

.createdByText {
    margin-top: 25px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1199px) {
    header {
        width: 1000px;
    }

    main {
        width: 1000px;
    }
}

@media (max-width: 995px) {
    header {
        width: 768px;
    }

    main {
        width: 768px;
    }

}

@media (max-width: 767px) {
    header {
        width: 480px;
        padding: 0 5px 0 5px;
    }

    main {
        width: 480px;
    }

    section {
        padding: 0 20px 0 20px;
        margin-bottom: 40px;
    }

    .profilePicture {
        width: 45px;
        height: 45px;
    }

    .navOptions {
        display: none;
    }

    .switchButton {
        height: 45px;
        width: 45px;
    }

    .fa-lightbulb {
        font-size: 18px;
    }

    .navBarforSmallerScreens {
        width: 45px;
        height: 45px;
        display: block;
        user-select: none;
        cursor: pointer;
        padding: 8px;
        font-size: 26px;
        position: relative;
        border-radius: 50%;
    }

    .fa-xmark {
        display: none;
        z-index: 50000;
    }

    .sideMenu {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        background-color: var(--side-menu-background-color);
        position: absolute;
        border-radius: 15px;
        top: 90px;
        padding: 10px;
        transform: translateY(-50%);
        opacity: 0;
        transition: all 0.2s ease;
    }

    .navEl:hover {
        background-color: var(--primary-background-color);
    }

    .active {
        transform: translateY(0);
        opacity: 1;
    }

    .navLinkForSmallerScreens {
        margin: 5px 0 10px 0;
    }
}

@media (max-width: 479px) {
    header {
        width: 350px;
    }

    main {
        width: 350px;
    }

    .profilePicture {
        width: 35px;
        height: 35px;
    }


    .socialHeading {
        font-size: 22px;
    }

    .link {
        width: 50px;
        height: 50px;
        margin-right: 30px;
    }

    .link:last-child {
        margin-right: 0;
    }

    .github, .linkedin, .discord {
        font-size: 20px;
    }
}