/* Base styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: "questa-grande", serif;
    font-weight: 300;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
    /* background: url('../images/background.jpg') no-repeat center center fixed; */
	overflow: hidden;
	scrollbar-color: red orange;
	scrollbar-width: none;
}

/* Header styles */
header {
    background-color: #fff;
    font-family: "questa-grande", serif;
    font-weight: 300;
    font-style: normal;
    color: black;
    height: 7em;
    position: sticky;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center items vertically */
    padding: 0 2em; /* Padding for left and right sides */
}

header h1 {
    margin: 0.2em;
    letter-spacing: 0.4em;
    margin-top: 1em;
    margin-left: 2em; /* Optional, if you need more spacing from the left */
    flex-grow: 1; /* Ensure h1 takes available space */
    text-align: left; /* Ensure h1 is aligned to the left */
}

nav {
    display: flex;
    align-items: center; /* Ensure nav items are centered vertically */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Ensure ul items are centered vertically */
}

nav ul li {
    margin-left: 1em; /* Space between menu items */
}

nav ul li a {
	font-size: 1.2em;
	letter-spacing: 0.2em;
    color: black;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}



/* Main content styles */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    background-color: rgba(1, 1, 1, 0);
	scroll-margin-top: 7em; /* Adjust this value to the height of your header */
    padding-bottom: 100vh; /* Add enough space to make sections not visible until jumped to */
}

section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5em;
	margin-top: 0em;
    padding: 0em;
    background-color: rgba(1, 1, 1, 0);
	scroll-margin-top: 7em; /* Adjust this value to the height of your header */
    padding-bottom: 100vh; /* Add enough space to make sections not visible until jumped to */
}

h2 {
    border-bottom: 0px solid #fff;
    padding-bottom: 1em;
}

/* Image section 
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}*/

.slideshow-container {
 	position: relative;
    max-width: 100%;
    margin: auto;
		/*width: 80%;
		height: 50vh;
		left: 10%;
		top: 5em;*/
}

.mySlides {
	display: none;
    position: absolute;
    text-align: center;
	width: 100%;
	max-height: 100%;
    left: 0;
	margin: 0em auto;
	z-index: 52;
	opacity: 0;
	-webkit-transition: opacity 2s ease-in-out;
    -moz-transition: opacity 2s ease-in-out;
    -o-transition: opacity 2s ease-in-out;
    transition: opacity 2s ease-in-out;	
	}

.mySlides img {
	max-width: 100%;
	border-style: none;
	border-width: 0%;
	margin-bottom: 0%;
	border-color: #fff;
	background-color: #000;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Image section old
#image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5em auto;
}
*/
/* Trailer section */
.video-container {
    position: relative;
    padding-bottom: 53.25%; /* 16:9 aspect ratio */
    height: 0; /* Set height to 0 for aspect ratio */
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure the iframe takes up the full container */
}


@media (max-width: 768px) {
	body {
		overflow-y: auto;
		overflow-x: none;
	}
	main {
		padding: 10px;
	}
	header {
		height: 4em;
		position: sticky;
		top: 0;
		right: 0;
		overflow: none;	
	}
	header h1 {
		margin: 0.2em;
		letter-spacing: 0.2em;
		margin-top: 1em;
		margin-left: 2em; /* Optional, if you need more spacing from the left */
		flex-grow: 1; /* Ensure h1 takes available space */
		text-align: left; /* Ensure h1 is aligned to the left */
	}


	nav ul {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		align-items: center; /* Ensure ul items are centered vertically */
	}

	nav ul li {
		margin-left: 1em; /* Space between menu items */
	}

	nav ul li a {
		font-size: .8em;
		letter-spacing: 0.1em;
	}

	section {
			padding-bottom: 50vw; 
			margin-bottom: 25px;
	}
	.slideshow-container {
		position: relative;
		height: 100vh;
		max-width: 100%;
			/*width: 80%;
			height: 50vh;
			left: 10%;
			top: 5em;*/
	}
	.mySlides {
		display: none;
		position: absolute;
		text-align: center;
		height: 100%; /* Fill the viewport height */
		width: 100%; /* Fill the entire width of the container */
		overflow: hidden; /* Hide any overflow */
		margin-left: 50%; /* Center the image horizontally */
        transform: translateX(-50%); /* Adjust for centering */
	}

	.mySlides img {
	    height: 100%; /* Ensure the image fills the height of the slide */
        width: 100%; /* Maintain aspect ratio */
        margin-left: 50%; /* Center the image horizontally */
        transform: translateX(-50%); /* Adjust for centering */
	}
footer {
    background-color: #fff;
	font-family: "questa-grande", serif;
	font-weight: 300;
	font-style: normal;
    color: black;
    padding: 1em;
    position: relative;
    bottom: 5em;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
