@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

html {
  font-family: Quicksand, sans-serif;
}

body {
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.054);
}

footer, header {
  color: white;
  background-color: black;
  padding: .75rem;
}

footer {
  text-align: center;
}

form {
  margin-bottom: 1rem;
}

h1 {
  font-weight: 700;
  text-transform: uppercase;
  text-align: right;
  font-size: 5rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-10%, -50%);
}

h2 {
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  padding: 1rem 0;
}

h3 {
  margin: 0 0;
}

main {
  background-color: white;
}

nav {
  text-align: end;
}

nav > ul > li {
  list-style: none;
  display: inline;
  padding-right: .5rem;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
}

#hero {
  position: relative;
}

#hero img {
  max-width: 100%;
}

#item-page-heading {
  text-align: center;
}

#my-story p {
  margin: 0;
  padding: .5rem 0;
}

#portfolio-section {
  position: relative;
  max-width: 800px;
  color: white;
}

#portfolio-section img {
  max-width: 100%;
}

.black-bkgrnd {
  background-color: black;
}

.form-element {
  min-width: 250px;
  margin-bottom: 0.5rem;
}

.item {
  display: grid;
  grid-auto-columns: 50% 50%;  
  grid-template-areas: "left-side right-side";
}

.item > div > img {
  width: 100%;
}

.item > div > a {
  color: goldenrod;
  font-size: 2rem;
}

.item-page-img {
  width: 100%;
  margin-bottom: 1rem;
}

.left-side, .right-side {
  text-align: center;
  align-content: center;
  margin-left: 0;
}

.left-side {
  grid-area: left-side;
  color: white;
}

.portfolio-section-text {
  position: absolute;
}

.right-side {
  grid-area: right-side;
}

.section-text {
  margin-left: 15px;
}

.section-text a {
  font-size: 2rem;
  color: goldenrod;
}

.work-item-text {
  padding-left: 3.5rem;
  padding-bottom: 1rem;
}

.work-item-text p, 
.work-item-text ul {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
    padding: .6rem;
  }

  #my-story p {
    margin-left: 15px;
    padding: .5rem 0;
  }

  .section-text a, .item > div > a {
    font-size: 1.2rem;
  }

  .section-text {
    margin-left: 0;
  }

  .section-text a {
    margin-left: 15px;
  }

  .section-text form {
    margin-left: 15px;
  }

  .portfolio-section-text {
    position: relative;
    color: white;
    background-color: black;
    margin-left: 0;
    margin-bottom: -30px;
  }
}

@media print {
  nav {
    display: none;
  }
}















