@import url(fonts.css);
@import url(fixedSocial.css);


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PTS";
}

/* ALERTS */
.alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;

  opacity: 0;
  padding: 7px 0;
  width: 300px;

  text-align: center;
  border-radius: 10px;

  transition: 0.3s;
}

.success {
  color: #0f5132;
  border: 1px solid #0f5132;
  background-color: #d1e7dd;
}

.danger {
  color: #842029;
  border: 1px solid #842029;
  background-color: #f8d7da;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  padding: 50px;

  background: url(../img/intro.jpg) center / cover;
}

.intro__item {
  padding: 30px;
  width: 50%;

  color: #fff;
}

.logo {
  position: relative;
  margin-top: 35px;
  display: inline-block;

  line-height: 0.5;
  text-transform: uppercase;
  font-size: 80px;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.logo::after {
  display: block;
  content: "";
  width: 25px;
  height: 25px;

  position: absolute;
  left: 23%;
  top: 9%;

  border-radius: 50%;
  background-color: #ff8e00;
}

.logo span {
  font-size: 25px;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;

  margin-top: 20px;
}

.link {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  width: 300px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;

  position: relative;
}

.required {
  position: absolute;
  right: 10px;
  top: 33px;
  display: none;

  color: red;
  font-size: 25px;
}

.form__group input,
.form__group textarea {
  padding: 10px;

  border-radius: 5px;
  border: none;
  outline: none;
}

form button {
  padding: 10px 0;

  border-radius: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}

form button:hover {
  opacity: 1;
}

/* INFO BLOCK */

.info_block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

  padding: 20px;

  background: rgb(255, 230, 0);
  background: linear-gradient(
    0deg,
    rgba(255, 230, 0, 1) 0%,
    rgba(255, 188, 0, 1) 100%
  );
}

@media (max-width: 1000px) {
  .intro__item {
    width: 100%;
  }

  form {
    width: auto;
  }
}


@media (max-width: 550px) {
  .intro {
    padding: 5px;
  }
  .logo {
    font-size: 45px;
  }
  .logo span {
    font-size: 15px;
  }

  .logo::after {
    width: 15px;
    height: 15px;
  }

  header {
    gap: 20px;
  }

  .link {
    font-size: 17px;
  }
}
