@charset "UTF-8";
/* общие переменные */
/* общие настройки */
body {
  margin: 0;
  padding: 0;
  background-color: #07031a;
  font-family: 'Open Sans', sans-serif;
  color: #f4f4f4;
}

.container {
  max-width: 1320px;
  margin: auto;
  padding: 0 5px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #f4f4f4;
}

/* стили для хэдера */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1b262c;
}

.navbar__logo {
  width: 100px;
  height: 50px;
  overflow: hidden;
  z-index: 3;
}

.navbar__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.navbar__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
}

.navbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 3;
}

.navbar__item {
  margin: 0 15px;
  position: relative;
}

.navbar__item:last-child {
  margin-right: 0;
}

.navbar__item::after {
  position: absolute;
  left: 50%;
  content: '';
  height: 40px;
  height: 2px;
  background: #FFE600;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 0;
  bottom: 0;
}

.navbar__item:hover:after {
  width: 100%;
  margin-left: -50%;
}

.navbar__link {
  font-size: 18px;
  line-height: 30px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.navbar__burger {
  display: none;
}

/* стили для социала */
.social {
  margin-top: 110px;
}

.social-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.social__logo {
  width: 200px;
  height: 200px;
}

.social__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.social__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px 40px;
  -webkit-box-flex: 1;
      -ms-flex: auto;
          flex: auto;
}

.social__title {
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 15px;
}

.social__subtitle {
  font-size: 20px;
  line-height: 35px;
  margin-bottom: 45px;
}

.social__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.social__item {
  margin: 0 15px;
}

.social__item:first-child {
  margin-left: 0;
}

.social__link {
  font-size: 30px;
  color: #f4f4f4;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.social__link:hover {
  color: #FFE600;
}

.social__button {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 30px;
  padding: 10px 30px;
  border-radius: 8px;
  border: none;
  background-color: #e32249;
  color: #f4f4f4;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}

.social__button:hover {
  background-color: #FFE600;
  color: #07031a;
}

.social__icon {
  margin-right: 15px;
}

/* стили для обо мне */
.about-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 30px;
  padding: 50px 0;
  border-top: 1px solid #FFE600;
}

.content {
  width: 70%;
}

.content__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 30px;
}

.content__tabname {
  font-family: 'Roboto Slab', serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 20px;
  cursor: pointer;
  text-align: center;
  width: 30%;
}

.content__tabname:hover {
  color: #FFE600;
  font-weight: normal;
}

.content__tabname:nth-child(2n) {
  border-right: 1px solid #FFE600;
  border-left: 1px solid #FFE600;
}

.content__tabs {
  display: none;
}

.content__tabs-title {
  font-family: 'Roboto Slab', serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 10px;
}

.content__tabs-text {
  font-family: 'Roboto', sans-serif;
  width: 90%;
  text-align: justify;
  font-size: 20px;
  line-height: 30px;
}

.content .visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  visibility: visible;
}

.active {
  color: #FFE600;
}

.sidebar {
  width: 29%;
}

.sidebar__title {
  margin-bottom: 20px;
}

.sidebar__tabname {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  line-height: 20px;
  margin: 0 10px;
  cursor: pointer;
}

.sidebar__tabname:hover {
  color: #FFE600;
}

.sidebar__tabname:first-child {
  margin-left: 0;
}

.sidebar__tabname:last-child {
  margin-right: 0;
}

.sidebar__tabs {
  display: none;
}

.sidebar__tabs-title {
  font-family: 'Roboto Slab', serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 30px;
}

.sidebar__tabs-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.sidebar__tabs-item {
  margin-bottom: 20px;
}

.sidebar .visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  visibility: visible;
}

/* стили для портфолио */
.portfolio-wrapper {
  padding: 50px 0;
  border-top: 1px solid #FFE600;
}

.portfolio__head {
  text-align: center;
  margin: 0 0 20px 0;
}

.portfolio__title {
  font-size: 24px;
}

.portfolio-content {
  position: relative;
}

.portfolio-content__title {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 20px;
}

.portfolio-content__slider {
  position: relative;
  overflow: hidden;
}

.portfolio-content__slide {
  width: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.portfolio-content__slide:first-child {
  margin-left: 0;
}

.portfolio-content__slide:last-child {
  margin-right: 0;
}

.portfolio-content__item {
  max-width: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 10px;
  cursor: pointer;
}

.portfolio-content__image {
  margin-bottom: 20px;
  border-radius: 8px;
}

.portfolio-content__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.portfolio-content__button {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background-color: #e32249;
  color: #f4f4f4;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
  margin-top: 5px;
  width: 50%;
}

.portfolio-content__button:hover {
  background-color: #FFE600;
  color: #07031a;
}

.portfolio-content__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  left: 0;
  padding: 0 5px;
}

.portfolio-content__button--next {
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #f4f4f4;
  border-radius: 50%;
  right: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
  color: #f4f4f4;
  outline: none;
}

.portfolio-content__button--next:hover {
  border: 1px solid #FFE600;
  color: #FFE600;
}

.portfolio-content__button--prev {
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #f4f4f4;
  border-radius: 50%;
  left: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
  color: #f4f4f4;
  outline: none;
}

.portfolio-content__button--prev:hover {
  border: 1px solid #FFE600;
  color: #FFE600;
}

/* стили для подвала */
.footer-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: 75px 0;
  border-top: 1px solid #FFE600;
}

.footer__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer__item {
  margin: 0 30px;
}

.footer__item:first-child {
  margin-left: 0;
}

.footer__item:last-child {
  margin-right: 0;
}

