/*-------------------- General --------------------*/

.container {
  max-width: 720px;
}

body {
  background-color: #fafafa;
  transition: background-color 0.3s;
}

a,
p,
h1,
h2,
h3 {
  font-family: 'PT Sans', sans-serif;
  color: #1a1a1a;
}

a,
a:active,
a:visited,
a:hover,
a:focus {
  text-decoration: none;
}

/*-------------------- Reusable --------------------*/

.link,
.link:visited {
  color: #1a1a1a;
}

.link,
.link:visited {
  transition: color 0.15s;
}

.link:hover,
.link:active,
.link:focus {
  color: #3182EE;
}

.color--blue {
  color: #3182EE;
}

.font-weight--bold {
  font-weight: 600;
}

/*-------------------- Page --------------------*/

.flair1,
.flair2,
.flair3,
.flair4,
.flair5 {
  position: absolute;
}

.flair1 {
  top: 300px;
  left: 100px;
}

.flair2 {
  top: 550px;
  right: 500px;
}

.flair3 {
  top: 200px;
  right: 100px;
}

.flair4 {
  top: 700px;
  left: 300px;
}

.flair5 {
  right: 200px;
  top: 1000px;
}

@media (max-width: 700px) {
  .flair1,
  .flair4,
  .flair5 {
    display: none;
  }

  .flair2 {
    top: 470px;
    right: 100px;
  }

  .flair3 {
    right: 10px;
  }
}

.nav-container {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .nav-container {
    margin-top: 15px;
  }
}

.nav-item {
  color: #1a1a1a;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.nav-item:hover,
.nav-item:focus {
  border-color: #3182EE;
}

.nav-container__items {
  display: flex;
  align-items: center;
}

.nav-item:last-child {
  margin-left: 30px;
}

#theme-toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.moon {
  height: 20px;
  width: 20px;
}

.moon--white {
  display: none;
}

#theme-toggle {
  height: 20px;
  width: 40px;
  border-radius: 9px;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-bottom: 3px;
  margin-left: 10px;
  margin-right: 30px;
  transition-property: border-color, background-color;
  transition-duration: 0.15s;
}

#theme-toggle__circle {
  height: 18px;
  width: 18px;
  border-radius: 9px;
  background-color: #fff;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
  transition-property: transform;
  transition-duration: 0.3s;
}

.intro {
  margin-top: 160px;
  margin-bottom: 160px;
}

@media (max-width: 600px) {
  .intro {
    margin-top: 120px;
    margin-bottom: 120px;
  }
}

.intro__tag {
  display: inline-block;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  background-color: #3182EE;
  color: #1a1a1a;
  padding: 3px 10px;
  margin-bottom: 15px;
}

.intro__heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 130%;
}

@media (max-width: 600px) {
  .intro__heading {
    font-size: 24px;
  }
}

.intro__experiences {
  margin-top: 60px;
  max-width: 360px;
}

.experience {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

@media (max-width: 600px) {
  .experience {
    font-size: 16px;
  }
}

.project {
  display: flex;
  flex-shrink: 0;
  padding: 40px;
  background-color: #fff;
  margin-bottom: 30px;
  transition-property: transform, box-shadow;
  transition-duration: 0.3s;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .project {
    flex-direction: column-reverse;
    padding: 30px;
  }
}

.project:hover,
.project:focus {
  transform: translateY(-15px);
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
}

.project:hover .project__link,
.project:focus .project__link {
  border-color: #3182EE;
}

.project:hover .project-link__text,
.project:focus .project-link__text {
  color: #3182EE;
}

.project:hover .project__link .project-link__arrow,
.project:focus .project__link .project-link__arrow {
  transform: translateX(5px);
}

.project__text {
  flex: 1;
}

.project__heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
}

@media (max-width: 600px) {
  .project__heading {
    margin-top: 10px;
  }
}

.project__link {
  margin-top: 30px;
  border-bottom: 2px solid #777;
  display: inline-block;
  transition-property: border-color;
  transition-duration: 0.15s;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .project__link {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

.project-link__text {
  font-size: 18px;
  margin-bottom: 5px;
  margin-right: 5px;
  display: inline-block;
  transition-property: color;
  transition-duration: 0.15s;
}

.project-link__arrow {
  margin-bottom: 3px;
  transition-property: transform, fill;
  transition-duration: 0.15s;
}

.project__image-container {
  flex: 1;
}

.project__image {
  max-width: 100%;
  margin-bottom: -10px;
}

@media (max-width: 600px) {
  .project__image-container {
    margin-bottom: 20px;
    text-align: center;
  }
}

.footer-text {
  margin-top: 120px;
  margin-bottom: 120px;
  font-size: 18px;
  text-align: center;
}
