#readmore {
  display: block;
  text-align: center;
  color: inherit;
  font-family: Quantico, sans-serif;
  font-size: 1.5rem;
}

#readmore img {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
}

/* Header layout
   ================================================================== */
#header {
  position: fixed;
  opacity: 0;
  visibility: collapse;
  transform: translate(0, -0.5rem);
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0 1rem;
  z-index: 10;
  transition: opacity 0.35s ease-in-out, transform 0.45s ease-in-out, visibility 0.6s linear;
}

#header .content {
  display: flex;
  align-items: center;
  height: 3.5rem;
}

#header.visible {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}

#header .logo {
  height: 90%;
}

#header .main-nav {
  margin: 0 1.5rem 0 auto;
  display: flex;
}

#header .main-nav a {
  color: inherit;
  display: block;
  text-decoration: none;
  padding: 0 0.5rem;
  margin-left: 0.5rem;
  border-bottom: 2px solid transparent;
}

#header .main-nav a:hover {
  color: var(--color-accent-dk);
  border-bottom-color: var(--color-accent);
}

#header button {
  height: 2rem;
}

/* Hero section layout / Composition
   ================================================================== */
#hero {
  height: calc(100vh + 4rem);
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  background-image: linear-gradient(to bottom, var(--color-accent-ltr) 78%, transparent);
}

#hero .content {
  width: 36.875rem;
  padding: var(--layout-gap);
  margin: auto var(--layout-gap);
  position: relative;
  top: -4rem;
  z-index: 1;
}

#hero .content button {
  display: inline-block;
  width: 10rem;
  font-size: 1.125em;
  margin-right: 1rem;
}

#hero .content h1 {
  font-size: 2.75rem;
}

#hero .content h2 {
  line-height: 1.25;
  font-family: inherit;
  font-weight: normal;
  font-size: 1.25rem;
  margin: 1rem 0 1.5rem;
}

#hero .content:hover + #composition img,
#hero .content:hover + #composition .ray {
  animation-play-state: running;
}

#hero #readmore {
  position: absolute;
  bottom: 8rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 12rem;
}

/* Clouds compostion for hero section
   ================================================================== */
@keyframes composition-slide-out {
  to {
    transform: translate(var(--composition-slide-out-value), 0);
  }
}

@keyframes composition-slide-ray {
  to {
    height: 80%;
    width: 24rem;
    transform: skew(-10deg);
  }
}

#composition {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
}

#composition img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation-name: composition-slide-out;
  animation-timing-function: ease-in-out;
  animation-duration: 6s;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  animation-iteration-count: 1;
}

#composition .ray {
  display: block;
  position: absolute;
  top: 0;
  width: 36rem;
  left: -4.5rem;
  right: 0;
  margin: auto;
  height: 0%;
  background-image: linear-gradient(to bottom, var(--color-adjacent-ltr) 5%, transparent);
  transform: skew(-30deg);
  animation-name: composition-slide-ray;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  animation-iteration-count: 1;
  animation-delay: 2s;
}

#composition .bottomleft {
  --composition-slide-out-value: -15%;
  left: min(-1.5rem, -2vw);
  bottom: 13vh;
  width: max(20rem, 32vw);
}

#composition .bottomright {
  --composition-slide-out-value: 20%;
  right: 2vw;
  bottom: 20vh;
  width: max(14rem, 24vw);
}

#composition .topleft {
  --composition-slide-out-value: -30%;
  left: max(6rem, 12vw);
  top: -2vh;
  width: max(16rem, 28vw);
}

#composition .topright {
  --composition-slide-out-value: 30%;
  right: max(3rem, 12vw);
  top: 0;
  width: max(20rem, 30vw);
}

#composition .centerright {
  --composition-slide-out-value: 15%;
  top: 14vh;
  width: max(14rem, 20vw);
  right: 2rem;
}

#composition .centerleft {
  --composition-slide-out-value: -20%;
  top: 14vh;
  width: max(16rem, 28vw);
  left: min(-1.5rem, -2vw);
}

/* About section
   ================================================================== */
#about {
  margin-top: 4rem;
  margin-bottom: 6rem;
}

#about .content {
  font-size: 1.125rem;
  line-height: 1.5;
}

#about .step {
  margin-top: 1.8rem;
}

/* News section
   ================================================================== */
#news {
  margin: 6rem 0;
}

#news .news-item {
  margin-top: var(--layout-gap);
}

/* Participants section
   ================================================================== */
#participants {
  margin: 6rem 0;
}

#participants .ribbon {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  margin: 0.5rem 1rem;
  border-radius: var(--bdrs);
  border: 2px solid var(--color-border);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-1);
  overflow: auto;
}

#participants li {
  display: inline-block;
  padding: 0.5rem 1rem;
  vertical-align: middle;
}

#participants img {
  max-width: 180px;
}

#participants .tns-outer {
  overflow: hidden;
}

#participants .tns-outer button {
  display: none !important;
}

/* Want to join section
   ================================================================== */
#wanttojoin {
  max-width: 36rem;
  margin: 6rem auto -12rem;
  position: relative;
}

#wanttojoin .inner {
  padding: var(--layout-gap);
  border-radius: 8px;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-1);
  background-color: var(--color-adjacent-ltr);
  text-align: center;
  margin: var(--layout-gap);
}

#wanttojoin h1 {
  font-size: 1.75rem;
  line-height: 1.5;
  margin-bottom: var(--layout-gap);
}

/* Footer
   ================================================================== */
#footer {
  padding: 6rem 0 2rem;
  min-height: 30rem;
  display: flex;
  background-image: linear-gradient(to top, var(--color-background) 70%, transparent);
}

#footer .content {
  margin-bottom: 0;
  text-align: center;
}

#footer .contacts_item {
  display: inline-block;
  margin-right: 1rem;
}

#footer .contacts_item:last-child {
  margin-right: 0;
}

#footer .copy {
  display: block;
  margin-top: 0.5rem;
}
