* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f4f5f2;
  color: #2b2b2b;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../images/shifaaz-shamoon-okVXy9tG3KY-unsplash.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(245, 246, 242, 0.0);
  z-index: -1;
}

.card {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 100%;
  padding: 3rem 3.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: 0 !important; 
}

.avatar {
  position: absolute;
  top: 0;
  left: 13%;
  transform: translate(0%, 40%);
  z-index: 2;
}

.avatar img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

}

.intro {
  position: relative;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.7);
  padding: 130px 20px 1px;
}

.thanks {
  margin-top: 7em;
  padding: 30px 20px;
}

h1 {
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tagline {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.bio {
  max-width: 420px;
  margin: 2rem auto;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}


.contact {
  padding-top: 1.5rem;

}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  text-align: left;
}

input,
textarea {
  padding: 0.7rem;
  border: 0;
  border-bottom: 1px solid #bbb;
  background: rgba(255,255,255,0.7);
}


input:focus,
textarea:focus {
  color: #2b2b2b;
  outline: none;
  background: #ffffff;
}

input[name="website"] {
  display: none;
}

button {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.7);
  color: #2b2b2b;
  border: 1px solid #bbb;
  padding: 0.7rem 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}


button:hover {
  background: #ffffff;
}

.thanks-btn {
  width:100%;
}

footer {
  text-align :center;
  margin-top: 2rem;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* =================== */
/*      RESPONSIVE     */
/* =================== */

@media (max-width: 600px) {

  .card {
    padding: 2rem 1.5rem;
  }

  .intro {
    padding: 110px 15px 1px;
  }

  .avatar img {
    width: 110px;
    height: 110px;
  }

}
