@font-face {
  font-family: "GowunBatang-Regular";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "GowunBatang-Regular";
}
header {
  width: 25%;
  height: 100vh;
  background-color: #ffeeee;
}

header div {
  width: 100%;
  height: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header div h1:hover {
  cursor: pointer;
}

header div h1 {
  color: gray;
  font-size: 80px;
}

header button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 100px;
  margin: 0 auto;
  margin-bottom: 50px;
  font-size: 30px;
  border: none;
  border-radius: 20px;
  background-color: #f8e9d4;
  color: gray;
}

header button:hover {
  cursor: pointer;
}

main {
  position: absolute;
  top: 0;
  width: 75%;
  height: 100vh;
  margin-left: 25%;
  overflow-y: scroll;
  background-color: burlywood;
}

#weather {
  position: fixed;
  top: 50px;
  right: 30px;
  margin-right: 30px;
  font-size: 20px;
}

#weather p {
  background-color: rgb(255, 255, 255, 0.3);
  padding: 20px 50px;
}

#weather p:first-child {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

#weather p:last-child {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

#page1 {
  background-color: #c7d3dd;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#page1 li {
  height: 50px;
  text-align: center;
  font-size: 40px;
  margin-bottom: 100px;
}

#page2 {
  background-color: #f0d290;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page2 li {
  margin-bottom: 30px;
  font-size: 20px;
}
#page2 li:first-of-type {
  margin-bottom: 60px;
}

#page2 li:first-of-type img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
}

#page3 {
  background-color: #cfcd86;

  height: 100vh;
  padding: 0 100px;
}

#page3 dl {
  padding-top: 100px;
}

#page3 dl:last-of-type dd:nth-child(2n + 1) {
  padding-bottom: 40px;
}

#page3 dt {
  font-size: 30px;
  margin-bottom: 50px;
}

#page3 dl dd {
  padding: 10px 0;
  padding-left: 50px;
  font-size: 20px;
}

.question {
  font-size: 30px;
}

#page4 {
  background-color: thistle;
  height: 100vh;
  padding: 0 90px;
}

#page4 p {
  font-size: 40px;
  padding: 80px 0;
}

#page4 ul {
  position: relative;
}

#page4 ul li {
  height: 300px;
  background-size: 100% 100%;
  position: absolute;
  top: 0px;
  z-index: 1;
}

#page4 ul span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  background-color: rgba(128, 128, 128, 0.1);
  color: rgb(128, 0, 128, 0);
  height: 300px;
  position: absolute;
  top: 0px;
  z-index: 2;
}

#page4 ul span:hover {
  cursor: pointer;
  animation: mouse 0.5s ease-out forwards;
}

@keyframes mouse {
  0% {
    background-color: rgba(128, 128, 128, 0.3);
    color: rgb(128, 0, 128, 0.5);
  }
  50% {
    background-color: rgba(128, 128, 128, 0.5);
    color: rgb(128, 0, 128, 0.8);
  }
  100% {
    background-color: rgba(128, 128, 128, 0.7);
    color: rgb(128, 0, 128, 1);
  }
}

.one {
  width: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 400px;
}

.two {
  width: 75%;
  padding-left: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 150px;
}

.one li,
.one span {
  width: 300px;
}

.two li,
.two span {
  width: 400px;
}
