/*
0 - 600px:   Phone
600-900px:   Tablet portrait
900-1200px:   Tablet landscape
1800px +:   Big desktop

$breakpoint argument choices:
-  phone
-  tab-port
-  tab-land
-  big-desktop

ORDER: Base + typograpfy > general layout + grid > page layout > components

1em = 16px
*/
@keyframes moveInTop {
  0% {
    opacity: 0;
    transform: translateY(-10rem); }
  80% { }
  100% {
    opacity: 1;
    transform: translateY(0); } }

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem); }
  80% { }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(4rem); }
  30% {
    transform: translateX(-0.4rem); }
  50% {
    transform: translateX(0); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(3rem); }
  100% {
    opacity: 1;
    transform: translateY(0); } }

@keyframes opacityChange {
  0% {
    opacity: .3; }
  100% {
    opacity: 1; } }

@keyframes float {
  0% {
    opacity: .1; }
  25% {
    opacity: .3; }
  50% {
    opacity: .4; }
  75% {
    opacity: .7; }
  100% {
    opacity: 1; } }

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
  font-size: 62.5%; }
  @media only screen and (min-width: 37.5em) {
    html {
      font-size: 75%; } }
  @media only screen and (min-width: 62.5em) {
    html {
      font-size: 87.5%; } }

body {
  background-color: #252524;
  box-sizing: border-box;
  font-size: 1.6rem;
  line-height: 1.4; }

img {
  width: 100%; }

::selection {
  background-color: #000;
  color: #f3f2f3; }

.content {
  margin: 0 auto;
  max-width: 700px; }
  @media only screen and (min-width: 62.5em) {
    .content {
      max-width: 1600px; } }

a,
a:visited {
  color: inherit;
  text-decoration: none; }

body {
  color: #000;
  font-family: sans-serif;
  font-family: 'Roboto', sans-serif;
  font-weight: 300; }

h1, h2, h3, h4, h5 {
  font-family: serif;
  font-family: 'Playfair Display', serif;
  font-weight: 900; }

.u-center-text {
  text-align: center !important; }

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important; }

.u-margin-bottom-medium {
  margin-bottom: 4rem !important; }
  @media only screen and (min-width: 56.25em) {
    .u-margin-bottom-medium {
      margin-bottom: 3rem !important; } }

.u-margin-bottom-big {
  margin-bottom: 8rem !important; }
  @media only screen and (min-width: 56.25em) {
    .u-margin-bottom-big {
      margin-bottom: 5rem !important; } }

.u-margin-top-big {
  margin-bottom: 8rem !important; }

.u-margin-top-huge {
  margin-bottom: 10rem !important; }

.u-align-start {
  align-self: flex-start !important; }

.u-align-end {
  align-self: flex-end !important; }

.u-margin-left {
  margin-left: 1rem !important; }

.footer {
  color: #f3f2f3;
  display: flex;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  justify-content: center;
  padding: 2rem; }
  .footer span {
    font-weight: 700;
    font-style: normal; }

