@import url(var.css);

p {
  font-size: 17px;
  line-height: 1.6;
  color: #e9e9e9;
  font-weight: 400;
  text-align: justify;
}
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  flex: 1;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
}
.context {
  width: clamp(200px, 96%, 600px);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: left;
  margin: 10px;
  padding-left: 20px;
  margin: auto 0;
}

.context h1 {
  font-size: 40Ppx;
  text-align: left;
}
.context .paragraph {
  margin-bottom: 5px;
}
.context .social a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  border: 1px solid #333;
  padding: 10px 15px;
  border-radius: 30px;
  background: #12121f;
  transition: 0.3s;
  display: inline-block;
  margin-right: 5px;
}

.context .social a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .context {
    padding-left: 0px;
  }
  .context h1 {
    text-align: center;
  }
  .context p {
    text-align: justify;
  }
  .context .social {
    text-align: center;
  }
}
form {
  display: flex;
  flex-direction: column;
  width: clamp(100px, 95%, 450px);
  padding: clamp(10px, 4.65vw, 20px);
  background: #111929;
  border: 1px solid rgba(255, 255, 255, 0.123);
  box-shadow: rgb(0, 0, 0, 0.2);
  border-radius: 12px;
  caret-color: var(--accent-color);
  margin-bottom: 20px;
}
form h2 {
  text-align: center;
  font-size: 27px;
  color: var(--accent-color);
}
label {
  color: #ddd;
}
input,
textarea,
button {
  display: block;
  width: 100%;
  border-radius: 7px;
  padding: 10px;
  border: 2px solid #302e2e;
  margin-bottom: 12px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-shadow: #9e9d9ede;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
}

input:focus,
textarea:focus {
  border: 2px solid var(--accent-color);
}
textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 20px;
}
input,
textarea {
  background: #0f0f1a;
  color: #ffffff;
}
.required {
  color: rgb(250, 74, 74);
}

button {
  border: none;
  background: var(--button-color);
  color: white;
  font-size: 17px;
  font-weight: 500;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
}
