:root {
    /* Bobex colors */
    --bobex-blue: #185EA7;
    --bobex-light-blue: #AAD4E6;
    --bobex-orange: #F2643B;
    --bobex-light-grey: #D1E8F2;
    /* Text colors */
    --bobex-text-blue: #175DA6;
    --bobex-text-black: #000000;
    --bobex-text-white: #FFFFFF;
    /* Font weights */
    --bobex-font-weight-medium: 500;
    --bobex-font-weight-bold: 700;
    /* Spacings */
    --bobex-padding-sm: 15px;
    --bobex-padding: 30px;
    --bobex-padding-lg: 60px;
    --bobex-padding-xl: 120px;
    /* Transition */
    --bobex-transition: all ease .2s;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: var(--bobex-font-weight-medium);
    font-style: normal;
}

.blue-bg {
    background-color: var(--bobex-blue);
}

.light-blue-text {
    color: var(--bobex-text-blue);
}

.blue-text {
    color: var(--bobex-blue);
}

.light-grey-bg {
    background-color: var(--bobex-light-grey);
}

.bold {
    font-weight: var(--bobex-font-weight-bold);
}

.d-block {
    display: block;
}

header {
    height: 152px;
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo img {
    max-width: 234px;
}

header .text {
    display: none;
}

main .title-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: var(--bobex-padding);
}

.h1 {
    font-weight: var(--bobex-font-weight-medium);
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.h1:first-child {
    margin-bottom: var(--bobex-padding);
}

.countries {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--bobex-padding);
}

.countries-wrapper {
    position: relative;
    height: 394px;
    width: 338px;
    margin-top: var(--bobex-padding);
}

.countries-wrapper .nl {
    position: absolute;
    top: 0;
    right: calc(58px - 16px); /* second value is there to center */
}

.countries-wrapper .be {
    position: absolute;
    top: 81px;
    right: calc(78px - 16px); /* second value is there to center */
}

.countries-wrapper .lu {
    position: absolute;
    top: 129px;
    right: calc(75px - 16px); /* second value is there to center */
}

.countries-wrapper .fr {
    position: absolute;
    top: 95px;
    right: calc(38px - 16px); /* second value is there to center */
}

.h2 {
    margin: 0;
    font-size: 24px;
    font-weight: var(--bobex-font-weight-bold);
}

.flags-wrapper {
    margin-top: var(--bobex-padding);
}

.tablet-title {
    display: none;
}
.svg-country{
    fill:#AAD4E6;
}
.svg-country:hover {
    cursor: pointer;
    fill: var(--bobex-orange);
}
.flag {
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.flag + .flag {
    margin-top: var(--bobex-padding-sm);
}

.flag img {
    float: left;
    padding-right: var(--bobex-padding-sm);
}

.flag span {
    font-size: 25px;
    font-weight: var(--bobex-font-weight-bold);
    color: var(--bobex-blue);
    transition: var(--bobex-transition);
    line-height: 45px;
}

.flag:hover span,
.flag.active span {
    color: var(--bobex-orange);
}

.others {
    padding: var(--bobex-padding);
    text-align: center;
}

.websites-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: var(--bobex-padding);
    margin-top: var(--bobex-padding);
}

.website {
	width: 117px;
    min-height: 117px;
	border-radius: 30px;
	border: 3px solid var(--bobex-light-blue);
	padding: var(--bobex-padding-sm);
	text-align: center;
	display: flex;
	flex-wrap: inherit;
	align-items: center;
}
.website > div {
    width: 100%;
}

.website .links{
	margin-top: 10px;
}

.website a {
    text-decoration: none;
    color: var(--bobex-text-blue);
    font-size: 18px;
    font-weight: var(--bobex-font-weight-bold);
}
.website a:hover {
    color: var(--bobex-orange);
}

.website img {
    max-width: 100%;
    margin: auto;
    display: block;
	height: fit-content;
}

footer {
    padding: var(--bobex-padding-sm) var(--bobex-padding);
}

