/* 
    Background: #383634;
    Highlight: #00C8A5;

    NormalColor: #fff;
    LightColor: #BCBCBA;
*/

body {
    background-color: #383634;
    color: #e9e9e9;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

h1 {
    font-size: 40px;
    font-weight: 600;

    width: calc(90% - 10px);
    margin: auto;
    margin-top: 50px;
}


/*           RIBBON              */

.sub_ribbon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin-top: 20px;
    width: 100%;
    height: fit-content;
}

.sub_ribbon_container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;

    width: calc(90% - 10px);
    height: fit-content;
}

.sub_ribbon_container>div {
    width: fit-content;
    height: fit-content;

    background-color: #00C8A5;
    border-radius: 5px;
}

.sub_ribbon_container>div:hover {
    background-color: #00B08C;
    cursor: pointer;
}

.sub_ribbon_container>div>:only-child {
    padding: 5px;
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

/*           IDK YEAT              */

#content {
    width: 90%;
    height: fit-content;
    max-height: 60vh;

    overflow-y: auto;

    margin: auto;
    margin-top: 20px;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

#content::-webkit-scrollbar {
    width: 10px;
}

#content::-webkit-scrollbar-track {
    background: #383634;
}

#content::-webkit-scrollbar-thumb {
    background: #817d79;
    border-radius: 5px;
}

#content::-webkit-scrollbar-thumb:hover {
    background: #817d79;
}

#side_panel {
    position: absolute;
    right: 0;
    top: 0;

    width: 800px;
    height: 800px;

    /* background-color: #817d79; */
    background-image: url("/src/media/ape.webp");
    background-size: contain;
    background-repeat: no-repeat;

    z-index: -1;
}

@media screen and (max-width: 1600px) {
    #side_panel {
        width: 600px;
    }
}

@media screen and (max-width: 1200px) {
    #side_panel {
        width: 400px;
    }
}

@media screen and (max-width: 800px) {
    #side_panel {
        width: 300px;
    }
}

@media screen and (max-width: 600px) {
    #side_panel {
        width: 200px;
    }
}


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

/*    MODALS  */

.modal_background {
    display: none;

    position: fixed;
    height: 100vh;
    width: 100vw;

    background-color: rgba(0, 0, 0, 0.5);

    /* blur the background */
    backdrop-filter: blur(5px);
}

.new_modal {
    display: none;

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 250px;
    height: fit-content;

    background-color: #817d79;
    border-radius: 5px;
    padding: 10px;

    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    position: absolute;
    z-index: 4;
}

.new_modal>.new_modal_form {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 10px;
}

.new_modal>h3 {
    margin: 10px;
    font-size: 20px;
    font-weight: 600;
}

.new_modal_form>.input_container {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.new_modal_form>.input_container>label {
    font-size: 14px;
    font-weight: 600;
    margin-right: 5px;

    width: fit-content;
    height: fit-content;
}

.new_modal_form>.input_container>input {
    width: 100%;
    height: 25px;

    padding: 5px;
    border-radius: 5px;
    border: none;
    background-color: #e9e9e9;

    width: 100%;
}

.new_modal>.new_modal_actions {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.new_modal>.new_modal_actions>.new_modal_button {
    width: fit-content;
    height: fit-content;

    border-radius: 5px;
    border: none;

    font-size: 16px;
    font-weight: 600;
    color: #e9e9e9;

    margin-top: 20px;
    cursor: pointer;
}

.new_modal>.new_modal_actions>.new_modal_button>:first-child {
    margin: auto;
    margin: 5px;
    margin-left: 10px;
    margin-right: 10px;
    width: fit-content;
    height: fit-content;
}

.new_modal_button_close {
    background-color: #db7676;
}

.new_modal_button_close:hover {
    background-color: #c75b5b;
}

.new_modal_button_submit {
    background-color: #00C8A5;
}

.new_modal_button_submit:hover {
    background-color: #00B08C;
}


.tippy-box[data-theme~='error'] {
    background-color: rgb(247, 100, 100);
    color: rgb(245, 245, 245);
}

.tippy-box[data-theme~='error']>.tippy-arrow {
    color: rgb(247, 100, 100);
}