@font-face {
    font-family: black_han_sans;
    src: url('Assets/Fonts/BlackHanSans.ttf') format('truetype');
}

@font-face {
    font-family: norwester;
    src: url('Assets/Fonts/norwester.otf') format('opentype');
}

@font-face {
    font-family: din_b;
    src: url('Assets/Fonts/din_b.otf') format('opentype');
}

@font-face {
    font-family: din;
    src: url('Assets/Fonts/din.otf') format('opentype');
}

@font-face {
    font-family: hapna;
    src: url('Assets/Fonts/hapna.ttf') format('truetype');
}

* {
    color: rgb(9, 9, 9);
    font-family: "Calibri", Arial, Helvetica, sans-serif;
    text-align: center;
	touch-action: manipulation;
}

::selection {
    background-color: #005c1c63; 
}

body {
    background-color: #d5d5d5;
}

.required_mark {
    color: red;
    font-size: small;
}

.no_select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container {
    display: inline-block;
    cursor: pointer;
    font-size: 1.5vh;
    color: #090909;
    user-select: none;
    margin: 0.5rem;
    line-height: 20px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #222;
    border: 2px solid #444;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    vertical-align: middle;
}

.checkbox-container:hover .checkmark {
    background-color: #2a2a2a;
    border-color: #666;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.checkbox-container input:focus + .checkmark {
    box-shadow: 0 0 10px rgba(0, 255, 81, 0.3);
    border-color: #2b0000;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #0f0;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 4px #0f0);
}

.checkbox-container input:checked + .checkmark::after {
    display: block;
}

.checkbox-container input:checked + .checkmark {
    background-color: #111;
    border-color: #0f0;
    box-shadow: 0 0 10px rgba(0, 255, 81, 0.4);
}

.notification {
    position: fixed;
    top: 0px; 
    left: 50%; 
    transform: translate(-50%, 0%);
    /* transform: ; */

    overflow: hidden; 
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    background-color: rgb(50, 50, 56);
    padding: 10px;
    width: 80vw;
    border-radius: 50px;

    transition: opacity 0.3s ease, width 0.25s ease, top 0.4s ease;

    color: white;

    z-index: 99999 !important;
}

.pop_up {
    position: fixed;
    /* position: absolute;  */
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    
    overflow: scroll; 
    box-shadow: 0 0 900px black, 0px 6px 10px rgba(0, 0, 0, 0.4) ;
    background-color: rgb(50, 50, 56);
    padding: 50px;
    width: 50%;
    max-height: 45%;
    
    transition: all 0.3s ease;
    
}

.pop_up > * {
    color: white;
}


footer {
    max-width: 30vw;
    /* position: fixed; */
    right: 50%;
    padding: 5px;
    transform: translate(50%);
    background-color: rgb(39, 39, 39);
    border-radius: 5px;
    color: rgb(255, 255, 255);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
    position: absolute;
    /* font-style: italic; */
    z-index: 2;
    width: 100vw;
    
    /* bottom: 6px; */
    text-align: center;
    
    font-size: small;
    /* margin-bottom: 5vh; */
}

a {
    
    color: rgb(91, 91, 255);
    transition: all 0.3s ease;
}

a:hover {
    font-size: large;
    transform: scale(1.1);
    color: rgb(80, 80, 227);
}

.red {
    background-color: rgba(255, 0, 0, 0.1); 
    color: rgb(170, 7, 7);             
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.blue {
    background-color: rgba(102, 153, 255, 0.1);
    color: rgba(102, 153, 255, 1);
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.green {
    background-color: rgba(0, 255, 85, 0.1);
    color: rgb(40, 108, 63);
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.yellow {
    background-color: rgba(255, 255, 102, 0.1);
    color: rgba(255, 255, 102, 1);
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.purple {
    background-color: rgba(204, 153, 255, 0.1);
    color: rgba(204, 153, 255, 1);
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.orange {
    background-color: rgba(255, 170, 102, 0.1);
    color: rgba(255, 170, 102, 1);
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.gray {
    background-color: rgba(128, 128, 128, 0.1); 
    color: rgba(128, 128, 128, 1);             
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}

.white {
    background-color: rgba(255, 255, 255, 0.1); 
    color: rgba(255, 255, 255, 1);             
    border-radius: 5px;
    padding: 0.2rem 0.4rem;
}


button {
    margin: 5px;
    font-size: 1.5rem;
    background-color: aliceblue;
    border-radius: 10px;
    border-color: white;
    border-style: solid;
    border-width: 5px;
    font-family: norwester, calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    transition: all 0.3s ease;
    z-index: 5;
    user-select: none;
}

button:hover {
    font-size: 1.6rem;
    background-color: antiquewhite;
}

button:active {
    /* font-size: 1.7rem;/ */
    background-color: rgb(187, 171, 151);
    transform: scale(0.8);
    
}

.segmented_study_settings, .gray_area {
    background-color: #acacac;
    padding: 20px;
    border-radius: 5px;
    margin: auto;
    max-width: 65vw;
    transition: all 0.5s ease;

}

#subtitle, .note {
    font-style: italic;
    color: rgb(90, 90, 90);
    pointer-events: none;
}


table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
    background-color: #acacac;
    transition: all 0.3s ease;
}

thead {
    /* background-color: rgba(102, 153, 255, 0.1); */
    background-image: linear-gradient(to right, rgba(102, 153, 255, 0.1), rgba(33, 107, 255, 0.1));
}

thead th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: rgb(0, 60, 181);
}

tbody td {
    padding: 0.75rem 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease-in-out;
}