@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: #eaebd8;
    font-family: 'Lexend Deca', sans-serif; 
}

.about-section {
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    color: #334B4A;
    font-size: 1.2em;
    line-height: 1.6;
}

h1 {
    text-align: center;
    margin-top: 0;
    border-top: 4px solid #334B4A;
    border-bottom: 4px solid #334B4A;
    line-height: 2em;
}

@media screen and (min-width: 768px) {
  
    
}

.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;
}