:root {
    --color-brand1: #0066b3;
    --color-white: #fff;
    --color-black-primary: #363636;
    --color-black-secondary: #616161;

    --member-counter-width: 50%;
    --member-counter-gap: 40px;
    --member-counter-dir: row;
}

@font-face {
    font-family: GenosGFG;
    font-style: normal;
    font-weight: 400;
    src:
        url("../assets/fonts/GenosGFG-Regular.woff2") format("woff2"),
        url("../assets/fonts/GenosGFG-Regular.woff") format("woff")
    ;
    font-display: fallback
}

@font-face {
    font-family: GenosGFG;
    font-style: normal;
    font-weight: 700;
    src:
        url("../assets/fonts/GenosGFG-Bold.woff2") format("woff2"),
        url("../assets/fonts/GenosGFG-Bold.woff") format("woff")
    ;
    font-display: fallback
}

html {
    font-size: 62.5%; /* 10px */
}

body {
    overflow: hidden;
    margin: 0;
    font-size: 1.3rem;
    font-family: GenosGFG, Arial, sans-serif;
    color: var(--color-black-secondary);
}

html,
body {
    background-color: var(--color-white);
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.member-counter {
    display: flex;
    flex-direction: var(--member-counter-dir);
    gap: var(--member-counter-gap);
}

.member-counter__img-wrapper {
    width: var(--member-counter-width);
}

.member-counter__text-wrapper {
    display: flex;
    flex-direction: column;
    width: var(--member-counter-width);
}

.member-counter__title {
    margin-top: auto;
    margin-bottom: 1.6rem;
    font-size: 2.2rem;
    line-height: 1.45;
    font-weight: 700;
    color: var(--color-black-primary);
}

.member-counter__number {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-brand1);
}

.member-counter__subline {
    display: block;
    margin-top: 0;
    margin-bottom: auto;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-black-primary);
}

.member-counter__lastest-update {
    margin: 16px 0 0;
    text-align: right;
}

@media screen and (max-width: 768px) {
    :root {
        --member-counter-gap: 24px;
    }
}

@media screen and (max-width: 599px) {
    :root {
        --member-counter-width: 100%;
        --member-counter-gap: 24px;
        --member-counter-dir: column;
    }
}
