@font-face {
  font-family: "Gilroy";
  src: local("Gilroy Light"), local("Gilroy-Light"),
    url("Gilroylight.woff2") format("woff2"),
    url("Gilroylight.woff") format("woff"),
    url("Gilroylight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: local("Gilroy ExtraBold"), local("Gilroy-ExtraBold"),
    url("Gilroyextrabold.woff2") format("woff2"),
    url("Gilroyextrabold.woff") format("woff"),
    url("Gilroyextrabold.ttf") format("truetype");

  font-weight: 800;
  font-style: normal;
}

body {
  margin: 0px;
  box-sizing: border-box;
  font-family: "Gilroy";
  overflow-x: hidden;
  background-color: #fff;
}
.slider-top {
  width: 50%;
  position: relative;
  height: 800px;
  transition-duration: 0.9s ease;
  left: 0;

}

/* Картинка мастабируется по отношению к родительскому элементу */
.slider-top .item img {
  object-fit: cover;
  width: 100%;
  height: 800px;
  display: inline;
  transition-duration: 0.9s ease;
}
/* Кнопки вперед и назад */
.slider-top .prev,
.slider-top .next {
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  width: 70px;
  height: 70px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition-duration: 0.9s ease;
  background-color: #e980ff;
}
.slider-top .next {
  left: 102px;
}
/* При наведении на кнопки добавляем фон кнопок */

.slider-top .prev:hover,
.slider-top .next:hover {
  background-color: #d300ff;
}
/* Кружочки */

.slider-dots {
  text-align: left;
  margin-top: -30px;
  color: #bdb0bf;
  transition-duration: 0.9s ease;
}
.slider-dots_item {
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.6s ease;
  margin-left: 4%;
}
.slider-dots_item:first-child {
  margin-left: 0%;
}

.active,
.slider-dots_item:hover {
  color: #d300ff;
}

/* Анимация слайдов */

.slider-top .item {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.nav-link {
  display: flex;
  text-decoration: none;
  min-width: 100%;
  color: black;
  font-size: 20px;
}
.nav-link li {
  margin-top: -760px;
  list-style: none;
  cursor: pointer;
  margin-left: 7%;
}
.nav-link li:first-child {
  margin-left: 21%;
}

.header {
  margin: 0 0 0 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cake {
  overflow: hidden;
}
.slider-top > a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-purpur {
  width: 15%;
  height: 7000px;
  position: absolute;
  background-color: #fae4ff;
  float: left;
  top: 250px;
  z-index: 2;
}
.logo {
  color: black;
  display: inline;
  position: absolute;
  top: 40px;
  left: 8%;
}
h1 {
  font-family: inherit;
  position: absolute;
  top: 230px;
  left: 12%;
  font-size: 3.5vw;
  font-weight: bold;
  z-index: 10;
}
.navbar {
  max-width: 50%;
}
.vector-mouse {
  float: left;
  position: absolute;
  top: 850px;
  left: 12%;
  z-index: 10;
}
.main {
  width: 100%;
  height: 85vh;
  position: relative;
  z-index: 10;
}
.main > h3 {
  font-family: inherit;
  position: absolute;
  left: 12%;
  font-size: 2.5vw;
  font-weight: bold;
  z-index: 10;
}

/*--------------------------main slider ----------------------*/

.slider {
  width: 50%;
  margin: 100px auto;
}

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-slide {
  transition: all ease-in-out 0.3s;
  opacity: 0.2;
}

.slick-active {
  opacity: 0.5;
}

.slick-current {
  opacity: 1;
}
.regular {
  top: 150px;
  width: 100%;
  position: relative;
}

.regular img {
  width: 100%;
  height: 55vh;
  cursor: pointer;
}

.slick-active {
  opacity: 1.5;
  left: 15%;
}
.cake {
  position: relative;
}
.cake > .name-cake {
  position: absolute;
  right: 50%;
  top: 50%;
  display: none;
}
.cake:hover > .name-cake {
  position: absolute;
  right: 50%;
  top: 50%;
  display: block;
}
.cake:hover .name-cake {
  background-color: #580e3985;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  cursor: pointer;
}
.cake:hover > .name-cake > p {
  position: absolute;
  top: 45%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  opacity: 1.5;
  color: #fff;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
}
.slick-dots li button:before {
  font-size: 30px;
  top: 30px;
  left: -45%;
}
.slick-dots li {
  left: -36.5%;
}

.slick-prev,
.slick-next {
  bottom: 100px;
}
.about_company {
  position: relative;
  z-index: 10;
  width: 85%;
}
.about_company p {
  margin-left: 12%;
  font-size: 18px;
}
.about_company ul li {
  margin-left: 12%;
  font-size: 18px;
}
.about_company h2 {
  margin-left: 12%;
  font-size: 2vw;
  font-weight: bold;
}
.about_company b {
  margin-left: 12%;
  font-size: 18px;
}
.block-info h3 {
  font-family: inherit;
  position: absolute;
  left: 12%;
  font-size: 2.3vw;
  font-weight: bold;
  z-index: 10;
}
.info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.block-info-item {
  width: 20%;
  margin-top: 200px;
}

.block-info-item:first-child {
  margin-left: 10%;
}
.block-info-item img {
  width: 50%;
}
.block-info-item p {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 31px;
}

/*-----------------CONTACT--------------------*/

.contact-block {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  margin-top: 80px;
}
.contact-block h3 {
  font-family: inherit;
  position: absolute;
  left: 12%;
  font-size: 2.3vw;
  font-weight: bold;
  z-index: 10;
  top: 20px;
}
.contact-image {
  position: relative;
  top: 40px;
  width: 40%;
  height: 500px;
  background-image: url(../img/Re3.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.contact {
  display: flex;
  flex-direction: column;
  margin-top: 200px;
  height: 500px;
}
.contact-info {
  height: 60px;
  float: left;
  margin-left: 12vw;
  max-width: 100%;
}
.contact-info p {
  width: 116%;
  font-family: inherit;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  margin-top: 5px;
  color: #1b1b1b;
  margin-left: 20%;
}
.contact-info img {
  float: left;
}
.footer {
  height: 96px;
  background-color: #592e62;
  position: absolute;
  z-index: 10;
  width: 100%;
}
.footer img {
  top: 30px;
  left: 8%;
  position: absolute;
  z-index: 10;
}
.footer p {
  top: 20px;
  left: 60%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 10;

  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;

  color: #bdb0bf;
}