@font-face{
  font-family: hyliaFont;
  src: url('./Hylia Serif Beta v0-009/HyliaSerifBeta-Regular.otf');
}




@font-face{
  font-family: wildFont;
  src: url('./Hylia Serif Beta v0-009/The Wild Breath of Zelda.otf');
}




@font-face{
  font-family: triforceFont;
  src: url('./Hylia Serif Beta v0-009/Triforce.ttf')
}




@font-face{
      font-family: baseFont;
      src: url('./Hylia Serif Beta v0-009/RocknRollOne-Regular.ttf')
}




html {
  scroll-behavior: smooth;
  scroll-padding: 1rem;
}




body{
  background-image: url(background.png);
  margin: 0;
  padding: 0;
}




.mainDiv {
  border: outset 8px #d5c96c;
  background-color: #f8e9a0;  
  text-align: left;
  margin-left: 53px;
  margin-bottom: 20px;
  border-radius: 10px;
  width: 80%;
  padding: 10px
}




.page-content {
  margin-left: 130px; /* Pushes content exactly past the 130px sidebar */
  padding: 20px;      /* Adds a little breathing room around the text */
}




h1{
  background: -webkit-linear-gradient(#eede51, #c98b21);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 80px;
  text-align: center;
  font-family: hyliaFont;
}




h2{
  color:#d9b748;
  font-size: 40px;
  text-align: center;
  font-family: triforceFont;
}




h3{
  color: #50732e;
  font-size: 30px;
  text-align: left;
  font-family: wildFont;
}




p{
  color: #666262;
  font-size: 13px;
  text-align: left;
  font-family: baseFont;
}




a{
  font-family: baseFont;
  font-size: 13px;
}


a:hover { 
  text-decoration: underline; 
  text-decoration-thickness: 2px;  
  transition: color 0.2s ease-in-out; 
}




ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 130px;
  background-color: #f8e9a0;
  position: fixed;
  height: 100%;
  overflow: auto;
  top: 0;
  left: 0;
}


li a {
  display: block;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  font-family: hyliaFont;
  font-size: 16px;
}


li a.active {
  background-color: #50732e;
  color: white;
  border-radius: 3px;
}


li a:hover:not(.active) {
  background-color: #bcb8db;
  color: blue;
  border-radius:3px;
}


.dropbtn {
  display: inline-flex;
  align-items: center;
}


li a.dropbtn:hover, .dropdown:hover .dropbtn {
    background-color: transparent;
    color: inherit;
}


.dropbtn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease-in-out;
}




.dropdown:hover .dropbtn::after {
  transform: rotate(45deg);
}




.dropdown-content {
  background-color: #e4c67a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}


.dropdown-content a {
  padding-left: 24px;
  font-size: 14px;    
}


.dropdown:hover .dropdown-content {
  max-height: 150px;
}




::-webkit-scrollbar {
  width: 15px;
}


/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 8px;
}


/* Handle */
::-webkit-scrollbar-thumb {
  background: -webkit-linear-gradient(#eede51, #c98b21);
  border-radius: 8px;
}


.thumbnail {
  top:-50px;
  left:-35px;
  display:block;
  z-index:999;
  cursor: pointer;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  }
 
  /*change the number below to scale to the appropriate size*/
  .thumbnail:hover {
  transform: scale(1.1);
 
  }


.game-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 30px; 
    margin-bottom: 40px; 
} 


.game-row:nth-child(even) { 
    flex-direction: row-reverse; 
} 


.game-image { 
    flex: 1; 
    text-align: center; } 


.game-image img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    border: 2px solid #d9b748;
} 


.game-text { 
    flex: 4; 
}


.region-container { 
    display: flex; flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    padding: 20px;
} 


.region-card { 
    position: relative;
    text-decoration: none; 
    width: 28%; 
    min-width: 200px; 
    background-color: #f8e9a0; 
    border: outset 4px #d5c96c; 
    border-radius: 10px; 
    text-align: center; 
    transition: transform 0.2s ease-in-out; 
    overflow: hidden; 
} 


.region-card:hover { 
    transform: scale(1.05); 
    background-color: #e4c67a; 
} 


.region-card img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    display: block; 
} 


.region-card h3 { 
    position: absolute; 
    top: 10px; 
    left: 0; 
    width: 100%; 
    margin: 0; 
    z-index: 2; 
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.9), 
                 0px 0px 3px rgba(255, 255, 255, 1); 
}
