@font-face {
  font-family: 'Poiret One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Poiret One'), local('PoiretOne-Regular'), url(https://fonts.gstatic.com/s/poiretone/v8/UqyVK80NJXN4zfRgbdfbo5pcUg.ttf) format('truetype');
}
@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?52515255');
  src: url('../font/fontello.eot?52515255#iefix') format('embedded-opentype'), url('../font/fontello.woff?52515255') format('woff'), url('../font/fontello.ttf?52515255') format('truetype'), url('../font/fontello.svg?52515255#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
body {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  margin: 0;
  display: flex;
  flex-direction: row;
  padding: 0 10%;
  font-family: Arial, Helvetica, sans-serif;
}
#mob-nav {
  display: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  font-size: 50px;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 10px;
  right: 15px;
  padding: 0;
  line-height: 0;
}
#mob-nav:hover,
#mob-nav:active {
  outline: 0;
}
#mob-nav-close {
  display: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  font-size: 50px;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 10px;
  right: 15px;
  padding: 0;
  line-height: 0;
}
#mob-nav-close:hover,
#mob-nav-close:active {
  outline: 0;
}
header {
  background: rgba(10, 17, 42, 0.6);
  height: auto;
  min-width: 300px;
  border-left: 0.5px solid #ff2da8;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
header .avatar {
  background: url(../img/avatar.png) no-repeat center;
  background-size: cover;
  width: 170px;
  height: 170px;
  margin: 0 auto;
}
header nav ul {
  padding: 0;
}
header nav ul li,
header .footer-link ul li {
  list-style-type: none;
}
header .footer-link ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-left: 0px;
}
header .footer-link ul li {
  display: inline-block;
  margin: 0 auto;
}
header .footer-link ul li a {
  text-decoration: none;
  display: block;
  color: rgba(255, 255, 255, 0.33);
}
header .footer-link ul li a:hover,
header .footer-link ul li a:focus,
header .footer-link ul li a:active {
  color: #ff2da8;
}
header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  height: 100px;
  font-size: 32px;
  padding-left: 50px;
  padding-right: 100px;
  box-sizing: border-box;
  border-left: 10px solid transparent;
  line-height: 3;
}
header nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}
header nav ul li .active-link {
  border-left: 10px solid #ff2da8;
  color: #ff2da8;
}
header .icon {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  font-size: 40px;
}
main {
  background: rgba(10, 17, 42, 0.9);
  height: 100vh;
  flex-grow: 10;
  border-right: 0.5px solid #ff2da8;
  padding-top: 50px;
  box-sizing: border-box;
  overflow-y: scroll;
}
main h1 {
  color: #ffffff;
  font-size: 45px;
  width: max-content;
  border-bottom: 3px solid #df358d;
  font-weight: unset;
  margin-top: 0;
}
section {
  padding-left: 55px;
  padding-right: 55px;
  min-width: auto;
}
.about .container {
  margin-bottom: 40px;
}
.about .logo {
  color: #ffffff;
  font-size: 60px;
  font-family: 'Poiret One', cursive;
  margin-bottom: 0;
}
.about .logo span {
  color: #ff4ba8;
  font-weight: bolder;
}
.about .vacancy {
  color: #ff4ba8;
  font-size: 38px;
  margin-top: 20px;
}
.about .info {
  color: rgba(255, 255, 255, 0.58);
  font-size: 25px;
  line-height: 1.5;
}
.about .info p {
  margin: 0;
  margin-bottom: 10px;
}
.about .info span.link {
  text-decoration: underline;
}
.about .info span.link:hover {
  color: #ff4ba8;
  cursor: pointer;
}
.about a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 300px;
  height: 70px;
  font-size: 28px;
  outline: 0;
  margin-right: 40px;
  display: inline-block;
  text-decoration: none;
  line-height: 2.5;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
  cursor: pointer;
}
.about a:hover,
.about a:active {
  background: #ff4ba8;
}
.work .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.work figure {
  width: 314px;
  height: auto;
  margin: 0;
  margin-bottom: 45px;
}
.work figure .link-to-work {
  display: block;
  text-decoration: none;
  color: #ffffff;
}
.work figure .link-to-work img {
  transition: 1s;
}
.work figure .link-to-work:hover {
  text-decoration: underline;
}
.work figure .link-to-work:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.work figure img {
  display: block;
  width: 312px;
  height: auto;
}
.work figure figcaption {
  margin-top: 25px;
}
.work figure p {
  color: #ffffff;
  text-decoration: none;
  font-size: 25px;
  margin: 0;
  text-align: center;
}
.contact .flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}
.contact .social {
  color: rgba(255, 255, 255, 0.58);
  font-size: 25px;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
}
.contact .social ul {
  padding-left: 0;
  margin-right: 50px;
}
.contact .social ul li {
  list-style-type: none;
  margin-bottom: 10px;
}
.contact .social ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 25px;
  line-height: 1.5;
}
.contact .social ul li a:hover,
.contact .social ul li a:focus,
.contact .social ul li a:active {
  color: #ff4ba8;
}
.contact .social .icon {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 20px;
  margin-right: 20px;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  font-size: 40px;
}
.contact .social .email {
  font-size: 40px;
}
.contact .form .description {
  color: rgba(255, 255, 255, 0.58);
  font-size: 25px;
  line-height: 1.5;
}
.contact .form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  margin-bottom: 40px;
}
.contact .form legend {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 20px;
}
.contact .form textarea {
  width: 100%;
  height: 25vh;
  resize: none;
}
.contact .form textarea,
.contact .form input {
  background: rgba(30, 26, 52, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.33);
  color: rgba(255, 255, 255, 0.33);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  padding: 10px;
}
.contact .form textarea:focus,
.contact .form input:focus {
  color: #ffffff;
  outline: 1px solid #ffffff;
}
.contact .form input {
  width: 48%;
}
.contact .form input[type="submit"] {
  color: #ffffff;
  background: #ff4ba8;
  border: none;
  cursor: pointer;
}
.contact .form input[type="submit"]:hover {
  background: rgba(255, 75, 168, 0.8);
}
.contact .form input[type="submit"]:active {
  background: rgba(255, 75, 168, 0.5);
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 0px;
  border-radius: 0px;
  background-color: #ff2da8;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #ff2da8;
}
::-webkit-resizer {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar {
  width: 0px;
  margin-right: 0px;
}
.dont-show {
  display: none;
}
.show-close-btn {
  display: block;
  z-index: 1;
}
.lang-picker {
  position: absolute;
  top: 10px;
  left: 10px;
}
.lang-picker li {
  list-style: none;
  display: inline-block;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.33);
  cursor: pointer;
}
.lang-picker li.selected {
  color: #ff2da8;
}
.mob-nav {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a112a;
}
.error,
.success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  align-items: center;
  padding: 0;
}
.error p,
.success p {
  margin: 0;
  font-size: 30;
  color: #ff4ba8;
  width: 80%;
  text-align: center;
}
.error a,
.success a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 235px;
  height: 70px;
  font-size: 28px;
  outline: 0;
  margin-top: 40px;
  display: inline-block;
  text-decoration: none;
  line-height: 2.5;
  text-align: center;
  margin-bottom: 40px;
  cursor: pointer;
}
.error a:hover,
.success a:hover,
.error a:active,
.success a:active {
  background: #ff4ba8;
}
@media screen and (max-width: 1300px) {
  .work .container {
    justify-content: center;
  }
  .contact .social {
    flex-direction: column;
  }
  .contact .social ul.one {
    margin-bottom: 0;
  }
  .contact .social ul.two {
    margin-top: 0;
  }
}
@media screen and (max-width: 1100px) {
  .about button {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 1000px) {
  body {
    padding: 0 0;
  }
  main,
  header {
    border: none;
  }
  .lang-picker {
    padding-left: 0;
  }
  .contact .flex {
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  .contact form input {
    width: 100%;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 780px) {
  header {
    display: none;
  }
  #mob-nav {
    display: block;
  }
  .work .container {
    justify-content: space-between;
  }
}
@media screen and (max-width: 737px) {
  .work .container {
    justify-content: center;
  }
}
@media screen and (max-width: 500px) {
  section {
    padding-left: 25px;
    padding-right: 25px;
  }
  .about .logo {
    font-size: 50px;
  }
  .about .vacancy {
    font-size: 36px;
  }
  .about button {
    width: 220px;
    height: 60px;
    font-size: 26px;
  }
  .work figure {
    width: 250px;
    height: auto;
  }
  .work figure img {
    display: block;
    width: 248px;
    height: auto;
  }
}
@media screen and (max-height: 600px) {
  header .avatar {
    width: 150px;
    height: 150px;
    margin-top: 5px;
  }
}
