@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Bold.woff2") format("woff2"),
       url("./fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-SemiBold.woff2") format("woff2"),
       url("./fonts/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Medium.woff2") format("woff2"),
       url("./fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Regular.woff2") format("woff2"),
       url("./fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", sans-serif;
  background-color: #EBF4FC;
  color: #16103E;
  width: 100vw;
  height: 100dvh;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

a {
  font-family: "Gilroy", sans-serif;
  text-decoration: none;
  color: inherit;
}

.container {
  padding: 2.5rem;
  width: 100%;
  max-width: 861px;
}

.header {
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  border-bottom: 2px solid rgba(22, 16, 62, 0.65);
}

.header::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='14' viewBox='0 0 13 14' fill='none'%3E%3Cpath d='M6.49993 10.1498C6.37355 10.1498 6.25185 10.1332 6.13485 10.0998C6.01713 10.0665 5.91313 9.99984 5.82285 9.89984L0.920768 5.39984C0.776324 5.24984 0.704102 5.07484 0.704102 4.87484C0.704102 4.67484 0.785351 4.49984 0.947851 4.34984C1.11035 4.21651 1.29993 4.14984 1.5166 4.14984C1.73327 4.14984 1.92285 4.21651 2.08535 4.34984L6.49993 8.42484L10.9416 4.34984C11.086 4.19984 11.2666 4.12884 11.4833 4.13684C11.6999 4.1455 11.8895 4.21651 12.052 4.34984C12.2145 4.49984 12.2958 4.67884 12.2958 4.88684C12.2958 5.0955 12.2145 5.2665 12.052 5.39984L7.17702 9.89984C7.08674 9.99984 6.9831 10.0665 6.8661 10.0998C6.74838 10.1332 6.62632 10.1498 6.49993 10.1498Z' fill='%2316103E' fill-opacity='0.65'/%3E%3C/svg%3E");
  background-color: #EBF4FC;
  background-repeat: no-repeat;
  background-position: center;
  width: 0.8125rem;
  height: 0.875rem;
  padding-inline: 1rem;
  position: absolute;
  bottom: calc(-0.875rem / 2);
}

.header__title {
  visibility: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.header__subtitle {
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 1.05rem */
  letter-spacing: 0.0175rem;
}

.header__description {
  margin-top: 2rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 175%; /* 1.75rem */
  letter-spacing: 0.02rem;
}

.nav__list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

@media (min-width: 640px) {
  .nav__list {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

.nav__list-link {
  display: flex;
  height: 3rem;
  min-width: 14.375rem;
  padding: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex: 1 0 0;
  border-radius: 0.625rem;
  border: 1px solid var(--Button-sl_btn_dark_blue_sec_3, rgba(22, 16, 62, 0.70));
  background: var(--Button-sl_btn_real_white, #FFF);
  box-shadow: 0px 1px 4px 0px rgba(0, 26, 66, 0.10), 0px 2px 4px 0px rgba(0, 26, 66, 0.15);
  color: var(--Button-sl_btn_dark_blue_sec_2, rgba(22, 16, 62, 0.80));
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 1rem */
  letter-spacing: 0.01rem;
  transition: all 0.3s ease-in-out;
}

.nav__list-link:hover {
  border-radius: 0.625rem;
  border: 1px solid var(--Button-sl_btn_dark_blue_sec_2, rgba(22, 16, 62, 0.80));
  background: var(--Button-sl_btn_real_white, #FFF);
  box-shadow: 0px 2px 8px 0px rgba(0, 26, 66, 0.15), 0px 3px 8px 0px rgba(0, 26, 66, 0.20);
  color: var(--Base-sl_navy_dark_blue, #16103E);
}

.nav__list-link:hover svg path {
  fill: var(--Base-sl_navy_dark_blue, #16103E);
}
.nav__list-link:active {
  background-color: var(--Button-sl_btn_dark_blue_sec_2, rgba(22, 16, 62, 0.05));
}
