@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap);

/* #region RESET */

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* #endregion */

/* #region SKIP TO CONTENT */
.skip-to-content {
    position: absolute;
    bottom: 100%;
    right: 100%;
    opacity: 0;
    color: inherit;
}

.skip-to-content:focus {
    bottom: unset;
    right: unset;
    top: 0;
    left: 0;
    opacity: 1;
}
/* #endregion */

/* #region GENERAL */
body {
    margin: 0;
    padding: 0;
    background: #00458A;
    color: #FFFFFF;
    font-size: 16px;
    font-family: Manrope, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrapper {
    position: relative;
    min-height: calc(var(--vh) * 100);
    display: flex;
    justify-content: center;
    align-items: center;
}
/* #endregion */

/* #region POPPER */
.popper {
    width: 40%;
    min-width: 200px;
    position: absolute;
    z-index: -1;
}

.popper__left {
    top: 0;
    left: 0;
}

.popper__right {
    bottom: 0;
    right: 0;
}

@media screen and (min-width: 768px) {
    .popper {
        width: 30%;
        min-width: 300px;
        max-width: 400px;
    }
}
/* #endregion */

/* #region CONTENT */
.content {
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content > * {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .content {
        padding: 3rem 2rem;
    }
}
/* #endregion */

/* #region CONTENT UPPER */
.content__upper {
    max-width: 960px;
    margin-bottom: 2rem;
}

.upper__logo {
    display: inline-block;
    width: 125px;
    margin-bottom: 1.5rrem;
}

.upper__body > *:first-child {
    margin-top: 0 !important;
}

.upper__body__headline {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.4;
}

.upper__body__description {
    margin-top: 0.5rem;
    font-size: 1.125rem;
}

@media screen and (min-width: 768px) {
    .upper__logo {
        width: 190px;
        margin-bottom: 2.75rem;
    }

    .upper__body__headline {
        font-size: 2rem;
    }
}
/* #endregion */

/* #region CONTENT PROVINCES */
.content__provinces {
    margin: 0 -1rem calc(1.5rem - 1rem) 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.content__provinces > * {
    margin: 0 1rem 1rem 0;
}

.provinces__province-card {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00458A;
    background: #FFFFFF;
    border-radius: 1rem;
}

.province-card__grid-wrapper {
    width: 100%;
    display: grid;
    row-gap: 1.5rem;
    grid-auto-rows: min-content;
}

.province-card__province {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
}

.province-card__loading {
    height: 9.75rem;
    position: relative;
    overflow: hidden;
    background-color: #eeeeee;
    border-radius: 1rem;
}

.province-card__loading--short {
    height: 2rem;
}

.province-card__loading::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
    content: '';
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.province-card__jackpot__label {
    font-size: 1rem;
}

.province-card__jackpot__value {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: #EC6A5B;
}

.province-card__coming-soon {
    margin: 0 0 0.75rem 0;
    font-size: 2.375rem;
    font-weight: 900;
    color: #EC6A5B;
}

.province-card__button {
    --bg: #EC6A5B;
    --cl: #FFFFFF;

    text-decoration: none;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cl);
    background: var(--bg);
    cursor: pointer;
    transition: transform 0.1s;
}

.province-card__button:hover {
    transform: scale(1.02);
}

.province-card__button--outline {
    background: transparent;
    border: 1px solid var(--bg);
    color: var(--bg);
}

@media screen and (min-width: 768px) {
    .content__provinces {
        margin: 0 -1rem calc(2rem - 1rem) 0;
    }

    .provinces__province-card {
        padding: 3rem;
    }

    .province-card__province {
        font-size: 2rem;
    }

    .province-card__jackpot__value {
        font-size: 3.5rem;
    }

    .province-card__coming-soon {
        font-size: 2.75rem;
    }

    .province-card__button {
        padding: 1rem 2rem;
    }
}
/* #endregion */

/* #region CONTENT BOTTOM */
.bottom__info {
    font-size: 0.875rem;
}

.content__licenses {
    border-top: 1px solid #1b53a6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 2rem;
}
    
.content__licenses__dot {
    display: none;
}

.license__wrapper > * {
    font-size: 0.875rem;
}

.license__province-name {
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .content__licenses {
        flex-direction: row;
    }
    
    .content__licenses__dot:not(:last-child) {
        display: block;
        margin: 0 1rem;
    }
}
/* #endregion */