/* Site colors
    background: ['#F6F6F6', '#F2F2F2'], // Gray
    black: ['#000000'],
    white: ['#fff'],
    blue:  ['#232C3D']
    gray:  ['#ECECEC', '#CFCFCF', '#7B7B7B', '#4B4B4B'],
*/

/* 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: Canela;
    src: url('/siteSelector/assets/fonts/Canela-Regular.woff2') format('woff2'),
        url('/siteSelector/assets/fonts/Canela-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: Lato;
    src: url('/siteSelector/assets/fonts/Lato-Regular.woff2') format('woff2'),
        url('/siteSelector/assets/fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
}

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: Lato;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-image: url(https://cura-production.imgix.net/2023/04/12093258/Satina_HERO_Mob.jpg?auto=compress,format&fit=crop&fp-x=0.5&fp-y=0.5fp-z=2&q=80&sat=25&w=800&ar=0.7);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 56px 24px 24px;
}

.wrapper::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    background: rgba(0, 0, 0, 0.1);
    user-select: none;
    pointer-events: none;
    z-index: -1;
}

@media screen and (min-width: 768px) {
    .wrapper {
        background-image: url(https://cura-production.imgix.net/2023/04/12093257/Satina_HERO_Desktop.jpg?auto=compress,format&fit=crop&fp-x=0.5&fp-y=0.5fp-z=2&q=80&sat=25&w=1000&ar=0.7);
    }
}

@media screen and (min-width: 992px) {
    .wrapper {
        background-image: url(https://cura-production.imgix.net/2023/04/12093257/Satina_HERO_Desktop.jpg?auto=compress,format&fit=crop&fp-x=0.5&fp-y=0.5fp-z=2&q=80&sat=25&w=1200&ar=1.8);
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        background-image: url(https://cura-production.imgix.net/2023/04/12093257/Satina_HERO_Desktop.jpg?auto=compress,format&fit=crop&fp-x=0.5&fp-y=0.5fp-z=2&q=80&sat=25&w=1600&ar=1.8);
    }
}

@media screen and (min-width: 2000px) {
    .wrapper {
        background-image: url(https://cura-production.imgix.net/2023/04/12093257/Satina_HERO_Desktop.jpg?auto=compress,format&fit=crop&fp-x=0.5&fp-y=0.5fp-z=2&q=80&sat=25&w=2000&ar=1.8);
    }
}

/* Hero */

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

.hero-wrapper .heading {
    font-family: 'Canela';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 110%;
    color: #fff;
    margin-bottom: 24px;
}

.hero-wrapper .heading .visually-hidden {
    /* Inclusively hidden since screen readers generally ignore anything with display: none. */
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

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

/* Site Selector */

.site-selector {
    background-color: #fff;
    margin: 0 auto;
    width: 100%;
    max-width: 745px;
    overflow: hidden;
}

.site-selector .top-section {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #E4E2E0;
}

.site-selector .top-section .choose-location {
    font-family: 'Canela';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    color: #000000;
    text-align: center;
}

.countries-wrapper {
    height: calc(100% - 75px); /* 75px is the height of the .top-section */
    overflow-y: scroll;
    padding: 12px 24px;

    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.country {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #A5A2A1;
    padding: 16px 0;
    transition: all 0.25s cubic-bezier(0.32, 0.24, 0.15, 1);
    text-decoration: none;
    display: flex;
    grid-gap: 16px;
    align-items: center;
    cursor: pointer;
}

.country:hover {
    background-color: #FBF9F8;
    color: #000;
}

.flag {
    background-size: cover;
    height: 16px;
    width: 22px;
}

@media screen and (min-width: 768px) {
    .wrapper {
        justify-content: center;
        height: auto;
        min-height: 100vh;
        padding: 56px 24px;
    }

    .hero-wrapper {
        margin-bottom: 48px;
    }

    .site-selector .top-section {
        padding: 24px 32px;
    }

    .column {
        float: left;
        width: calc(100% / 3);
    }

    .countries-wrapper {
        display: flex;
        overflow: visible;
        padding: 24px 32px;
        height: 100%;
    }

    .country {
        padding: 16px;
    }
}