@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');


body {
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    background-color: rgb(58, 58, 58);
    color: white;
}

header {
    width: 100%;
}

html:not([data-scroll='0']) #navbox {
    color: rgba(255, 145, 0, 0.8);
    transition: 800ms ease-in-out;
    top: 5.5em;
}

html:not([data-scroll='0']) #headerbox {
    transition: 800ms ease-in-out;
    height: 8em;
    background-color: rgba(40, 40, 40, 0.8);
}

html:not([data-scroll='0']) #headerbox a {
    transition: 800ms ease-in-out;
    top: 1em;
}

#headerbox {
    display: flex;
    background-color: rgba(40, 40, 40, 0.8);
    height: 10em;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 3;
    transition: 800ms ease-in-out;
}

#headerbox a {
    color: rgb(255, 145, 0);
    font-size: 50px;
    text-decoration: none;
    font-weight: bold;
    top: 1.35em;
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 800ms ease-in-out;
}

#navbox {
    display: flex;
    justify-content: center;
    min-width: 955px;
    z-index: 4;
    position: fixed;
    width: 100%;
    top: 7.5em;
    transition: 800ms ease-in-out;
}

#navbox a {
    color: rgb(190, 190, 190);
    font-size: 24px;
    text-decoration: none;
    margin-left: 1em;
    margin-right: 1em;
}

#navbox a:hover {
    color: deeppink;
}

main {
    width: 65%;
    align-items: center;
    align-content: center;
    margin-left: 50%;
    transform: translateX(-50%);
    background-color: rgb(58, 58, 58);
    z-index: 2;
    position: relative;
    bottom: 6em;
    scroll-behavior: smooth;
}

#google_translate_element {
    position: fixed;
    bottom: 0;
    left: 0;

    z-index: 50;
}

#google_translate_element div select {
    width: 250px;
    height: 40px;
    border-radius: .7em;
}

main * {
    text-align: center;
}

#content {
    background-color: rgb(58, 58, 58);
    overflow: hidden;
    margin-top: 16em;
    transform-style: preserve-3d;
    perspective: 1200px;
    margin-bottom: 20em;
}

h1 {
    color: deeppink;
    font-size: 3.5em;
    margin-bottom: 2em;
}

h2 {
    color: deepskyblue;
    font-size: 2.5em;
    margin-bottom: 2em;
    transition: all 0.5s;
}

h3 {
    color: deepskyblue;
    font-size: 2.5em;
    margin-bottom: 2em;
    transition: all 0.5s;
}

h3:hover {
    transform: scale(1.5);
    cursor: pointer;
}

p {
    color: lightgray;
    font-size: 1.5em;
}

li {
    text-align: left;
    color: lightgray;
    font-size: 1.5em;
    margin-bottom: 2em;
}

#content img {
    margin-bottom: 2.5em;
    box-shadow: 1em 1em 1em 0em rgba(0, 0, 0, .5);
    height: auto;
    width: 65%;
    border-radius: .7em;
    transition: all 0.5s;
    transform-style: preserve-3d;
}

#content img:hover {
    transform: scale(1.1) rotate(1deg);
}

a {
    text-decoration: none;
    color: initial;
}

body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    background: rgb(53, 53, 53);
}

body::-webkit-scrollbar-thumb {
    background-color: deeppink;
    border-radius: 20px;
    border: 3px solid rgb(53, 53, 53);
}

footer {
    width: 100%;
    color: rgb(196, 196, 196);
    position: fixed;
    bottom: 10px;
    font-size: 20px;
    text-align: center;
    z-index: 1;
}

#to-top {
    border-radius: 100%;
    position: fixed;
    bottom: 1em;
    right: 1em;
    font-size: 40px;
    margin: auto;
    border: 2px solid lightgray;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 1.5em;
    color: lightgray;
    cursor: pointer;
    z-index: 4;
    margin-bottom: 10px;
    color: deeppink;
}


@media only screen and (max-width: 1020px) {
    #google_translate_element {
        bottom: 2.6em;
    }

    #headerbox {
        top: 0;
        height: 4em;
        position: relative;
    }

    html:not([data-scroll='0']) #headerbox {
        top: 0;
        height: 4em;
    }

    #headerbox a {
        position: relative;
        top: 1.4em;
        font-size: 30px;
    }

    html:not([data-scroll='0']) #headerbox a {
        top: 1.4em;
        font-size: 30px;
    }

    #navbox {
        top: 10px;
        position: relative;
        min-width: 0;
        flex-direction: column;
        align-items: center;
    }

    html:not([data-scroll='0']) #navbox {
        top: 10px;
        min-width: 0;
    }

    #content {
        top: 0;
        margin-top: 7em;
    }

    #content img {
        width: 90%;
    }

    h1 {
        font-size: 36px;
    }

    h3 {
        font-size: 30px;
    }

    p {
        text-align: left;
        font-size: 16px;
        text-align: center;
    }

    li {
        font-size: 16px;
    }

    main {
        width: 95%;
        margin-left: 50%;
        transform: translateX(-50%);
        background-color: rgb(58, 58, 58);
        z-index: 2;
        position: relative;
        bottom: 6em;
        scroll-behavior: smooth;
    }
}