.header {
  background-image: linear-gradient(to right bottom, black, rgba(0, 0, 0, 0.9));
  color: #f3f2f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; }
  .header__title {
    animation: moveInLeft .7s;
    font-size: 5rem;
    letter-spacing: 1px; }
    @media only screen and (min-width: 37.5em) {
      .header__title {
        margin-left: -3rem;
        letter-spacing: 14px; } }
    @media only screen and (min-width: 62.5em) {
      .header__title {
        font-size: 6.5rem; } }
  .header__subtitle {
    animation: moveInRight 8s;
    font-size: 1.8rem;
    font-weight: 100;
    letter-spacing: 3px; }
    @media only screen and (min-width: 37.5em) {
      .header__subtitle {
        margin-right: -7rem;
        letter-spacing: 5px; } }
    @media only screen and (min-width: 62.5em) {
      .header__subtitle {
        margin-right: -16rem;
        letter-spacing: 5px; } }

.start-header {
  height: 98vh; }
  .start-header h1 {
    animation: moveInLeft 2s; }

.navigation__checkbox {
  display: none; }

.navigation__button {
  animation: moveInTop 1s;
  background-color: #f3f2f3;
  border-radius: 5px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 4rem;
  text-align: center;
  width: 4rem;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 2000; }

.navigation__nav {
  background-color: white;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  visibility: hidden;
  transition: all .2s;
  transition-timing-function: cubic-bezier(0.17, 0.67, 0.8, 0.4);
  position: fixed;
  top: 2rem;
  right: -100vw;
  z-index: 1500; }

.navigation__list {
  list-style: none; }

.navigation__link {
  color: #777; }
  .navigation__link:link, .navigation__link:visited {
    text-decoration: none; }
  .navigation__link:active {
    color: #333;
    font-weight: 900;
    text-decoration: underline;
    transform: translate(-5px, -5px); }
  .navigation__link:hover {
    cursor: pointer;
    color: #333;
    font-weight: 700; }

.navigation__item {
  padding: 1rem 2rem;
  display: flex;
  justify-content: center; }
  @media only screen and (min-width: 75em) {
    .navigation__item {
      padding: 3rem; } }
  .navigation__item:hover {
    background-color: #eee;
    cursor: pointer; }
    .navigation__item:hover a {
      cursor: pointer;
      color: #333;
      font-weight: 700; }
  .navigation__item:active {
    background-color: #eee; }
    .navigation__item:active a {
      color: #333;
      font-weight: 900;
      text-decoration: underline;
      transform: translate(-5px, -5px); }

.navigation__checkbox:checked ~ .navigation__nav {
  visibility: visible;
  opacity: 1;
  right: 1rem;
  top: 8rem;
  width: 8rem; }
  @media only screen and (min-width: 62.5em) {
    .navigation__checkbox:checked ~ .navigation__nav {
      width: 12rem; } }

.navigation__icon {
  margin-top: 1.8rem;
  position: relative; }
  .navigation__icon, .navigation__icon::before, .navigation__icon::after {
    background-color: #333;
    display: inline-block;
    height: 2px;
    width: 3rem; }
  .navigation__icon::before, .navigation__icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: all .5s;
    transition-timing-function: cubic-bezier(0.17, 0.67, 0.8, 0.4); }
  .navigation__icon::before {
    top: -.8rem; }
  .navigation__icon::after {
    top: .8rem; }

.navigation__button:hover .navigation__icon::before {
  top: -1rem; }

.navigation__button:hover .navigation__icon::after {
  top: 1rem; }

.navigation__checkbox:checked + .navigation__button .navigation__icon {
  background-color: transparent; }

.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
  transform: rotate(160deg);
  top: 0; }

.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
  transform: rotate(-110deg);
  top: 0; }

