* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "open sans", sans-serif;
  background-color: black;
  color: white;
  line-height: 1.6;
}
.wrapper {
  min-height: 100vh;
  background: linear-gradient(
      to bottom,
      rgba(255, 64, 50, 0.8),
      rgba(71, 17, 116, 0.9)
    ),
    url("./images/background.jpg") no-repeat center/cover;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
}
header .logo {
  width: 100px;
}
header .header-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
/*
it reberesendts the word gap instead
 header .header-right .fas,
.fab {
  margin-left: 20px;
} */

header .header-right i {
  margin-right: 5px;
}
header .header-right a:hover {
  color: #562469;
}

header .header-right a {
  color: white;
}

/* main */
main {
  padding: 40px;
  margin: 150px auto;
  display: flex;
  justify-content: center;
  height: 100%;
  gap: 50px;
}

main form {
  flex: 1;
}
main section {
  flex: 1;
}

/* form */
.form-group input,
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
  color: white;
}
.form-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.form-group textarea {
  height: 100px;
  width: 100%;
  resize: none;
}
.btn button {
  width: 100%;
  padding: 10px;
  background-color: #ff4032;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600px;
}
.btn button:hover {
  /* background-color: #f35d52; */
  opacity: 0.8;
}

/* section container */
section h2 {
  font-size: 50px;
  margin: 50px 0 20px;
  line-height: 1.1;
}
section p {
  font-size: 18px;
}

@media (max-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header .header-right {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  main {
    flex-direction: column-reverse;
    gap: 20px;
    margin: auto;
  }
  main p {
    display: none;
  }
  main h2 {
    margin: auto;
    text-align: center;
    font-size: 35px;
  }
}
