/***** FONT ****/

/* Open Sans, self-hosted (assets/fonts, SIL Open Font License in OFL.txt):
   variable fonts from @fontsource-variable/open-sans 5.3.0, one file per script, all weights */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/open-sans-latin-ext-wght-normal-5HI45_X.woff2") format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/open-sans-latin-wght-normal-30nvAOJ.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --blue: #3c94b8;
    --brown: #A57C56;
    --purple: #95598F;
    --gold: #d58d09;
    --red: #bd2953;
    --green: #86b423;
    --pink: #d63384;
    --orange: #c76c21;
    --teal: #568a89;
    --cyan: #0dcaf0;
    --black: #000;

    --grey-band: #EEE;
    --kot-grey: #4a4a49;

    --stat-item-height: 400px;
}

/***** RESET (what the page used from Bootstrap's reboot) ****/

*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
}
h1,
h2,
h3 {
    margin: 0 0 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}
h1 {
    font-size: clamp(1.75rem, 1.375rem + 1.5vw, 2.5rem);
}
h2 {
    font-size: clamp(1.6rem, 1.325rem + 0.9vw, 2rem);
}
p {
    margin: 0 0 1rem;
}
img {
    vertical-align: middle;
}

/***** GLOBAL ****/

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    background-color: #fff;
}
img {
    max-width: 100%;
    height: auto;
}
a,
a:hover,
a:visited,
a:active {
    color: #333;
}
.section {
    padding: 40px 16px;
}

.section-title {
    padding: 60px 0 40px 0;
}

/**** HEADER ****/

#header-container {
    background-color: var(--grey-band);
    padding: 0 16px 70px;
}
.header {
    margin-bottom: 20px;
}
#row-logo {
    margin: 0;
    padding: 60px 0;
    text-align: center;
}
#logo-header {
    height: 130px;
    width: auto;
}
#slogan {
    font-size: 30px;
    line-height: 47px;
    font-weight: 400;
    text-align: center;
}

/**** SITES ****/

#logo-sites {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 65px;
}
#logo-sites a {
    display: inline-block;
    margin: 0 0 1rem;
}
#logo-sites img {
    padding: 2px 0;
}
.logo-site {
    height: 100px;
    width: auto;
    max-width: inherit;
    margin: 40px;
}
.logo-site--brussels {
    height: 105px;
}

#headline {
    text-align: center;
    font-size: 26px;
    margin-bottom: 50px;
}
#headline p {
    max-width: 760px;
    margin: 0 auto 3rem;
}

/**** STATS ***/

#stats {
    padding: 40px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    color: #fff;
}

#stats > div {
    height: var(--stat-item-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stats-number {
    font-size: 60px;
}

.stats-label {
    font-size: 30px;
}

#stats-videos {
    background-color: var(--blue);
}
#stats-owners {
    background-color: var(--green);
}
#stats-listings {
    background-color: var(--pink);
}
#stats-signups {
    background-color: var(--brown);
}
#stats-photos {
    background-color: var(--teal);
}
#stats-contacts {
    background-color: var(--purple);
}
#stats-visits {
    background-color: var(--green);
}
#stats-page-views {
    background-color: var(--gold);
}

/***** TESTIMONIALS ****/

#testimonials {
    max-width: 1116px;
    margin-left: auto;
    margin-right: auto;
}

blockquote {
    border-left: 8px solid #e1e1e1;
    padding-left: 15px;
    margin: 0 0 40px;
}

blockquote footer {
    font-weight: 700;
}

/***** FOOTER ****/

.footer {
    background-color: var(--grey-band);
    padding: 60px 16px 30px;
    text-align: center;
}
.footer__mark {
    display: block;
    margin: 0 auto 24px;
}
.footer__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 28px;
    font-size: 16px;
}
.footer__cities a {
    text-decoration: none;
}
.footer__cities a:hover {
    text-decoration: underline;
}
.footer__copyright {
    margin: 28px 0 0;
    font-size: 13px;
    color: #888;
}

/***** LANGUAGE SWITCHER ****/

.lang {
    text-align: right;
    padding: 12px 4px 0;
    font-size: 15px;
}
.lang a,
.lang__current {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 10px;
    border-radius: 999px;
}
.lang a,
.lang a:visited {
    color: #777;
    text-decoration: none;
}
.lang a:hover,
.lang a:focus-visible {
    color: #333;
}
/* the kot circle grey */
.lang__current {
    background-color: var(--kot-grey);
    color: #fff;
}

/***** ERROR PAGES ****/

.error-page {
    padding: 120px 16px;
    text-align: center;
}

/*******************/
/****** 768 PX *****/
/********************/

@media screen and (min-width: 768px) {

    #stats {
        grid-template-columns: 1fr 1fr;
    }
}

/*******************/
/****** 992 PX *****/
/********************/

@media screen and (min-width: 992px) {

    /* two columns of quotes that flow like a newspaper, so short and long quotes leave no gaps */
    .testimonials-grid {
        columns: 2;
        column-gap: 40px;
    }
    .testimonials-grid blockquote {
        break-inside: avoid;
    }
}
