@import url(https://fonts.googleapis.com/css?family=Didact+Gothic|Comfortaa:400,700&subset=latin,cyrillic);


*, *:before, *:after {
  box-sizing: border-box
}

html {
  height: 500%;
}

body {
  margin: 0;
  height: 100%;
  /*background: #ebeeee;*/
}

hr {
  border: solid #E3E3E3;
  border-width: 1px 0 0;
  clear: both;
  margin: 10px 0 30px;
  height: 0;
}

header, section {
  transition: ease-in .3s;
}

.wrapper {
  width: 100%;
  height: 100%;
}

.header-content {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.container {
  display: table;
  height: 100%;
  top: 0;
  position: absolute;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
}

.helper {
  display: table-cell;
  vertical-align: middle;
}

.content {
  margin: 0 auto;
  width: 80%;
  vertical-align: middle;
  color: #fff;
  text-align: center;
  font-family: 'Century Gothic';
}

.content h3 {
  width: 60%;
  margin: auto;
  font-size: 24px;
  font-family: 'Libre Baskerville', serif;
  font-weight: lighter;
  margin-top: 10px;
}

.content h1 {
  font-size: 70px;
  font-weight: bold;
  margin: 0;
}

.content hr {
  width: 60%;
  margin: 18px auto 24px auto;
  border-color: rgba(150, 150, 150, .5);
}

.content img {
  width: 12%;
  height: 5%;
  cursor: pointer;
}

.arrow-down {
  width: 100%;
  height: 5%;
  left: 0px;
  margin: auto;
  position: absolute;
  z-index: 5;
  bottom: 30px;
  text-align: center;
}

.arrow-down img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #fff;
  cursor: pointer;
  transition: all ease-in-out .3s;
}

.arrow-down img:hover {
  background: #00FA9A;
}

.about-row {
  width: 80%;
  margin: auto;
  overflow: hidden;
  text-align: center;
  padding-top: 50px;
}

.block-label {
  font-family: 'Comfortaa', cursive;
  text-transform: uppercase;
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
  margin-top: 0px;
}

.label-line {
  width: 90px;
  height: 4px;
  background: #00FA9A;
  margin: auto;
  border: none;
  margin-bottom: 50px;
}

.photo {
  width: 300px;
  height: 300px;
  margin: auto;
}

.photo img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.about-text {
  font-family: "Century Gothic", "Arial";
  color: #fff;
  font-size: 20px;
  text-align: left;
  width: 80%;
  margin: auto;
  margin-top: 50px;
}

.resume-item {
  overflow: hidden;
  padding-bottom: 50px;
  border-bottom: 1px solid #cacaca;
  margin-bottom: 50px;
}

.resume-items-container {
  width: 70%;
  margin: auto;
  margin-top: 50px;
}

.resume-item-label {
  width: 30%;
  text-align: left;
  float: left;
}

.resume-item-label h1 {
  padding: 0px;
  margin: 0px;
  padding-bottom: 10px;
  font-size: 20px;
  border-bottom: 3px solid #00FA9A;
  text-transform: uppercase;
  font-family: 'Comfortaa', cursive;
  overflow: hidden;
  display: inline-block;
}

.resume-item-content {
  width: 70%;
  float: left;
  text-align: left;
}

.resume-item-content a {
  color: #4286f4;
}

.resume-item-content h1 {
  padding: 0px;
  margin: 0px;
  font-family: 'Comfortaa', cursive;
  font-weight: bold;
  font-size: 26px;
}

.resume-item-content h3 {
  padding: 0px;
  padding-top: 5px;
  padding-bottom: 15px;
  margin: 0px;
  font-size: 18px;
  color: #646464;
  font-family: 'Comfortaa', cursive;
  float: left;
  font-weight: lighter;
  width: 100%;
}

.resume-item-content ul {
  padding: 0px;
}

.resume-item-content p {
  margin: 0px;
  margin-top: 10px;
  position: inline-block;
  color: #646464;
  font-family: "Century Gothic", "Arial";
}

.book-info {
  font-family: 'Comfortaa', cursive;
  color: #646464;
  font-weight: bold;
  margin-top: 10px;
}

.bought {
  float: left;
  margin-right: 15px;
}

.readed {
  padding-left: 15px;
}

.bought img, .readed img {
  width: 20px;
  height: 20px;
}

.toggle-menu {
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 100;
  border: none;
  outline: none;
  right: 20px;
  top: 20px;
  background: #00FA9A;
  cursor: pointer;
  border-radius: 3px;
}

.sandwich.active .sw-topper {
  top: 9px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.sandwich.active .sw-bottom {
  top: 6px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sandwich.active .sw-footer {
  opacity: 0;
  top: 0;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.toggle-menu span {
  display: block;
}

.sandwich {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 200;
}

.sw-bottom, .sw-topper, .sw-footer {
  position: relative;
  width: 28px;
  height: 3px;
  background: #303030;
  border: none;
  border-radius: 4px 4px 4px 4px;
  -webkit-transition: -webkit-transform 0.5s, top 0.2s;
  transition: transform 0.5s, top 0.2s;
  -webkit-transition-delay: 0.2s, 0s;
  transition-delay: 0.2s, 0s;
}

.sw-footer {
  top: 13.5px;
}

.sw-bottom {
  top: 6.6px;
}

.sw-topper {
  top: 0;
}

.top-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(49, 49, 49, 0.97);
  z-index: 50;
  right: 0;
  top: 0;
  display: none;
}

.top-menu ul, .top-menu li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.top-menu ul {
  margin-top: 13%;
  text-align: center;
}

.top-menu ul li a {
  color: #fff;
  text-decoration: none;
}

.top-menu ul li {
  color: #fff;
  display: block;
  text-transform: uppercase;
  position: relative;
  height: 75px;
  outline: none;
  font-family: 'Comfortaa', cursive;
  font-size: 30px;
  font-weight: bold;
  vertical-align: middle;
}

.top-menu ul li span {
  display: block;
  position: relative;
  top: -57px;
  left: 0;
  height: 100%;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.top-menu ul li span:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.3);
}

.bars {
  width: 95%;
  float: left;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.bars .skills {
  margin-top: 36px;
  list-style: none;
}

.bars li {
  position: relative;
  margin-bottom: 50px;
  background: #ccc;
  height: 30px;
  border-radius: 3px;
}

.bar-expand {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding-right: 24px;
  background: #303030;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  border-radius: 3px 0 0 3px;
}

.bars li em {
  font: 15px 'Comfortaa', cursive;
  font-weight: bolder;
  color: #303030;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  top: -22px;
}

.cpp {
  width: 40%;
}

.html-css {
  width: 80%;
}

.php, .git {
  width: 10%;
}

.java {
  width: 35%;
}

.sql {
  width: 45%;
}

.js {
  width: 15%;
}

.csharp {
  width: 20%;
}

.russian {
  width: 100%;
}

.armenian {
  width: 80%;
}

.german {
  width: 45%;
}

.english {
  width: 50%;
}

.go-back {
  width: 60px;
  height: 60px;
  background: #525252;
  margin: auto;
  border-radius: 100%;
  top: -30px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all ease-in-out .3s;
}

.go-back img {
  margin-left: 10%;
  width: 80%;
  height: 100%;
  transform: rotate(180deg);
}

.go-back:hover {
  background: #00FA9A;
}

.portfolio-row {
  text-align: center;
  padding-top: 50px;
  height: 100%;
  width: 80%;
  max-width: 1620px;
  margin: auto;
}

.modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  z-index: 100;
  display: none;
}

.modal-container {
  margin: auto;
  height: auto;
  margin-top: 2.5%;
  width: 45%;
  background: #fff;
  position: relative;
  display: none;
  min-width: 600px;
}

.work-info {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
  color: white;
  font-family: 'Comfortaa', cursive;
  font-size: 16px;
}

.work-info h2 {
  line-height: 0.4;
}

.description-box {
  padding: 18px 36px 18px 36px;
  font-family: 'Comfortaa', cursive;
  font-size: 18px;
}

.description-box p {
  font-family: "Century Gothic", "Arial";
}

.slprev, .slnext {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
  cursor: pointer;
  position: absolute;
  top: 0;
  width: auto;
  padding: 16px;
  top: 50%;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  background: rgba(72, 61, 139, .4);
  transition: all 0.4s ease;
}

.slprev:hover, .slnext:hover {
  background: rgba(72, 61, 139, 1);
}

.slnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.buttons {
  bottom: 0px;
  width: 100%;
  position: relative;
  background: #483D8B;
  padding: 18px 36px;
  text-align: left;
}

.dismiss {
  margin-left: 20px;
}

.buttons a {
  color: #fff;
  font: 11px/21px 'Comfortaa', cursive;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bolder;
  cursor: pointer;
  text-decoration: none;
}

.description-box h4 {
  margin: 0;
}

.modal-img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70%;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: auto;
}

.works-container {
  width: 100%;
  overflow: hidden;
}

#sql_2 {
  display: none;
}

