@font-face {
  font-family: fira-code;
  src: url("FiraCode-VF.woff2");
}

body {
  padding: 170px 23vw 230px 23vw;
  background: linear-gradient(#f83600, #f9d423);
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

* {
  font-weight: normal;
  font-size: medium;
  font-family: fira-code;
  color: #fff;
}

.divider {
  width: 85vw;
  height: 2px;
  margin-bottom: 30px;
  background-color: #fff;
}

#nav {
  width: 100vw;
  position: fixed;
  top: 0;
  padding: 15px;
  border-radius: 15px;
  background-color: #ffffff35;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  gap: 5%;
}

#nav a {
  border-radius: 20px;
  padding: 5px 30px 5px 30px;
  transition: all 0.1s ease-out;
  text-decoration: none;
}

#nav a:hover {
  background-color: #fff;
}

#nav a:hover span {
  color: #f83600;
}

@media (width > 1050px) {
  #nav a .icon::after {
    content: "<>";
  }
}

@media (width < 1050px) {
  #nav {
    gap: 5px;
  }

  #nav a {
    padding: 5px 20px 5px 20px;
    border-radius: 10px;
  }
}

@media (width < 530px) {
  #nav a {
    padding: 5px 5% 5px 5%;
  }
}

@media (width < 450px) {
  #nav a {
    padding: 5px 2% 5px 2%;
  }
}

#home {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#home * {
  text-align: center;
}

#home #main-title .title {
  font-size: 2.8em;
}

#home .label {
  font-size: 1.1em;
}

#home .card-box {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#home .card-box .note {
  font-size: 0.85em;
  width: fit-content;
  border: 2px solid #fff;
  border-bottom: none;
  padding: 7px;
  margin-bottom: 50px;
}

@media (pointer: coarse) {
  #home .card-box .note {
    display: none;
  }
}

#home .card-box .cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#home .card-box .cards .card {
  width: 75vw;
  max-width: 500px;
  height: 150px;
  background-color: #ffffff23;
  border: 2px solid #fff;
  border-radius: 8px;
  filter: blur(2px);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in-out;
}

@media (pointer: coarse) {
  #home .card-box .cards .card {
    filter: none;
  }
}

#home .card-box .cards .card:hover {
  filter: none;
}

#home .cards .card .card-divider {
  width: 85%;
  height: 2px;
  background-color: #fff;
  margin: 20px 0 20px 0;
}

#parts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 180px;
  gap: 120px;
}

#parts .part {
  width: 80vw;
  max-width: 1400px;
}

#parts .part-title {
  text-transform: uppercase;
  text-decoration: underline;
  text-align: right;
  padding-bottom: 38px;
  font-size: 1.2em;
}

#parts #about .contents {
  font-size: 1.1em;
  line-height: 50px;
}

#parts #thanks {
  font-size: 1.1em;
  line-height: 35px;
}

#parts #thanks .boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#parts #thanks .boxes .box {
  padding: 10px 30px 10px 30px;
  border: 2px solid #fff;
  border-radius: 6px;
  background-color: #ffffff23;
  backdrop-filter: blur(20px);
}