@font-face {
    font-family: 'IDF Voyageur';
    src: url("/assets/fonts/IDFVoyageur-Regular.ttf");
    font-display: swap;
    font-weight: normal;
}
@font-face {
    font-family: 'IDF Voyageur';
    src: url("/assets/fonts/IDFVoyageur-Bold.ttf");
    font-display: swap;
    font-weight: bold;
}
@font-face {
    font-family: 'IDF Voyageur';
    src: url("/assets/fonts/IDFVoyageur-Italic.ttf");
    font-display: swap;
    font-style: italic;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --box-padding: 30px;
    --main-gap: 20px;

    --border-radius: 10px;

    /* COLORS */
    --white-alt-color: #e6e6e6;
    --black-alt-color: #2f3640;
    --nav-system-color: #425755;

    --black-color: #000000;
    --green-color: #56842e;
    --yellow-color: #f1c40f;
    --blue-color: #206592;
    --red-color: #c0392b;
    --grey-color: #576574;
    --white-color: #ffffff;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: #2e3542;
}
::-webkit-scrollbar-track:horizontal {
    border-left: 3px;
    border-right: 3px;
}
::-webkit-scrollbar-thumb {
    background: #808080;
    border: 3px solid #2e3542;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: white; 
}

body {
    background-color:#2e3542;
    position: relative;
    font-family: 'IDF Voyageur', 'Trebuchet MS', Arial;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0px;
    font-size: 1.4rem;
    color: var(--black-alt-color);
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* TITLES */
h1, h2, h3, h4 {
    margin: 0px;
    border: 0px;
    color: inherit;
    text-align: left;
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.6rem;
}
h4 {
    font-size: 1rem;
}
p {
    margin: 0px;
}

nav {
    width: 100%;
    max-width: 2000px;
    padding-bottom: var(--main-gap);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
nav a {
    color: var(--nav-system-color);
    text-decoration: none;
    font-size: 1rem;
}
nav i {
    margin: 0px 10px -6px 10px;
    color: var(--nav-system-color);
    font-size: 0.3rem;
}

header {
    width: 100%;
    background-image: url('https://live.staticflickr.com/65535/54432387311_b44b7531fc_3k.jpg&wpx=2000');
    background-size: cover;
    background-position: 50% 70%;
    height: 300px;
    position: relative;
}
header .cover {
    background-color: rgba(50, 50, 50, 0.75);
    padding: calc(var(--box-padding) * 2);
    position: absolute;
    inset: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
}
header .logo img{
    max-height: 100%;
}

.box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;    
    align-items: center;
    padding: calc(var(--box-padding) * 1.25) calc(var(--box-padding) * 1);
}
.box-title {
    width: 100%;
    max-width: 2000px;
    padding-bottom: var(--box-padding);
}
.box-content {
    width: 100%;
    max-width: 2000px;
    padding-bottom: var(--box-padding);
}
.box-title:last-child, .box-content:last-child {
    padding-bottom: 0px;
}
.accordion-title h2 {
    cursor: pointer;
}
.accordion-content {
    display: none;
}

.old-line {
    filter: opacity(0.4);
}

.image-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--main-gap);
}
.image-container {
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
}
.image-container img {
    max-height: 100%;
    max-width: 100%;
    border-radius: var(--border-radius);
}
.image-gallery-container, .image-gallery-container img {
    border-radius: var(--border-radius);
}

.countries-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--main-gap);
}
.country-link {
    width: 100%;
    background-color: #4b4b4b;
    padding: 20px 30px;
    color: #fff;
    border-radius: calc(var(--border-radius) * 2);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--main-gap);
    text-decoration: none;
    font-size: 1.6rem;
}
.country-flag {
    height: 35px;
    border-radius: 8px;
}

.social-links-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--main-gap);
}
.social-link {
    width: 100%;
    padding: 20px 30px;
    color: #fff;
    border-radius: calc(var(--border-radius) * 2);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--main-gap);
    text-decoration: none;
    font-size: 1.2rem;
}

.networks-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--main-gap);
}
.network-link-box {
    width: 100%;
    height: 200px;
    border-radius: calc(var(--border-radius) * 2);
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: #fff;
    
}
.network-link-cover {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.network-link-cover h3 {
    text-align: center;
}
.network-link-cover span {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 6px;
    font-style: italic;
}
.network-lines-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--main-gap);
}
.network-line-link, .network-line-header {
    width: 100%;
    padding: 20px 30px;
    color: #fff;
    border-radius: calc(var(--border-radius) * 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--main-gap);
    text-decoration: none;
    font-size: 1.6rem;
    position: relative;
}
.network-line-link img, .network-line-header img {
    max-height: 80px;
}
.network-line-header {
    background-color: #BADFDB;
}
.network-line-link {
    background-color: #c9b8b8;
}
.network-line-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--black-alt-color);
}
.network-line-info span {
    font-size: 1.2rem;
    margin-top: 8px;
}
.transferred-line {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 0.7rem !important;
    font-weight: lighter;
    color: #fff;
    background-color: var(--black-alt-color);
    padding: 4px 8px !important;
    border-radius: 6px;
}

.box-content:has(.image-gallery) {
    width: calc(100% + (2 * 25px));
    max-width: calc(2000px + (2 * 25px));
}
.box-content:has(.mrsy-image-full) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.mrsy-image-full {
    max-width: 100%;
    max-height: 95vh;
    object-fit: cover; 
    border-radius: var(--border-radius);
}

.box-content:has(.network-line-header) {
    padding-bottom: 0px;
}

.navigation-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--main-gap);
}
.navigation-images a {
    width: calc(50% - var(--main-gap) / 2);
    min-width: 130px;
    max-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.navigation-images img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.navigation-images span {
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    height: 55px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: #fff;
    padding: 16px 20px;
    font-size: 0.9rem;
    border-radius: 0px 0px var(--border-radius) var(--border-radius);
}
.left {
    justify-content: flex-start;
}
.left i {
    margin: 0px 10px 0px 0px;
}
.right {
    justify-content: flex-end;
}
.right i {
    margin: 0px 0px 0px 10px;
}

/* THEMES */
.theme-green {
    background-color: #e6f7ea;
}
.theme-red {
    background-color: #f7e6e6;
}
.theme-blue {
    background-color: #e6e6f7;
}
.theme-yellow {
    background-color: #f7f4e6;
}

.facebook {
    background-color: #3b5998;
}
.instagram {
    background-color: #e1306c;
}
.twitter {
    background-color: #1da1f2;
}
.linkedin {
    background-color: #0077b5;
}

@media (min-width: 700px) {
    .image-wrapper, .countries-list, .social-links-list, .networks-list {
        grid-template-columns: 1fr 1fr;
    }
    .network-line-link {
        flex-direction: row;
        align-items: center;
    }
}
@media (min-width: 1000px) {
    :root {
        --box-padding: 60px;
        --main-gap: 25px;
    }
    nav, .box-title, .box-content {
        width: 75%;
        max-width: 2000px;
    }
    .box-content:has(.image-gallery) {
        width: calc(75% + (2 * 25px));
        max-width: calc(2000px + (2 * 25px));
    }
    .image-wrapper, .networks-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .network-lines-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .image-container {
        max-height: 240px;
    }
    header .logo {
        height: 90px;
    }
}