@keyframes pop-down {
  0% {
    transform: translateY(-100px);
  }
}

html {
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
}

html,
body {
  height: 100%;
  margin: 0;
}

h2,
h3,
h4,
h5 {
  font-family: "Oswald", sans-serif;
}

h2 {
  font-weight: 500;
}

h3,
h4,
h5 {
  font-weight: 600;
}

main {
  margin: 0 auto;
}

main section:first-child {
  padding-top: 3rem;
}

main p {
  line-height: 2.3rem;
}

header {
  height: 100%;
  position: relative;
}

header nav.hundredHeight {
  height: 100px;
}

header nav .menu-list li > ul.positive {
  position: absolute;
  bottom: 1.5rem;
}

header .first_content {
  height: 100%;
  opacity: 0.85;
  background-image: url(/assets/images/background.jpg?1c9026f355e6bcaf502990ba1e42c2ed);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header .first_content .center {
  font-size: 3.6rem;
  color: white;
  height: 100%;
}

header .first_content .center .text {
  max-width: 60%;
}

header .first_content .center .text p {
  margin: 6px;
}

header .first_content .center .text h1 {
  margin: 0.6rem;
  font-size: 3.6rem;
}

nav {
  font-size: 1.56rem;
  z-index: 100;
  background: white;
  position: absolute;
  bottom: -120px;
  width: 100%;
}

nav .mobile {
  display: none;
}

nav .menu-list {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

nav .menu-list li > ul {
  position: absolute;
  pointer-events: none;
  margin: 0;
  bottom: -1.5rem;
  opacity: 1;
  display: flex;
  flex-flow: column;
}

nav .menu-list li > ul li {
  margin: 0;
  margin-top: 0.5rem;
}

nav .menu-list li:hover > ul {
  pointer-events: initial;
}

nav .menu-list ul > li > ul > li {
  transition: transform 0.6s, opacity 0.6s;
  transform: translateY(150%);
  opacity: 0;
}

nav .menu-list ul > li:hover > ul > li,
nav .menu-list ul > li.hover > ul > li {
  transform: translateY(0%);
  opacity: 1;
}

nav .menu-list ul {
  display: flex;
  margin: 0;
  padding: 0;
}

nav .menu-list ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

nav .menu-list ul li .logo {
  width: 160px;
  height: 100px;
  background-image: url(/assets/images/logo.png?e65a2d0fb3f418caaf3f8853d12a0187);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

nav .menu-list ul li a {
  text-decoration: none;
  color: #000;
  position: relative;
}

nav .menu-list ul li a:hover {
  color: #0095eb;
}

nav .menu-list ul li a.active {
  color: #0095eb;
}

nav .menu-list ul li:first-child {
  margin: 0;
}

nav.logo_small {
  position: fixed;
  top: 0;
  animation: pop-down 1s;
  height: 50px;
  box-shadow: 0 1px 0 0 #0095eb;
}

nav.logo_small ul li {
  line-height: 1.8rem;
}

nav.logo_small ul li .logo {
  width: 100px;
  height: 50px;
  background-image: url(/assets/images/logo_small.png?bea21d90df81298535f92e098ef801ab);
}

section {
  padding: 6rem 0;
}

section .content_title {
  font-size: 4.5rem;
  padding: 5rem 0 3rem 0;
  display: flex;
  margin: 0 auto 2rem auto;
  justify-content: center;
}

section .content_title h2 {
  box-shadow: 0 1px 0 0 #106A9E;
  font-size: 4.5rem;
  margin: 0;
}

section .flex {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

section .flex .blog-img-1 {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/assets/images/background.jpg?1c9026f355e6bcaf502990ba1e42c2ed);
}

section .flex .grid-1-8 {
  width: 11.041%;
}

section .flex .grid-2-8 {
  width: 23.75%;
}

section .flex .grid-3-8 {
  width: 36.458%;
}

section .flex .grid-4-8 {
  width: 49.166%;
}

section .flex .grid-6-8 {
  width: 74.583%;
}

section .flex .grid-8-8 {
  width: 100%;
}

section .flex .skills {
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  background: #d3d3d3;
  position: relative;
  z-index: 10;
  justify-content: space-between;
}

section .flex .skills span {
  z-index: 15;
  color: #555555;
  font-weight: 300;
}

section .flex .skills .name {
  width: 130px;
  z-index: 20;
  background: #106A9E;
  text-align: center;
  color: #ffffff;
}

section .flex .skills .percent {
  height: 100%;
  text-align: right;
  background-color: #0095eb;
  position: absolute;
  z-index: 15;
  top: 0;
  margin-left: 1rem;
}

section .portfolio {
  padding-top: 2rem;
}

section .portfolio .img {
  box-shadow: 0 0 10px 1px #888;
  height: 344px;
}

section .portfolio .project-1 {
  background: url(/assets/images/project-1-big.jpg?ccdd97c92f461a7b210b96fe7841964c) no-repeat center center/contain;
}

section .portfolio .project-2 {
  background: url(/assets/images/project-2-big.jpg?a7288b325b77ebf8ec657c387b1b35d3) no-repeat center center/contain;
}

section .portfolio .project-3 {
  background: url(/assets/images/project-3-big.jpg?b7b2c73d3905270954dac0ce2ee5032c) no-repeat center center/cover;
}

section .portfolio .project-4 {
  background: url(/assets/images/project-4-big.jpg?0a1c9beaf3473a6d5bd2534fea6808e0) no-repeat center center/contain;
}

section .experience {
  margin-bottom: 4rem;
  box-shadow: 0 1px 0 0 #0095eb;
}

section .experience .data-worker {
  display: flex;
  justify-content: space-between;
}

section .experience .data-worker .img {
  width: 12%;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

section .experience .data-worker .worker-logo-1 {
  background-image: url(/assets/images/vsc.png?e0960832143cd28e874cdb3a9ae9bfce);
}

section .experience .data-worker .worker-logo-2 {
  background-image: url(/assets/images/logo_small.png?bea21d90df81298535f92e098ef801ab);
}

section .experience .data-worker .worker-logo-3 {
  background-image: url(/assets/images/rp.svg?f70f0817d6800ef357b96183417ca4df);
}

section .experience .data-worker .worker-logo-4 {
  background-image: url(/assets/images/kasomat.png?8baf0af623252c2553e85d24adcb88f5);
}

section .experience .data-worker .worker-logo-5 {
  background-image: url(/assets/images/coal.svg?6608ab1151272041b9dfdab29e8b5072);
}

section .experience .data-worker .text {
  width: 96%;
  display: flex;
  justify-content: space-between;
  margin-left: 1%;
}

section .experience .data-worker .text p {
  display: inline-flex;
  margin: 0;
}

section .experience h3 {
  font-size: 2rem;
}

section .experience ul {
  margin: 0;
}

section .experience ul li {
  font-size: 1.5rem;
}

section .experience p {
  font-size: 1.8rem;
  line-height: 5rem;
}

section .experience .work-date-time {
  font-size: 1.5rem;
  padding: 20px 20px 0 20px;
}

section .experience .flex:last-child {
  padding-bottom: 2rem;
}

section .experience a {
  text-decoration: none;
  color: #0095eb;
}

section .experience a:hover {
  color: #106A9E;
}

section article {
  padding-bottom: 20px;
}

section article h3 {
  font-size: 2rem;
}

section article p {
  font-size: 1.5rem;
  overflow: hidden;
}

section article a.img {
  height: 100%;
  display: block;
}

section article a.button {
  color: #fff;
  padding: 10px;
  background: #0095eb;
  text-decoration: none;
  cursor: pointer;
  display: block;
  width: 60px;
}

section article a.button:hover {
  background-color: #106A9E;
}

section:nth-child(2n) {
  background: #f9f9f9;
}

section.contact {
  background: #252934;
  color: #fff;
}

section.contact p {
  font-size: 1.5rem;
}

section.contact .flex {
  justify-content: center;
}

section.contact form input,
section.contact form textarea {
  width: 96%;
  padding: 2%;
  border: 1px solid #fff;
  margin-bottom: 2rem;
  background: none;
  outline: none;
  color: #fff;
}

section.contact form input::-moz-placeholder, section.contact form textarea::-moz-placeholder {
  color: #ccc;
}

section.contact form input::placeholder,
section.contact form textarea::placeholder {
  color: #ccc;
}

section.contact form textarea {
  height: 100px;
  resize: none;
}

section.contact button {
  width: 23.75%;
  height: 40px;
  border: none;
  background: #0095eb;
  color: #fff;
  float: right;
}

section.contact button:hover {
  background-color: #106A9E;
}

.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.about {
  max-width: 1200px;
  margin: 120px auto 0 auto;
  border-top: 1px solid #0095eb;
}

.about .description {
  width: 90%;
  text-align: center;
}

.about .description h3 {
  font-size: 2rem;
}

.about .description p {
  font-size: 1.4rem;
}

.about .flex:nth-child(3) {
  margin-top: 5rem;
}

.about .icon-main {
  display: block;
  text-indent: -9999px;
  width: 100px;
  height: 82px;
  position: absolute;
  top: 27%;
  left: 18%;
}

.about .icon-main.icon-analytics {
  background: url("/ico/analytics.svg");
  background-size: 100px 82px;
}

.about .icon-main.icon-code {
  background: url("/ico/code-2.svg");
  background-size: 100px 82px;
}

.about .icon-main.icon-ecommerce {
  background: url("/ico/ecommerce.svg");
  background-size: 100px 82px;
}

.about .icon-main.icon-mobile {
  background: url("/ico/mobile.svg");
  background-size: 100px 82px;
  top: 23%;
  left: 24%;
}

.about .my_image {
  width: 360px;
  height: 360px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/assets/images/my-image.png?32adf4c5e50908dba8cf15aada0abf3c);
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

.octagon {
  width: 160px;
  height: 160px;
  float: left;
  position: relative;
  overflow: hidden;
}

.octagon .inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  transform: rotate(45deg);
  border: 3px solid #777;
}

.octagon .inner:before {
  position: absolute;
  top: -3px;
  right: -3px;
  bottom: -3px;
  left: -3px;
  transform: rotate(45deg);
  content: "";
  border: inherit;
}

.octagon.big {
  width: 360px;
  height: 360px;
}

.octagon.big .inner {
  border: none;
}

footer {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  background: #1b242f;
  color: #fff;
  padding: 5rem 0;
}

footer .icon-flex {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-bottom: 2rem;
}

footer .icon-flex a {
  text-decoration: none;
  color: #fff;
  margin-right: 3rem;
}

footer .icon-flex .icon-content {
  display: flex;
  text-align: center;
  justify-content: center;
  flex-flow: column;
  width: 6rem;
  height: 6rem;
  background-color: #262f38;
  font-size: 2rem;
}

footer .icon-flex .icon-content:hover {
  background: #0095eb;
  color: #fff;
}

footer a.main-to {
  color: #0095eb;
  text-decoration: none;
  padding-left: 0.2rem;
}

footer a.main-to:hover {
  color: #106A9E;
}

@media (max-width: 1250px) {
  nav .menu-list {
    width: auto;
    justify-content: space-around;
  }

  section .portfolio .project-3 {
    background-size: cover;
    background-position: left;
  }

  section .portfolio .flex {
    flex-direction: column;
  }

  section .portfolio .flex .m-grid-8-8 {
    width: 90%;
    margin: 0 auto 5% auto;
    background: white;
  }

  section .portfolio .flex .m-grid-8-8 .img {
    height: auto;
    min-height: 630px;
  }

  section article .flex {
    flex-flow: unset;
  }

  section article .flex .grid-2-8 {
    margin-left: 2rem;
  }

  section article .flex .grid-6-8 {
    margin-left: 2rem;
  }

  section .flex {
    justify-content: space-around;
  }

  section .flex .skills {
    width: 96%;
  }

  section .flex .grid-3-8 {
    display: none;
  }

  section .flex .grid-8-8 {
    width: 90%;
  }

  section .experience {
    width: 95%;
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  section .portfolio .flex {
    margin: 0;
  }

  section .portfolio .flex .m-grid-8-8 .img {
    min-height: 570px;
  }
}

@media (max-width: 992px) {
  section .portfolio .flex .m-grid-8-8 .img {
    min-height: 510px;
  }

  section .experience .data-worker {
    min-width: 490px;
  }

  section .experience .data-worker > .img {
    display: none;
  }
}

@media (max-width: 890px) {
  .logo {
    display: none;
  }

  nav {
    bottom: -90px;
  }

  nav .menu-list li > ul {
    bottom: -5.5rem;
  }

  section .portfolio .flex .m-grid-8-8 .img {
    min-height: 450px;
  }

  section .flex {
    flex-flow: wrap;
  }

  section .flex .m-grid-4-8 {
    width: 49.166%;
    margin-top: 3rem;
  }

  section .experience .data-worker {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  section article .flex .grid-2-8 {
    display: none;
  }

  section article .flex .grid-6-8 {
    width: 90%;
    margin-left: 0;
  }

  section .experience .flex {
    flex-flow: column;
    margin: 0;
  }

  section .flex {
    flex-flow: wrap;
  }

  section .flex .m-grid-8-8 {
    width: 90%;
    margin-top: 3rem;
  }

  section .portfolio .flex .m-grid-8-8 .img {
    min-height: 400px;
  }

  nav {
    background: #2d2d2d;
    position: relative;
    bottom: 0;
  }

  nav .mobile {
    display: flex;
    font-size: 3rem;
    padding: 1rem;
    color: #fff;
    cursor: pointer;
    flex-flow: row-reverse;
  }

  nav .menu-list {
    display: none;
    flex-direction: column;
  }

  nav .menu-list ul {
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
  }

  nav .menu-list ul li {
    background: #eee;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    margin: 0;
    line-height: 6.4rem;
  }

  nav .menu-list ul li:hover {
    color: #0095eb;
  }

  nav .menu-list ul li ul {
    position: inherit;
    display: none;
  }

  nav .menu-list ul li ul li {
    margin: 0;
    transform: none;
    opacity: 1;
    background: #f9f9f9;
  }

  nav .menu-list ul li:first-child {
    margin: 0 auto;
  }

  .about {
    margin: 0;
    border: none;
  }
}

@media (max-width: 576px) {
  header .first_content .center .text {
    max-width: 80%;
  }

  header nav .menu-list li > ul.positive {
    position: relative;
  }

  section .experience .data-worker .text {
    flex-direction: column;
  }

  section .portfolio .flex .m-grid-8-8 .img {
    min-height: 300px;
  }

  section .flex .skills {
    width: 93%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  section .flex .skills .name {
    width: 35%;
  }

  .octagon.big {
    width: 300px;
    height: 300px;
  }

  .about .my_image {
    width: 300px;
    height: 300px;
  }
}

.alert {
  color: #ffffff;
  padding: 1rem;
  margin-bottom: 1rem;
}

.alert p.alert-text {
  width: 100%;
  font-size: 1.1rem;
  padding: 0;
  margin: 0;
}

.alert.alert-danger {
  background-color: #EB171F;
}

.alert.alert-danger + input {
  box-shadow: 0 0 0 1px #EB171F;
  border: none;
}

.alert.alert-danger + textarea {
  box-shadow: 0 0 0 1px #EB171F;
  border: none;
}

.alert.alert-warning {
  background-color: #EBE617;
  color: #000;
}

.alert.alert-warning + input {
  box-shadow: 0 0 0 1px #EBE617;
  border: none;
}

.alert.alert-warning + textarea {
  box-shadow: 0 0 0 1px #EBE617;
  border: none;
}

.alert.alert-success {
  background-color: #17EB1E;
}

.alert.alert-success + input {
  box-shadow: 0 0 0 1px #17EB1E;
  border: none;
}

.alert.alert-success + textarea {
  box-shadow: 0 0 0 1px #17EB1E;
  border: none;
}

.alert.alert-information {
  background-color: #0095eb;
  color: #fff;
}

.alert.alert-information + input {
  box-shadow: 0 0 0 1px #17EB1E;
  border: none;
}

.alert.alert-information + textarea {
  box-shadow: 0 0 0 1px #17EB1E;
  border: none;
}

