:root {
  --pcengines-green: #38d430;
  --pcengines-white: #ffffff;
  --pcengines-darkerwhite: #e7e7e7;
  --pcengines-lightgray: #abb0b2;
  --pcengines-gray: #666363;
  --pcengines-dark: #383c38;
  --pcengines-darker: #2e2c2c;
  --pcengines-black: #000000;
}

html,
body {
  font-family: "Roboto", sans-serif;
  background-color: var(--pcengines-darker);
  margin: 0 auto;
  font-weight: 500;
  max-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--pcengines-white);
}
* {
  scroll-behavior: smooth;
}

h1 {
  font-size: 1.5em;
  font-weight: 400;
}

h2 {
  font-size: 1.17em;
  font-weight: 400;
}

p {
  color: var(--pcengines-white);
  margin: 0 0 20px 0;
  font-size: 15px;
}

main {
  width: 100%;
}

a,
a:active,
a:visited {
  text-decoration: none;
  color: var(--pcengines-white);
}

a:hover {
  color: var(--pcengines-green);
  text-decoration: none;
}

nav.main-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

nav.main-page span {
  padding: 0.8em 0;
  text-align: left;
}

header {
  display: flex;
  margin: 18px auto;
  max-width: 1020px;
  max-height: 60px;
}

header h1 {
  margin: auto;
}

.title {
  font-size: 2em;
  font-weight: 500;
}

.big-text {
  font-size: 1.4em;
  word-wrap: break-word;
}

.text-middle {
  text-align: center;
  font-size: 4em;
}

.green-text {
  color: var(--pcengines-green) !important;
}

.green-text--title {
  display: flex;
}

.dimmed-text p {
  font-size: 14px;
}

.smaller-margin p {
  margin: 10px 0;
}

a.green-text:hover {
  color: var(--pcengines-white) !important;
}

.form label {
  width: 100%;
  padding: 0 2em 0 0;
  text-align: center;
}

.form label h2 {
  font-size: 23px;
  color: var(--pcengines-darkerwhite);
  font-weight: 500;
  text-shadow: 1px 1px #2e2e2e;
  margin-top: 0!important;
  margin-bottom: 0!important;
}


.form input.email {
  margin: 0 0.2em 0 0;
  max-width: 240px;
  font-size: 17px;
  border: 1px solid var(--pcengines-lightgray);
  color: var(--pcengines-darker);
  background-color: var(--pcengines-white);
  box-sizing: border-box;
  height: 40px;
  min-width: 200px;
  padding: 0.3em 1em;
}

.form .button {
  background: var(--pcengines-green) !important;
  color: var(--pcengines-white);
  font-weight: 500;
  padding: 0.5em!important;
  text-transform: uppercase;
  max-width: 240px;
  font-size: 17px;
  border: none;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  height: 40px;
  display: inline-block;
  margin: 0;
  cursor: pointer;
  transition: all 0.25s ease-in-out 0s;
}

.form .button:hover {
  border: solid 1px var(--pcengines-lightgray);
  background: var(--pcengines-white) !important;
  color: var(--pcengines-green) !important;
}

.pcengines-header {
  display: flex;
  max-height: 100%;
  max-width: 100%;
  margin: auto;
}

.pcengines-header h1 {
  color: var(--pcengines-green);
}

.pcengines-header--about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1020px;
  margin: 1em 0 1em 0;
  padding: 10px 60px;
}

.pcengines-header--about header {
  margin: 0;
}

.pcengines-header--about h1 {
  margin: auto;
  font-weight: 400;
  padding: 0;
}

.pcengines-header--about span {
  margin: 0 1em 0 0;
}

.container {
  width: 100%;
}

.container:nth-child(2n) {
  background-color: var(--pcengines-dark);
}

.container--first {
  z-index: 1;
}

.container--form {
  border: 2px solid var(--pcengines-lightgray);
  align-self: center;
  max-width: 570px;
  padding: 1em 2em;
  margin-top: 2.5em;
  background-color: rgba(32, 32, 32, 0.8);
}

.container--image {
  background: right center url("../assets/main_page_cover.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 40vh;
  z-index: 0;
}

.container--image::before {
  background: var(--pcengines-darker) none repeat scroll 0 0;
  content: "";
  height: 800px;
  z-index: -1;
  position: absolute;
  top: 0;
  left: -25%;
  transform: skew(-30deg);
  width: 75%;
}

.container--image::after {
  background: var(--pcengines-darker) none repeat scroll 0 0;
  content: "";
  height: 400px;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
}

.container--image--about {
  position: relative;
  background: center url("../assets/about_page_cover.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  z-index: 0;
  height: 393px;
}

.container--image--about-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) !important;
}

.wrapper {
  position: relative;
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  margin: 0em auto;
  padding: 3em 60px 4em 60px;
}

.wrapper--about {
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin: 2em auto;
  padding: 10px 60px;
}

.about__info {
  margin-top: 50px;
  width: 100%;
  text-align: center;
}

