@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Montserrat:wght@400;700&display=swap");

:root {
    --color1: #c192ff;
    --colorb: #eab5ff;
    --color2: rgba(255, 255, 255, 0.76);
    --shadow: #ddd;
}

/* General Styles */

body {
    margin: 0px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 100%;
    background-color: var(--color1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    height: 100vh;
}

div {
    margin: 0px;
}

a,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
}
a p:hover {
    text-decoration: underline;
}

form input[type="text"],
input[type="email"],
input[type="password"] {
    width: 90%;
    max-width: 350px;
}

input[type="submit"] {
    font-family: Montserrat;
}

/* Style Classes */

.smalltext {
    font-size: 75%;
}

.center {
    text-align: center;
}

/* Header */

#header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color2);

    height: 35px;
    border-bottom: 3px solid var(--shadow);
    padding: 3px;

    width: 100%;

    z-index: 2;

    box-sizing: border-box;
}

#logo {
    user-select: none;
    font-family: "Fredoka One";
    font-size: 1.5em;
}

/* Content */

#lofi-main {
    background-color: var(--color2);
    background-position: center;
    background-size: cover;

    min-width: 240px;

    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    overflow: hidden;
    z-index: -1;
}

#content .button {
    text-align: center;
    border-radius: 15px;
    background-color: var(--colorb);
    border: 3px solid var(--color2);
    max-width: 250px;
    cursor: pointer;
}
.button > a {
    display: block;
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

/* Footer */

#footer {
    padding: 1px 10px;
    background-color: var(--color2);

    width: 100%;

    box-sizing: border-box;

    margin-top: auto;
    align-self: flex-end;
    z-index: 2;
}

a {
    cursor: pointer;
}
a:hover {
    text-decoration: underline;
}

.selected {
    border: 5px solid gold;
    background-color: #ffd;
}

#buttonContainer {
    z-index: 5;
    width: fit-content;
}

button {
    background-color: rgba(255, 255, 255, 0.5);
    color: #212121;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

    text-transform: lowercase;
}
button:hover {
    background-color: #fff;
}

/* DROPDOWN */

.dropdown {
    position: relative;
    display: block;
    margin: 10px;
    width: fit-content;
}

.dropdown > button {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: inline-block;
    margin: 0;
    width: fit-content;
}

.dropdown-content li {
    padding: 5px 7px;
    text-decoration: none;
    transition: 0.1s;
    color: #212121;
    background-color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
}

.dropdown-content li:hover,
.dropdown-content li:focus {
    background-color: rgba(255, 255, 255, 1);
}
.dropdown-content.hidden li {
    display: none;
}

#p5Container {
    width: 100%;
    height: 100%;
    position: absolute;
}

#imageCredits > div {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 0.8rem;
    display: none;
    z-index: 10;
}

.zen {
    border-radius: 30px;
    border: 4px double #6cf;
    margin: 10px;
    z-index: 10;
}
.zen:hover {
    background-color: white !important;
    border-color: gold;
}

#zenModeOn {
    background-color: rgba(255, 255, 255, 0.95);
}

#zenModeOff {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 100%;
    border: none;
    margin: 10px;

    width: 30px;
    height: 30px;
    padding: 0;
}

#content {
    display: flex;
    flex-direction: column;
    height: 100%;
}