@font-face {
    font-family: 'GothicForHaenel';
    src: url('Assets/font/GothicforHaenel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaforHaenel-Cond';
    src: url('Assets/font/HelveticaforHaenel-Cond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    font-family: 'GothicForHaenel', sans-serif;
    overflow: hidden; 
}


/* Logo Container */
.logo-container {
	position: relative;
    z-index: 10; 
    display: flex;
    justify-content: center;
    margin-top: 10px; 
    flex: none; 
    width: 100%;
	padding-top: 25px;
    }
.logo {
    width: 250px; 
    height: auto;
	box-sizing: border-box;    
	margin-top: -20px;
}

/* Main container: Fills the leftover space after bars & logo. */
.container {
    flex: 1; 
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    min-height: 0; 
	z-index: 1; 
    margin-top: -120px; 
}

/* .image-container: Fills the .container space. */
.image-container {
    flex: 1;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    min-height: 0; /* ensures no weird overflow in flex */
}

/* Each .image-box shares the space equally in landscape (side by side). */
.image-box {
    flex: 1;
    position: relative;
    margin: 0 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* for no cropping, try 'contain' instead */
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.image-box .title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    font-size: 75px;
    text-transform: none;
    box-sizing: border-box;
    font-family: 'HelveticaforHaenel-Cond', sans-serif;
}

/* Fade Overlay (if you use it) */
.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    transition: opacity 1.5s ease;
}

/* ================= MEDIA QUERIES ================= */

/* Portrait up to 1080px wide => Stack images vertically */
@media (orientation: portrait) and (max-width: 1080px) {
    .image-container {
        flex-direction: column; /* stack images */
    }
    /* Give them vertical margins instead of horizontal. 
       If margins cause overflow, reduce or remove them. */
    .image-box {
        margin: 10px 0;
    }
}

/* Media query for very large screens */
@media (min-width: 1200px) {
    .image-container .image-box .title {
        font-size: 100px; /* Extra large font size for big screens */
    }
}

/* Media query for medium screens */
@media (max-width: 1199px) and (min-width: 768px) {
    .image-container .image-box .title {
        font-size: 75px; /* Large font size for medium screens */
    }
}

/* Media query for smaller screens */
@media (max-width: 767px) {
    .image-container .image-box .title {
        font-size: 40px; /* Smaller font size for smaller screens */
    }
}
