:root {
    color-scheme: light dark;
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: light-dark(rgb(51, 51, 51), white);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

main {
    margin-left: 10px;
    margin-right: 10px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-transform: uppercase;
}

nav div {
    padding: 6px 15px;
    margin-top: auto;
    margin-bottom: auto;
}

#nav-left {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 2px;
    text-decoration: none;
}

#nav-left a {
    text-decoration: none;
    color: light-dark(rgb(51, 51, 51), white);
}

#nav-right {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-weight: 600;
    font-size: 14px;
}

#nav-right p {
    margin: auto;
}

#nav-right img {
    height: 50px;
    cursor: pointer;
}

#nav-split {
    margin-bottom: 20px;
}

input[type="submit"], input[type="submit"]:visited, input[type="button"], input[type="button"]:visited {
    padding-block: 8px;
    padding-inline: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #F79007;
    color: white;
    border-radius: 5px;
    border: none;
    height: fit-content;
}

input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #6632FF;
    color: white;
}

input[type="submit"]:active, input[type="button"]:active {
    background-color: black;
    color: white;
}

.form-confirm {
    margin-top: 0;
    margin-bottom: 20px;
    color: green;
    text-align: left;
    list-style-type: decimal;
}

.form-error, .errorlist {
    margin-top: 0;
    margin-bottom: 20px;
    color: red;
    text-align: left;
    list-style-type: decimal;
}

.notyf {
    max-width: 1280px;
    left: auto;
}

.notyf__toast--success {
    background-color: green;
}

.notyf__toast--success {
    background-color: red;
}

.notyf__toast--warning {
    background-color: #AD4C00;
}

.notyf__toast--info {
    background-color: dodgerblue;
}

body .notyf__ripple {
    background-color: transparent;
}

.notyf__wrapper {
    padding-left: 15px;
}

footer {
    margin-top: 50px;
    margin-left: 10px;
    margin-right: 10px;
}

#footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    color: rgb(153, 153, 153);
}

#footer-content form, #footer-content input {
    margin-top: auto;
    margin-bottom: auto;
}

#footer-content p {
    width: 100%;
}

@media screen and (max-width: 550px) {
    body {
        margin-top: 0;
        font-size: 14px;
    }

    #nav-left {
        font-size: 20px;
    }

    #nav-split {
        margin-top: auto;
    }
}

@media screen and (max-width: 450px) {
    #time-div {
        display: none;
    }

    #nav-right p {
        text-align: center;
    }
}