a {
    color: black;
    text-decoration: none;
}
body {
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #2196F3;
    font-size: 20px;
    padding: 15px;
}
div.body {
    padding: 25px;
    border-radius: 10px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}
html {
    scroll-behavior: smooth;
}
h1 {
    color: #2196F3;
    text-align: center;
    font-size: 35px;
}
.container {
    display: flex; 
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.element {
    flex: auto; 
    padding: 4%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.selection {
    text-align: center; 
    width: 100%;
    transition: all 0.5s ease;
}
.selected {
    text-align: center; 
    width: 35%;
    transition: all 0.5s ease;
}
.grade-style {
    border: 10px solid #2196F3;
    color: white;
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 60px;
    text-align: center;
    border-radius: 20px;
    font-weight: 700;
    width: 75px;
    margin-left: auto;
    margin-right: auto;
}
.grade-O {
    background-color: #1aff1a;
    color: #094e86;
    transition: all 0.5s ease;
}
.grade-Ap {
    background-color: #33cc33;
    color: #094e86;
    transition: all 0.5s ease;
}
.grade-A {
    background-color: #66ff66;
    transition: all 0.5s ease;
    color: #094e86;
}
.grade-Bp {
    background-color: yellow;
    color: black;
    transition: all 0.5s ease;
}
.grade-B {
    background-color: orange;
    color: black;
    transition: all 0.5s ease;
}
.grade-C {
    background-color: #ff9999;
    color: white;
    transition: all 0.5s ease;
}
.grade-RA {
    background-color: #ff5050;
    color: white;
    transition: all 0.5s ease;
}
button {
    background-color: white;
    font-size: 20px;
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: none;
}
.up-unclicked, .down-unclicked {
    transition: all 0.5s ease; 
    height: 40px; 
    vertical-align: top; 
    border-radius: 10px;
}
.up-unclicked:hover {
    background-color: green; 
    color: lightgreen; 
    transform: translateY(-10px);
}
.down-unclicked:hover {
    background-color: red; 
    color: lightcoral; 
    transform: translateY(10px);
}
.ok-unclicked {
    border-radius: 10px;
    transition: all 0.5s ease;
    height: 50px;
} 
.ok-unclicked:hover {
    transform: translateX(10px);
    background-color: chocolate;
    color: white;
}
.count::before {
    content: "0";
}
.count {
    font-size: 60px;
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    background-color: black;
    border: 5px solid yellow;
    border-radius: 20px;
    width: 75px;
    height: 75px;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
}
.custom-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}
.custom-checkbox:hover {
    border: #ccc solid;
    border-radius: 10px;
    color: #2196F3;
}
.custom-checkbox:hover .checkmark {
    background-color: #ccc;
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background-color: #2196F3;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
h2 {
    text-align: center;
}
#sem-results {
    border-radius: 25px;
    width: 0%;
}
.white {
    white-space: pre-wrap; 
    color: white;
}
.climax-button {
    transition: all 0.5s ease;
    border-radius: 20px;
    height: 50px;
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
}
.climax-button:hover {
    background-color: #2196F3;
    color: white;
    transform: translateY(5px);
}
@media (max-width: 768px) {
    h1 {
        border: #2196F3 solid;
        border-radius: 20px;
        border-top: none;
    }
    .button-clicked {
        width: 50%;
        text-align: left;
    }
    .container {
        display: block;
        width: 100%;
    }
    .selected, #sem-results {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .custom-checkbox:hover {
        border: none;
        color: #2196F3;
    }
    .checkmark {
        height: 25px;
        width: 25px;
    }
    .custom-checkbox .checkmark:after {
        left: 8px; /* Adjusted position */
        top: 4px; /* Adjusted position */
        width: 6px; /* Adjusted width */
        height: 12px; /* Adjusted height */
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }
    .white {
        font-size: 0px;
    }
    .slider {
        /* aspect-ratio: 1 / 1; */
        height: fit-content;
        position: relative;
    }
    .slider-container {
        padding: 5px;
    }
    #messenger {
        min-height: 90px;
    }
}
.whitespace {
    white-space: pre-wrap;
}
input[type="number"] {
    font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    width: 80px;
}
.slider-container {
	padding: 1rem;
}
.slider-wrapper {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}
.slider {
	display: flex;
	/* aspect-ratio: 16 / 9; */
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
	border-radius: 0.5rem;
	-ms-overflow-style: none; /* Hide scrollbar IE and Edge */
	scrollbar-width: none; /* Hide scrollbar Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
	display: none;
}
.slider div {
	flex: 1 0 100%;
	scroll-snap-align: start;
	object-fit: cover;
}
#messenger {
    padding: 5px;
    text-align: center;
    min-height: 45px;
    vertical-align: middle;
}
.progressive-bar {
    background-color: orange;
    height: 5px;
    transition:all 0.5s ease;
    margin-top: 25px;
    border-radius: 5px;
}
#final-result {
    text-align: center;
    background-color: red;
    border-radius: 20px;
    color: white;
    padding: 20px;
    display: none;
}
