*{
    margin: 0;
    padding: 0;
    font-family: Riddler ;
    /* height: 100%; */
}

@font-face {
    font-family: "Riddler";
    src: url("./Batman_Riddler_Font_Family_(Fontmirror)/Riddler.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body{
    box-sizing: border-box;
}

:root{
    --nav_color: rgba(255, 255, 255, 0.678);
    --text: rgb(136, 59, 59);
    --butonshadow: rgb(114, 49, 49);
    --buttonriddler:  rgba(53, 119, 82, 0.945);
}




.container{
    position: relative;
    display: flex;
    flex-direction: column; 
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.container::before{
    content: "";
    position: absolute;
    inset: 0;
    background: url(/first-option.jpg);
    background-position: top;
    background-size: cover;
    filter: sepia(0.5);
    z-index: -1;
    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom{
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.05);
    }
}





/* navigation */

.navigation ul{
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 0px 0px white ;
}

li{
    padding: 1rem;
    display: flex;
    list-style: none;
}

.navigation a{
    font-size: 2rem;
    text-decoration: none;
    color: var(--text);
    transition: 100ms transform ease-in-out;

}

.navigation a:hover{
    transform: scale(1.1);
    color: var(--buttonriddler);
}

.navigation{
    margin: 2rem auto 0 auto; 
    display: flex;
    height: 80px;

    background: rgba(252, 240, 229, 0.725); 
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px); 

    border-bottom: 2px solid var(--buttonriddler);
}




/* movie properties */
.movie-mp4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;

    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.movie-mp4 iframe {
    display: block;
    width: 80vw;
    max-width: 1195px;
    height: auto;
    aspect-ratio: 1195 / 450;
    box-shadow: 0px 0px 15px 1px white;
}


@media only screen and (max-width: 1150px) {
    .movie-mp4 video {
        width: 90vw;
    }

    .movie-mp4 iframe{
        aspect-ratio: 16/9;
        height: auto;
    }
}





/* Modal styles */
.riddle-modal {
    display: none; 
    position: fixed;
    inset: 0; 
    background: rgba(0,0,0,0.7);
    z-index: 10000; 
    justify-content: center;
    align-items: center;
}

.riddle-modal-content {
    background: var(--buttonriddler);
    color: white;
    padding: 2rem;
    border: 2px solid var(--buttonriddler);
    max-width: 400px;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Modal button styling */
#blocked-close {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--nav_color);
    border: none;
    color: black;
    font-size: 1rem;
    cursor: pointer;
    
    transition: 0.2s all ease;
}

#blocked-close:hover {
    background-color: var(--butonshadow);
    color: white;
}






/* hamburger menu */
#hamburger-icon {
    padding: 3rem;
    display: none;
    cursor: pointer;

}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
  transform-origin: center;
}


.open .bar1 {
  transform: rotate(45deg) translateY(12px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  transform: rotate(-45deg) translateY(-12px);
}



.mobile-menu {
  display: none;
  position: absolute;
  top: 129px;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}


@media only screen and (max-width: 800px) {
  .navigation {
    display: none;
  }

  #hamburger-icon {
    display: block;

  }

.mobile-menu{
    font-size: 1.5rem;
    background-color: var(--buttonriddler);
}

.mobile-menu a{
    color: white;
    text-decoration: none;
    transition: 100ms transform ease-in-out;
}

.mobile-menu a:hover{
    transform: scale(1.1);
    font-weight: 600;
    text-shadow: 1px 1px 8px rgb(236, 231, 231);
    color: var(--text);

}

#hamburger-icon.open{
    background-color: var(--buttonriddler);
}

}



/* footer */
.footer{
    color: var(--text);
    background-color: var(--nav_color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 10px;
}

svg{
    display: block;
    fill: var(--text) !important;
    padding: 0px;
    margin: 0px;
}

@media (max-width: 424px) {
  .powered br {
    display: block;
  }

  .footer{
    justify-content: center;
    gap: 1rem;
  }

}

@media (min-width: 425px) {
  .powered br {
    display: none;
  }
}