* {
  box-sizing: border-box;
}

html {
  background-image: url(../images/dot-grid.jpg);
  scroll-behavior: smooth;
}

body {
  text-align: center;
  font-family: "Red Hat Display", sans-serif;
  max-width: 62.5rem;
  margin: 5rem auto 1rem;
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body h1 {
  font-family: "Bebas Neue", cursive;
  color: #000000;
  font-size: 3.5rem;
  background-color: #ffffff;
}
body p {
  font-size: 1.3rem;
  max-width: 56.25rem;
  margin: 2rem auto;
  line-height: 2rem;
}
body p a {
  text-decoration: underline;
  color: #000000 !important;
}
@media screen and (max-width: 500px) {
  body h1 {
    font-size: 2.5rem;
  }
  body h2 {
    font-size: 1.8rem;
  }
  body p {
    font-size: 1rem;
    padding: 0 2rem;
  }
}
body .btn {
  font-family: "Bebas Neue", cursive;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  background-color: #000000;
  color: #ffffff;
  border: 0.25rem solid #000000;
  margin: 0 1rem;
  font-size: 2.3rem;
  line-height: 1;
  -webkit-transition: background-color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out;
  -o-transition: background-color 0.3s ease-out;
  transition: background-color 0.3s ease-out;
}
body .btn:hover {
  background-color: #ffffff;
  color: #000000;
}
body .btn:focus {
  background-color: #ffffff;
  color: #000000;
}
body .btn--alt {
  background-color: transparent;
  color: #800040;
}
body .btn--alt:hover {
  background-color: #f8dae9;
}
body .h1-banner {
  border-top: solid black 0.125rem;
  border-right: solid black 0.25rem;
  border-bottom: solid black 0.375rem;
  border-left: solid black 0.125rem;
  line-height: 1;
  padding: 0.625rem 0 0.3125rem;
}
body header {
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
  min-height: 300px;
}
body header h1 {
  max-width: 711px;
  margin: 0 auto;
}
@media screen and (max-width: 500px) {
  body header h1 {
    padding: 0 1rem;
  }
}
body header .hero-img {
  max-width: 300px;
  border-radius: 50%;
  margin-bottom: 2rem;
  border: solid #fd7096 10px;
}
@media screen and (max-width: 500px) {
  body header .hero-img {
    max-width: 200px;
  }
}
body .about {
  max-width: 989px;
  margin: 3.5rem auto 3rem;
}
body .about h2 {
  font-family: "Bebas Neue", cursive;
  background-color: #fd7096;
  margin: 3rem auto;
  font-size: 3.5rem;
}
body .about p {
  background-color: #ffffff;
}
body .about span {
  font-family: "Bebas Neue", cursive;
  color: #eb0294;
  font-size: 2rem;
}
body .work h2 {
  font-family: "Bebas Neue", cursive;
  background-color: #7fdbdb;
  margin: 3rem auto;
  font-size: 3.5rem;
}
body .work h4 {
  font-family: "Architects Daughter", cursive;
  font-size: 30px;
  margin: 25px auto 1rem;
}
body .work p {
  font-size: 1.3rem;
  max-width: 900px;
  line-height: 2rem;
  margin: 0 auto 3rem;
}
body .work .block {
  margin-bottom: 5rem;
}
body .work .card-container {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 335px 335px 335px;
  grid-template-rows: auto;
  margin-bottom: 3rem;
  border: solid black 4px;
}
body .work .workTitle {
  font-family: "Bebas Neue", cursive;
  color: #000000;
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 0;
}
body .work .sticky-container {
  display: flex;
  flex-wrap: wrap;
}
body .work .sticky-container a.sticky-anchor {
  text-decoration: none !important;
  color: #000000 !important;
}
body .work .sticky-container .sticky {
  max-width: 300px;
  min-height: 280px;
  margin: 0 auto;
  background: linear-gradient(#f7f5d9, #eee9a6);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0 0.8rem;
}
@media screen and (max-width: 1000px) {
  body .work .sticky-container .sticky {
    margin: 2rem auto;
  }
}
@media screen and (max-width: 500px) {
  body .work .sticky-container .sticky h2 {
    font-size: 1.5rem;
  }
}
body .work .sticky-container .sticky p {
  font-family: "Architects Daughter", cursive;
  margin: 0 auto 35px;
  font-size: 23px;
}
@media screen and (max-width: 500px) {
  body .work .sticky-container .sticky p {
    font-size: 1.3rem;
  }
}
body .work .sticky-container .sticky .actions {
  margin-bottom: 35px;
}
body .work .ux-container .sticky:nth-child(1n) {
  transform: rotate(4deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .ux-container .sticky:nth-child(2n) {
  transform: rotate(-2deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .ux-container .sticky:nth-child(3n) {
  transform: rotate(2deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .ux-container .sticky:hover,
body .work .ux-container .sticky:focus {
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  position: relative;
  z-index: 5;
}
body .work .web-container .sticky:nth-child(1n) {
  transform: rotate(-3deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .web-container .sticky:nth-child(2n) {
  transform: rotate(1deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .web-container .sticky:nth-child(3n) {
  transform: rotate(-4deg);
  position: relative;
  top: 5px;
  background: #ffc;
}
body .work .web-container .sticky:hover,
body .work .web-container .sticky:focus {
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

footer h2 {
  font-family: "Bebas Neue", cursive;
  background-color: #7fdbdb;
  margin: 0 auto 2rem;
  font-size: 3.5rem;
}

footer .media-icons img {
  width: 90px;
  margin: 0.5rem;
}
footer .media-icons img:hover {
  background-color: #7fdbdb;
  border-radius: 50%;
}

footer .cv-link {
  display: inline;
  border: solid black 8px;
  border-radius: 50%;
  padding: 10px;
  position: relative;
  top: -39px;
  font-size: 40px;
  font-weight: 800;
  text-decoration: none;
  color: #000000;
  margin-left: 5px;
}
footer .cv-link:hover {
  background-color: #7fdbdb;
  border-radius: 50%;
}
footer .cv-link a {
  text-decoration: none !important;
  color: #000000 !important;
}

#year p {
  font-size: 1rem;
}

/* ADA */
.skip-content-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: black;
  color: white;
  opacity: 0;
}

.skip-content-link:focus {
  left: 50%;
  top:0;
  transform: translateX(-50%);
  opacity: 1;
}
