@font-face {
    font-family: 'lato';
    src:
            url('fonts/lato/lato-bold-webfont.woff2') format('woff2'),
            url('fonts/lato/lato-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'lato';
    src:
            url('fonts/lato/lato-heavy-webfont.woff2') format('woff2'),
            url('fonts/lato/lato-heavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lato';
    src:
            url('fonts/lato/lato-regular-webfont.woff2') format('woff2'),
            url('fonts/lato/lato-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'lato', sans-serif;
    font-size: 1.6rem;
    margin: 0 auto;
    color: #272a31;
    background-color: #fff;
}

html {
    /* 62.5% of 16px = 10px */
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* Typography */
::selection {
    background: crimson;
    color: #fff;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style: none;
    padding-left: 0.1px;
}

.nav-wrapper {
    padding-top: 1.5rem;
    padding-left: 1rem;
    padding-bottom: 0;
    position: relative;
    top: 2%;
    left: 2%;
    width: fit-content;
}

.bar {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.5rem auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #272a31;
    align-content: flex-start;
}

.overlay-nav {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(211, 211, 211);
    background-color: rgba(211, 211, 211, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-nav-content {
    position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    font-weight: 600;
}

.overlay-nav a {
    padding: 0.8rem;
    text-decoration: none;
    color: #272a31;
    display: block;
    transition: 0.3s;
}

.headline-contact a {
    text-decoration: underline;
    color: #272a31;
    font-weight: 700;
}

.overlay-nav a:hover,
.overlay-nav a:focus {
    color: white;
}

.overlay-nav .close_btn {
    position: absolute;
    top: 2rem;
    right: 4.5rem;
    font-size: 6rem;
}

.header-wrapper {
    background: #dfdddd;
    background-size: 100%;
    margin-bottom: -5rem;
}

.header-container {
    background: url(../assets/background/headerbgg.png),
    linear-gradient(rgba(217, 217, 217, 0.8), rgba(217, 217, 217, 0.8));
    background-size: cover;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: 0;
}

.headline {
    top: 2%;
    left: 2%;
    padding: 1rem;
}

.headline h1 {
    font-family: 'lato', sans-serif;
    text-align: center;
    color: #ec4327;
    font-weight: 800;
}

.headline h2 {
    color: #ec5242;
    font-weight: 600;
    text-align: center;
    margin-top: 6rem;
}

.headline-box {
    border-style: solid;
    border-color: rgb(170, 170, 170);
    border-width: 0.1rem;
    background-color: rgb(255, 255, 255);
    margin: 1rem;
    padding: 0 0.5em;
    text-align: center;
    color: #838383;
}

.headline-contact {
    margin: 0 1rem;
    text-align: center;
}

.about-contents {
    background: white;
    margin-top: 0;
    padding-top: 1rem;
}

.logo-header,
.past-expo-header {
    color: #272a31;
    font-size: 1.3rem;
    line-height: 1.2rem;
    text-align: center;
    padding: 0 1rem;
}

.logo-header::after,
.past-expo-header::after,
.partners-header::after {
    content: '';
    display: block;
    position: relative;
    height: 0.2rem;
    width: 4rem;
    margin: auto;
    top: 1rem;
    border-radius: 15px;
    background: #a04038;
}

.logo-details-mobile,
.logo-details-desktop,
.past-expo-details {
    text-align: center;
    padding: 5rem 5rem;
}

.logo-image {
    display: flex;
    background-color: #444444;
    border: #d3d3d3 solid 1px;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

.logo-image img {
    width: 90%;
    align-self: center;
}

.past-expo {
    border-top: #d3d3d3 solid 1px;
    padding-top: 2rem;
    padding-bottom: 3rem;
    margin-top: 3rem;
}

.expo-images-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.expo-image-dubai {
    width: 33.4rem;
    height: 20.2rem;
    background-image: url(../assets/background/dubai_expo.jpeg);
    background-color: #ec5242;
    background-size: cover;
    background-blend-mode: multiply;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.expo-image-europe {
    width: 33.4rem;
    height: 20.2rem;
    background-image: url(../assets/background/europe-expo.jpeg);
    background-color: #ec5242;
    background-size: 100%;
    background-blend-mode: multiply;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.expo-year {
    font-size: xx-large;
    height: 0.1rem;

}

.expo-place {
    font-size: small;

}

.partners {
    background-color: #272a31;
    width: 100%;
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.partners-header {
    color: white;
    font-size: large;
    text-align: center;
}

.partners-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    filter: invert(50%);
    align-items: center;
    width: 90%;
    gap: 1.6rem;
    margin: 0 auto;
}

.partners-logo img {
    max-height: 7rem;
    width: auto;
}

.mobile-footer {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    gap: 9rem;
}

.mobile-footer img {
    max-height: 3.5rem;
    padding-top: 0.3rem;
    background-color: #444444;
    margin: 0.5rem 0.5rem;
    border-radius: 10px;
}

@media (max-width: 780px) {
    .overlay-nav { overflow-y: auto; }
    .overlay-nav a { font-size: 1.5em; }

    .overlay-nav .close_btn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

    .desktop-banner {
        display: none;
    }

    .desktop-headline {
        display: none;
    }

    .logo-details-desktop {
        display: none;
    }

    .desktop-footer {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }

    .desktop-nav-banner {
        display: flex;
        background: #3e3e3e;
        color: white;
        flex-direction: row;
        justify-content: end;
        align-items: center;
        height: 3rem;
        font-size: 1.2rem;
        gap: 10px;
        padding-right: 4rem;
    }

    .desktop-nav {
        background: white;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0 7rem 0 10rem;
        gap: 19%;
        border-bottom: 4px solid #d3d3d3;
    }

    .desktop-nav img {
        background-color: #444;
    }


    .desktop-nav a {
        color: #868686;
    }

    .desktop-nav ul {
        display: flex;
        flex-direction: row;
        gap: 5rem;
        justify-content: center;
        align-items: center;
        font-weight: 800;
        font-size: 1.4rem;
    }

    .desktop-nav-list li a:hover {
        color: #ec4327;
    }

    .banner-logo img {
        max-height: 3rem;
    }

    .nav-campaign {
        width: fit-content;
        margin-top: 1rem;
        margin-bottom: 1rem;
        border: #ec4327 solid 0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        color: #ec4327;
        font-weight: 800;
    }


    .header-wrapper {
        margin-bottom: 0;
    }

    .headline h2 {
        display: none;
    }

    .headline-box {
        width: 70%;
        align-self: center;
    }

    .mobile-headline {
        display: none;
    }

    .logo-details-mobile {
        display: none;
    }

    .logo-container {
        padding-left: 13rem;
        padding-right: 13rem;
    }

    .logo-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .expo-images-container {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .expo-image-dubai,
    .expo-image-europe {
        width: 43.2rem;
        height: 25.6rem;
    }

    .partners-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        filter: invert(50%);
        align-items: center;
    }

    .mobile-footer {
        display: none;
    }

    .desktop-footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .desktop-footer img {
        background-color: #444444;
        width: 30%;
        border-radius: 10px;
        margin-left: 1rem;
    }
}
