:root {
    --mauve: #e0b0ff;
    --white: #f0eee9;
    --grey: #b3afb6;
    --bg: #222;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Courier New", Arial, sans-serif;
    background-color: #1a1a1a;
    background-image: url('background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    color: var(--mauve);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

section {
    padding: 10px 5%;
    margin: 30px;
}

form {
    border: 1px solid white;
    border-radius: 30px;
    margin: 20px;
    padding: 20px;
    color: var(--mauve);
    text-align: center;
}

p { text-indent: 50px; }

strong { font-size: larger; }

button { background-color: rgba(0,0,0,0); }

input[type=text], input[type=password], select {
    border-radius: 7px;
    padding: 12px;
    margin: 10px 0 20px 0;
    display: inline-block;
    border: none;
    background: #f5f5f5;
}

footer {
    background-color: #222;
    color: var(--mauve);
    text-align: center;
    padding: 30px;
    position: relative;
    bottom: 0px;
}

.logo {
    width: 100px;
    height:100px;
    padding: 25px;
    background-image: url('logo-white.png');
    background-size: cover;
    background-position: top;
    color: white;
    text-align: center;
}

.link { color: var(--mauve); }

.flex-container {
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    color: var(--mauve);
    justify-content: space-around;
}

.flex-item {
    border: 1px solid white;
    border-radius: 5px;
    color: var(--grey);
    font-weight: bold;
    line-height: 1.5;
    margin: 20px;
    padding: 20px;
    text-decoration: none;
    text-align: center;
    flex-wrap:wrap;
}

.flex-item:hover { 
    background-color: #322e38;
    background-color: #322e3880;
}

.flex-frame {
    color: var(--mauve);
    background-color: #262428;
    background-color: #26242880;
    text-align: right;
    padding: 50px 15%;
    flex-wrap:nowrap;
    display: flex;
    flex: 1;
}


@media screen and (max-width: 850px) {
    /*form {
        max-width: 350px
    }*/
    .flex-frame {
        flex-wrap:wrap-reverse;
    }
}

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

.text {
    color: var(--mauve);
    font-weight: bold;
    line-height: 1.5;
    font-size: large;
}

.spacer {
  flex: 1;
  height: 75px;
  background-color: transparent;
}

nav {
    padding-right: 5px;
    display: flex;
    border-radius: 7px;
}

div.logo {
    width: 50px;
    height: 50px;
    padding: 5px;
}
.tabs {
    display: flex;
    max-height: 60px;
    min-width: 200px;
    background: #333;
}

form.logout {
    position: relative;
    right: 0px;
    top: 0px;
    background-color: transparent;
    padding: 0px;
    border: 0px;
    margin: 0px;
    display: flex;
}

.tabs button {
    padding: 12px;
    background: var(--grey);
    color: white;
    margin: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 90px;
    height: 40px;
}

.tabs button.active {
    background: #222;
    color: var(--mauve);
}

@media screen and (max-width: 520px) {
    nav {
        background-color: #333;
        cursor: pointer;
        display: block;
        position: absolute;
    }

    nav button {
        display: none;
    }
    
    nav.is-open button {
        display:block !important;
    }
}

.panel {
    display: none;
    height: calc(100vh - 60px);
}
.panel iframe {
    width: 100%;
    height: calc(100vh - 65px);
    border: none;
}

