* {
  padding: 0;
  margin: 0;
  font-family: Tahoma, sans-serif;
  box-sizing: border-box;
}

body {
  background-image: radial-gradient(
    rgb(0, 0, 22),
    rgb(63, 62, 62),
    rgb(0, 0, 22)
  );
  background-repeat: repeat-x;
  color: aliceblue;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background-color: inherit;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 1.8rem;
}

/* NAVIGATION */
ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 20px;
}

ul li a {
  text-decoration: none;
  color: aliceblue;
  font-size: 18px;
  padding: 1rem 2rem;
  position: relative;
}

a::before,
a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: aliceblue;
  transform: scaleX(0);
  transition: transform 1s;
}

a::before {
  top: 0;
  left: 0;
  transform-origin: left;
}

a::after {
  bottom: 0;
  left: 0;
  transform-origin: right;
}

ul li a:hover::before,
ul li a:hover::after {
  transform: scaleX(1);
}

/* CONTACT SECTION */
.contact-section {
  background: rgb(0, 0, 22);
  padding: 30px 40px;
  max-width: 700px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(245, 238, 238, 0.1);
  margin-top: 120px;
}

.contact-section h2 {
  color: rgb(29, 29, 206);
  text-align: center;
  margin-bottom: 20px;
}

/* FORM FIELDS */
form input,
form textarea {
  width: 90%;
  padding: 0.8rem;
  margin: 10px auto;
  border: 1px solid #5a5656;
  border-radius: 10px;
  background-color: #181717;
  color: aliceblue;
  font-size: 16px;
  display: block;
  resize: none;
}

/* FORM BUTTON */
form button {
  padding: 1rem 2rem;
  background: rgba(2, 2, 253, 0.82);
  color: aliceblue;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  margin: 20px auto;
  position: relative;
  z-index: 1;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

form button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(192, 192, 243, 0.824);
  border-radius: 100px;
  transition: all 1s;
  z-index: -1;
}

form button:hover::before {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

form button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* FEEDBACK MESSAGES */
.info-text,
.success-text,
.error-text {
  display: none;
  font-size: 0.95rem;
  margin-top: 10px;
  text-align: center;
}

.success-text {
  color: green;
}

.error-text {
  color: red;
}

.info-text {
  color: #ccc;
}

/* RESPONSIVE */

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .contact-section {
    padding: 20px;
    margin-top: 140px;
  }

  ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  ul li a {
    padding: 0.5rem 1rem;
  }

  form input,
  form textarea {
    width: 100%;
  }
  .hero {
    padding: 20px;
    text-align: center;
  }
  .content h1 {
    font-size: 3rem;
  }
}
@media screen and (min-width: 320px) {
  .container {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    font-size: 15px;
    gap: 10px;
  }
  header p {
    display: none;
  }
}
.contact-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-image {
  flex: 1;
  max-width: 400px;
}

.contact-image img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 2px 7px 10px rgba(252, 244, 244, 0.178);
  opacity: 0.6;
}

.contact-section form {
  flex: 1.5;
  min-width: 300px;
}