.work {
  float: left;
  width: 50%;
  padding: 0px 20px;
  line-height: 0;
}

.work-wrap {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #313131;
  transition: 0.3s ease-in-out;
}

.overlay:hover {
  cursor: pointer;
  opacity: .9;
}

.works-column {
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom: 40px;
}

.work img {
  width: 100%;
  height: auto;
}

.footer-row {
  width: 50%;
  margin: auto;
  text-align: center;
}

.footer-row img {
  width: 18%;
  height: 9%;
  cursor: pointer;
  min-width: 100px;
}

.copyright {
  font-family: "Comfortaa", cursive, "Century Gothic", "Arial";
  color: #4e4e4e;
}

footer {
  width: 100%;
  background: #0f0f0f;
  min-height: 6%;
}

#last {
  border: none;
}

#home {
  width: 100%;
  height: 20%;
  background: url(../img/programming-min.jpg) no-repeat top;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow: hidden;
}

#about {
  background: #303030;
  width: 100%;
  min-height: 20%;
  overflow: hidden;
}

#resume {
  padding-top: 50px;
  width: 100%;
  min-height: 20%;
  background: #FAFAFA;
  text-align: center;
  overflow: hidden;
}

#resume h1, #works h1 {
  color: #303030;
}

#works {
  min-height: 20%;
  width: 100%;
  background: #ebeeee;
  overflow: hidden;
  padding-bottom: 50px;
}

