@font-face {
  font-family: Stardew_Valley;
  src: url(/fonts/Stardew_Valley.ttf);
}
* {
  box-sizing: border-box;
  cursor: url(/images/site-icons/stardew-cursor.webp), auto;
  margin: 0;
  padding: 0;
}

html, body {
  background: url(/images/site-icons/stardew-background.webp) center center;
  background-size: cover;
  font-family: Stardew_Valley;
  height: 100%;
  margin: 0;

  --brown: #4f1b11;
}

header {
  height: 4rem;
}

h1 {
  color: white;
  display: inline;
  font-size: 64px;
  margin: 0;
  text-shadow: 0px 0px 5px black;
}

h2 {
  color: var(--brown);
  font-size: 5rem;
  text-shadow: none;
  letter-spacing: -1px;
}

h3 {
  color: var(--brown);
  font-size: 2rem;
  text-shadow: none;
  line-height: 1.5em;
}

p {
  color: var(--brown);
  font-size: 1.5rem;
  text-shadow: none;
}

button {
  background: none;
  border: none;
}

#volume-button {
  left: 3rem;
  position: absolute;
  top: 1.5rem;

  img {
    width: 4rem;
  }
}

#volume-button > img:hover {
  cursor: url(/images/site-icons/stardew-hand.webp), auto;
  transform: scale(1.1);
}

#indicator {
  color: white;
  text-shadow: 0px 0px 5px black;

  position: absolute;
  left: 1.5rem;
  top: 5.5rem;
}

#help {
  width: 4rem;
  position: absolute;
  right: 1.5rem;
  top: 2rem;
}

#help:hover {
  cursor: url(/images/site-icons/stardew-hand.webp), auto;
  transform: scale(1.1);
}

.title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 2rem;
  padding: 0 rem;

  div {
    display: flex;
    align-items: center;
  }
}

.stardew-logo {
  height: 7rem;
  margin: 0 1rem;
}

#date-input {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7rem;

  input {
    border: none;
    border-radius: 3rem;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    height: 4rem;
    outline: none;
  }

  button {
    border: none;
    color: white;
    margin: 0 0 0 1rem;
    padding: 0;
    width: 4rem;

    img {
      width: 100%;
    }
    
    img:hover {
      cursor: url(/images/site-icons/stardew-hand.webp), auto;
      transform: scale(1.1);
    }
  }
}

.character-items {
  align-items: center;
  column-gap: 50px;
  display: grid;
  grid: repeat(2,1fr) / repeat(6,1fr);
  justify-items: center;
  margin: 2rem 4rem 4rem 4rem;
  row-gap: 50px;

  .character {
    height: auto;
    width: 100%;
  }

  .character:hover {
    cursor: url(/images/site-icons/stardew-hand.webp), auto;
    transform: scale(1.1);
  }
}

#zodiac-popup {
  align-items: center;
  backdrop-filter: blur(3px);
  height: 100vh;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100vw;

  #zodiac-frame {
    background-image: url(/images/popup-contents/stardew-zodiac-frame.webp);
    background-repeat: no-repeat;
    background-size: cover;

    column-gap: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left right";
    padding: 3rem 3rem;

    position: absolute;  
    top: 50%;  
    left: 50%;  
    transform: translate(-50%, -50%);
    height: 610px;
    width: 1012px;
  
    button {
      width: 4rem;
      position: fixed;
      top: -1rem;
      right: -1rem;

      img {
        height: 90%;
        width: 95%;
      }
    }

    button:hover {
      filter: brightness(110%);
      top: -1.5rem;
      right: -1.5rem;
      width: 5rem;

      img:hover {
        cursor: url(/images/site-icons/stardew-hand.webp), auto;
      }
    }

    div {
      align-items: center;
      display: flex;
      flex-direction: column;
    }

    #left {
      display: flex;
      flex-direction: column;
      grid-area: left;
      justify-content: space-around;
    }

    #right {
      display: flex;
      flex-direction: column;
      grid-area: right;
      justify-content: space-around;
    }

    #zodiac-picture {
      display: block;
      margin-bottom: 3rem;
    }

    #zodiac-sprites {
      width: 250px;
    }

    #zodiac-date {
      margin: 0 0 1rem;

    }

    #zodiac-description {
      margin-bottom: 2.5rem;
    }

    #zodiac-ld {
      align-self: flex-start;
      width: 250px;
    }
  }
}

#help-popup, #error-popup {
  align-items: center;
  backdrop-filter: blur(3px);
  height: 100vh;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100vw;
  }

#help-frame {
  background-image: url(/images/popup-contents/stardew-help-frame.webp);
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 3rem;
  text-align: center;

  position: absolute;  
  top: 50%;  
  left: 50%;  
  transform: translate(-50%, -50%);
  height: 579px;
  width: 560px;
  }

#error-frame {
  background-image: url(/images/popup-contents/stardew-error-frame.webp);
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 3rem;
  text-align: center;

  position: absolute;  
  top: 50%;  
  left: 50%;  
  transform: translate(-50%, -50%);
  height: 305px;
  width: 560px;
}

#help-close, #error-close {
  width: 4rem;
  position: fixed;
  top: -1rem;
  right: -1rem;

  img {
    height: 90%;
    width: 95%;
  }
}

#help-close:hover, #error-close:hover {
  filter: brightness(110%);
  top: -1.5rem;
  right: -1.5rem;
  width: 5rem;

  img:hover {
    cursor: url(/images/site-icons/stardew-hand.webp), auto;
  }
}

.h1-popup {
  color: var(--brown);
  margin-bottom: 2rem;
  text-shadow: none;
}

.h3-popup {
  margin-bottom: 1rem;
}

.hide {
  display: none;
}







