@font-face {
    font-family: "HOOKRIDE";
    src: url("assets/fonts/HOOKRIDE.ttf") format("truetype");
}

@font-face {
    font-family: "Franklin Gothic";
    src: url("assets/fonts/FRAMDCN.TTF") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

html, body {     
    margin: 0;        
    padding: 0;
    background-color: #334B4A;
    font-family: 'Lexend Deca', sans-serif; 
}

.title {
    position: fixed;
    top: 50px;
    background-color: #eaebd8;
}

h1 {
    color: #334B4A;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0;
    font-family: "HOOKRIDE", sans-serif;
    font-size: 6em;
    transform:scale(1,1.5); /* W3C */
    letter-spacing: 5px;
}

h2, h3 {
    color: #CEB3B4;
    text-align: center;
    margin-top: 40px;
    font-family: "Franklin Gothic", sans-serif;
    font-size: 1.5em;
    transform:scale(1,1.5); /* W3C */
    letter-spacing: 3px;
    text-transform: uppercase;
}

h2 {
    letter-spacing: .4em;
    margin-top: 16px;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 0;
}

.title-image {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 100%;
    margin-top: -50px;
}

.info {
    text-align: center;
    font-size: 1.2em;
    background-color: #334B4A;
    color: #eaebd8;
    padding: 20px;
    position: relative;
}

.about-film {
    margin-top: 40px;
    border-bottom: 2px solid #eaebd8;
    border-top: 2px solid #eaebd8;
    text-transform: uppercase;
    font-size: 1.5em;
    line-height: 2em;

}

.calendar-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #eaebd8;
    color: #334B4A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

iframe {
    display: block;
    border: none;
    width: 100%;
    aspect-ratio: 16 / 9;
}

@media screen and (min-width: 768px) {
    .info {
        padding: 20px 150px;
    }

    .title-image {
        margin-top: -200px;
    }
    
    .arrow {
        visibility: visible !important;
    }
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

header {
    position: fixed;
    width: calc(100% - 40px);
    top: 0;
    left: 0;
    background-color: #eaebd8;
    z-index: 99;
    font-size: 32px;
    line-height: 40px;
    padding: 10px 20px;
    color: #334B4A;
}

.language-switcher {
    float: right;
    font-size: 16px;
}

.language-switcher a, header a {
    color: #334B4A;
    text-decoration: none;
}

.menu {
    cursor:pointer;
}


@keyframes bouncing {
    0% {bottom: 20px;}
    50% {bottom: 40px;}
    100% {bottom: 20px;}
}

.arrow {
    animation: bouncing 1s infinite ease-in-out;
    bottom: 20px;
    display: block;
    visibility: hidden;
    position: fixed;
    width: 100vw;
    text-align: center;
    color: #eaebd8;
    font-size: 50px;
}