html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-base);
  color: var(--font-base);
}

h1 {
  font-weight: 500;
  font-size: 3.375rem;
  line-height: 115%;
  text-align: center;
  letter-spacing: -0.04em;
  max-width: 400px;
}

h2 {
  font-weight: 500;
  font-size: 2.625rem;
  line-height: 120%;
  text-align: center;
  letter-spacing: -0.03em;
}

a:hover {
  color: var(--accent);
}

.cta {
  border-radius: 10px;
  border: 0;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 21px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.cta-primary {
  background: var(--accent);
  color: var(--white);
}

.cta-primary:hover {
  color: var(--white);
  box-shadow: 0px 8px 16px var(--accent-shadow);
}

.cta-secondary {
  background: var(--background-base);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.cta-secondary:hover {
  box-shadow: 0px 2px 0px var(--accent);
}

/* END GLOBAL STYLES */

.header {
  display: flex;
  padding: 2.5rem 1.5rem;

}

.nav {
  display: none;
}

.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.menu {
  display: none;
}


.nav-mobile__input {
  position: absolute;
  right: 1.5rem;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 99;
}

.menu-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  background: var(--background-base);
  z-index: 2;
  transform: translateY(-100%);
  transition: transform .3s ease-in-out;
}

.nav-mobile__input:checked {
  position: fixed;
}

.nav-mobile__input:checked~.menu-mobile {
  transform: none;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: auto;
}

.link-mobile {
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -.01em;
  line-height: 130%;
  padding: 1.5rem 0;
}


.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 6.25rem 0;
  max-width: 456px;
}

.hgroup__text {
  font-size: 1rem;
  line-height: 160%;
  text-align: center;
  letter-spacing: -0.02em;
}

.discord-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-image: url(/assets/discord-mobile-a684233a66a1e004683c7c025e798f9d11dc61109adc8bfed6416ff2fca1a77e.svg);
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 456px;
  border-radius: 24px 24px 0 0;
  padding: 1rem;
}

.discord-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
}

.discord-cta__count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 18px;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--white);
}

.discord-cta__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-lighter);
}

.discord-members-list {
  display: flex;
  width: 100%;
  justify-content: center;
}

.discord-members-list ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem auto;
}

.discord-members-list ul li {
  margin-right: 0.5rem;
}

.discord-members-list ul li img {
  width: 42px;
  height: 42px;
  border-radius: 16px;
}

.partners-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.25rem;
  background-color: var(--background-secondary);
  padding: 4.5rem 1.5rem;
}

.logos-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5rem;
  width: 100%;
  max-width: 500px;
}

.logos-list__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 40px;
  transition: all .3s;
}

.logos-list__item:hover {
  transform: scale(1.05);

}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4.5rem 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.form-box__input {
  background: var(--background-base);
  border: 1px solid var(--grey);
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  font-family: 'Poppins';
  font-size: 1rem;
  line-height: 160%;
  letter-spacing: -0.02em;
  color: var(--font-base);
  resize: none;
}

.form-box__input::placeholder {
  color: var(--grey);
}

.form-box__input:focus {
  outline: none;
  border: 1px solid var(--accent);
  box-shadow: 0px 1px 0px var(--accent);
}

.form-box__input--error {
  border: 1px solid var(--error);
  box-shadow: 0px 1px 0px var(--error);
}

.form-button {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.error-box {
  display: flex;
  gap: 0.25rem;
}

.error-box__text {
  font-size: 0.625rem;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: var(--error);
  padding-top: 2px;
}

.flash-messages {
  position: absolute;
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--green);
  font-size: 0.8rem;
  line-height: 18px;
  color: var(--white);
  text-align: center;
  animation: fadeIn 0.2s, fadeIn 0.2s 4s forwards reverse;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}
@media only screen and (min-width: 1024px) {

    body .header {
        padding: 2.5rem 3.5rem;
    }

    .header .nav-mobile {
        display: none;
    }

    .header .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav__logo {
        transition: all .3s;
    }

    .nav__logo:hover {
        transform: scale(1.05);
    }

    .nav .menu-content {
        flex-direction: row;
        gap: 2.5rem;
        margin: 0;
    }

    .link {
        font-weight: 400;
        font-size: 0.875rem;
        line-height: 170%;
        letter-spacing: -0.01em;
        padding: 1rem 0;
    }

    .discord-members-list {
        width: 35%;
        margin: 0 auto;
    }

    .discord-box {
        flex-direction: column-reverse;
        background-image: url(/assets/discord-desktop-0354c524c50696487895b761b2be44faf4cc46cdfae35782aacd6cce36a1f979.svg);
        background-position-x: center;
        background-size: auto;
        min-height: 270px;
        max-width: 100%;
    }

    .discord-cta {
        flex-direction: column-reverse;
        margin-top: 1.5rem;
        padding: 0;
    }

    .partners-section .logos-list {
        max-width: 900px;
    }
}
/***
    The new CSS reset - version 1.8.3 (last updated 21.1.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
 *:where(:not(html, iframe, canvas, img, svg, video, audio, input, textarea):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: pointer;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
pre {
  all: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
 display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
 - fix for the content editable attribute will work properly.
 - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}
:root {
    --background-base: #ffffff;
    --background-secondary: #F4F5F7;
    --font-base: #2B3038;
    --accent: #E73631;
    --accent-shadow: rgba(231, 55, 49, 0.2);
    --white: #ffffff;
    --grey: #6F7C91;
    --error: #C93F59;
    --green: #119A5A;
    --green-lighter: #47BF7C;  
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
