html {
    font-family: "Source Code Pro", monospace;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

main {
    flex-grow: 1;
    display: block;
    animation: show 750ms;
    height: 100vh;
    position: relative;
}

.passing {
    background: rgb(57, 112, 151);
    transition: background-color 250ms ease;
}

.no-passing {
    background: rgb(186, 73, 73);
    transition: background-color 250ms ease;
}

.isScrolling {
    overflow: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.no-scrolling {
    overflow: hidden;
}

.container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    scroll-snap-align: start;
}

.tab-navigator-container {
    width: 90%;
    max-width: 450px;
    display: flex;
    gap: 0;
    margin: 10px;
    padding: 10px
}

.tab {
    width: 50%;
    height: 50px;
    background: none;
    border: 0px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #FFFFFF;
    font-weight: 700;
    border-bottom: rgba(255, 255, 255, 0.52) 4px solid;
    padding: 5px;
    transition: ease-in-out 250ms;
}

.tab:hover {
    border-bottom: #FF6B00 4px solid;
}

.active-tab {
    border-bottom: #FF6B00 4px solid;
    background: rgb(255, 255, 255, 0.3);
    border-radius: 5px 5px 0px 0px;
}

#welcome-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.display {
    width: 95%;
    max-width: 750px;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 20px;
    transition: all 500ms ease-in-out;
}


.label {
    width: 100%;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: none;
    color: #FFFFFF;
    margin-left: 0px;
}

#time-display {
    width: 100%;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: none;
    color: #FFFFFF;
    margin-left: 0px;
}

.passing-notice {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: 600;
}

.passing-notice>img {
    align-items: center;
}

.info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.26);
    width: 95%;
    max-width: 400px;
    gap: 0px;
    border-radius: 5px;
}

.info-lable {
    padding: 5px 5px;
    color: white;
}


#keyword {
    font-weight: 800;
}

#value {
    font-weight: 650;
}

.page-navigator-container {
    position: fixed;
    display: flex;
    gap: 20px;
    animation: show 1s;
}

.page-navigator-btn {
    width: 35px;
    background: none;
    border: inherit;
    cursor: pointer;
    transition: all ease-in-out 250ms;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    animation: show 500ms
}

.page-navigator-btn:hover {
    background: rgb(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all ease-in-out 250ms;
}

.page-navigator-btn>img {
    width: 80%;
}

.active-indicator {
    width: 10px;
    height: 10px;
    background-color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
}

.inactive-indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(166, 164, 164, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.schedule-periods-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.26);
    width: 95%;
    max-width: 400px;
    gap: 5px;
    border-radius: 5px;
}

.schedule-periods-label {
    color: white;
    padding: 5px;
    font-weight: 650;
}

.setting-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden scroll;
    padding: 40px 0px;
}

.setting-container {
    position: relative;
    max-width: 500px;
    border-radius: 5px;
    width: 95%;
    transition: all ease-in-out 250ms;
    background: #FFFFFF;
    color: rgba(0, 0, 0);
    padding: 0px 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    animation: show 500ms;
}

.setting-header {
    display: flex;
    width: 100%;
    font-weight: 750;
    border-bottom: 1px solid rgb(223, 223, 223);
    color: rgb(170, 170, 170);
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    padding: 5px;
}

.setting-close-btn {
    width: 25px;
    padding: 5px;
    border: inherit;
    background: none;
    border: none;
}

.setting-close-btn>img {
    width: 100%;
    cursor: pointer;
}

.setting-hidden {
    display: none
}

.setting-section {
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    color: rgb(170, 170, 170);
    font-weight: 650;
    font-size: 1.05rem;
}

.feedback-btn {
    background-color: rgb(57, 112, 151);
    border: none;
    cursor: pointer;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 250ms ease-in-out;
}

.feedback-btn:hover {
    transition: all 250ms ease-in-out;
    background-color: rgb(186, 73, 73);
}

.loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgb(57, 112, 151);
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.loading-overlay {
    width: 100%;
    height: 100vh;
    background: rgba(20, 20, 20, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden scroll;
}

.loading-label {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin: 40px 0px;
    border: 8px;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid #ffffff;
    animation:
        l20-1 0.8s infinite linear alternate,
        l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%)
    }

    12.5% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%)
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%)
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }

    62.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }

    75% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%)
    }

    100% {
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%)
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }

    49.99% {
        transform: scaleY(1) rotate(135deg)
    }

    50% {
        transform: scaleY(-1) rotate(0deg)
    }

    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}


@media screen and (max-height: 550px) {
    .schedule-periods-wrapper {
        flex-direction: row;
        padding: 1px;
    }
}

@media screen and (min-width: 700px) {
    .page-navigator-container {
        position: fixed;
        top: 0;
        left: 0;
        min-height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 10px;
    }
}

@media screen and (max-width: 700px) {
    .page-navigator-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-bottom: 10px;

    }
}


@keyframes show {
    0% {
        visibility: hidden;
        opacity: 0;
    }

    100% {
        visibility: visible;
        opacity: 1;
    }

}

@media screen and (max-width: 300px) {
    .passing-notice {
        font-size: 0.8rem;
    }

    .passing-notice>img {
        width: 20px;
    }
}

@media screen and (max-width: 750px) {
    .label {
        font-size: 1.1rem;
        font-weight: 800;
    }

    #time-display {
        font-size: 1.5rem;
        font-weight: 800;
    }

    .passing-notice>img {
        width: 20px;
    }
}

@media screen and (min-width: 750px) {
    .label {
        font-size: 1.3rem;
        font-weight: 750;
    }

    #time-display {
        font-size: 1.8rem;
        font-weight: 750;
    }

    .passing-notice>img {
        width: 20px;
    }
}