:root {
    --background-color:#121212;
    --other-background-color:#191919;
    --other-more-different-background-color: #252525;
    --main-color:rgb(176, 92, 255);
    --hover-color:rgb(161, 60, 255);
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

#container {
    background-color: var(--background-color);
    max-width: 100vw;
    min-height: 100vh
}

a {
    text-decoration: unset;
}

h1 {
    padding-top: 2em;
}

#checkbox {
    display: none;
}

.toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
}

.bars {
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    border-radius: 4px;
}

#bar2 {
    transition-duration: .8s;
}

#bar1,#bar3 {
    width: 70%;
}

#checkbox:checked + .toggle .bars {
    position: absolute;
    transition-duration: .5s;
}

#checkbox:checked + .toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#checkbox:checked + .toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#checkbox:checked + .toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#checkbox:checked + .toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}

.navBar {
    display: flex;
    flex-direction: column;
    padding: 2em;
    position: fixed;
    width: calc(100% - 4em);
    z-index: 100;
    background-color: transparent;
}

.navBarBackground {
    background-color:var(--other-background-color);
    border-radius: 0 0 1em 1em;
}

.navBarText {
    color: var(--main-color);
    margin-top: 1em;
    font-weight: 1000;
}

.navBarText:hover {
    cursor: pointer;
    user-select: none;
    color:var(--hover-color)
}


.hidden {
    display: none;
}

#mainBody {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    padding-top: 2em;
    height: calc(100vh - 4em);
}

#profile {
    width: 100%;
    height: 100%;
    background-color: var(--other-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: inherit;
    display: none;
}

#aboutMe {
    width: 100%;
    height: 100%;
    font-size: 24px;
    background-color: var(--other-more-different-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: inherit;
}

#aboutme p {
    margin: 1em;
}

#profilePic {
    padding: 1em;
    width: 150px;
    border-radius:100%;
}

.card {
    margin-top: 5em;
    width: 300px;
    height: 400px;
    background-color: var(--other-background-color);
    border-radius: 2em;
}

@media only screen and (min-width: 375px) {
    .navBar {
        width: max-content;
        border-radius: 0 0 1em 0;
    }
    .card {
        min-width: 300px;
    }
}