#modal-c-3 {
  margin-top: 0.75%;
}

@media (min-width: 1440px) {
  .description-box {
    font-size: 22px;
  }
}

@media (max-width: 620px) {
  .modal-container {
    min-width: 90%;
    min-height: 1px;
    height: auto;
  }
  .buttons {
    position: relative;
  }
}

@media (max-width: 1160px) {
  .footer-row {
    width: 60%;
  }
  .content h1 {
    font-size: 60px;
  }
  .content h3 {
    width: 70%;
    font-size: 24px;
  }
  .content hr {
    width: 70%;
  }
}

@media (max-width: 1160px) {
  .resume-item-label, .resume-item-content {
    width: 100%;
  }
  .resume-item-content {
    margin-top: 30px;
  }
}

@media (max-width: 1100px) {
  .works-column {
    width: 100%;
  }
}

@media (max-width: 851px) {
  .footer-row {
    width: 70%;
  }
  .top-menu ul {
    margin-top: 20%;
  }
  .content h1 {
    font-size: 50px;
  }
  .content h3 {
    width: 80%;
    font-size: 20px;
  }
  .content hr {
    width: 80%;
  }
  .arrow-down img {
    width: 30px;
    height: 30px;
  }
  .content img {
    width: 20%;
    height: 10%;
  }
  .work {
    width: 100%;
    margin-bottom: 50px;
  }
  .works-column {
    margin-bottom: 0px;
  }
  .works-container {
    margin-bottom: 50px;
  }
}

@media (max-width: 851px) and (orientation: landscape) {
  .work {
    width: 50%;
  }
  .modal-container {
    height: auto;
    min-height: 1px;
    max-height: 95%;
    max-width: 70%;
  }
  .buttons {
    position: relative;
  }
}

@media(max-width: 354px) {
  .dismiss {
    margin-left: 5px;
  }
  .buttons {
    padding: 18px 18px;
  }
}

@media (max-width: 750px) {
  .footer-row {
    width: 80%;
  }
  .top-menu ul {
    margin-top: 30%;
  }
  .top-menu ul li {
    font-size: 20px;
    height: 50px;
  }
  .top-menu ul li span {
    top: -37px;
  }
  .content h1 {
    font-size: 40px;
  }
  .content h3, .content hr {
    width: 90%;
  }
  .resume-items-container {
    width: 90%;
  }
  .about-row {
    width: 100%;
  }
  .resume-item-label {
    text-align: center;
  }
  .toggle-menu {
    right: 7px;
    top: 7px;
  }
}

@media (max-width: 570px) {
  .footer-row {
    width: 100%;
  }
  .top-menu ul {
    margin-top: 35%;
  }
  .content h1 {
    font-size: 30px;
  }
  .content img {
    width: 25%;
    height: 12%;
  }
  .portfolio-row {
    width: 90%;
  }
  .work {
    margin-bottom: 30px;
  }
  .bars li em {
    top: -35px;
    font-size: 13px;
  }
  .bars li {
    margin-bottom: 70px;
  }
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  /* Styles */
}

/* Smartphones (landscape) ----------- */

@media only screen and (min-width: 321px) {
  /* Styles */
}

/* Smartphones (portrait) ----------- */

@media only screen and (max-width: 426px) {
  .modal-container {
    height: auto;
    margin-top: 15%;
  }
  .buttons {
    position: relative;
  }
  .description-box {
    padding: 5px 36px 18px 36px;
    font-size: 14px;
  }
}

/* iPads (portrait and landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */
}

/* iPads (landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  /* Styles */
}

/* iPads (portrait) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* Styles */
}

/* Desktops and laptops ----------- */

@media only screen and (min-width: 1224px) {
  /* Styles */
}

/* Large screens ----------- */

@media only screen and (min-width: 1824px) {
  /* Styles */
}

/* iPhone 4 ----------- */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* Styles */
}
