@import url('https://fonts.googleapis.com/css?family=Open+Sans');
h2 {
  font-family: 'Open Sans', sans-serif;
  color: black;
  font-weight: 600;
}

p {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

body,
html {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0;
  margin: 0;
  background: #f0dcda;
}

.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}
.header .progress-container {
  width: 100%;
  height: 3px;
  background: #f6e8e5;
}
.header .progress-container #myBar {
  height: 2px;
  background-color: black;
  width: 0;
}

/* == Introduction == */
.intro {
  position: relative;
  background-color: #f6e8e5;
  width: 100%;
  height: 100vh;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  display: grid;
  grid-template-columns: 20% 50% 5%;
  grid-template-rows: auto;
  grid-template-areas: 'space text profile';
}
.intro .intro__text {
  grid-area: text;
  position: absolute;
  top: 20%;
  right: 40%;
}
.intro .intro__text p {
  padding-right: 2rem;
  margin-top: 1rem;
}
.intro .intro__profile {
  grid-area: profile;
  position: absolute;
  top: 16%;
}
.intro .intro__profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}
.intro .parallax {
  perspective: 100px;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: url('../img/parallax/Firewatch.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  margin-top: 4.5rem;
}

.projects {
  position: relative;
  background-size: cover;
  background-color: #f0dcda;
  min-height: 65vh;
}
.projects h2 {
  padding-top: 3rem;
  text-align: center;
}
.projects .projects__container {
  margin: auto;
  background-color: #f0dcda;
  margin-top: 2rem;
  min-height: 65vh;
  width: 90%;
  flex-wrap: wrap;
}
.projects .item {
  text-align: center;
  background-color: white;
  cursor: pointer;
  min-height: 20rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}
.projects .item h4 {
  font-weight: 500;
}
.projects .item p {
  padding: 10px;
  line-height: 1.5em;
}
.projects .item img {
  margin-top: 1.2rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  max-width: 15em;
  height: 9em;
}
.projects .projects__button__container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
.projects .projects__button__container a {
  position: relative;
  display: inline-block;
  padding: 1.2em 2em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  user-select: none;
  color: white;
}
.projects .projects__button__container a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    to right,
    #ff9a9e 0%,
    #fad0c4 99%,
    #fad0c4 100%
  );
  border-radius: 5px;
  transition: box-shadow 0.5s ease, transform 0.2s ease;
  will-change: transform;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(var(--ty, 0)) rotateX(var(--rx, 0))
    rotateY(var(--ry, 0)) translateZ(var(--tz, -12px));
}
.projects .projects__button__container a:hover::before {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.projects .projects__button__container a::after {
  position: relative;
  display: inline-block;
  content: attr(data-title);
  transition: transform 0.2s ease;
  letter-spacing: 0.01em;
  will-change: transform;
  transform: translateY(var(--ty, 0)) rotateX(var(--rx, 0))
    rotateY(var(--ry, 0));
}

.contact {
  background: #f0dcda;
  height: 5rem;
  display: flex;
  align-items: center;
}
.contact .contact__right a {
  color: black;
}
.contact .contact__right .contact__item {
  padding: 1rem 1rem;
  text-decoration: underline;
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  background-repeat: no-repeat;
  background-size: 0% 0.3em;
  background-position: 15px 65%;
  transition: background-size 0.25s ease-in;
}
.contact .contact__right .contact__item:hover {
  background-size: 65% 30%;
}

@media (max-width: 575.98px) {
  .intro {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 'text';
  }
  .intro .intro__text {
    grid-area: text;
    left: 10%;
    right: 10%;
    top: 10%;
  }
  .intro .intro__profile {
    grid-area: text;
    justify-self: center;
    top: 40%;
  }
  .intro .parallax {
    display: none;
  }

  .projects {
    margin-top: -2rem;
  }
  .projects .item {
    height: 22rem;
  }

  .contact {
    background: #f0dcda;
    height: 5rem;
    display: flex;
    align-items: center;
  }
  .contact .contact__right {
    margin: 0 auto;
  }
}
@media (min-width: 576px) and (max-width: 1049px) {
  .intro {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 'text';
  }
  .intro .intro__text {
    grid-area: text;
    left: 10%;
    right: 10%;
    top: 10%;
  }
  .intro .intro__profile {
    grid-area: text;
    justify-self: center;
    top: 40%;
  }
  .intro .parallax {
    display: none;
  }

  .projects {
    margin-top: -2rem;
  }
  .projects .item {
    height: 20rem;
  }

  .contact {
    background: #f0dcda;
    height: 5rem;
    display: flex;
    align-items: center;
  }
  .contact .contact__right {
    margin: 0 auto;
  }
}
@media (min-width: 1050px) and (max-width: 1199.98px) {
  .intro .intro__profile {
    right: 20%;
  }

  .projects {
    position: relative;
    background-size: cover;
    background-color: #f0dcda;
    width: 100%;
  }
  .projects h2 {
    padding-top: 3rem;
  }
  .projects .projects__container {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 4rem;
    width: 90%;
    border-radius: 6px;
    box-shadow: 3px 14px 22px 3px #d8c6c4;
    background-color: white;
  }
  .projects .projects__container .item {
    margin-top: 1rem;
    padding-top: 0.5rem;
    flex: 1 0 30%;
    display: block;
  }
  .projects .projects__container .item:hover {
    background: #f7f7f7;
  }
  .projects .projects__button__container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
  }

  .contact {
    background: #f0dcda;
    height: 5rem;
    display: flex;
    align-items: center;
    padding-right: 4.2rem;
  }
  .contact .contact__right {
    margin-left: auto;
  }
  .contact .contact__right .contact__item {
    padding: 1rem 1rem;
    text-decoration: underline;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.3em;
    background-position: 15px 65%;
    transition: background-size 0.25s ease-in;
  }
  .contact .contact__right .contact__item:hover {
    background-size: 65% 30%;
  }
}
@media (min-width: 1200px) {
  .intro .intro__profile {
    right: 20%;
  }

  .projects {
    position: relative;
    background-size: cover;
    background-color: #f0dcda;
    width: 100%;
  }
  .projects h2 {
    padding-top: 3rem;
  }
  .projects .projects__container {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 4rem;
    width: 90%;
    border-radius: 6px;
    background-color: white;
    box-shadow: 3px 14px 22px 3px #d8c6c4;
  }
  .projects .projects__container .item {
    margin-top: 1rem;
    padding-top: 0.5rem;
    flex: 1 0 30%;
    display: block;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .projects .projects__container .item:hover {
    background: #f7f7f7;
  }
  .projects .projects__button__container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
  }

  .contact {
    background: #f0dcda;
    height: 5rem;
    display: flex;
    align-items: center;
    padding-right: 4.2rem;
  }
  .contact .contact__right {
    margin-left: auto;
  }
  .contact .contact__right .contact__item {
    padding: 1rem 1rem;
    text-decoration: underline;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.3em;
    background-position: 15px 65%;
    transition: background-size 0.25s ease-in;
  }
  .contact .contact__right .contact__item:hover {
    background-size: 65% 30%;
  }
}

/*# sourceMappingURL=style.css.map */
