/* GENERAL
 *********/

:root {
    --font-bright: #E0E0E2;
    --font-grey: #696B6D;
    --font-dark: #313638;
    --bg-bright: #E0E0E2;
    --bg-grey: #838688;
    --bg-dark: #313638;
    --accent-yellow: #FFB400;
    --accent-yellow-hover: #E29E00;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

main {
    background: linear-gradient(45deg, var(--bg-dark), var(--bg-grey));
    color: var(--font-dark);
    height: 100vh;
    width: 100vw;
}


/* ELEMENTS
 **********/

p {
    margin-bottom: 6px;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
}

a:hover {
    color: var(--accent-yellow-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', sans-serif;
    margin-bottom: 12px;
}

h1 {
    font-size: calc(22px + 0.5vw);
    margin-bottom: calc(20px + min(3vw, 40px));
}

h2 {
    font-size: calc(18px + 0.5vw);
    font-weight: bold;
    margin-bottom: 18px;
}

h3 {
    font-size: calc(16px + 0.5vw);
}

h4 {
    font-size: calc(12px + 0.5vw);
    font-weight: bold;
}

.btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    border: none;
    border-radius: 5px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-yellow-hover);
    transition: 0.5s;
}

.logo {
    display: block;
    float: left;
    border-radius: 100%;
    padding: 10px;
    width: 80px;
}


/* LOGIN BOX
 ***********/

.overlay-msgbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50vh;
    width: 60vw;
    max-height: 400px;
    max-width: 600px;
    color: var(--font-dark);
    background-color: var(--bg-bright);
    padding: 8vh 5vw;
    box-sizing: border-box;
    cursor: initial;
}

.overlay-msgbox-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 250px;
}

.overlay-msgbox-title {
    text-align: center;
}

#pw {
    display: block;
    border: none;
    box-shadow: none;
    font-size: 20px;
    margin-bottom: 10%;
    max-width: 150px;
    padding: 4px;
}

#login {
    margin-bottom: 10%;
}