/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #111;
  border-radius: 3px;
}

.show-stopper {
  padding-top: 20px;
}
.my-info {
  font-weight: bolder;
  font-size: 30px;
  line-height: normal;
}
.skill-short-info {
  font-size: 16px;
}

.lets-talk {
  margin-top: 16px;
  padding: 15px;
  font-size: 20px;
}

.section-block {
  margin-top: 80px;
  padding: 15px;
}

.section-header-block {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
}

.section-header {
  font-size: 28px;
  position: relative;
}

.section-header-block:after {
  position: absolute;
  content: "";
  background: var(--primary-600);
  width: 80px;
  height: 4px;
  left: 0;
  right: 0;
  margin: auto;
}

.list-items {
  font-size: 16px;
}

.main-block a {
  color: var(--primary-600);
  font-weight: bold;
  font-size: 16px;
}

.my-image {
  padding: 0px 10px;
}

p {
  font-size: 17px;
}

.footer p {
  font-size: 17px;
}

@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }

  .menu li a {
    display: block;
    padding: 15px 25px;
  }

  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }

  .show-stopper {
    padding-top: 30px;
  }
  .my-info {
    font-weight: bolder;
    font-size: 50px;
    line-height: normal;
  }
  .skill-short-info {
    font-size: 20px;
  }

  .lets-talk {
    margin-top: 16px;
    padding: 10px;
    font-size: 20px;
  }

  .section-block {
    margin-top: 80px;
    padding: 30px;
  }

  .section-header-block {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-header {
    font-size: 30px;
    position: relative;
  }

  .section-header-block:after {
    position: absolute;
    content: "";
    background: var(--primary-600);
    width: 80px;
    height: 4px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .list-items {
    font-size: 16px;
  }

  .my-image {
    padding: 0px;
  }

  p {
    font-size: 20px;
  }

  .footer p {
    font-size: 20px;
  }
}

/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #111;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
  .left-block {
    position: fixed;
    top: 300px;
    left: -80px;
    transform: rotate(270deg);
    font-size: large;
  }
  .right-block {
    position: fixed;
    top: 300px;
    right: -80px;
    transform: rotate(90deg);
    font-size: large;
  }

  .show-stopper {
    padding-top: 30px;
  }
  .my-info {
    font-weight: bolder;
    font-size: 60px;
    line-height: normal;
  }
  .skill-short-info {
    font-size: 25px;
  }

  .lets-talk {
    margin-top: 16px;
    padding: 10px;
    font-size: 25px;
  }

  .section-block {
    margin-top: 80px;
  }

  .section-header-block {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-header {
    font-size: 35px;
    position: relative;
  }

  .section-header-block:after {
    position: absolute;
    content: "";
    background: var(--primary-600);
    width: 80px;
    height: 4px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .list-items {
    font-size: 16px;
  }

  .list-items li {
    padding: 5px;
  }

  p {
    font-size: 20px;
  }

  .footer p {
    font-size: 20px;
  }
}

@media all and (min-width: 1200px) {
  .show-stopper {
    padding-top: 50px;
  }
  .my-info {
    font-weight: bolder;
    font-size: 70px;
    line-height: normal;
  }
  .skill-short-info {
    font-size: 30px;
  }

  .lets-talk {
    margin-top: 20px;
    padding: 10px;
    font-size: 30px;
  }

  .section-block {
    margin-top: 80px;
  }

  .section-header-block {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-header {
    font-size: 40px;
    position: relative;
  }

  .section-header-block:after {
    position: absolute;
    content: "";
    background: var(--primary-600);
    width: 80px;
    height: 4px;
    left: 0;
    right: 0;
    margin: auto;
  }

  p {
    font-size: 20px;
  }

  .list-items {
    font-size: 23px;
  }

  .list-items li {
    padding: 7px;
  }

  .main-block a {
    color: var(--primary-600);
    font-weight: bold;
    font-size: 23px;
  }
  #experience-section p {
    font-size: 23px;
  }

  .footer p {
    font-size: 20px;
  }
}
