@import url('https://fonts.googleapis.com/css2?family=REM:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
}

html {
    width: 100vw;
    min-height: 100vh !important;
    background-color: black;
    color: white;
    font-size: 300%;
    font-family: 'REM', sans-serif;
    overflow-x: hidden;
}

body {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 5vh;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #00000000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #191919;
    border-radius: 10px;
}

/* header */

header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 1vh 10vw;
}

header .logo {
    width: 15vw;
}

nav.navbar {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    flex-basis: auto;
    column-gap: 5%;
    font-weight: lighter;
}

nav.navbar .navlink {
    margin-left: 2%;
    margin-right: 2%;
    text-decoration: none;
    color: #EEEEEE;
    transition: all 0.3s ease 0s;
}

nav.navbar .navlink:hover {
    color: #aaaaaa;
}

nav.navbar>.sidepanelItem,
header>.sidepanelItem {
    display: none;
}

.sidepanelToggle {
    background-color: #00000000;
    border: none;
}

header .sidepanel {
    /* display: block; */
    position: fixed;
    background-color: rgba(0, 0, 0, 0.701);
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    transition: background-color 1s linear;
}

header .sidepanel.minimized {
    right: -100vw;
    background-color: rgba(0, 0, 0, 0);
    width: 0px;
    position: fixed; 
    visibility: hidden;
    /* display: none; */
}

header .sidepanel .panelContent {
    width: 60%;
    height: 100%;
    margin-left: 40%;
    background-color: rgb(33, 33, 33);
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 5%;
    align-items: center;
    transition: margin-left .2s linear;
}

header .sidepanel.minimized .panelContent {
    margin-left: 100%;
}

header .sidepanel .navlink {
    text-decoration: none;
    color: #EEEEEE;
    transition: all 0.3s ease 0s;
}

header .accountButton {
    padding: 6px 16px 4px;
    background-color: rgb(80, 80, 80);
    border: none;
    border-radius: 64px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    color: white;
    font-size: larger;
    width: 80%;
}

header .accountButton:hover {
    background-color: #32323277;
    color: #666666
}

/* end header */

/* general */

a { 
    font-weight: bolder;
    text-decoration: none;
    color: #EEEEEE;
    transition: all 0.3s ease 0s;
}

a:hover {
    color: #aaaaaa;
}

.flexcontainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90vw;
    background-color: #101010cc;
    margin: 0vh auto;
    align-items: center;
    padding: 3vw;
    border-radius: 10px;
    row-gap: 2vh;
    column-gap: 2vw;
    overflow: hidden; 
    flex-wrap: nowrap;
}

.horizontal {
    flex-direction: row;
}

.fleximg {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
}

.fleximgcontainer {
    width: 96vw;
}

.flexCenter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flexLinks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 20px;
    justify-content: space-between;
    align-content: center;
}

.flexLinks a {
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
    color: #EEEEEE;
    font-weight: bold;
    padding: 5px 10px;
    background-color: #00000000;
    transition: 0.3s all ease;
}

.flexLinks a:hover {
    color: #111111;
    background-color: #EEEEEE;
}

.title {
    font-weight: bold;
    width: 90%;
}

.subtitle {
    font-weight: normal;
    width: 90%;
}

footer {
    color: #242424;
    font-size: 70%;
    text-align: center;
    margin: 1%;
}

#yrt3dSvg {
    height: 100vh;
    width: 100vw;
    background-color: #00000000;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    padding: 0;
    position: fixed;
    z-index: -100;
}

.flexnopaddingdown {
    margin-bottom: -3.5vw;
}

.flexnopaddingup {
    margin-top: -3.5vw;
}

.flexfullwidth {
    width: 100%;
    height: 33vh;
    object-fit: cover;
}

/* end general */

/* pc */
@media screen and (orientation: landscape) {

    html {
        font-size: 120%;
    }

    /* header */
    header .logo {
        width: 5vw;
    }

    nav.navbar {
        column-gap: 0;
    }

    nav.navbar>.sidepanelItem,
    header>.sidepanelItem {
        display: block;
    }

    .sidepanelToggle {
        display: none;
    }

    header .accountButton {
        background-color: #1c1c1c;
        width: fit-content;
        padding: 0.5% 2%;
        height: 80%;
    }

    /* end header */

    /* general */

    .flexcontainer {
        width: 50vw;
    }

    .fleximg {
        width: 50%;
        height: 50%;
    }

    .fleximgcontainer {
        width: 56vw;
    }

    .title {
        font-size: 400%;
    }

    .subtitle {
        font-size: 150%;
    }

    .flexLinks {
        row-gap: 20px;
        column-gap: 20px;
    }

    #yrt3dSvg {
        color: rgba(255, 255, 255, 0.3);
    }
    /* end general */

    .flexfullwidth {
        width: 100%;
        height: 33vh;
        object-fit: cover;
    }
}
