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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background: black;
  color: #fff;
}
.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;
}

.logo {
  width: 100px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.header .header-right i {
  margin-right: 5px;
}
.header .header-right a {
  color: white;
}
.header .header-right a:hover {
  color: purple;
}

/* main area */
.main-content {
  display: flex;
  /* border: 1px solid white; */
  max-width: 1100px;
  min-height: 100%;
  margin: 50px auto;
  justify-content: center;
  align-items: start;
  padding: 0 40px;
  gap: 50px;
}

.main-content form {
  flex: 1;
  /* border: 1px solid black; */

  /* flex-grow: 1;
     flex-shrink: 1;
     flex-basis: 0; */
}
.main-content .text-container {
  flex: 1;
  /* border: 1px solid black; */
}

/* Form */

.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);

  outline: none;
  /* opacity: 0.5; */
  color: #fff;
  font-size: 14px;
}
.form-group textarea {
  height: 100px;
  resize: none;
  margin-bottom: 10px;
}

/* button */

.btn {
  display: block;
  padding: 15px 20px;
  width: 100%;
  border: none;
  background-color: #ff4032;
  font-size: 18px;
  cursor: pointer;
  color: white;
  border-radius: 5px;
}
.btn:hover {
  opacity: 0.8;
}

/* text container */

.text-container h1 {
  font-size: 50px;
  margin-top: 25px;
}
.text-container p {
  font-size: 18px;
}

/* media */

@media (max-width: 768px) {
  body {
    overflow-y: scroll;
  }
  .header {
    padding: 30px 10px 10px;
  }
  .header,
  .header .header-right {
    flex-direction: column;
    gap: 10px;
  }
  .main-content {
    flex-direction: column-reverse;
    justify-content: start;
    margin: auto;
    padding: 50px;
  }
  .main-content form,
  .main-content .text-container {
    width: 100%;
  }
  .main-content h1 {
    font-size: 25px;
  }
  .main-content p {
    font-size: 16px;
  }
}

@media (max-height: 500px) {
  .main-content {
    margin: 0 auto;
  }
}
