/* Animation */
@keyframes toUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(2000px);
    transform: translateY(2000px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes toDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes drop {
  0% {
    top: 5px;
    opacity: 0;
  }
  30% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 25px;
    opacity: 0;
  }
}
.scale-enter-active,
.scale-leave-active {
  transition: transform 0.4s ease;
}

.scale-enter-from .portfolio__content-item,
.scale-leave-to .portfolio__content-item {
  transform: scale(0);
}

/* Common */
div, p, body, h1, h2, h3, h4, h5, h6, ul, ol {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.mouse-icon {
  position: absolute;
  height: 46px;
  width: 26px;
  bottom: 10%;
  left: calc(50% - 15px);
  border: 2px solid #fff;
  border-radius: 15px;
  cursor: pointer;
  display: block;
  color: #fff;
}
.mouse-icon .wheel {
  position: relative;
  width: 4px;
  height: 10px;
  top: 5px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  animation-name: drop;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-play-state: running;
}
.mouse-icon i {
  font-size: 24px;
  margin-left: 7px;
  margin-top: 46px;
  animation-name: drop;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

h2 {
  font-size: 36px;
  margin-bottom: 27px;
  text-transform: uppercase;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 23px;
}

img {
  max-width: 100%;
}

#app {
  position: relative;
}

.preloader {
  position: fixed;
  background-color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

.stop {
  height: 100vh;
  overflow: hidden;
}

/* Layout */
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* Carousel */
.carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.carousel__item {
  height: 100vh;
  width: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.carousel__item-caption {
  color: #fff;
  position: absolute;
  bottom: 20px;
  left: 85px;
  text-transform: uppercase;
  letter-spacing: 8px;
  padding: 20px 0 30px;
  display: none;
}
.carousel__item-up {
  font-size: 30px;
  margin-bottom: 20px;
  animation-name: toUp;
  animation-duration: 1s;
}
.carousel__item-down {
  font-size: 36px;
  margin-bottom: 8px;
  animation-name: toDown;
  animation-duration: 1s;
}
.carousel__item-active {
  opacity: 1;
}
.carousel__item-active .carousel__item-caption {
  display: block;
}
.carousel__btns {
  position: absolute;
  top: calc(50% - 27px);
  width: 100vw;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.carousel__btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.carousel__btn:hover {
  background-color: #df392e;
  border-color: #df392e;
}
.carousel__btn-left {
  left: -60px;
}
.carousel__btn-left i {
  margin-left: -3px;
}
.carousel__btn-right {
  right: -60px;
}
.carousel__btn-right i {
  margin-right: -3px;
}
.carousel:hover .carousel__btn-left {
  left: 32px;
}
.carousel:hover .carousel__btn-right {
  right: 32px;
}

/* Menu */
.menu {
  background-color: #fff;
  border-bottom: 1px solid #f5f5f5;
  position: sticky;
  top: 0;
  z-index: 20;
}
.menu__burger {
  display: none;
}
.menu-active {
  color: #df392e;
}
.menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  height: 98px;
  padding: 0 15px;
  margin-right: -15px;
}
.menu a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 19px;
  padding-right: 19px;
}

/* About */
.about {
  background-color: #f5f5f5;
  padding-top: 110px;
}
.about__content {
  width: 750px;
  margin: 0 auto;
}
.about__img {
  text-align: center;
}
.about h2 {
  text-align: center;
}
.about p {
  margin: 0 0 10px;
}

/* Portfolio */
.portfolio {
  background-color: #f5f5f5;
  padding-top: 90px;
}
.portfolio__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 45px;
}
.portfolio__tabs-title {
  padding: 16px 20px;
  background-color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  border: 1px solid #e6e6e6;
  margin-left: 24.5px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
}
.portfolio__tabs-title:nth-child(1) {
  margin-left: 0;
}
.portfolio__tabs-title:hover {
  background-color: #df392e;
  color: #fff;
}
.portfolio__tabs-active {
  background-color: #df392e;
  color: #fff;
}
.portfolio__content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.portfolio__content-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  width: calc(25% - 30px);
  margin: 0 15px 30px;
  transform: scale(1);
  transition: all 0.4s;
}
.portfolio__content-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.5s ease-in-out;
}
.portfolio__content-item:hover::after {
  background-color: rgba(0, 0, 0, 0.8);
}
.portfolio__content-item:hover img {
  transform: scale(1.3) rotate(-15deg);
  transition: all 0.5s ease-in-out;
}
.portfolio__content-item:hover .portfolio__content-caption {
  bottom: calc(50% - 20px);
  transition: all 0.5s ease-in-out;
}
.portfolio__content-caption {
  position: absolute;
  color: #fff;
  z-index: 10;
  font-size: 30px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  bottom: -40px;
}

