*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    /* background-color: #ffffff; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100lvh;
    font-family: 'Muzzard', Arial, sans-serif;
    background-image: url(img/background_2.jpg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
}
body.is-loading{
    overflow: hidden;
}

.container_quiz_gl{
    width: 80vw;
    height: auto;

    background: #4cb7f3;
    border-radius: 40px;
    -webkit-box-shadow: -4px 12px 16px 0px rgba(34, 60, 80, 0.23);
    -moz-box-shadow: -4px 12px 16px 0px rgba(34, 60, 80, 0.23);
    box-shadow: -4px 12px 16px 0px rgba(34, 60, 80, 0.23);
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 2em;
}
.text_header_quiz{
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    margin: 0.3em 0;
}
.container_buts{
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    display: none;
}
.buts-quiz
{
    width: 100%;
    height: 5em;
    background-color: #fbcd20;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0.6em 0;
    font-size: 1.2em;
    cursor: pointer;
    border: 0;
    color: black;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.is-click-locked{
    opacity: 0.7;
    pointer-events: none;
}
.loading-overlay{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 55, 74, 0.28);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
}
.loading-overlay.is-visible{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.loading-overlay__content{
    min-width: 13rem;
    max-width: 80vw;
    padding: 1.25rem 1.5rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 32px rgba(34, 60, 80, 0.24);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
}
.loading-overlay__text{
    font-size: 1rem;
    color: #1f3442;
}
.loading-spinner{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 0.32rem solid rgba(76, 183, 243, 0.25);
    border-top-color: #1f6fb0;
    animation: loading-spin 0.8s linear infinite;
}

.text-quiz{
    width: 80%;
    height: auto;
    font-size: 1.2em;
    margin: 0.6em 0;
}
.inputs-quiz{
    width: 80%;
    height: 3em;
    border-radius: 5px;
    border: 0;
    background-color: white;
    padding: 0.5em 0.5em;
    margin: 0.4em 0;

    font-size: 1.0em;
}
.modal_container_content{
    width: 90%;
    border-left: 2px white solid;
    height: auto;
    min-height: 7em;
    max-height: 9em;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.3em;
    display: flex;
    flex-direction: column;
}
.link_quiz_modal{
    color: black;
    text-decoration: none;
    margin: 0.3em;
}
.appointments-status{
    width: 100%;
    padding: 0.7em;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.45);
}
.appointments-status-muted{
    margin-top: 0.5em;
    font-size: 0.95em;
    background: transparent;
}
.form-invite{
    height: 22em;
}
.color-1{
    background-color: #55bb53;
}
.color-2{
    background-color: #f3c537;
}
.color-3{
    background-color: #e2362f;
}
.color-dark{
    background-color: #b2b2b2;
}
.home_but{
    position: absolute;
    
    top: 13%;
    left: 10%;
    transform: translate(-50%, -50%);

    border: 0;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    text-align: start;
    /* padding: 0 1em; */
    visibility: hidden;
}
#default{
    display: flex;
}
.form-new_client{
    width: 80%;
    height: 90%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}
.input_form-new_client{
    width: 100%;
    background-color: #4cb6f300;
    border: 0;
    border-bottom: 1px solid black;
    padding: 0.5em 0.5em;
    color: black;
    font-size: 0.98em;
    border-radius: 0px;
}
.input_form-new_client:focus-visible{
    border: 2px solid white;
    background-color: white;
    border-radius: 10px;
    outline: 0;
}
.submit_form-new_client{
    height: 3em;
    font-size: 1.2em;
    padding: 1em;
    margin-top: 1em;
}
.submit_form-new_client:disabled{
    opacity: 0.65;
    cursor: not-allowed;
}
.text_form{
    font-size: 1.1em;
}
.close_menu{
    font-size: 2em;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0.5em;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.container-drop_down_menu-gl{
    position: absolute;
    width: 100vw;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.container-drop_down_menu{
    width: 90vw;
    height: 90vh;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    padding: 0 2em;
    padding-top: 2em;
    padding-bottom: 2em;
    background-color: #4cb7f3;
}
.link_quiz_modal{
    padding: 0.5em 0.5em;
    background: #f3c537;
    text-align: center;
    border-radius: 5px;
}
.OR{
    width: 0;
    height: 0;
    visibility: hidden;
}
.OR+label{
    font-size: 1.2em;
    padding: 0.5em 1.2em;
    border-radius: 10px;
    background-color: #f3c537;
    margin-bottom: 1em;
}
.OR:checked+label{
    background-color: #f3c537;
}
.arrow_container{
    width: 100%;
    display: flex;
    justify-content: end;
    height: auto;
}
.arrow_up_documents{
    width: min-content;
    font-size: 7.5em !important;
    color: #55bb53;
    animation-duration: 1s;
    animation-name: slidedownup;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transform-origin: center center;
    rotate: 45deg;
}
.buts_back-gl-page{
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 1.1em;
}
.span_sec-back-gl-page{
    font-size: 0.8em;
    color: rgb(66, 66, 66);
}
.timer_animated{
    position: absolute;
    background-color: #4FB8C5;
    /* background-image: linear-gradient(90deg, #55bb53 0%,#55bb53 50%, #55bb532f 50%); */

    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);

    border: 4px #55bb53 solid;
    width: 33em;
    display: flex;
    align-items: flex-start;
}
.new-client-timer_home{
    top: 78% !important;
}
.progress_bar_timer{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #55bb53;
    display: flex;
    align-items: left;
    animation: progress_bar_timer 30s linear;
}
/* .dont_spam_click{
    pointer-events: none;
} */
.new-client_container{
    margin-top: -8em;
}
@keyframes progress_bar_timer {
    from {
        width: 0%;
    }
  
    to {
        width: 100%;
    }
  }
@keyframes slidedownup {
    from {
        translate: -10px 10px;
    }
  
    to {
        translate: 0 0;
    }
  }
@keyframes loading-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
@media(max-width: 398px){
    .inputs-quiz{
        width: 100%;
    }
    .text-quiz{
        width: 100%;
        font-size: 1em;
    }
    .container_quiz_gl{
        width: 90vw;
        
        padding: 1.5em;
    }
    .container-drop_down_menu{
        width: 90vw;
    }
    .loading-overlay__content{
        width: calc(100vw - 3rem);
    }
}
@media(min-width: 700px){
    .buts-quiz{
        height: 6em;
        font-size: 1.7em;
    }
    .container_quiz_gl{
        width: 90vw;
        height: 90vh;
    }
    .text_header_quiz{
        font-size: 2.7em;
    }
    .link_quiz_modal{
        font-size: 1.5em;
    }
    .modal_container_content{
        max-height: 25em;
    }
    .span_home{
        font-size: 3.5em;
    }
    .home_but{
        padding-left: 2em;
    }
    .input_form-new_client{
        font-size: 1.7em;
    }
    .close_menu{
        font-size: 3.4em;
    }
    .submit_form-new_client{
        height: 4em;
        font-size: 1.7em;
    }
    .text-quiz{
        width: 90%;
        font-size:2em;
    }
    .text-quiz_gl{
        font-size:2.4em;
    }
}
@media(max-height: 800px){
    .buts-quiz{
        height: 5em;
        font-size: 1.7em;
    }
    .modal_container_content{
        max-height: 20em;
    }
    .home_but{
        padding-left: 0;
    }
    body{
        background-size: 100% auto;
    }
}