.footer__link {
  font-size: 30px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.footer__link:hover {
  color: #FFE600;
}

.footer__input {
  outline: none;
  border: none;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 30px;
  width: 300px;
  height: 50px;
}

.footer__input:first-child {
  margin-top: 0;
}

.footer__input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.footer__textarea {
  min-width: 300px;
  min-height: 100px;
  max-width: 300px;
  max-height: 100px;
  outline: none;
  border: none;
  margin: 20px 0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 30px;
}

.footer__button {
  font-family: 'Open Sans', sans-serif;
  outline: none;
  border: none;
  padding: 10px 0;
  border-radius: 8px;
  background-color: #e32249;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  font-size: 16px;
  line-height: 30px;
  color: #f4f4f4;
}

.footer__button:hover {
  background-color: #FFE600;
  color: #07031a;
}

.button__next {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 90%;
  right: 3%;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: #FFE600;
  border-radius: 50%;
  color: #07031a;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 50;
}

.button__next:hover {
  background-color: #f4f4f4;
}

/* стили для модального окна */
.overlay {
  position: fixed;
  display: none;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(7, 3, 26, 0.5);
}

.popup {
  position: fixed;
  left: 50%;
  top: 150px;
  width: 500px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-color: #1b262c;
  border-radius: 8px;
  padding: 20px 0;
}

.popup__close {
  position: absolute;
  right: -20px;
  top: -30px;
  font-size: 35px;
  color: #FFE600;
  font-weight: 300;
  cursor: pointer;
}

.popup__title {
  display: block;
  color: #f4f4f4;
  text-align: center;
  padding: 10px 0;
}

.popup__input {
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 70%;
  margin: 10px 0;
  height: 40px;
}

.popup__input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.popup__textarea {
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  min-width: 70%;
  min-height: 60px;
  max-width: 70%;
  max-height: 60px;
  margin: 10px 0 20px 0;
}

.popup__button {
  border: none;
  outline: none;
  padding: 10px 40px;
  border-radius: 8px;
  background-color: #e32249;
  color: #f4f4f4;
  font-size: 18px;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.popup__button:hover {
  background-color: #FFE600;
  color: #07031a;
}

/* стили для модального окна */
@media (max-width: 1290px) {
  .sidebar__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .sidebar__tabname {
    margin: 5px 0;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .social__content {
    padding: 10px 20px;
  }
  .portfolio-content {
    padding: 0 5px;
  }
  .portfolio-content__buttons {
    top: -10%;
  }
}

@media (max-width: 1060px) {
  .social__content {
    width: 40%;
  }
}

@media (max-width: 992px) {
  .social__button {
    padding: 10px 20px;
  }
  .content__tabs-title {
    width: 100%;
  }
  .button__next {
    display: none;
  }
}

@media (max-width: 768px) {
  body.lock {
    overflow: hidden;
  }
  .social-wrapper {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .social__logo {
    width: 150px;
    height: 150px;
  }
  .navbar::before {
    z-index: 4;
  }
  .navbar__menu {
    padding: 6px 10px;
  }
  .navbar__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 5;
  }
  .navbar__burger span {
    position: absolute;
    background-color: #f4f4f4;
    left: 0;
    width: 100%;
    height: 2px;
    top: 9px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .navbar__burger::before, .navbar__burger::after {
    content: '';
    background-color: #f4f4f4;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .navbar__burger::before {
    top: 0;
  }
  .navbar__burger::after {
    bottom: 0;
  }
  .navbar .open span {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  .navbar .open::before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    top: 9px;
  }
  .navbar .open::after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    bottom: 9px;
  }
  .navbar__logo {
    z-index: 5;
  }
  .navbar__list {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: grey;
    display: block;
    padding: 60px 0 0 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    overflow: auto;
  }
  .navbar .open {
    top: 0;
  }
  .navbar__item {
    margin: 30px 0 0 15px;
  }
  .navbar__link {
    font-size: 20px;
  }
  .about-wrapper {
    padding: 70px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .content {
    width: 100%;
  }
  .content__tabs-text {
    width: auto;
    padding: 0 5px;
    font-size: 16px;
  }
  .sidebar {
    margin-top: 10px;
    width: auto;
  }
  .sidebar__title {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .sidebar__tabname {
    margin: 0 20px;
  }
  .footer-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .footer__form {
    width: 100%;
  }
  .footer__input {
    width: 50%;
  }
  .footer__input-group {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .footer__textarea {
    max-width: 50%;
    min-width: 50%;
  }
  .footer__button {
    width: 55%;
  }
  .footer__list {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .portfolio-content__item {
    width: 100%;
  }
  .social {
    margin-top: 90px;
  }
  .social-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .social__content {
    width: 100%;
    padding: 0;
  }
  .social__subtitle {
    margin-bottom: 20px;
  }
  .social__list {
    margin-bottom: 10px;
  }
  .content__tabname {
    width: 50%;
  }
  .sidebar__tabname {
    margin: 0 10px;
  }
  .footer-wrapper {
    width: auto;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .footer__form {
    width: 90%;
  }
  .footer__input {
    width: 90%;
  }
  .footer__textarea {
    max-width: 90%;
    min-width: 90%;
  }
  .footer__button {
    width: 90%;
  }
  .popup {
    width: 85%;
  }
}

@media (max-width: 430px) {
  .content__tabname:nth-child(2n) {
    border: none;
  }
}

@media (max-width: 320px) {
  .social__logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }
  .social__title {
    font-size: 24px;
  }
  .content__tabname {
    font-size: 18px;
    margin: 0 10px;
  }
  .sidebar__tabname {
    font-size: 18px;
  }
}
/*# sourceMappingURL=style.css.map */