html {
  box-sizing: border-box;
}

body {
  font-family: Arial, Verdana, sans-serif;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ul,
ol,
li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}

:root {
  --color-blue-background: rgba(17, 55, 130, .8);
  --background-header-elem: rgb(190, 185, 185);
}

@font-face {
  font-family: 'stradivari_script';
  src: url('stradivari_script');
  src: local('stradivari_script'), local('stradivari_script'),
    url('../fonts/stradivari_script.woff2') format('woff2'),
    url('../fonts/stradivari_script.woff') format('woff'),
}

@font-face {
  font-family: 'burlingtonengravc';
  src: url('burlingtonengravc');
  src: local('burlingtonengravc'), local('burlingtonengravc'),
    url('../fonts/burlingtonengravc.woff2') format('woff2'),
    url('../fonts/burlingtonengravc.woff') format('woff'),
}

@font-face {
  font-family: 'ProximaNovaCond-Regular';
  src: url('ProximaNovaCond-Regular');
  src: local('ProximaNovaCond-Regular'), local('ProximaNovaCond-Regular'),
    url('../fonts/ProximaNovaCond-Regular.woff') format('woff2'),
    url('../fonts/ProximaNovaCond-Regular.woff'),
}


body {
  margin: 0 auto;
}

.close {
  display: none;
}

.content {
  margin: 5px auto;
  width: 99vw;
  min-height: 1500px;
  padding: 20px;
  background-color: rgb(220, 215, 215);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 150px;
  height: 150px;
  border: 15px solid #c5da0b;
  border-top-color: #2bc40c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* HEADER  */
.header {
  padding: 50px;
  background: linear-gradient(-90deg, rgba(24, 24, 23, 1) 0%, var(--color-blue-background) 60%);
  box-shadow: inset 0px 0px 100px rgb(9, 3, 66);
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  margin-bottom: 3vw;
}

.logo {
  width: 20%;
  min-height: 100px;
  padding: 0 20px;
  border-bottom-right-radius: 70px;
  border-top-left-radius: 70px;
  background-color: var(--background-header-elem);
  background-image: url(../img/logo-web-development.webp);
  background-size: 80% 80%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 4px 6px;
  animation: logo 5s 3;
}

@keyframes logo {
  from {
    background-size: 0% 80%;
  }

  50% {
    background-size: 80% 80%;
  }

  to {
    background-size: 0% 80%;
  }
}

/* NAV  */
.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  background-color: var(--background-header-elem);
  box-shadow: 0px 4px 6px;

}

.header__list {
  display: flex;
  width: 90%;
  justify-content: space-between;
}

.header__item {
  color: darkblue;
  font-family: 'ProximaNovaCond-Regular';
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 25px;
  transition: all .5s;
}

.header__item:focus {
  font-weight: 100;
  scale: 1.2;
  color: rgb(243, 63, 8);
}

.header__item:hover {
  font-weight: 100;
  scale: 1.2;
  color: rgb(8, 8, 250);
}

.header__item:active {
  font-weight: 100;
  scale: 1.2;
  color: rgb(6, 104, 27);
}

/* CONTACT */
.header__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 100px;
  padding: 20px 20px;
  border-bottom-left-radius: 70px;
  border-top-right-radius: 70px;
  background-color: var(--background-header-elem);
  box-shadow: 0px 4px 6px;

}

.contact__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 70%;
}

.contact__item {
  width: 100%;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 22px;
  color: green;

}

.contact__img {
  width: 40px;
  transition: .3s;
}


.contact-link:hover .contact__img {
  scale: 1.3;
}

.header__nav-buttom {
  margin: 0 auto;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  width: 80vw;
  min-height: 10vw;
  border-bottom-left-radius: 6vw;
  border-bottom-right-radius: 6vw;
  background-color: var(--background-header-elem);
  box-shadow: 0px 4px 6px;

}

.header__link {
  color: darkblue;
  font-family: 'ProximaNovaCond-Regular';
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 25px;
}

/* MAIN */
.hero {
  width: 100%;
  min-height: 50vw;
  background: linear-gradient(90deg, rgba(24, 24, 23, 1) 0%, var(--color-blue-background) 60%);
  padding: 50px;
  box-shadow: inset 0px 0px 100px rgb(9, 3, 66);
}

.hero__block {
  padding: 5vw;
}

