@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.start-btn {
    height: 85px;
    width: 280px;
    border-radius: 10px;
    border: 5px solid #ffc74e;
    background-color: #f0ba48;
    font-size: 38px;
    color: white;
    transition: 0.3s ease;
    cursor: pointer;
}

.start-btn:hover {
    transform: scale(0.95);
    background-color: #dfad43;
    border-color: #dfad43;
}

/*TODO question */
.question {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 600px;
    width: 850px;
    border-radius: 20px;
    background-color: white;
    border: 2px solid #cacaca;
}

.question-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px 20px 0px 0px;
    background-color: #e9e9e9;
    width: 100%;
    height: 70px;
    position: relative;
}

.question-top-start-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    width: 100%;
}

.question-top-header {
    font-size: 25px;
    font-weight: 600;
}

.question-top-header-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 3px;
    background-color: #273870;
    color: white;
    height: 45px;
    padding: 0px 6px;
    border-radius: 5px;
}

.question-top-header-counter-number {
    background-color: #ec9e0d;
    height: 30px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.question-top-header-line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.question-top-header-line {
    width: 100%;
    height: 5px;
    background-color: #e9e9e9;
    position: relative;
}

.question-top-header-line-color {
    width: 0%;
    height: 5px;
    background-color: #ec9e0d;
    position: absolute;
    left: 0;
    animation-name: lineColor;
    animation-duration: 10s;
    animation-timing-function: linear;
}

.question-center {
    height: 470px;
    width: 100%;
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.question-center-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.question-center-option {
    height: 50px;
    width: 100%;
    font-size: 18px;
    text-align: left;
    padding-left: 18px;
    border-radius: 5px;
    border: 1px solid black;
    background-color: white;
    cursor: pointer;
}

.question-center-option:hover {
    background-color: #ffc74e;
}

.question-bottom {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #e9e9e9;
    border-radius: 0px 0px 20px 20px;
}

.question-bottom-question-number-container {
    height: 30px;
    padding: 0px 15px;
    background-color: #f5af2d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    border-radius: 3px;
}

.question-bottom-btn {
    padding: 6px 8px;
    background-color: #0066ff;
    border: none;
    font-size: 18px;
    color: white;
    font-weight: 400;
    border-radius: 3px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.question-bottom-btn:hover {
    background-color: #0052cc;
}

.finish {
    height: 400px;
    width: 750px;
    border: 1px solid #b9b9b9;
    border-radius: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.finish-text-container {
    font-size: 22px;
}

.finish-question-number {
    color: #0066ff;
}

.finish-correct-number {
    color: #0066ff;
}

.finish-btn {
    background-color: #0066ff;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.1s ease;
}

.finish-btn:hover {
    transform: scale(0.95);
    background-color: #0058db;
}

.finish-icon-container {
    font-size: 120px;
    color: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.display {
    display: none;
}

.correct {
    background-color: rgb(120, 221, 120, 0.5);
}

.wrong {
    background-color: rgb(236, 78, 78, 0.5);
}

.disabled {
    pointer-events: none;
}

@media only screen and (max-width: 860px){
    .question {width: 650px;}
    .finish {width: 650px;}
}

@media only screen and (max-width: 660px){
    .question {width: 550px;}
    .finish {width: 550px;}
}

@media only screen and (max-width: 560px){
    .question {width: 450px;}
    .finish {width: 450px;}
}

@media only screen and (max-width: 460px){
    .question {width: 350px;}
    .finish {width: 350px;}
}