/* Modal */
.wrape {
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}
.wrape-active {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.modal {
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
}
.modal__content {
  width: 360px;
  padding: 9px 8px 10px;
}
.modal__content-active {
  width: 610px;
}
.modal__content-active .modal__open {
  background-position-y: -85px;
}
.modal__content-active .modal__open:hover {
  background-position-y: -113px;
}
.modal__open {
  background: url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;
  cursor: pointer;
  width: 28px;
  height: 28px;
  position: absolute;
  right: 19px;
  top: 19px;
  transition: all 0.2s;
}
.modal__open:hover {
  background-position-y: -57px;
}
.modal__close {
  background: url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;
  cursor: pointer;
  width: 30px;
  height: 30px;
  margin-left: auto;
}

/* Contacts */
.contacts {
  background-image: url("../images/contact-bg.jpg");
}
.contacts__padding {
  padding-top: 110px;
  background-color: #f5f5f5;
}
.contacts__wrape {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 100px 0 120px;
}
.contacts__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 30px;
}
.contacts__content-form {
  width: calc(50% - 15px);
}
.contacts__content textarea {
  height: 200px;
}
.contacts__input {
  height: 36px;
  width: calc(100% - 24px);
  border: 1px solid #6a6a6a;
  background: none;
  margin-bottom: 28px;
  padding: 6px 12px;
  outline: none;
  resize: none;
  color: #fff;
  font-size: 14px;
  font-weight: 200;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.contacts__input:focus {
  border-color: #df392e;
}
.contacts__input::placeholder {
  font-family: "Open Sans", sans-serif;
  color: rgb(160, 160, 160);
}
.contacts__input-min {
  width: calc(50% - 39px);
}
.contacts__inputs {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.contacts__btn {
  background-color: #db2429;
  font-weight: 600;
  margin-top: 17px;
  padding: 16px;
  width: calc(100% - 30px);
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
}
.contacts__btn:hover {
  background-color: #ba2024;
}
.contacts__form-info {
  background-color: #f2dede;
  border: 1px solid #f2dede;
  color: #a94442;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 18px;
}
.contacts__info {
  width: calc(50% - 105px);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 39px 45px 20px;
  color: #fff;
}
.contacts__info ul {
  list-style: none;
  margin-bottom: 35px;
}
.contacts__info li {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 400;
}
.contacts__info i {
  background-color: #db2429;
  height: 35px;
  margin-right: 5px;
  margin-bottom: 20px;
  width: 35px;
  font-size: 14px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contacts__social ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.contacts__social li {
  margin-right: 9px;
  margin-bottom: 10px;
}
.contacts__social h3 {
  margin-bottom: 25px;
}

/* Footer */
.footer {
  background-image: url("../images/contact-bg.jpg");
  color: #fff;
  font-weight: 400;
}
.footer__wrape {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 30px 0 20px;
  text-align: center;
  position: relative;
}
.footer__top {
  position: absolute;
  background-color: #db2429;
  right: 50px;
  bottom: 15px;
  height: 48px;
  width: 48px;
  line-height: 48px;
  font-size: 18px;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s;
}
.footer__top:hover {
  background-color: #ba2024;
}
.footer__top i {
  color: #fff;
}
.footer a {
  color: #db2429;
  font-weight: 700;
}

/* Media */
@media (max-width: 1199px) {
  /* Menu */
  .menu a {
    padding: 0 15px;
  }
  /* About */
  .about__content {
    width: 616px;
  }
}
@media (max-width: 991px) {
  /* Carousel */
  .carousel__btn {
    border: none;
  }
  /* Menu */
  .menu a {
    padding: 0 5px;
    font-size: 13px;
  }
  /* About */
  .about__content {
    width: 470px;
  }
  /* Portfolio */
  .portfolio__content-item {
    width: calc(33.3333333333% - 30px);
  }
  /* Contacts */
  .contacts__content {
    padding: 0;
  }
}
@media (max-width: 767px) {
  /* Common */
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  body {
    font-size: 14px;
  }
  /* Carousel */
  .carousel__btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  /* Menu */
  .menu {
    height: 58px;
  }
  .menu .container {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
  }
  .menu__burger {
    display: block;
    border: 1px solid #df392e;
    border-radius: 4px;
    padding: 9px 10px;
    width: 22px;
    margin-left: auto;
    margin-right: 1px;
    margin-top: 8px;
  }
  .menu__burger div {
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #df392e;
    margin-top: 4px;
  }
  .menu__burger div:nth-child(1) {
    margin-top: 0;
  }
  .menu ul {
    position: absolute;
    top: 58px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    gap: 10px;
    height: 0;
    transition: all 0.3s;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff;
    width: 100%;
    margin-left: -15px;
  }
  .menu ul.active {
    height: 118px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .menu li:nth-child(1) {
    margin-top: 17px;
  }
  .menu a {
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
  }
  /* About */
  .about__content {
    width: 100%;
  }
  /* Portfolio */
  .portfolio__tabs {
    margin-bottom: 61px;
  }
  .portfolio__tabs-title {
    margin-left: 4px;
    margin-bottom: 4px;
    padding: 10px 15px;
  }
  .portfolio__content-item {
    width: calc(50% - 30px);
  }
  .portfolio__content-item:hover::after {
    background-color: rgba(0, 0, 0, 0);
  }
  .portfolio__content-item:hover img {
    transform: scale(1) rotate(0deg);
  }
  .portfolio__content-item:hover .portfolio__content-caption {
    bottom: 55px;
  }
  .portfolio__content-all {
    margin-bottom: -25px;
  }
  .portfolio__content-caption {
    background-color: rgba(0, 0, 0, 0.8);
    max-width: 305px;
    bottom: 55px;
    position: relative;
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Contacts */
  .contacts__content {
    flex-direction: column;
  }
  .contacts__content-form {
    width: 100%;
  }
  .contacts__form-info {
    font-size: 16px;
  }
  .contacts__info {
    margin-top: 30px;
    width: calc(100% - 60px);
    padding: 36px 30px;
  }
  /* Footer */
  .footer__top {
    right: 15px;
  }
  .footer__top:hover {
    background-color: #db2429;
  }
  .footer__wrape {
    text-align: left;
  }
  .footer p {
    max-width: calc(100% - 80px);
    margin-left: 10px;
  }
}
@media (max-width: 575px) {
  /* Common */
  .mouse-icon {
    bottom: 160px;
  }
  /* Carousel */
  .carousel__item-caption {
    left: 20px;
  }
  .carousel__item-up {
    font-size: 26px;
    margin-bottom: 6px;
  }
  .carousel__item-down {
    font-size: 30px;
  }
  .carousel__btns {
    top: calc(30% - 20px);
  }
  .carousel:hover .carousel__btn-left {
    left: 10px;
  }
  .carousel:hover .carousel__btn-right {
    right: 10px;
  }
  /* Modal */
  .modal {
    max-width: 90vw;
  }
  /* Portfolio */
  .portfolio__content-caption {
    margin: 0 auto;
  }
}
@media (max-width: 479px) {
  /* Portfolio */
  .portfolio__content-item {
    width: 100%;
    text-align: center;
  }
}/*# sourceMappingURL=style.css.map */