@import url('./normalize.css');
@import url('./fonts.css');
@import url('./global.css');
@import url("./buttons.css");

html {
    box-sizing:border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

a {
    display: inline-block;

    color: inherit;

    text-decoration: none;
}

img {
    max-width: 100%;

    display: block;

    object-fit: cover;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  height: 100vh;

  margin: 0;

  background: url("./img/index.png") no-repeat center center/cover fixed;
}

.card {
  margin-top: 9.5rem;

  background-color: transparent;

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;

  width: 100%;
  height: 100%;

  background: rgba(3, 10, 9, 0.54);
}

.card h1 {
  display: inline-block;

  font-family: "Cactus", sans-serif;
  font-size: 9.375rem;
  font-weight: normal;
  -webkit-text-fill-color: transparent;
  text-shadow: -10px 10px 10px rgba(0, 0, 0, 0.25),
    -30px 30px 30px rgba(0, 0, 0, 0.2), -45px 45px 70px rgba(0, 0, 0, 0.2),
    8px -8px 10px rgba(255, 255, 255, 0.07);

  background: linear-gradient(180deg, #c3b395 53.17%, #8b8062 100%);
  background-clip: text;
  -webkit-background-clip: text;

  margin-bottom: 0;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.main-title {
  width: 100%;

  margin: 0;

  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-control {
  width: 100%;
  max-width: 25rem;
  height: 3.5rem;

  margin-top: 2.75rem;
  margin-bottom: 1.25rem;

  font-family: "Avrile", serif;
  font-size: 1.5rem;
  text-align: center;
  color: #685e48;

  background-color: #fff;
  border: 2px solid #b6a785;
  border-radius: 2.5rem;

  &::placeholder {
    color: #594f39;
  }
  &&:focus::placeholder {
    color: transparent;
  }
}

.top-line,
.bottom-line {
  width: 50rem;
  height: 0.375rem;

  background: linear-gradient(90deg, #b8aa8c 0%, #424031 53%, #a9a98e 99.5%);
}

.copyright {
  position: absolute;

  left: 2.5rem;
  bottom: 2rem;
}

.creator {
  position: relative;
  color: #D1D1D1;
}

.creator::after {
  content: "";

  position: absolute;
  bottom: -0.25rem;
  left: 0;

  width: 100%;
  height: 2px;

  background-color: #D1D1D1;
}

@media screen and (max-width: 1400px) {
  .card h1 {
    font-size: 7.5rem;
  }

  .card {
    margin-top: 7.625rem;
  }
}

@media screen and (max-width: 1100px) {
  .card h1 {
    font-size: 6.875rem;
  }

  .card {
    margin-top: 7rem;
  }
}

@media screen and (max-width: 900px) {
  .card h1 {
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;

    font-size: 6.25rem;
  }

  .top-line,
  .bottom-line {
    height: 0.25rem;
  }

  .card {
    margin-top: 5.75rem;
  }

  .form-control {
    height: 3.125rem;

    font-size: 1.25rem;
  }

  .btn {
    height: 3.125rem;

    font-size: 1.25rem;


  }
}

@media screen and (max-width: 800px) {
  .card h1 {
    padding-top: 1rem;
    padding-bottom: 2rem;

    font-size: 5rem;
  }

  .horizontal-line {
    margin-bottom: 1.25rem;
  }

  .form-control {
    height: 2.875rem;

    font-size: 1.125rem;
  }

  .btn {
    height: 2.875rem;

    padding: 0;

    font-size: 1.125rem;
  }
}

@media screen and (max-width: 800px) {
  .card h1 {
    padding-top: 0.625rem;
    padding-bottom: 1.25rem;

    font-size: 3.75rem;
  }

  .horizontal-line {
    margin-bottom: 1rem;
  }

  .form-control {
    height: 2.5rem;

    margin-top: 1.875rem;
    margin-bottom: 1rem;

    font-size: 1rem;
  }

  .btn {
    height: 2.5rem;

    font-size: 1rem;
  }
}