@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed&family=Nanum+Gothic&display=swap");

:root {
  --black: #161616;
  --light-gray: #f1f1f1;
  --white: #f9f9fb;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nanum Gothic", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  background-color: var(--light-gray);
  color: var(--black);
  position: relative;
}

.logoContainer {
  display: flex;
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 160px;
}

.logo {
  display: flex;
  max-width: 100%;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem 2rem;
}

section.hero {
  min-height: 100vh;
}

.hero h1 {
  font-size: 90px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  line-height: 55px;
  margin: 3rem auto;
  padding: 1rem;
  background: #1d2671;
  background: linear-gradient(to right, #c33764 0%, #1d2671 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
}

.hero .linksContainer {
  display: flex;
}

.hero .linksContainer a {
  font-family: inherit;
  font-size: 18px;
  margin: 0 15px;
  cursor: pointer;
  color: var(--black);
  text-decoration: underline;
  text-align: center;
}

.hero .linksContainer a:active,
.hero .linksContainer a:visited {
  color: var(--black);
}

.hero .linksContainer a:hover {
  color: #c33764;
}

section h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin-top: 5rem;
  background: #1d2671;
  background: linear-gradient(to right, #c33764 0%, #1d2671 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section h3 {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 0.5rem;
}

section .accsContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  margin: 5rem auto;
}

.accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.accordion .accHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion .accHeader:hover {
  cursor: pointer;
}

.accordion .accHeader h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.accordion .accHeader .fa-angle-down {
  margin: auto 1rem;
  transition: all 0.3s ease;
}

.accordion.active .accHeader .fa-angle-down {
  transform: rotate(180deg);
}

.accordion p {
  font-size: 16px;
  margin-top: 0.75rem;
  padding: 0 1.25rem;
  transition: opacity 0.5s, display 0.3s 02s;
  opacity: 0;
  display: none;
}

.accordion.active p {
  opacity: 1;
  display: block;
}

.accordion p:last-of-type {
  margin-bottom: 2.5rem;
}

section.minimalSection {
  background-color: var(--white);
}

section.minimalSection .accordion {
  border-bottom: 1px solid rgb(213, 213, 213);
}

section.minimalSection .accordion:first-of-type {
  border-top: 1px solid rgb(213, 213, 213);
}

section.minimalSection .accordion .accHeader {
  padding: 1.15rem 0;
}

section.minimalSection .accordion.active .accHeader {
  padding: 2.5rem 0 1rem 0;
}

section.boxedSection .accordion {
  background-color: var(--white);
  border-radius: 5px;
  margin-top: 10px;
  padding: 1.15rem;
  filter: drop-shadow(1px 1px 2px rgba(154, 154, 154, 0.5));
}

section.boxedSection .accordion.active {
  padding-bottom: 0;
}

section.boxedSection .accordion.active .accHeader {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgb(213, 213, 213);
}

footer {
  padding: 2rem;
}

footer p {
  background: #1d2671;
  background: linear-gradient(to right, #c33764 0%, #1d2671 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a,
a:visited,
a:active {
  color: #b90199;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 420px) {
  .logoContainer {
    will-change: 150px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero h1 {
    font-size: 50px;
    line-height: 32px;
    margin: 2rem auto;
    padding: 1rem 0;
  }

  .hero h1 span {
    font-size: 25px;
  }

  .accordion .accHeader h4 {
    font-size: 22px;
  }
}
