* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #fffaf5;
  font-weight: 300;
  margin: 0;
}

h1, h2, h3 {
  font-family: "Roboto Slab", serif;
}

.service-link {
  display: none;
}

.align-center {
  text-align: center;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}
.container.column {
  flex-direction: column;
}
.container > h2 {
  margin-top: 48px;
  text-align: center;
}

a {
  color: #333;
  padding-bottom: 0.05em;
  font-weight: 400;
  cursor: pointer;
  border-bottom: 2px dashed #d49b7d;
  transition: border-color 0.15s ease-out, color 0.15s ease-out;
  text-decoration: none;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 26px;
}

.row {
  margin: 0 -16px;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

.col-50 {
  padding: 0 16px;
  width: 50%;
}
@media screen and (max-width: 768px) {
  .col-50 {
    width: 100%;
  }
}

.main-header {
  background-color: #fffaf5;
}
.main-header .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 90px;
  text-align: center;
}
.main-header nav {
  padding: 0 16px;
}
@media screen and (max-width: 500px) {
  .main-header nav {
    padding: 0;
  }
}
.main-header nav a {
  border: none;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 300;
  padding: 4px 8px;
}
@media screen and (max-width: 500px) {
  .main-header nav a {
    font-size: 15px;
  }
}
.main-header nav a:hover {
  color: #efc3a9;
}
.main-header .logo {
  font-size: 30px;
  font-weight: 100;
}
@media screen and (max-width: 500px) {
  .main-header .logo {
    display: none;
  }
}

footer {
  background: #efc3a9;
  padding: 16px 0 0;
}
footer img {
  max-width: 100%;
  width: 700px;
  margin: 0 auto;
  display: block;
}
footer .copyright {
  padding: 16px;
  background: #d49b7d;
  text-align: center;
  color: #fff;
}

.page-section, .page-section .container {
  display: flex;
}

.page-section.alternative-background {
  background-color: #f0dbcc;
}

[class*=section-item] {
  padding: 16px;
  display: flex;
  align-items: center;
}

.section-item-40 {
  width: 40%;
}
.section-item-60 {
  width: 60%;
}
.section-item-with-background {
  background-size: cover;
  background-position: top center;
}

.section-overlap-to-right {
  justify-content: flex-end;
}
.section-overlap-to-right > * {
  transform: translateX(50px);
}

.section-overlap-to-top {
  align-items: flex-start;
}
@media screen and (min-width: 499px) {
  .section-overlap-to-top > * {
    margin-top: -50px;
  }
}

@media screen and (max-width: 500px) {
  .section-mobile-100 {
    width: 100%;
  }
  .section-mobile-hide {
    display: none;
  }
}

.collapsible-element {
  padding: 0 0 1rem;
}

.collapsible-title {
  font-weight: 400;
  cursor: pointer;
  border-bottom: 2px dashed #d49b7d;
}

.collapsible-element input {
  display: none;
}
.collapsible-element .collapsible-content {
  height: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}
.collapsible-element input:checked + .collapsible-content {
  transition: opacity ease-in 0.5s;
  height: auto;
  opacity: 1;
  padding: 0.5rem 1.5rem 0.5rem;
}

