/*
Template Name: Quiz Times
*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
    --primary-color: #8F0E35;
    --primary-dark: #7B0A2C;
    --secondary-color: #9E1C43;
    --shadow-primary: #4D0707;
    --shadow-secondary: #840028;
    --green-color: #235723;
    --pink-light: #ED697C;
    --white: #FFF;
    --off-white: #FFFAF0;
    --disabled-color: #BFBEBE;
    --Primary-Main: #8F0E35;
    --Background-color: #FFF;
    --body-font-family: "Cormorant Infant";
    --h1-font-size: 58px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 26px;
    --h6-font-size: 22px;
    --p-font-size: 20px;
    --menu-font-size: 14px;
    --btn-font-size: 16px;
    --copyright-font-size: 16px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}
*, ::after, ::before {
    box-sizing: border-box;
}
@font-face {
    font-family: "Bovine MVB";
    src: url("../fonts/fonnts.com-Bovine_MVB_Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTM Neutra';
    src: url('../fonts/UTMNeutra.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family), "UTM Neutra", sans-serif !important;
    scroll-behavior: smooth;
    height: 100%;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
}
footer {
    background-color: var(--Primary-Main);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--Background-color);
    z-index: 10;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    bottom: 0;
    h5 {
        font-family: "Bovine MVB", serif;
        letter-spacing: 0.75px;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 1.2;
        font-size: 15px;
    }
}
.footer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1388px;
    padding: 0 30px;
    position: relative;
}
.banner__language-container {
    position: absolute;
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
    display: none;
    z-index: 100;
}
.icon-setting {
    cursor: pointer;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 7px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 10px;
}
.select2-container {
    width: 120px !important;
    font-family: "Cormorant Infant";
    font-size: 12px;
    font-weight: 800;
}
.select2-container--default .select2-selection--single {
    border: none !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 8px !important;
    padding-right: 8px !important;
    border-radius: 4px;
    border: 0.5px solid #8F0E35;
    background: #FFF5E7;
}
.select2-container--default .select2-selection--single .select2-selection__rendered span {
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.select2-container .select2-selection--single {
    height: auto !important;
    width: 120px !important;
}
.select2-results__option--selectable span{
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.select2-selection__arrow {
    display: none !important;
}
.flag-icon {
    width: 24px;
    height: 18px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
}
.skiptranslate {
    display: none;
}
.show {
    position: fixed !important;
}

.d-none {
    display: none !important;
}
.disabled {
    pointer-events: none;
    cursor: not-allowed;
    border: 1px solid #BFBEBE !important;
    box-shadow: 0 6px 0 #BFBEBE !important;
    color: #BFBEBE !important;
}
.disabled svg path {
    fill:#BFBEBE !important;
}
.overlay-gif {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--Background-color);
    z-index: 9;
    overflow: hidden;
}

.overlay-gif--show {
    display: flex;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.overlay-gif__gif img {
    width: 250px;
    height: 324px;
    flex-shrink: 0;
}

.overlay-gif__text {
    color: var(--Primary-Main, #9E1C43);
    text-align: center;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background-image: url("../images/BG_home.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.gr-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 19px;
}
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "UTM Neutra", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    padding: 16px 32px;
    cursor: pointer;
    border-radius: 10px;
    color: var(--white);
    text-transform: uppercase;
    flex-shrink: 0;
    border: 1px solid var(--primary-color);
    transition: background 0.2s, box-shadow 0.2s;
}

.button:active {
    box-shadow: none;
}

/* Button sizes */
.button--s {
    width: 194px;
    height: 47px;
}

.button--l {
    width: 240px;
    height: 63px;
}

/* Button variants */
.button--banner {
    width: 276px;
    height: 72px;
    font-size: 30px;
    background: var(--secondary-color);
    box-shadow: 0 10px 0 var(--shadow-primary);
    border: 0;
}

.button--next {
    background: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 6px 0 var(--shadow-secondary);
}

.button--back {
    color: var(--pink-light);
    border: 0;
    background: transparent;
}

.button--confirm {
    background: var(--secondary-color);
    box-shadow: 0 6px 0 var(--shadow-primary);
    border: 0;
}

.button--restart {
    font-size: 20px;
    background: var(--white);
    color: var(--green-color);
    box-shadow: 0 6px 0 var(--green-color);
    border: 1px solid var(--green-color);
}

.button--home {
    font-size: 20px;
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 0 var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Hover effects */
.button--banner:hover,
.button--confirm:hover {
    background: var(--primary-dark);
}

.button--next:hover,
.button--restart:hover,
.button--home:hover {
    background: var(--off-white);
}

.button--back:hover,
.button--back:active {
    color: var(--secondary-color);
}

.button--back:hover svg path,
.button--back:active svg path {
    fill: var(--secondary-color);
}
@media (max-width: 768px) {
    .gr-btn {
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: column-reverse;
        gap: 10px
    }
}

@media (max-width: 475px) {
    footer {
        h5 {
            font-size: 12px;
        }
    }
}