:root {
  --bg: whitesmoke;
  --rbg: rgb(200, 200, 200);
  --hov: rgb(183, 0, 255);
  --tbg: brown;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  background-color: whitesmoke;
}

/**************  HERO SECTION ************/
section.hero p {
  width: 100%;
  height: 80vh;
  padding-top: 39vh;
  text-align: center;
  color: white;
  font-size: 4.1rem;
  font-weight: 750;
  transform: scale(1.1, 1);
}

section.hero {
  background: url(../images/contact/contact_me_v1.JPG) no-repeat center;
  background-attachment: fixed;
  background-color: black;
  height: 75vh;
}

section.main {
  width: 100%;
  background-color: rgba(183, 0, 255, 0.5);
  min-height: 30rem;
}
section.main h1 {
  text-align: center;
  font-size: xx-large;
  padding-top: 1em;
  padding-bottom: 0.5em;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label,
textarea {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  text-align: left;
  margin-bottom: 5px;
  resize: none;
}
.post_submit{
  text-align:center; 
  font-size: 1.7rem; 
  font-weight: bold;
}
input {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 10px;
  margin-bottom: 25px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

button {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 30px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to bottom, #b700ff, #c0392b);
  color: #fff;
  font-size: x-large;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

button:hover {
  opacity: 0.8;
}
