* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: Gilroy;
  src: url('assets/fonts/Gilroy-SemiBold.ttf');
}

.main{
  position: relative;
}

.main::before {
  content: "";
  position: absolute;
  inset: -1px;
  background-image: url('assets/images/phone.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: -1;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.wrap {
  margin: 0 16px 0;
  height: 550px;
  width: 350px;
}

.header-review,
.header-platforms,
.header-feedback {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.header-review--hidden, 
.header-platforms--hidden,
.header-feedback--hidden,
.feedback-form--hidden,
.platforms--hidden, 
.submit-btn--hidden {
  display: none;
}

.header__title {
  font-family: Gilroy;
  font-weight: 600;
  font-size: 28px;
  line-height: 120%;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 0;
}

.header__text {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #9F9F9F;
  margin-top: 8px;
  text-align: center;
}

.stars {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.star {
  cursor: pointer;
  transition: filter 0.2s ease;
}

.star--active {
  filter: invert(66%) sepia(89%) saturate(526%) hue-rotate(6deg)
    brightness(101%) contrast(97%);
}

.content {
  margin-top: 24px;
  height: 225px;
}

.feedback-form__text {
  font-family: Gilroy;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
}

.feedback-form__text::after {
  font-family: Gilroy;
  content: "*";
  color: #E23454;
  margin-left: -2px;
}

.feedback-form__input {
    font-family: Gilroy;
    height: 200px;
    width: 100%;
    margin-top: 12px;
    border: 1px solid #3E3F40;
    border-radius: 8px;
    padding: 15px;
    background-color: #20212A;
    color: #9F9F9F;
    resize: none;
    overflow-y: auto;
}

.feedback-form__input.error {
  border-color: #E23454;
}

.error-message {
  font-family: Gilroy;
  color: #E23454;
  margin-top: 2px;
  display: none;
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
}

.feedback-form__input:focus {
  border-color: #3A6BEB;
  outline: none;
  background-color: #252631;
}

.platforms__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.platforms__list-item {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 100%;
  height: 50px;
  background-color: #fff;
  border-radius: 6px;
  color: #000;
  padding: 8px;
}

.platforms__list-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.submit-btn {
  font-family: Gilroy;
  width: 100%;
  height: 50px;
  border-radius: 100px;
  padding: 0 12px;
  background-color: #fff;
  color: #000;
  margin-top: 48px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

@media (min-width: 801px) {
  .main::before {
    inset: 0;
    background-position: center center;
  }
}
