* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    font-family: "Reenie Beanie", sans-serif;
    overflow-y: hidden; /* Hide vertical scrollbar */
    overflow-x: hidden; /* Hide horizontal scrollbar */
  }

#backdrop {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -2;
}

#backdrop * {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 50%;
}

main {
min-height: calc(100vh - 217px); /* header = 146 footer = 71*/
align-items: center;
}

/************/
/****LOGO****/
/************/

.logo {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.logo img {
    max-width: 960px;
    width: 100%;
	height: auto;
    display: block;
}

/**************/
/*WATCH BUTTON*/
/**************/

.trailer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.watch-trailer {
    display: flex;
    justify-content: center;
    align-items: center;
	width: 160px;
	height: 80px;
}

.watch-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;   
    margin-left: auto;
    margin-right: auto;
    width: 15%;  
    height: auto;  
    transition: opacity 0.3s ease-in-out;  
}

.watch-button-hover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 15%;  
    height: auto;
    opacity: 0;  
    transition: opacity 0.3s ease-in-out;    
}

.watch-trailer:hover .watch-button-hover {
    opacity: 1; 
}

.watch-trailer:hover .watch-button {
    opacity: 0; 
}

/************/
/*NAVIGATION*/
/************/

nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 15px;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    font-size: 25px;
    padding: 50px 30px;
}

nav ul li a.synopsis {
    background-image: url(../images/synopsisbg.png);
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    opacity: 40%;

    height: 131px;
    width: 147px;
    padding-top: 17px;
    text-align: center;
}

nav ul li a.index {
    background-image: url(../images/homebg.png);
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    opacity: 40%;

    height: 131px;
    width: 147px;
    padding-top: 17px;
    text-align: center;
}

nav ul li a.gallery {
    background-image: url(../images/gallerybg.png);
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    opacity: 40%;

    height: 131px;
    width: 147px;
    padding-top: 17px;
    text-align: center;
}

nav ul li a:hover {
    color: #16D5FC;
    opacity: 100%;
}

nav ul li a:active {
    color: #16D5FC;
    opacity: 100%;
}

/************/
/**SYNOPSIS**/
/************/

.synopsis-block {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    gap: 100px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 160px;
    padding-bottom: 100px;
}

.synopsis-section {
    max-width: 960px;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
}

.synopsis-text {
    max-width: 700px;
    display: flex;
    flex-direction: row;
}

p {
    color: #ffffff;
    font-size: 28px;
    opacity: 80%;
}

/***********/
/**GALLERY**/
/***********/

.galleryrama {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;

}


/************/
/***FOOTER***/
/************/

footer {
    display: flex;
    justify-content: center;
    opacity: 10%;
    padding-top: 20px;
    padding-bottom: 20px;
}