.section {
  background-color: #f3f2f3;
  min-height: 75vh;
  margin: 3rem 0;
  padding: 5rem 0; }
  .section-1 {
    background-color: #f3f2f3; }
  .section-2 {
    background-color: #b8cad3; }
  .section-3 {
    background-color: #d4cbc0; }
  @media only screen and (min-width: 62.5em) {
    .section {
      padding: 0;
      display: flex;
      flex-direction: row;
      margin: 6rem; } }
  .section__heading {
    color: #252524;
    font-size: 3.8rem;
    line-height: 1;
    margin-top: 5rem;
    margin-bottom: 2rem; }
    @media only screen and (min-width: 62.5em) {
      .section__heading {
        font-size: 7.2rem;
        margin: 0; } }
  @media only screen and (min-width: 62.5em) {
    .section__paragraph {
      padding-bottom: 1rem;
      margin-right: 7rem; } }
  .section__col {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 80%; }
    @media only screen and (min-width: 62.5em) {
      .section__col {
        display: flex;
        flex-direction: column;
        width: 50%;
        min-height: 100%;
        text-align: justify;
        margin: 12rem 0; } }
    .section__col-1 {
      align-items: center; }
      @media only screen and (min-width: 62.5em) {
        .section__col-1 {
          margin-right: 0; } }
    .section__col-2 {
      margin-bottom: 5rem; }
      @media only screen and (min-width: 62.5em) {
        .section__col-2 {
          padding-top: 2rem; } }
      @media only screen and (min-width: 75em) {
        .section__col-2 {
          padding-left: 2rem;
          padding-right: 2rem;
          padding-top: 2rem; } }

.project__header {
  padding: 2rem; }

.project__section {
  background-color: #f3f2f3;
  display: flex;
  flex-direction: column; }
  @media only screen and (min-width: 62.5em) {
    .project__section {
      padding: 10rem; } }

.project__heading-1 {
  margin-bottom: 1rem;
  align-self: center; }

.project__heading-2 {
  align-self: center;
  font-size: 5.2rem;
  margin-bottom: 1rem;
  margin-left: 1.8rem; }

.project__paragraph {
  margin: 0; }

.project__img {
  margin: 0 auto;
  max-height: 25rem;
  max-width: 25rem; }

.project__image {
  background-size: cover;
  background-position: top;
  border: 1px solid black;
  border-radius: 3px;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.75);
  height: 15rem;
  transition: all .5s;
  width: 100%; }
  @media only screen and (min-width: 62.5em) {
    .project__image {
      height: 20rem;
      margin-left: 1rem; } }
  .project__image:hover {
    opacity: 1; }
  .project__image-memory {
    background-image: url(../img/memorygame_small.png); }
  .project__image-css-course {
    background-image: url(../img/css-course.png); }
  .project__image-portfolio {
    background-image: url(../img/portfolio.png); }
  .project__image-quiz {
    background-image: url(../img/quiz.png);
    background-position: center; }

.project__text {
  margin: 0 auto;
  width: 90%; }
  @media only screen and (min-width: 62.5em) {
    .project__text {
      margin: 0 auto;
      width: 75%; } }

.project__links {
  flex-direction: column;
  margin: 1rem 0;
  list-style: none; }

.project__link, .project__link:visited {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  text-decoration: underline;
  display: inline-block; }
  .project__link:hover, .project__link:visited:hover {
    cursor: pointer;
    transform: scale(1.05); }
  .project__link:active, .project__link:visited:active {
    color: #fba032;
    transform: translateX(5px); }
  .project__link i, .project__link:visited i {
    padding-left: .5rem; }

.project__nav {
  align-items: center;
  color: #000;
  display: flex;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  width: 100%; }
  .project__nav-link-right {
    margin-left: auto;
    margin-right: 5rem; }
    .project__nav-link-right:hover {
      transform: translateX(3px);
      transition: all .2s; }
  .project__nav-link-left {
    margin-right: auto;
    margin-left: 5rem; }
    .project__nav-link-left:hover {
      transform: translateX(-3px);
      transition: all .2s; }
  .project__nav-link i {
    margin: .3rem; }

.contact {
  background-color: #f3f2f3;
  justify-content: flex-start; }
  .contact__paragraph p {
    padding: 1rem; }
  .contact__mail {
    color: #B28204;
    display: flex;
    font-size: 1.8rem; }

.skills__list {
  list-style: none; }

.skills__list-item {
  color: #252524;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  padding: .5rem 0; }

.work__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  padding: .5rem; }
  @media only screen and (min-width: 62.5em) {
    .work__items {
      grid-template-columns: repeat(2, minmax(13rem, 1fr));
      margin-right: 7rem; } }

.work__item {
  background-position: top;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15rem;
  margin: .2rem;
  opacity: .8;
  grid-column: min-content; }
  @media only screen and (min-width: 62.5em) {
    .work__item {
      margin: .2rem; } }
  .work__item-text {
    color: #000;
    font-weight: 700;
    letter-spacing: .4rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px black; }
  .work__item-css-course {
    background-image: linear-gradient(to right bottom, rgba(200, 255, 200, 0.2), rgba(155, 255, 255, 0.4)), url("../img/css-course.png"); }
  .work__item-memorygame {
    background-image: linear-gradient(to right bottom, rgba(0, 150, 255, 0.7), rgba(200, 0, 0, 0.4)), url("../img/memorygame_small.png"); }
  .work__item-portfolio {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.5), rgba(243, 242, 243, 0.6)), url("../img/portfolio.png"); }
  .work__item-quiz {
    background-image: linear-gradient(to right bottom, rgba(0, 255, 255, 0.7), rgba(155, 0, 0, 0.4)), url("../img/quiz-small.png");
    background-position: center; }
  .work__item-ludvig {
    background-image: url("../img/ludvig.png");
    background-position: center; }
  .work__item-pikoru {
    background-image: url("../img/pikoru.png");
    background-position: center; }
  .work__item-excel {
    background-image: url("../img/excel.png");
    background-position: center; }
  .work__item:hover {
    opacity: 1;
    transform: scale(1.01); }
