:root {
  --font-family: "Nunito", sans-serif;
  --lighter-gray: #e9e7e7;
  --light-gray: #e1e1e1;
  --hard-gray: #a3a3a3;
  --dark-gray: #656565;
  --line-gray: #d4d4d4dc;
  --medium-gray: #a3a3a3;
  --hard-yellow: #ffac2b;
  --yellow: #ffbf58;
  --light-yellow: #ffdda9;
  --dark-purple: #89389e;
  --hard-purple: #bc4ed8;
  --unlight-purple: #f7d8ff;
  --light-purple: #f5cdff;
  --text-black: #515151;
  --light-blue: #4ed8bc;
}

* {
  font-family: var(--font-family);
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fffbff;
}

header {
  display: flex;
  flex-direction: column;
}
.hd1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1vh 15vw;
  border-bottom: 2px solid var(--line-gray);
  height: 10vh;
}
.hd1 > a > img {
  width: 210px;
}

main {
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer {
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 990px;
  margin: auto;
}
footer img {
  width: 450px;
  margin-bottom: 5%;
}
.fd1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
  margin: 0 auto;
  gap: 8vw;
  width: auto;
}
.fd1 div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
footer h2 {
  font-weight: bolder;
  font-size: clamp(1.25rem, 0.625rem + 2vw, 1.75rem);
  color: #fff;
  max-width: 100%;
  user-select: none;
  margin-block: 1vh;
}
footer a {
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.125rem, 0.6563rem + 1.5vw, 1.5rem);
  color: var(--light-purple);
  user-select: none;
  margin-block: 0;
}
footer a:hover {
  color: #ffffff;
}

input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

@media screen and (max-width: 1080px) {
  .hd1 {
    border: none;
  }
  footer {
    max-width: 700px;
    width: 90vw;
    height: auto;
    min-height: 100svh;
  }
  footer img {
    width: 40vw;
  }
  .fd1 {
    width: auto;
    gap: 5vw;
  }
}

@media screen and (max-width: 500px) {
  .fd1 {
    flex-direction: column;
    justify-content: center;
    margin-left: 10vw;
    gap: 2vh;
  }
  footer img {
    width: 60vw;
  }
}