.timeline {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.timeline > div {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.timeline > div:nth-child(2n+1) .achievement {
  padding-left: 0;
  padding-right: 90px;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .timeline > div:nth-child(2n+1) .achievement {
    padding-right: 30px;
  }
}
.timeline > div:nth-child(2n+1) .achievement i {
  left: auto;
  right: 30px;
}
@media screen and (max-width: 768px) {
  .timeline > div:nth-child(2n+1) .achievement i {
    right: -30px;
  }
}
.timeline .delimiter {
  height: 100%;
  min-height: 6rem;
  max-width: 4%;
  width: 0.75rem;
  position: relative;
  padding: 0;
  border-bottom: 3px solid #f0dbcc;
}
.timeline .delimiter:after, .timeline .delimiter:before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 1px;
  background: #ccc;
  top: 50%;
  left: -25px;
}
.timeline .delimiter:after {
  left: auto;
  right: -25px;
}
.timeline span {
  width: 48%;
  padding: 0 30px;
  text-align: left;
}
.timeline .year {
  font-size: 1.5rem;
  text-align: right;
  font-weight: 300;
}
.timeline > div:nth-child(2n+1) .year {
  text-align: left;
}
.timeline > div:nth-child(n+1) .delimiter, .timeline > div:nth-child(n+1) .achievement i {
  background-color: #cc9521;
}
.timeline > div:nth-child(2n+2) .delimiter, .timeline > div:nth-child(2n+2) .achievement i {
  background-color: #ae3e07;
}
.timeline > div:nth-child(3n+3) .delimiter, .timeline > div:nth-child(3n+3) .achievement i {
  background-color: #833d68;
}
.timeline > div:nth-child(4n+4) .delimiter, .timeline > div:nth-child(4n+4) .achievement i {
  background-color: #141811;
}
.timeline > div:nth-child(5n+5) .delimiter, .timeline > div:nth-child(5n+5) .achievement i {
  background-color: #ae3e07;
}
.timeline > div:nth-child(6n+6) .delimiter, .timeline > div:nth-child(6n+6) .achievement i {
  background-color: #f87004;
}
.timeline > div:nth-child(7n+7) .delimiter, .timeline > div:nth-child(7n+7) .achievement i {
  background-color: #540405;
}
.timeline > div:nth-child(8n+8) .delimiter, .timeline > div:nth-child(8n+8) .achievement i {
  background-color: #2e5b63;
}
.timeline .achievement {
  position: relative;
  padding-right: 0;
  padding-left: 90px;
  text-align: left;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  .timeline .achievement {
    padding-left: 30px;
  }
}
@media screen and (max-width: 768px) {
  .timeline .achievement {
    font-size: 14px;
  }
}
.timeline .achievement i {
  z-index: 5;
  display: flex;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  color: #f0dbcc;
  border-radius: 50%;
  position: absolute;
  align-items: center;
  justify-content: center;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .timeline .achievement i {
    left: -30px;
  }
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icon-list li {
  display: flex;
  align-items: center;
  line-height: 1.6;
  margin-bottom: 10px;
}
.icon-list li .fas:first-child {
  margin-right: 14px;
  font-size: 15px;
  color: #70806b;
}
.icon-list-top li {
  align-items: baseline;
}

.cards-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0 -16px;
}
@media screen and (max-width: 768px) {
  .cards-wrapper {
    flex-direction: column;
  }
}

.cards-item {
  padding: 16px;
  width: 340px;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .cards-item {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .cards-item h3 {
    min-height: 0;
    margin-bottom: 0;
  }
}

.button {
  display: inline-block;
  padding: 0.6em 1.5em;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: #d49b7d;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.8em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}
.button:hover {
  background-color: #b5b096;
}

.contacts {
  font-size: 20px;
  padding: 16px 0;
}
.contacts > div {
  width: 180px;
  margin: 0 auto 16px;
}
.contacts i {
  margin-right: 10px;
}

#about {
  background-color: #70806b;
  color: #fefefe;
  min-height: 500px;
  position: relative;
}
@media screen and (max-width: 500px) {
  #about {
    min-height: 0;
  }
}
@media screen and (max-width: 500px) {
  #about .section-item-with-background {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 500px) {
  #about .me {
    font-size: 25px;
  }
}
@media screen and (max-width: 500px) {
  #about .section-overlap-to-right {
    position: relative;
    width: 100%;
    z-index: 10;
  }
}
@media screen and (max-width: 500px) {
  #about .section-overlap-to-right > * {
    transform: none;
  }
}

.about-description {
  padding: 32px 0;
}
.about-description .me {
  text-align: right;
}
.about-description .promo {
  font-weight: 100;
  text-align: right;
}
.about-description span {
  display: block;
}

#experience img {
  width: 450px;
  max-width: 100%;
}
@media screen and (max-width: 500px) {
  #experience .container {
    flex-direction: column-reverse;
  }
}

.experience-description {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
}

#services p {
  margin-bottom: 0;
}
#services h3 {
  margin: 32px 0;
}

#prices {
  background-color: #fff;
}
#prices .button {
  margin: 16px 0;
}