/* Define variables */
:root {
    --bg1: #fff;
    --bg2: #d9d9d9;
    --mid: #eee;
    --txt1: #979797;
    --txt2: #4a4a4a;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg1: #1e1e1e;
        --bg2: #3c4442;
        --mid: #676767;
        --txt1: #979797;
        --txt2: #dadada;
    }
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "icons";
    src: url("../media/fonts/icons.woff2") format("woff2"),
        url("../media/fonts/icons.ttf") format("truetype"),
        url("../media/fonts/icons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* Widescreen */
@media only screen and (min-width: 1200px) {
  
}

/* Desktop */
@media only screen and (max-width: 1200px) {
  
}

/* Tablet */
@media only screen and (max-width: 900px) {
  
}

/* Portrait */
@media only screen and (orientation: portrait), (max-width: 600px) {
  
}

html {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    padding: 40px;
    margin: 0;
    background-color: var(--bg2);
    box-sizing: border-box;
    overflow: clip;
    transition: padding 0.2s linear, margin 0.2s linear, height 0.2s linear;
}

body.expandfooter {
    margin-top: -7vw;
    height: calc(100% + 7vw);
    padding-bottom: calc(7vw + 40px);
}

.wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--bg1);
    border-radius: 40px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-color: var(--txt1) transparent;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900 !important;
    font-style: normal;
    color: var(--txt1);
    text-align: center;
    text-transform: uppercase;
}

.wrapper::-webkit-scrollbar-button {display: none; color: transparent; background-color: transparent;}

h1 {
    width: 100%;
    height: 3.67vw;
    line-height: 3.67vw;
    margin: 0;
    padding-top: 5vw;
    font-size: 5vw;
    font-weight: 900;
}

h1 i {
    font-style: normal;
    background: linear-gradient(90deg, #33A88C 0%, #337EA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    width: 100%;
    height: 5vw;
    line-height: 5vw;
    margin: 0;
    font-size: 1.4vw;
    font-weight: 900;
    scroll-margin-block-start: 40px;
}

h2:last-of-type {
    height: 12vw;
}

#pageend {
    height: 10px;
}


.footer {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--txt1);
    font-family: "inter", sans-serif;
    transition: line-height 0.2s linear, font-size 0.2s linear, height 0.2s linear;
}

.footer a, .footer label {
    font-family: "icons", "inter", sans-serif;
    color: var(--txt1);
    text-decoration: none;
    cursor: pointer;
    margin-left: 10px;
}

.footer a:hover, .footer label:hover {
    color: var(--txt2);
}

.footer .hidden {
    display: inline-flex;
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 0px;
    transition: max-width 0.5s linear;
}

.footer .hidden.quote {
    font-family: "Tangerine", cursive;
    font-size: 1.5vw;
    /*color: #FFD233;*/
    /*text-shadow: 2px 2px 0px #B37E29;*/
    color: #B37E29;
    padding-right: 5px;
    transition: max-width 1.5s linear;
}

.footer.expandfooter {
    line-height: 3.5vw;
    font-size: 1vw;
    height: 3.5vw;
}

.footer.expandfooter .hidden {
    max-width: 120px;
}

.footer.expandfooter .hidden.quote {
    max-width: 1000px;
}

#darkmode {
    display: none;
}

.menu {
    position: fixed;
    top: 0.5vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4vw;
    display: flex;
    gap: 10px;
    border-radius: 1.4vw;
    border: 5px transparent solid;
    outline: 5px #33A88C solid;
    background-color: var(--bg1);
}

.menu a {
    color: var(--txt1);
    text-decoration: none;
    font-family: "inter", sans-serif;
    text-transform: uppercase;
    border-radius: 1.4vw;
    padding: 0px 0.8vw;
    transition: color 0.1s linear, background-color 0.1s linear;
}

.menu a:hover {
    color: var(--txt2);
    background-color: var(--bg2);
}