@import url('variables.css'); /* contains standarized colors etc*/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--primary-text-color);
    overflow-x: hidden;
    min-width: 380px;
}

/* Container Styles */
.container {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}
@media only screen and (max-width: 1000px) {
    .container {
        height: 100dvh;
        padding-bottom: var(--small-menu-height);
        box-sizing: border-box;
    }
}

/* Banner Styles */
.banner-bg {
    height: var(--banner-height);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    padding: 10px;
    background-color: var(--banner-color);
    justify-content: space-between;
    
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
}
.banner-overlay {
    display: flex;
    width: auto;
    align-items: center;
}
.banner-bg img {
    width: auto;
    height: 60px;
    padding: 10px;
    border-radius: 15px;
}
.banner-language-switcher {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
    gap: 5px;
}
.banner-language-switcher p {
    margin: 0;
    padding: 0;

}
.banner-language-switcher a {
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 16px;
    padding: 0 8px;
    font-weight: bold;
}
.banner-language-switcher a:hover {
    color: var(--banner-hover-color);
}
.banner-language-switcher a#current-language {
    pointer-events: none;
    color: var(--accent-color);
}
@media only screen and (max-width: 1000px) {
    .banner-bg {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Footer Styles */
.footer-banner-bg {
    height: var(--footer-height);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    padding: 20px;
    margin-top: 30px;
    background-color: var(--banner-color);
    justify-content: space-between;

    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
}
@media only screen and (max-width: 1000px) {
    .footer-banner-bg {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.footer-copyright {
    color: var(--primary-text-color);
    font-size: 14px;
    align-self: center;
}
.footer-copyright a {
    text-decoration: none;
    color: var(--primary-text-color);
}
.footer-copyright a:hover {
    color: var(--banner-hover-color);
}
.footer-spacer {
    flex: 1;
}

/* Menu Styles */
.menu-bg {
    height: var(--big-menu-height);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    background-color: var(--banner-color);
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}
.menu-object {
    padding: 15px 30px;
    height: auto;
    width: auto;
}
.menu-object#current-menu-object {
    background-color: var(--background-color);
}
.menu-object a {
    text-decoration: none;
    color: var(--primary-text-color);
}
.menu-object a:hover {
    color: var(--banner-hover-color);
}
.menu-object#current-menu-object a {
    pointer-events: none;
}
@media only screen and (max-width: 1000px) {
    .menu-bg {
        display: none;
    }
}
.navigation-bar-bg {
    height: var(--small-menu-height);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    background-color: var(--banner-color);
    justify-content: center;
    font-size: 15px;
    font-weight: bold;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}
@media only screen and (min-width: calc(1000px + 1px)) {
    .navigation-bar-bg {
        display: none;
    }
}
.navigation-bar-bg .menu-object {
    padding: 15px 20px;
    height: auto;
    width: auto;
}
.icon { 
    display:inline-block; 
    vertical-align:middle; 
    fill: currentColor; 
}

/* Text Box Styles */
.text-box {
    height: auto;
    color: var(--secondary-text-color);
    font-size: 18px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.3;

    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
}
@media only screen and (max-width: 1000px) {
    .text-box {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.text-box.hide {
    display: none;
}

/* Spacer Div Styles */
.div-spacer {
    min-height: 5px;
    padding: 0px 10px;
    border-top: 5px solid transparent;
    background-image: linear-gradient(to right, 
        transparent 0%,  /* Start fade */
        var(--border-gradient) 15%,         /* Solid border starts */
        var(--border-gradient) 85%,         /* Solid border ends */
        transparent 100%);  /* End fade */
    background-size: 100% 5px;
    background-repeat: no-repeat;
    background-position: top;
}
.div-spacer.hide {
    display: none;
}

/* Image Gallery Styles */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
}
@media only screen and (max-width: 1000px) {
    .image-gallery {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}
.img-div {
    flex: 0 0 11%;
    height: auto;
    background-color: var(--border-gradient);
    text-align: center;
    padding: 0.3%;
    border-radius: 15px;
}
.img-div img {
    width: 100%;
    min-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

/* Floating Div to return to the top */
.returnTop {
    position: fixed;
    bottom: 10%;
    right: 3%;
    width: 50px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none; /* enabled when visible */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.returnTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.returnTop:focus {
    outline: 2px solid var(--banner-hover-color);
    outline-offset: 3px;
}