:root {
    --blue: rgb(138, 169, 247);
    --grey: rgb(128, 128, 128);
    --green: rgb(31, 203, 19);
    --navSwidth: 50px;
}

*{
   box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Mulish", Arial, sans-serif;
    background-color: var(--grey);
    display: flex;
    flex-direction: row;
    color: white;
}

main {
    margin: 0;
    width: 100%;
}

figure {
    color: white;
}

section {
    background-color: black;
    min-height: 100vh;
}

.pfp {
    border-radius: 100%;
}

.row {
    display: flex;
    flex-direction: row;
}

.col {
    display: flex;
    flex-direction: column;
}

.end {
    display: flex;
    justify-content: end;
}

.start {
    display: flex;
    justify-content: start;
}

/* header section */

header {
    justify-content: space-between;
    color: white;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: var(--blue);
}

header div {
    width: 33vw;
    margin: 0 10px;
}

#hopen {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    font-size: 50px;
    margin: 0;
    padding: 0;
    color: white;
}

h1 {
    margin: 0;
}

.navbut {
    background-color: grey;
    color: white;
    text-decoration: none;
    margin: 2px;
    border-radius: 10px;
    width: 50px;
    text-align: center;
}

/* header end */

/* navB start */

#navB {
    background-color: var(--blue);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: var(--grey);
}

#navB nav {
    display: flex;
    justify-content: space-around;
}

#navS {
    display: none;
}

/* navB end */

#about {

}

#MLhead {
    position: absolute;
    width: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0);
}

#MLhead * {
    width: 50%;
    text-align: center;
    height: 50px;
}

#bar {
    position: absolute;
    z-index: 0;
    margin: 0 2.5vw;
    width: 45vw;
    height: 50px;
    border-radius: 15px;
    background-color: var(--green);
}

#bar.left {
    transform: translateX(0px);
    transition: transform 1s;
}

#bar.right {
    transform: translateX(50vw);
    transition: transform 1s;
}

#signInMain {
    margin: 0 auto;
    margin-top: 30vh;
    width: fit-content;
}

#signInMain * {
    width: fit-content;
}

#SIGNhead {
    width: 100%;
}

#SIGNhead * {
    font-size: x-large;
    padding: 2px 5px;
    width: 50%;
    margin: 0;
    text-align: center;

}

#Sin {
    border-radius: 20px 0 0 0;
}

#Sup {
    border-radius: 0 20px 0 0;
}

#signInContainer {
    background-color: var(--grey);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    min-width: 220px;
}

#signInContainer * {
    margin: 2px 0;
    border-radius: 15px;
    border: 0;
}

#signInContainer input {
    min-width: fit-content;
}

#about * {
    margin-bottom: 5px;
}

#stamps * {
    width: 100px;
    height: auto;
}

button {
    border: 0;
    border-radius: 15px;
}

h2 {
    margin: 0;
    padding: 10px;
}

p {
    margin: 0;
    max-width: 80ch;
}

.MLsec {
    padding-top: 50px;
}

.button {
    background-color: var(--green);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    padding: 3px;
    font-size: small;
}

.bubbleB {
    border-radius: 50px;
    padding: 20px;
    background-color: var(--blue);
}

.question {
    padding: 5px;
    border-radius: 15px;
    background-color: var(--green);
    width: fit-content;
}

.subHead {
    display: flex;
    justify-content: space-around;
}

.answer {
    padding: 5px;
    border-radius: 15px;
    background-color: var(--blue);
    width: fit-content;
}

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

.row {
    display: flex;
    flex-direction: row;
}

.col {
    display: flex;
    flex-direction: column;
}

.blue {
    background-color: var(--blue);
}

.green {
    background-color: var(--green);
}

.grey {
    background-color: var(--grey);
}

.hide {
    display: none;
}

@media screen and (max-width: 375px) {
    #bar {
        height: 80px;
    }

    .MLsec {
        padding-top: 80px;
    }
}

@media screen and (min-width: 800px) {
    #navS{
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: var(--navSwidth);
        background-color: var(--grey);
        height: 100vh;
    }

    #navS nav {
        height: 100%;
        align-items: center;
    }

    #navS nav a {
        display: block;
        margin: 20vh 5px;
    }

    #navB {
        display: none;
    }

    #MLhead * {
        width: calc((90vw - var(--navSwidth)) / 2);
    }
    #bar {
        width: calc((90vw - var(--navSwidth)) / 2);
    }

    #bar.left {
        transform: translateX(0px);
        transition: transform 1s;
    }

    #bar.right {
        transform: translateX(calc(50vw - (var(--navSwidth)) / 2));
        transition: transform 1s;
    }

    main {
        margin-left: var(--navSwidth);
        width: calc(100% - var(--navSwidth));   
    }
}