/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

ul[class], ul,
ol[class], ol {
  margin: 0;
  padding-inline-start: 3.2rem;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}
a {
  text-decoration: none;
  display: inline-block;
  position: relative;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}

a, a:focus {
  text-decoration: none;
  outline: 0;
  color: inherit;
}

em {
  font-style: initial;
}

img, svg {
  display: block;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  min-width: 360px;

  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;

  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: #ece6d9;
}

p, h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}

a, a:focus {
  text-decoration: none;
  outline: 0;
  color: inherit;
}

img, svg {
  vertical-align: middle;

  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

main {
  display: flex;
  flex-flow: column;
  min-height: 100svh;
  background-image: url('/img/bg.gif');
  background-color: #211815;
}

  header {
    flex: auto;
    display: flex;
    flex-flow: column;
    align-items: center;
    line-height: 1.7;
    justify-content: center;
    padding: 100px 34px;
  }

    header img {
      width: 200px;
      height: 200px;
    }

    header > p {
      margin-top: 42px;
      font-size: 18px;
      text-align: center;
    }

    .page__button {
      margin-top: 40px;
      padding: 11px 27px;
      border: 1px solid #ece6d9;
      font-weight: 700;
      font-size: 15px;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.25s, color 0.25s;
    }

    .page__button.dark {
      border: 1px solid #211815;
      color: #211815;
    }

    .page__button:hover {
      background-color: #ece6d9;
      color: #211815;
    }

    .page__button.dark:hover {
      background-color: #211815;
      color: #ece6d9;
    }

      .page__button p {
        font-size: 14px;
      }
  

  footer {
    display: flex;
    justify-content: space-between;
    padding: 0px 34px 22px;
    font-size: 12px;
  }




  .modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    visibility: hidden;
    opacity: 0;
  }

    .modal__bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100svh;
      background-color: rgba(33, 24, 21, 0.6);
    }
    
    .modal__inner {
      display: flex;
      flex-flow: column;
      align-items: center;
      position: relative;
      width: 390px;
      padding: 30px 55px 50px;
      background-color: #ece6d9;
      box-sizing: border-box;
    }
    
      .modal__logo {

      }
      
        form {
          position: relative;
          display: flex;
          flex-flow: column;
          align-items: center;
        }

          form > p {
            margin-top: 18px;
            margin-bottom: 30px;
            width: 220px;
            font-size: 18px;
            text-align: center;
            color: #211815;
          }

          form input {
            width: 100%;
            height: 38px;
            padding: 0px 12px;
            background-color: transparent;
            border: 1px solid rgba(33, 24, 21, 0.5);;
            border-radius: 0px;
            box-sizing: border-box;
            -moz-appearance:none;
            -webkit-appearance:none;
            appearance: none;
            outline: none;

            font-family: "Anonymous Pro", monospace;
            font-weight: 400;
            font-style: normal;
            font-size: 16px;
          }

          form input[name="last_name"],
          form input[name="email"] {
            margin-top: 8px;
          }

          form > .page__button {
            margin-top: 30px;
            width: 100%;
          }

        
        .modal__message {
          display: flex;
          flex-flow: column;
          align-items: center;
          justify-content: space-between;
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          visibility: hidden;
          opacity: 0;
        }

          .modal__message__bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ece6d9;
          }

          .modal__message__inner {
            flex: 1;
            display: flex;
            flex-flow: column;
            align-items: center;
            justify-content: center;
            position: relative;
          }

              .modal__message__inner > p {
                width: 320px;
                font-size: 18px;
                text-align: center;
                color: #211815;
              }


            .modal__message > .page__button {
              position: relative;
            }
          

        .modal__close {
          display: flex;
          align-items: center;
          justify-content: center;
          position: absolute;
          top: 10px;
          right: 10px;
          width: 30px;
          height: 30px;
          cursor: pointer;
        }

          .modal__close::before,
          .modal__close::after {
            content: '';
            position: absolute;
            width: 15px;
            height: 1px;
            background-color: #211815;
          }

          .modal__close::before {
            transform: rotate(-45deg);
          }
          
          .modal__close::after {
            transform: rotate(45deg);
          }





@media screen and (max-width: 768px) {
  header img {
    width: 150px;
    height: 150px;
  }

  header > p {
    font-size: 14px;
  }

  footer {
    padding: 34px 22px;
  }

  .modal__inner {
    width: 320px;
  }

  .modal__message__inner > p {
    width: 280px;
    font-size: 14px;
  }
}