.about__contact {
  padding: 2em 1em;
  margin: 0 2em;
}

.about__contact p {
  font-size: 1.2em;
  text-align: center;
}

.about__contact a {
  display: block;
  width: 200px;
  margin: 20px auto 0 auto;
  background-color: var(--pcengines-green);
  color: var(--pcengines-white);
  font-weight: 600;
  border: 1px solid var(--pcengines-white);
  padding: 0.8em;
  text-align: center;
  transition: 0.3s;
}

.about__contact a:hover {
  color: var(--pcengines-green);
  background-color: var(--pcengines-white);
  border: 1px solid var(--pcengines-green);
  transform: scale(1.2);
}

.table-of-content {
  display: flex;
  flex-direction: column;
}

.main-list {
  max-width: 100%;
}

.list {
  display: flex;
  flex-wrap: wrap;
}

.list li {
  width: 80px;
}

ul,
ol {
  font-size: 15px;
  line-height: 170%;
  padding: 0;
  margin: 0;
}

ul ol {
  padding: 0 0 0 2em;
}

/* make links in even line with text*/
ul ol li a {
  margin-left: -3px;
}

ul,
ol li {
  list-style-type: none;
}

ul li::before {
  display: inline-block;
  border-radius: 1px;
  content: "";
  width: 4px;
  height: 4px;
  vertical-align: middle;
  margin-right: 8px;
  background-color: var(--pcengines-green);
}

ol li::before {
  display: inline-block;
  border-radius: 2px;
  content: "";
  width: 3px;
  height: 3px;
  vertical-align: middle;
  margin-right: 8px;
  background-color: var(--pcengines-green);
}

li {
  word-wrap: break-word;
}

.source-code-links {
  display: flex;
  flex-wrap: wrap;
}

.source-code-links__zip-packages {
  margin: 0 4em;
}

.source-code-links__zip-packages ul li:before {
  content: none;
}

.source-code-links__binaries ul li:before {
  content: none;
}

.up-link {
  position: fixed;
  bottom: 6px;
  right: 5px;
  z-index: 1;
}

.up {
  margin: 0 0.5em 0 0;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  cursor: pointer;
  color: var(--pcengines-green);
  z-index: 1;
  border: 1px solid var(--pcengines-green);
  background-color: var(--pcengines-white);
}

.up:focus {
  outline: none;
}

.up:active {
  border: 1px solid var(--pcengines-green);
  color: var(--pcengines-green);
}

table {
  max-width: 100%;
  margin: 24px auto;
  font-size: 15px;
  border: 1px solid var(--pcengines-white);
  border-collapse: collapse;
}

tr:first-of-type {
  border: 1px solid var(--pcengines-white);
}

th {
  padding: 8px 12px;
  text-align: left;
  font-weight: 500;
  color: var(--pcengines-green);
}

td {
  max-width: 170px;
  padding: 8px 12px;
}

sup {
  font-size: 14px;
  color: var(--pcengines-white);
}

.line {
  width: 50%;
  margin: 0 0 2em 0;
  border-color: var(--pcengines-gray);
}

.container--image--about-description {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 120px;
}

.container--image--about-description span {
  display: block;
  margin: auto;
  width: 51px;
  height: 4px;
  background-color: var(--pcengines-green);
}

.header-title {
  margin-top: 20px;
  font-size: 60px;
}

.sha-button {
  border: solid 1px var(--pcengines-green);
  display: inline-block;
  margin-bottom: 5px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 15px;
  line-height: 1.428571429;
  border-radius: 4px;
  margin-left: 5px;
  transition: background-color, color 0.25s ease-in-out;
}

.sha-button:hover {
  background-color: var(--pcengines-green) !important;
  color: var(--pcengines-black);
}

footer {
  display: flex;
  position: fixed;
  bottom: 0;
  z-index: 1;
  margin: auto;
  width: 100%;
  background-color: var(--pcengines-darker);
  align-items: center;
}

.footer-text {
  margin: 0.5em auto;
  border: 1px solid var(--pcengines-white);
  padding: 0.2em 3em;
}

.footer-text a {
  color: var(--pcengines-green);
  text-decoration: none;
  font-weight: 600;
}

.footer-text a:hover {
  color: var(--pcengines-white);
  text-decoration: none;
}

@media (max-width: 462px) {
  th,
  td {
    padding: 8px 2px;
  }

  .source-code-links {
    max-width: 100%;
    display: block;
  }

  .source-code-links__binaries {
    max-width: 100%;
    display: block;
  }

  .source-code-links__source-code {
    max-width: 100%;
    display: block;
  }

  ul.source-code-links__binaries--list li {
    margin: 15px 0px;
  }
}

@media screen and (max-width: 500px) {
  .container--image::before {
    background: var(--pcengines-darker) none repeat scroll 0 0;
    content: "";
    height: 800px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: -25%;
    transform: skew(-15deg);
    width: 77%;
  }

  .container--image::after {
    background: var(--pcengines-darker) none repeat scroll 0 0;
    content: "";
    height: 600px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: -60%;
    transform: skew(-15deg);
    width: 60%;
  }
}