footer .copyright {
    font-size: 12px;
    font-weight: var(--bobex-font-weight-bold);
    color: var(--bobex-text-white);
}

/* Tablet */
@media screen and (min-width: 768px) {
    header {
        height: auto;
        padding: var(--bobex-padding);
        display: flex;
        justify-content: space-between;
    }

    header .logo {
        justify-content: left;
    }

    header .text {
        display: flex;
        flex-direction: column;
        color: white;
        align-items: end;
        font-size: 15px;
        font-weight: var(--bobex-font-weight-bold);
    }

    .countries {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .mobile-title {
        display: none;
    }

    .tablet-title {
        display: inherit;
        margin-bottom: var(--bobex-padding);
    }

    .others {
        text-align: left;
    }
}

/* Desktop */
@media screen and (min-width: 1200px) {
    header {
        padding-left: var(--bobex-padding-lg);
        padding-right: var(--bobex-padding-lg);
        position: relative;
        z-index: 2;
    }

    .logo img {
        max-width: 335px;
    }

    header .text {
        font-size: 21px;
    }

    main {
        padding-bottom: var(--bobex-padding-lg);
    }

    main .title-section {
        justify-content: space-evenly;
        flex-direction: row;
        gap: 60px;
        padding: var(--bobex-padding-lg);
        background-color: transparent;
        position: relative;
    }

    main .title-section::before {
        content: "";
        position: absolute;
        width: 100%;
        min-height: 127%;
        background-size: 100%;
        background-repeat: no-repeat;
        right: 0;
        background-image: url(img/intro-wave.svg);
        top: 0;
        z-index: 1;
    }

    .h1 {
        font-size: 30px;
        z-index: 1;
    }

    .h1:first-child {
        margin-bottom: 0;
    }

    .h2 {
        font-size: 36px;
    }

    .countries {
        padding: var(--bobex-padding-lg);
    }

    .flag span {
        font-size: 28px;
    }

    .websites-wrapper {
        justify-content: space-between;
    }

    .others {
        padding: var(--bobex-padding-lg);
    }

    footer {
        padding-left: var(--bobex-padding-lg);
        padding-right: var(--bobex-padding-lg);
        position: relative;
    }

    footer::before {
        content: "";
        position: absolute;
        width: 100%;
        min-height: 107%;
        background-size: 100%;
        background-repeat: no-repeat;
        right: 0;
        background-image: url(img/footer-wave.svg);
        bottom: 53px;
    }

    footer .copyright {
        font-size: 21px;
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
}

/* Large desktop */
@media screen and (min-width: 1400px) {
    main .title-section::before {
        min-height: 170%;
    }

    footer::before {
        bottom: 62px;
    }
}

@media screen and (min-width: 1600px) {
    main .title-section::before {
        min-height: 191%;
        top: -40%;
    }

    .countries {
        padding: var(--bobex-padding-xl);
    }

    .others {
        padding: var(--bobex-padding-xl);
        padding-top: var(--bobex-padding-lg);
    }

    footer::before {
        bottom: 71px;
    }
}

@media screen and (min-width: 1800px) {
    main .title-section::before {
        min-height: 212%;
        top: -70%;
    }

    footer::before {
        bottom: 0;
        min-height: 177px;
    }
}

@media screen and (min-width: 2000px) {
    main .title-section::before {
        min-height: 233%;
        top: -90%;
    }
}

@media screen and (min-width: 2200px) {
    main .title-section::before {
        min-height: 254%;
        top: -115%;
    }
}

@media screen and (min-width: 2400px) {
    main .title-section::before {
        min-height: 276%;
        top: -135%;
    }
}

@media screen and (min-width: 2600px) {
    main .title-section::before {
        min-height: 297%;
        top: -155%;
    }
    footer::before {
        bottom: 16px;
    }
}

@media screen and (min-width: 2800px) {
    main .title-section::before {
        min-height: 318%;
        top: -175%;
    }
    footer::before {
        bottom: 27px;
    }
}