@font-face {
    font-family: 'Komika_display_kaps';
    src: url('../fonts/Komika_display_kaps-webfont.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Komika_display_kaps-webfont.eot?#iefix') format('embedded-opentype'); /* IE6-IE8 */
    /* src: url('./fonts/Komika_display_kaps-webfont.woff2') format('woff2'); /* Super Modern Browsers */
    src: url('../fonts/Komika_display_kaps-webfont.woff') format('woff'); /* Pretty Modern Browsers */
    src: url('../fonts/Komika_display_kaps-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 1;
    background-color: #ffffff;
    z-index: 99;
    text-align: center;
    /* Ref.: https://www.freecodecamp.org/news/how-to-center-an-image-in-css/#display-flex-1 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading-image {
    z-index: 100;
}

.banner {
    /* background-attachment: fixed; */
    /* background-color: #272833; */
    background-image: url("../img/banners/1.JPG");
    background-position: center right;
    background-size: cover;
    min-height: 100%;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-transition: background-image 1s ease-in-out;
    transition: background-image 1s ease-in-out;
}

.grey_layer {
    background: rgba(7, 9, 21, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
}

.title {
    font-family: 'Komika_display_kaps', serif;
    text-align: center;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
    color: white;
    /* background: #6ba87877; */
}

.links {
    position: absolute;
    text-align: center;
    /* background: rgba(194, 21, 156, 0.329); */
}

#main_links, #main_links a {
    font-family: 'Komika_display_kaps', serif;
    text-decoration: none;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
    color: white;
    font-style: italic;
}

#main_links a:visited {
    color: #e3e3e3;
}

#main_links a:focus {
    border-bottom: 3px solid #444444;
}

#main_links a:hover {
    color: #f1f1f1;
}

/*
#main_links a:active {
    color: #40a2ff;
}
*/


/* MAIN PAGES CSS */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, sans-serif;
    overflow: scroll;
}

#page {
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100vh + var(--scrollCaptureTime));
}

.main_page {
    padding-top: 10px;
    min-height: 100%;
    /* display: none; */
}

.main_page h2 {
    text-align: center;
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 40px;
    margin: 0;
    padding: 100px 25px 50px 25px;
}
.main_page h2.complementary {
    font-size: 30px;
    padding-bottom: 15px;
}
.main_page h2.complementary + div {
    text-align: center;
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_page h2.complementary + div>p {
    max-width: min(900px, 90vw);
}


/* MOBILE MEDIA QUERIES */
@media screen and (orientation:portrait) {
    .banner {
        background-position: 66.67% 50%;
    }

    .title {
        font-size: 12.5vw;
        padding: 0.6em 0;
    }

    #main_links {
        bottom: 10px;
        width: 100%;
        font-size: 8vw; /* before 6.4vh; */
    }
}

@media screen and (orientation:landscape) {
    #main_links {
        min-height: 100%;
        width: 50%;
        padding: 60vh 0; /* before 50vh 0; */
        font-size: 3vw;
    }

    .title {
        min-height: 100%;
        width: 50%;
        font-size: 7vw;
        padding: 15vh 0; /* before 10vh 0; */
        position: absolute;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    right: 30px;
    font-size: 20px;
    background-color: #18191b;
    color: #fff;
    transition: all 0.55s ease;
    z-index: 50;
}

.scroll-top:hover {
    background: #6a6a6b;
    color: #fff;
}

.scroll-top i, .scroll-top i:focus {
    color: #fff;
    display: inline-block;
    opacity: 1;
}

.scroll-top-visible {
    opacity: 1 !important;
    bottom: 30px;
}

.scroll-top-hidden {
    opacity: 0;
    bottom: 90px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 34px;
    margin: 100px 0 0 0;
    padding: 25px 0;
    background-color: #e8e9ea;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Fira Sans,Ubuntu,Oxygen,Oxygen Sans,Cantarell,Droid Sans,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Lucida Grande,Helvetica,Arial,sans-serif;
    font-size: 14px;
}

.footer a {
    color: #666666;
    font-style: italic;
    text-decoration: none;
    border-bottom: 1px dashed #999;
}

.moreDetailsIndicator {
    color: #666666;
    font-style: italic;
    text-decoration: none;
    border-bottom: 1px dashed #999;
    /* float: right; */
}

ul {
    margin: 0;
}