@media screen and (max-width: 700px) {
  .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0 1em 0;
  }

  .form label {
    padding: 0 !important;
  }

  .form input.email {
    margin: 0 0 0.2em 0 !important;
    width: 100%;
  }

  .form .button {
    margin: 0 0 0.6em 0 !important;
    width: 100%;
  }

  .form label h2 {
    font-size: 20px;
    margin-bottom: 10px!important;
    color: var(--pcengines-darkerwhite);
  }

  .container--form {
    border: 3px solid var(--pcengines-gray);
    padding: 0.5em 1em 0 1em;
    margin-top: 0!important;
  }

  .form input.email {
    text-align: center;
  }

  .source-code-links {
    justify-content: space-between;
  }

  .source-code-links__zip-packages {
    margin: 0;
  }

  .container--image {
    background-size: 300%;
  }

  .wrapper--about {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 1000px) {
  .container--image {
    background-size: 150%;
  }
  .container--image--about {
    background-size: 150%;
  }
}

.navigation {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  overflow: hidden;
  background: rgba(46, 44, 44, 0.78);
  transition: 0.3s;
}

.navigation-scroll {
  background-color: var(--pcengines-darker);
}

.navigation__container {
  width: 100%;
  max-width: 1170px;
  margin: auto;
}

.navigation__list {
  position: relative;
  z-index: 12;
  padding: 0;
  width: 100%;
  display: flex;
  list-style-type: none;
}

.navigation__list-item-logo {
  font-size: 28px;
  line-height: 70px;
  transition: 0.5s;
  margin: 0 30px 0 25px;
}

.navigation__list-item-logo a {
  color: #38d430;
  text-decoration: none;
}

.navigation__list-item-logo:hover {
  transform: translateX(-10px);
}

.navigation__list-item-logo:hover a {
  color: #c4c4c4;
}

.navigation__list-item-link {
  height: 75px;
  line-height: 75px;
  font-weight: 500;
  margin-right: 15px;
  border-bottom: 2px solid transparent;
  transition: 0.5s;
  cursor: pointer;
}

.navigation__list-item-link a {
  color: #c4c4c4;
  font-size: 16px;
  line-height: 45px;
  transition: 0.5s;
  text-decoration: none;
}

.navigation__list-item-link:hover,
.navigation__list-item-link:focus {
  border-bottom: 2px solid #38d430;
}

.navigation__list-item-link:hover a,
.navigation__list-item-link:focus a {
  color: #38d430;
}

.navigation__list-item::before {
  display: none;
}

#nav-icon {
  display: none;
  z-index: 13;
  position: absolute;
  top: 20px;
  right: 15px;
  width: 40px;
  height: 35px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 4px;
  width: 50%;
  background: #fff;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon:hover span {
  background: #38d430;
}

#nav-icon span:nth-child(even) {
  left: 50%;
  border-radius: 0 1px 1px 0;
}

#nav-icon span:nth-child(odd) {
  left: 0px;
  border-radius: 1px 0 0 1px;
}

#nav-icon span:nth-child(1),
#nav-icon span:nth-child(2) {
  top: 0px;
}

#nav-icon span:nth-child(3),
#nav-icon span:nth-child(4) {
  top: 10px;
}

#nav-icon span:nth-child(5),
#nav-icon span:nth-child(6) {
  top: 20px;
}

#nav-icon.open span:nth-child(1),
#nav-icon.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(2),
#nav-icon.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(1) {
  left: 3px;
  top: 4px;
}

#nav-icon.open span:nth-child(2) {
  left: calc(50% - 3px);
  top: 4px;
}

#nav-icon.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon.open span:nth-child(5) {
  left: 3px;
  top: 18px;
}

#nav-icon.open span:nth-child(6) {
  left: calc(50% - 3px);
  top: 18px;
}

@media only screen and (min-width: 1160px) {
  .nav li {
    float: left;
  }
  .nav li a {
    padding: 20px 5px;
  }
  .nav .menu {
    clear: none;
    flex-direction: row;
    max-height: none;
  }
  .nav .menu-icon {
    display: none;
  }

}

@media screen and (max-width: 1080px) {
  .navigation__list {
    display: block;
  }

  .navigation__list-item-link {
    height: 50px;
    margin-right: 0;
    line-height: 50px;
    background: #666363;
  }
  .navigation__list-item-link a {
    display: block;
    padding-left: 25px;
    width: 100%;
    height: 100%;
    color: #fff;
  }

  .navigation-active {
    height: 495px;
  }

  #nav-icon {
    display: block;
  }

  .form label h2 {
    font-size: 24px!important;
  }
}

@media screen and (max-width: 510px) {
  .navigation__list-item-logo {
    font-size: 26px;
  }
}

@media screen and (max-width: 430px) {
  .navigation-active {
    height: 100vh;
  }
}

@media screen and (max-width: 340px) {
  .navigation__list-item-logo {
    font-size: 24px;
  }
}
