.c-country-switcher {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
    opacity: 1;
}

.c-country-switcher.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.c-country-switcher__toggle {
    cursor: pointer;
}

.c-country-switcher__content {
    position: relative;
    background: #F5F5F5;
    padding: 2.625em 3.25em;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.c-country-switcher__content.is-hidden {
    display: none;
}

.c-country-switcher.is-hidden .c-country-switcher__content {
    transform: translateY(-100vh);
}

.c-country-switcher__close {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 0 10px;
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
}

.c-country-switcher__current-country {
    padding: 30px;
    width: auto;
    max-width: 700px;
    text-align: center;
    margin: 0 20px;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__current-country {
        margin: 0;
        padding: 3em;
    }
}

.c-country-switcher__current-country > * + * {
    margin-top: 20px;
}

.c-country-switcher__current {
    color: #D95BB7;
    font-size: 20px;
    font-weight: 600;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__current {
        font-size: 22px;
    }
}

.c-country-switcher__btn {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #56BF99;
    border-radius: 2rem;
    padding: 0.625rem 3rem;
    transition: background-color .3s;
    margin: 40px auto 0;
    border: none;
}

.c-country-switcher__btn:hover,
.c-country-switcher__btn:active,
.c-country-switcher__btn:focus {
    background-color: #53CEA2;
    color: #fff;
}

.c-country-switcher__country-selection {
    width: 100vw;
    height: 100vh;
    max-height: -webkit-fill-available;
    overflow-x: scroll;
    padding: 10px 0 0 0;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__country-selection {
        margin-top: 40px;
        align-self: flex-start;
        overflow: auto;
        padding: 2.625em 1.5em;
        max-width: 1400px;
        height: auto;
        max-height: calc(100vh - 80px);
    }
}

@media screen and (min-width: 820px) {
    .c-country-switcher__country-selection {
        padding: 2.625em 3.25em;
    }
}
@media screen and (min-width: 1024px) {
    .c-country-switcher__country-selection {
        margin-top: 80px;
        max-height: calc(100vh - 160px);
    }
}


.c-country-switcher__country-item {
    display: flex;
    flex-shrink: 0;
    flex-basis: 50%;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
}

@media screen and (min-width: 540px) {
    .c-country-switcher__country-item {
        flex-basis: 33.333%;
    }
}

@media screen and (min-width: 767px) {
    .c-country-switcher__country-item {
        flex-direction: row;
        margin-bottom: 25px;
    }
}

@media screen and (min-width: 1150px) {
    .c-country-switcher__country-item {
        flex-basis: 25%;
    }
}

@media screen and (min-width: 1400px) {
    .c-country-switcher__country-item {
        flex-basis: 20%;
    }
}

.c-country-switcher__country-item.is-hidden {
    display: none;
}

.c-country-switcher__country-name {
    font-size: 14px;
    font-weight: 600;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__country-name {
        font-size: 16px;
    }
}

.c-country-switcher__country-meta {
    margin: 8px 0 0 0;
    line-height: 1.2;
}

@media screen and (min-width: 767px) {
    .c-country-switcher__country-meta {
        margin: 0 0 0 10px;
    }
}

.c-country-switcher__country-link {
    font-size: 13px;
    color: #0D75B5;
    text-decoration: underline;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__country-link {
        font-size: 14px;
    }
}

.c-country-switcher__country-list {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__country-list {
        padding: 0;
    }
}

.c-country-switcher__headline {
    font-size: 20px;
    font-weight: 600;
    padding: 0 20px;
}

@media screen and (min-width: 374px) {
    .c-country-switcher__headline {
        font-size: 22px;
    }
}

@media screen and (min-width: 720px) {
    .c-country-switcher__headline {
        font-size: 26px;
        padding: 0
    }
}

.c-country-switcher__region-list {
    list-style: none;
    margin: 1em 0 1.75em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__region-list {
        justify-content: flex-start;
    }
}

.c-country-switcher__region-item {
    background: #fff;
    padding: 0.75em 20px;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    flex-basis: calc(50% - 2px);
    margin-bottom: 4px;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__region-item {
        font-size: 18px;
        padding: 0.75em 2em;
        flex-basis: auto;
        margin-bottom: 0;
    }
}

.c-country-switcher__region-item:hover,
.c-country-switcher__region-item.is-active {
    cursor: pointer;
    background: #d95bb7;
    color: #fff;
}

@media screen and (min-width: 720px) {
    .c-country-switcher__region-item + .c-country-switcher__region-item {
        margin-left: 20px;
    }
}

.c-country-switcher__country-flag {
    max-width: 60px;
}