/** @format */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}
body {
  font-family: "inter", sans-serif;
  background-color: #e1e8eb;
  display: flex;
  flex-direction: column;
  align-items: center;
}
textarea {
  all: unset;
}
.background {
  position: absolute;
  top: 0;
  z-index: -1;
  height: 25.4rem;
  width: 100%;
  background-image: linear-gradient(
      to right,
      rgba(101, 0, 163, 0.9),
      rgba(24, 120, 175, 0.9)
    ),
    url("https://images.unsplash.com/photo-1546453667-8a8d2d07bc20?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1974&q=100");
}

.first-heading {
  font-size: 5.5rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 7.5rem;
}
.first-heading--special {
  font-weight: 300;
}
.container {
  width: 105rem;
  height: 52rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  margin-top: 5.5rem;
  display: flex;
  overflow: hidden;
}

.textarea {
  resize: none;
  flex: 2;
  font-family: inherit;
  font-size: 2.2rem;
  padding: 3rem 4rem;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.textarea::placeholder {
  font-weight: 500;
  color: 959c9f;
}

.stats {
  flex: 1.3;
  background-color: #f1f6f8;
  display: flex;
  flex-wrap: wrap;
}
.stat {
  flex: 1 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat:nth-child(1),
.stat:nth-child(2) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  /* opacity: 0.08; */
}
.stat:nth-child(2),
.stat:nth-child(4) {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  /* opacity: 0.08; */
}
.stat__number {
  color: #4d5457;
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.stat__number--limit {
  color: red;
}
.second-heading {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #747a7c;
}
.twitter-mobile {
  display: none;
}
.footer {
  width: 105rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  opacity: 0.4;
  font-size: 1.6rem;
}
@media (max-width: 1150px) {
  .container {
    width: 85vw;
    flex-direction: column;
  }

  .first-heading {
    font-size: 7vw;
  }

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat:nth-child(1),
  .stat:nth-child(2),
  .stat:nth-child(4) {
    border: none;
  }
  .footer {
    width: initial;
    flex-direction: column;
    align-items: center;
  }
  .twitter {
    display: none;
  }

  .twitter-mobile {
    display: flex;
    text-align: center;
    /* padding: 0; */
    /* align-items: center; */
  }
}
