* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --border-color-grey: #E3DFD6;
    --dark-yellow-one: #FAB818;
    --purple-color-one: #5635D7;
    --shadow-color-one: #E3DFD6;
    --light-text-color: #FFFFFF;

}

h1, h2, button, h5 {
    font-family: 'BAGOTA LOS', sans-serif;
}


p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 0.695rem + 0.561vw, 1.2rem);
    font-weight: 600;
}

h5 {

    font-size: clamp(1rem, 0.88rem + 0.8vw, 1.6rem);
}


h1 {
    font-size: clamp(1.5rem, 0.842rem + 3.509vw, 4rem);
}

button {
    font-size: clamp(1.2rem, 1.095rem + 0.561vw, 1.6rem);
}


.moviequiz-section, .question-container, .start-site, .options-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.moviequiz-section {
    justify-content: center;
    width: 100vw;
    gap: 1rem;
    padding: 2rem;
}

.question-container, .options-container {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color-grey);
}

.question-container {
    background-color: var(--dark-yellow-one);
    justify-content: flex-start;
    position: relative;
    height: 70vh;
}

.start-site, .play-site {
    width: 100%;
    padding: 1rem;
    text-align: center;
    color: white;
    text-shadow: var(--purple-color-one) 2px 2px 2px;
    visibility: visible;
    z-index: 10;
}

.logo-box {
    width: 40%;
    margin-bottom: 15vh;
}

.logo-box img {
    width: 100%;
}

.quiz-title {
    margin-bottom: 5vh;
}

.start-button button {
    border: 1px solid var(--purple-color-one);
    background-color: var(--purple-color-one)  ;
    box-shadow: var(--shadow-color-one) 0 8px 16px;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--light-text-color);
    text-shadow: var(--dark-yellow-one) 1px 1px;
}

.options-container {
    background-color: var(--purple-color-one);
    justify-content: center;
    padding: 0 1rem;
}

.options-box {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1rem;
    justify-items: center;
    padding: 10px;
}

.options {
    border: 8px solid var(--dark-yellow-one);
    width: 100%;
    height: auto;
}

.start-card {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    position: relative;
}

.start-card img {
    width: 100%;
    height: 100%;
}

.start-card h1 {
    z-index: 10;
    position: absolute;
    padding: 1rem;
    color: var(--purple-color-one);
}

#playSite , .playsite-header{
    display: flex;
    justify-content: center;

}
/*disabled*/
.options.disabled{
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    transform: scale(0.95);
    transition: all 0.3s ease;
}



.play-site {
    align-items: center;
    flex-direction: column;
    position: absolute;
    visibility: hidden;
    z-index: -1;
    height: 100%;
}


.playsite-header {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.logo-box2 {
    width: 20%;
}

.logo-box2 img {
    width: 100%;
}

.question-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--purple-color-one);
    background-color: var(--light-text-color);
    border-radius: 15px;
    margin: 1rem;
    height: fit-content;
    width: inherit;
}

/*dynamic Questions being showed*/
.question-header {
    color: var(--purple-color-one);
    text-shadow: none;
    margin-bottom: 10px;
}

.question-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 1rem;
}

.choices {
    color: black;
    text-shadow: none;
    border: 2px solid var(--dark-yellow-one);
    border-radius: 10px;
    width: fit-content;
    padding: 1rem;
}

.choices-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.not-choice {
    pointer-events: none;
    opacity: 0.3;
    cursor: not-allowed;
    border: 10px solid red;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-answer, .modal-wrong-answer {
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: width 4s ease-in-out;

}

.modal-alert-text {
    background-color: #FFFFFF;
    border: 2px solid var(--purple-color-one);
    border-radius: 15px;
    padding: 1rem;
}

.modal-content {
    width: 50vw;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.modal-content img {
    width: 100%;
}

@media screen and (min-width: 1200px) {
    .moviequiz-section {
        flex-direction: row;
    }

    .question-container, .options-container {
        width: 50%;
        height: 92vh;
    }

    .modal-content {
        width: 35vw;
    }

}