.hero__title {
  width: 100%;
  text-align: center;
  font-size: 95px;
  background: linear-gradient(90deg, rgba(233, 225, 55, 1) 0%, rgba(248, 5, 58, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'burlingtonengravc';
}

.hero__text {
  width: 100%;
  min-height: 50px;
  text-align: center;
  font-size: 45px;
  padding-top: 3%;
  font-family: 'burlingtonengravc';
  letter-spacing: 2px;
  background: linear-gradient(90deg, rgba(233, 225, 55, 1) 0%, rgba(248, 5, 58, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero__text 5s 3;
}

@keyframes hero__text {
  0% {
    background: linear-gradient(90deg, rgba(242, 32, 64, 1) 0%, rgba(242, 32, 64, 1) 25%, rgba(242, 32, 64, 1) 50%, rgba(242, 32, 64, 1) 75%, rgba(248, 5, 58, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  25% {
    background: linear-gradient(90deg, rgba(233, 225, 55, 1)0%, rgba(242, 32, 64, 1) 25%, rgba(242, 32, 64, 1) 50%, rgba(242, 32, 64, 1) 75%, rgba(242, 32, 64, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  50% {
    background: linear-gradient(90deg, rgba(233, 225, 55, 1) 0%, rgba(233, 225, 55, 1) 25%, rgba(233, 225, 55, 1) 50%, rgba(242, 32, 64, 1) 75%, rgba(242, 32, 64, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  75% {
    background: linear-gradient(90deg, rgba(233, 225, 55, 1) 0%, rgba(233, 225, 55, 1) 25%, rgba(233, 225, 55, 1) 50%, rgba(233, 225, 55, 1) 75%, rgba(242, 32, 64, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  100% {
    background: linear-gradient(90deg, rgba(233, 225, 55, 1) 0%, rgba(233, 225, 55, 1) 25%, rgba(233, 225, 55, 1) 50%, rgba(233, 225, 55, 1) 75%, rgba(233, 225, 55, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}


.hero__text-buttom {
  width: 100%;
  font-size: 50px;
  font-family: 'stradivari_script';
  letter-spacing: 3px;
  font-style: italic;
  line-height: 70px;
}

.hero__img {
  width: 60%;
  float: right;
  border-radius: 50%;
  box-shadow: 0 0 48px 46px rgba(60, 97, 172, 0.8);
}

/* WORKS */
.works {
  padding: 20px;
  padding-top: 100px;
  padding-bottom: 100px;
  background: linear-gradient(-90deg, rgba(24, 24, 23, 1) 0%, var(--color-blue-background) 60%);
  box-shadow: inset 0px 0px 100px rgb(9, 3, 66);
}



.works__title {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  color: white;
  font-size: 170px;
  font-family: 'burlingtonengravc';
  letter-spacing: 7px;
  background: linear-gradient(90deg, rgba(233, 225, 55, 1) 20%, rgba(248, 5, 58, 1) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 150px;
}

.works__block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10%;
  row-gap: 100px;
  width: 100%;
  min-height: 100px;
}

.work {
  position: relative;
  width: 600px;
  min-height: 450px;
  border-radius: 15px;

}

.work__img {
  width: 100%;
}

.work__desctop {
  position: absolute;
  width: 70%;
  left: 15%;
  background-repeat: no-repeat;
  background-size: 97% 68%;
  background-position: 10px 10px;
  transition: 1s;
}

.work__desctop:hover {
  scale: 1.5;
  z-index: 2;
}

.work__planshet {
  position: absolute;
  width: 35%;
  min-height: 170px;
  top: 45%;
  left: 1%;
  border-radius: 15px;
  background-repeat: no-repeat;
  background-size: 82% 78%;
  background-position: center 14px;
  transition: 1s;
}

.work__planshet:hover {
  scale: 2;
  top: 25%;
  left: 30%;
  z-index: 2;
}


.work__mobil {
  position: absolute;
  width: 14%;
  min-height: 170px;
  top: 36%;
  left: 67%;
  border-radius: 15px;
  background-repeat: no-repeat;
  background-size: 84% 81%;
  background-position: center 10px;
  transition: 1s;

}

.work__mobil:hover {
  scale: 2.5;
  top: 25%;
  left: 45%;
  z-index: 2;
}

.work__btn {
  position: absolute;
  top: 380px;
  left: 240px;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all .5s;
}

.work__btn:focus {
  background-color: cadetblue;
}

.work__btn:hover {
  background-color: green;
  scale: 1.2;
  color: rgb(235, 223, 60);
}

.work__btn:active {
  background-color: rgb(230, 123, 123);
}

.timer__block {
  display: block;
  margin: 50px auto;
  font-size: 70px;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 247, 255, .3);
  border-radius: 50%;
  border: 1px solid white;
  color: coral;
}

.tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12%;
  min-height: 70px;
  color: white;
  background-image: url(https://content.foto.my.mail.ru/mail/nellisab/_blogs/i-232483.gif);
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(35deg);

}

/* WORK-1  */
.work1__top {
  /* display: flex;
  justify-content: center; */
  position: absolute;
  width: 115%;
  min-height: inherit;
  left: -7%;
  background-image: url(../img/штора-left.webp),
    url(../img/штора-rigth.webp);
  background-position: 0% 0%, 100% 0%;
  background-repeat: no-repeat, no-repeat;
  z-index: 1;
  cursor: pointer;
}

.work1__top-open {
  animation: work1__top 20s;
  animation-fill-mode: forwards;
}

@keyframes work1__top {
  0% {

    background-position: 0% 0%, 100% 0%;
  }

  50% {
    background-position: -220% 0%, 320% 0%;
  }

  100% {
    background-position: -220% 0%, 320% 0%;
    z-index: 0;
  }
}


.work1__desctop {
  background-image: url(../img/Обложки/winter-garden-desctop.webp);
}

.work1__planshet-1 {
  background-image: url(../img/Обложки/winter-garden-planshet.webp);
}

.work1__mobil {
  background-image: url(../img/Обложки/winter-garden-mobil.webp);
}

/* WORK-2 */
.work2__top {
  position: absolute;
  width: 600px;
  height: 450px;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.work2__img {
  width: 100%;
  height: 100%;
  opacity: 1;

}

.work2__img-animade {
  width: 100%;
  height: 100%;
  opacity: 1;
  animation: work2__img-animade 5s;
  animation-fill-mode: forwards;
}

@keyframes work2__img-animade {
  from {}

  to {
    opacity: 0;
  }
}

.work2__desctop {
  background-image: url(../img/Обложки/img-castsway.jpg);
}

.work2__planshet {
  background-image: url(../img/Обложки/castaway-planshet.webp);
}

.work2__mobil {
  background-image: url(../img/Обложки/castaway-mobil.webp);
}

/* WORK-3 */
.work3__top {
  position: absolute;
  width: 600px;
  height: 450px;
  top: 0;
  left: -3px;
  cursor: pointer;
  z-index: 2;
}

.work3__top-1 {
  top: 0px;
}

.work3__top-block1 {
  animation: work3__top-block1 1s;
  animation-fill-mode: forwards;
}

@keyframes work3__top-block1 {
  from {}

  10% {
    scale: 1.1;
    top: 0;
    z-index: 2;
  }

  to {
    scale: 1.1;
    top: 400px;
    z-index: 2;
  }
}

.work3__top-2 {
  top: 85px;
}

.work3__top-block2 {
  animation: work3__top-block2 1s 1s;
  animation-fill-mode: forwards;
}

@keyframes work3__top-block2 {
  from {}

  10% {
    scale: 1.1;
    top: 85px;
    z-index: 2;
  }

  to {
    scale: 1.1;
    top: 400px;
    z-index: 2;
  }
}

.work3__top-3 {
  top: 170px;
}

.work3__top-block3 {
  animation: work3__top-block3 1s 2s;
  animation-fill-mode: forwards;
}

@keyframes work3__top-block3 {
  from {}

  10% {
    scale: 1.1;
    top: 170px;
    z-index: 2;
  }

  to {
    scale: 1.1;
    top: 400px;
    z-index: 2;
  }
}

.work3__top-4 {
  top: 255px;
}

.work3__top-block4 {
  animation: work3__top-block4 1s 3s;
  animation-fill-mode: forwards;
}

@keyframes work3__top-block4 {
  from {}

  10% {
    scale: 1.1;
    top: 255px;
    z-index: 2;
  }

  to {
    scale: 1.1;
    top: 400px;
    z-index: 2;
  }
}

.work3__top-5 {
  top: 340px;
}

.work3__top-block5 {

  animation: work3__top-block5 1s 4s;
  animation-fill-mode: forwards;
}

@keyframes work3__top-block5 {
  from {}

  10% {
    scale: 1.1;
    top: 340px;
    z-index: 2;
  }

  to {
    scale: 1.1;
    top: 400px;
    z-index: 2;
  }
}

.work3__top-block {
  position: absolute;
  width: 100%;
  height: 100px;
  background-image: url(../img/img-wood.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.work3__top-img {
  width: 100%;
}

.work3__desctop {
  background-image: url(../img/Обложки/img-простые-вещи-из-бумаги.webp);
}

.background-desctop-video3 {
  position: absolute;
  top: 19px;
  left: 17px;
  width: 94%;
  height: 57%;
  z-index: 1;
  object-fit: cover;
}

.work3__planshet {
  background-image: url(../img/Обложки/paper-planshet.webp);
}

.work3__mobil {
  background-image: url(../img/Обложки/paper-mobil.webp);
}


/* WORK-4 */
.work4__top {
  position: absolute;
  width: 100%;
  height: 450px;
  background-image: url(../img/img-sky-left.webp), url(../img/img-sky-rigth.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 100%, 100% 100%;
  border-radius: 20px;
  z-index: 2;
  cursor: pointer;
}

.work4__top-animade {
  position: absolute;
  width: 100%;
  height: 450px;
  background-image: url(../img/img-sky-left.webp), url(../img/img-sky-rigth.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 100%, 100% 100%;
  border-radius: 20px;
  z-index: 2;
  animation: work4__top-animade 3s;
  animation-fill-mode: forwards;

}

@keyframes work4__top-animade {
  from {}

  to {
    background-position: 650% 100%, 100% 1300%;
  }
}

.work4__img {
  display: block;
  width: 100%;
  height: 450px;
  border-radius: 20px;
}

.work4__desctop {
  background-image: url(../img/Обложки/реплики_картин.webp);
}

.work4__planshet {
  background-image: url(../img/Обложки/реплики-картин-planshet.webp);
}

.work4__mobil {
  background-image: url(../img/Обложки/реплики-картин-mobil.webp);
}

/* WORK-5 */
.work5__top {
  position: absolute;
  width: 600px;
  height: 450px;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.work5__img1 {
  position: absolute;
  width: 100%;
  height: 100%;


}

.work5__img1-animade {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: work5__img1-animade 5s 3s;
  animation-fill-mode: forwards;
}

@keyframes work5__img1-animade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.work5__img2 {
  position: absolute;
  width: 100%;
  height: 100%;
}

.work5__img2-animade {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: work5__img2-animade 3s;
  animation-fill-mode: forwards;
}

@keyframes work5__img2-animade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}


.work5__desctop {
  background-image: url(../img/Обложки/img.blanchart.webp);
}

.work5__planshet {
  background-image: url(../img/Обложки/blanchard-planshet.webp);
}

.work5__mobil {
  background-image: url(../img/Обложки/blanchard-mobil.webp);
}

/* WORK-6 */
.work6__top {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  width: 600px;
  height: 450px;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;

}

.block__work6 {
  width: 10%;
  height: 10%;
  background-image: url(../img/stena.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.block__work6-go {
  animation: block__work6-go 3s;
  animation-fill-mode: forwards;
}

@keyframes block__work6-go {
  from {}

  to {
    transform: translateY(450px) rotate(360deg);
  }
}


.work6__desctop {
  background-image: url(../img/Обложки/img=kovka-display.webp);
}

.work6__planshet {
  background-image: url(../img/Обложки/img-kovra-planshet.webp);
}

.work6__mobil {
  background-image: url(../img/Обложки/img-kovka-mobil.webp);
}

/* WORK-7 */
.work7__top {
  position: absolute;
  width: 600px;
  height: 450px;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-image: url(../img/img-go-trevel-top.gif),
                    url(../img/img-go-trevel-background.jpg);
  background-size: cover;
}

.work7__desctop {
  background-image: url(../img/Обложки/img-go-trevel-desctop.webp);
}

.work7__planshet {
  background-image: url(../img/Обложки/img-go-trevel-tablet.webp);
}

.work7__mobil {
  background-image: url(../img/Обложки/img-go-trevel-mobil.webp);
}

/* Отправка с формы */
.container__form {
  width: 100%;
  margin: 0 auto;
  padding: 50px 15px;
  background: linear-gradient(90deg, rgba(24, 24, 23, 1) 0%, var(--color-blue-background) 60%);
  box-shadow: inset 0px 0px 100px rgb(9, 3, 66);
}

.footer__title {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  font-size: 100px;
  font-family: 'burlingtonengravc';
  letter-spacing: 7px;
  background: linear-gradient(90deg, rgba(233, 225, 55, 1) 20%, rgba(248, 5, 58, 1) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 70px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
}

.form__input-box:not(:last-child) {
  margin-bottom: 20px;
}

.form__input-inp {
  border: 1px solid rgb(61, 61, 255);
  border-radius: 10px;
  outline: none;
  width: 100%;
  padding: 10px 10px;
}

.form__input-inp:focus {
  outline: 4px solid rgb(15, 133, 4);
}

.form__btn {
  background-color: rgb(61, 61, 255);
  padding: 14px 30px;
  border-radius: 10px;
  outline: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color .3s;
}

.form__btn:hover {
  background-color: rgb(91, 91, 255);
}

.form__btn:active {
  background-color: rgb(91, 91, 255);
}

.form__btn:focus {
  outline: rgb(61, 61, 255) 2px solid;
}

.counter {
  font-size: 30px;
  color: white;
}