@charset "utf8";

/* Styles for the home page */

@import url("./base.css");

body {
  background: fixed linear-gradient(155deg, var(--black), var(--darkblue));
  color: var(--white);
}

/* HERO */

.hero {
  position: relative;
  height: 90vh;
  /* background: var(--black); */
  /* display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center; */
}

.hero__text {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
}

.hero__text h1 {
  font-size: 4rem;
  margin-bottom: 3rem;
}

.hero__text h2 {
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
}

.hero__text p {
  font-size: 1rem;
  margin-bottom: 3rem;
}

.hero__text a {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  padding: 1rem 2rem;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  /* position: relative;
  z-index: 0;
  pointer-events: all; */
  transition: all 100ms linear;
}

.hero__text a:hover {
  color: var(--orange);
  border: 2px solid var(--orange);
}

/* SECTIONS */

.work, .about, .contact {
  min-height: 100vh;
}

.section-heading {
  font-size: 4rem;
  line-height: 5.75rem;
}

.headingShaddow {
  color: var(--blue);
  font-size: 8rem;
  opacity: 0.25;
  /* position: relative; */
  position: absolute;
  /* display: block; */
  /* right: 2rem; */
  /* left: -20%; */
  /* top: 20rem; */
  /* height: 100%; */
  /* transform: rotate(-90deg) translateX(-50%); */
  z-index:-1;
}

.work__header .headingShaddow {
  transform: rotate(-90deg) translateX(-50%) translateY(-125%);
}

.about__header .headingShaddow {
  transform: rotate(-90deg) translateX(-50%) translateY(-150%);
}

.contact__header .headingShaddow {
  transform: rotate(-90deg) translateX(-50%) translateY(-210%);
}

/* WORK */

.work {
  display: flex;
  flex-direction: column;
  /* justify-content: space-around;
  align-items: center; */
  height: 100vh;
}

/* ABOUT */

.picture {
  max-width: 80%;
  height: auto;
  margin: 2rem auto;
  border-radius: 50%;
  display: block;

}

.block-para {
  line-height: 1.35rem;
}

/* FORM */

input, textarea {
  background-color: var(--white);
  border: none;
  padding: 0.75rem;
}

.contact-form,
.email-sec {
  margin-top: 2rem;
}

.contact-form::after {
  content: "";
  clear: both;
  display: table;
}

.form__item {
  margin: 0.5rem 0;
  display: flex;
  flex-flow: column nowrap;
}

.form__item label {
  margin: 0.7rem 0 0.4rem;;
}

.form__item input,
.form__item textarea  {
  display: inline-block;
}

.form__submit-btn {
  display: block;
  padding: 0.5rem 1rem;
  font-family: inherit;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  margin: 1rem 0;
  background-color: transparent;
  color: var(--white);
  font-size: 1rem;
  float: right;
  transition: all 100ms linear;
}

.form__submit-btn:hover {
  border-color: var(--orange);
  color:var(--orange);
}

/* WIDER SCREENS ABOVE 420px */

@media screen and (min-width: 420px) {
  .about, .contact, #footer {
    margin-top: 4rem;
  }
  
  .about, .contact {
    padding-bottom: 4rem;
  }

  .work__header .headingShaddow {
    transform: rotate(-90deg) translateX(-45%) translateY(-180%);
  }

  .about__header .headingShaddow {
    transform: rotate(-90deg) translateX(-45%) translateY(-210%);
  }

  .contact__header .headingShaddow {
    transform: rotate(-90deg) translateX(-45%) translateY(-260%);
  }

  /* ABOUT */

  .picture {
    max-width: 230px;
    margin: 3rem auto;
  }

  .block-para {
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
  }

  /* FORM */

  .contact-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }

  .email-sec {
    margin-top: 3.2rem;
    font-size: 1.5rem;
  }

  .contact-form {
    width: 60%;
  }
}