/* Site colors 
    background: ['#F8F2E3', '#F2F2F2'], // Gray
    greens: #423A0D: ['#423A0D', '#67634D'],
*/

/* Site spaces
    0, 4, 8, 12, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144
*/

@font-face {
    font-family: 'Area Normal';
    src: url('/site-selector/assets/fonts/AreaNormal-Bold.woff2') format('woff2'),
        url('/site-selector/assets/fonts/AreaNormal-Bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'Area Normal';
    src: url('/site-selector/assets/fonts/AreaNormal-Bold.woff2') format('woff2'),
        url('/site-selector/assets/fonts/AreaNormal-Bold.woff') format('woff');
    font-weight: 900;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
small,
strong,
ol,
ul,
li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    font-family: 'Area Normal';
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* wrapper page */
.wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(https://image.xevqaznurile.online/2022/06/01070614/Choose-location-9x16-mobile.jpg?q=70&w=768&auto=format);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* overlay */
.filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.25);
    user-select: none;
    pointer-events: none;
    z-index: -1;
}

/* flag general styles */
.flag {
    height: 16px;
    width: 16px;
}

@media screen and (min-width: 768px) {
    .wrapper {
        background-image: url(https://image.xevqaznurile.online/2022/06/01070614/Choose-location-9x16-mobile.jpg?q=70&w=992&auto=format);
    }
}

@media screen and (min-width: 992px) {
    .wrapper {
        background-image: url(https://image.xevqaznurile.online/2022/06/01070616/Choose-location-16x9-desktop.jpg?q=70&w=1200&auto=format);
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        background-image: url(https://image.xevqaznurile.online/2022/06/01070616/Choose-location-16x9-desktop.jpg?q=70&w=2000&auto=format);
    }
}

@media screen and (min-width: 2000px) {
    .wrapper {
        background-image: url(https://image.xevqaznurile.online/2022/06/01070616/Choose-location-16x9-desktop.jpg?q=70&w=2500&auto=format);
    }
}

/* HERO */

.hero-wrapper {
    width: 100%;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 24px 0;
}

.hero-wrapper .heading {
    font-size: 14px;
    font-weight: 700;
    margin: 91px 0 24px;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #f8f2e3;
}

.hero-wrapper .grandpastore-logo {
    height: auto;
    width: 100%;
    max-width: 264px;
}

.hero-wrapper label {
    display: flex;
    font-size: 10px;
    line-height: 15px;
    cursor: pointer;
    position: relative;
    margin-top: 32px;
    letter-spacing: 0.02em;
    color: #f8f2e3;
}

.hero-wrapper input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.hero-wrapper label .checkbox {
    color: #f8f2e3;
    width: 14px;
    height: 14px;
    border: 1px solid #f8f2e3;
    background: transparent;
    cursor: pointer;
    margin: 0 8px 2px 0;
    -webkit-transition: 0.25s cubic-bezier(0.32, 0.24, 0.15, 1);
    transition: 0.25s cubic-bezier(0.32, 0.24, 0.15, 1);
}

.hero-wrapper input:checked ~ div {
    background: #f8f2e3;
}

/* languages list */
.country-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: normal 16px;
    width: 100%;
    padding: 40px 16px;
}

.country-wrapper .countries {
    background-color: #f8f2e3;
    grid-column: 1 / span 12;
}

.country-wrapper .countries .top-section {
    padding: 17px 16px;
    border-bottom: 1px solid #c8c1b0;
    margin-bottom: 12px;
}

.country-wrapper .countries .top-section .choose-location {
    color: #423a0d;
    font-size: 14px;
    font-weight: 900;
    line-height: 1em;
}

.country-inner {
    padding: 0px 16px;
}

.country-inner:last-child {
    margin-bottom: 12px;
}

.country {
    font-size: 13px;
    line-height: 1.65em;
    color: #423a0d;
    text-decoration: none;
    padding: 12px 0;
    transition: opacity 0.25s cubic-bezier(0.32, 0.24, 0.15, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.country:hover {
    opacity: 0.4;
}

/* temporary inactive sites (for beta) */
.country-inner .disabled {
    pointer-events: none;
    opacity: 0.2;
}

@media screen and (min-width: 768px) {
    .hero-wrapper h1 {
        margin: 206px 24px 36px;
    }

    .country-wrapper {
        padding: 56px 3.125%;
    }

    .country-wrapper .countries {
        grid-column: 4 / span 6;
    }

    .country-inner {
        padding: 0px 24px;
        float: left;
        width: 50%;
    }

    .country-wrapper .countries .top-section {
        padding: 30px 24px;
        margin-bottom: 16px;
    }

    .country-wrapper .countries .top-section .choose-location {
        font-size: 20px;
    }

    .country-inner:last-child {
        margin-bottom: 16px;
    }
}

@media screen and (min-width: 1200px) {
    .hero-wrapper h1 {
        margin: 150px 24px 36px;
    }

    .country-wrapper {
        padding: 90px 1.666%;
        gap: normal 40px;
    }

    .country-wrapper .countries {
        grid-column: 5 / span 4;
    }

    .hero-wrapper label {
        margin-top: 46px;
    }

    .country-link {
        font-size: 14px;
        font-weight: 600;
    }
}