.flashes-container {
    position: fixed;
    right: 10px;
    top: 50px;
    min-width: 100px;
    max-width: 50vh;
    text-align: right;
}

.flash {
    font-size: 0.8em;
    padding: 13px 20px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.flash-success {
    background-color: rgba(0, 255, 0, 0.5);
}

.flash-error {
    background-color: rgba(255, 0, 0, 0.5);
}

.flash-warning {
    background-color: rgba(255, 255, 0, 0.5);
}

body {
    margin:0;
    padding:0;
    font-family:'Segoe UI';
    font-size:18px;
}

.page {
    width:1000px;
    max-width:100%;
    min-height:200px;
    margin-left:50%;
    transform:translate(-50%, 0);
}

header {
    height:50px;
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color:black;
    text-decoration: none;
    user-select: none;
    cursor:pointer;
}

header .logo {
    font-weight: bold;
    font-size:30px;
    line-height:0;
}

header nav {
    display:flex;
    justify-content: flex;
    gap:25px;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    margin-top: 20px;
}

main, footer {
    box-sizing: border-box;
}

footer {
    margin-top: 40px;
}


main a {
    text-decoration: none;
    color:#0b0beb;
    transition:color .35s ease-in-out;
}

main a:hover {
    text-decoration: underline;
    color:#0000c0;
}

main span { 
    display:block;
    margin-top:10px;
    margin-bottom:5px;
}

main p {
    /*text-indent: 50px;*/
    justify-content: center;
    margin-bottom:30px;
}

main h1 {
    margin-top:20px;
    margin-bottom:20px;
    font-size:30px;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes disappear {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.desktop main, .desktop footer {
    opacity: 0;
}

.title {
    font-weight: bold;
    font-size:1.5em;
}

.center {
    text-align: center;
}

nav.menu-left, nav.menu-right {
    position: relative;
    display: inline-block;
    padding: 0;
}

nav.menu-left li, nav.menu-right li {
    background-color: #e3e3e3;
    display: inline-block;
    margin: 0;
    min-width: 170px;
    border-radius: 15px;
}

nav.menu-left ul, nav.menu-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.menu-left ul ul {
    display: none;
    position: absolute;
    margin: 0;
    z-index: 1;
    right: 0;
}

nav.menu-right ul ul {
    display: none;
    position: absolute;
    margin: 0;
    z-index: 1;
}

nav.menu-left ul ul li, nav.menu-right ul ul li {
    display: list-item;
    position: relative;
    float: none;
}

nav.menu-left ul ul ul {
    top: 0;
    right: 100%;
}

nav.menu-right ul ul ul {
    top: 0;
    right: 100%;
}

nav.menu-left ul ul ul li, nav.menu-right ul ul ul li {
    top: 100%;
}


nav.menu-left a, nav.menu-right a {
    display: block;
    padding: 10px 15px;
    color: black;
    border-radius: 15px;
    text-align: center;
    border: #999898 solid 2px;
}

nav.menu-left ul ul a, nav.menu-right ul ul a {
    border-top: none;
}

nav.menu-left a:hover, nav.menu-right a:hover {
    text-decoration: none;
    color: black;
    background-color: #d7d7d7;
}

nav.menu-left a:active, nav.menu-right a:active {
    background-color: #c2c2c2;
}


nav.menu-left ul li:hover > ul, nav.menu-right ul li:hover > ul {
    display: inherit;
}

.btn-menu img {
    width: 50px;
    height: 50px;
}


@media (max-width: 700px) {
    .desktop {
        display: none;
    }

    header {
        height: fit-content;
        margin: 5px;
    }
}

@media (min-width: 700px) {
    .mobile {
        display: none;
    }
}