/*Menu Styles*/
.menu {
    background-color: rgb(40, 40, 40);
    display: flex;
    overflow: hidden;
    position: fixed;
    top: 0px;
    width: 100%;
    animation: SlideFromTop 1s ease-in-out;
}

.menu .left {
    display: flex;
    width: 40%;
}

.menu .center {
    display: flex;
    justify-content: center;
    width: 20%;
}

.menu .right {
    display: flex;
    width: 40%;
    direction: rtl;
}

.menu img,
.menu button {
    display: block;
    background-color: rgb(35, 35, 35);
    color: rgb(200, 200, 200);
    text-align: center;
    padding: 10px;
    font-size: 21px;
    border: 0px;
    cursor: pointer;
    width: auto;
}

.menu img:hover,
.menu button:hover {
    background-color: rgb(50, 50, 50);
}

/*Loading Spinny Thing Styles*/
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes SlideFromTop {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading p {
    font-size: 24px;
    margin: 10px;
}

.loading_container {
    margin: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Arial, sans-serif;
}

.darkmode .loading-icon {
    width: 60px;
    height: 60px;
    border: 5px solid rgb(50, 50, 50);
    border-radius: 50%;
    border-top-color: rgb(200, 200, 200);
    animation: spin 2s linear infinite;
}

.lightmode .loading-icon {
    width: 60px;
    height: 60px;
    border: 5px solid rgb(200, 200, 200);
    border-radius: 50%;
    border-top-color: rgb(50, 50, 50);
    animation: spin 2s linear infinite;
}

/*Error Styles*/
.errormessage {
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 100%);
    background-color: red;
    color: white;
    text-align: center;
    transition: bottom 0.5s ease-in-out;
    padding: 10px 20px;
    border-radius: 20px;
}

/*Background Styles*/
.darkmode {
    background-color: rgb(25, 25, 25);
    color: white;
    margin: 0px;
    overflow: hidden;
}

.lightmode {
    background-color: white;
    color: black;
    margin: 0px;
    overflow: hidden;
}

.question {
    width: 75%;
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
}

.sleep {
    background-color: rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    margin: 0px;
    overflow: hidden;
}