html {
  box-sizing: border-box;
}

/* @font-face {
  font-family: 'Open Sans';
  src: url(../font/OpenSansRegular.woff2);
} */
@font-face {
  font-family: 'Open Sans';
  src: url(../font/OpenSansRegular.woff);
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url(../font/OpenSansRegular.woff2) format('woff2'),
    url(../font/OpenSansRegular.woff) format('woff');
  font-style: normal;
}

@font-face {
  font-family: 'Muller Regular';
  src: url(../font/mullerregular.woff);
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url(../font/mullerregular.woff2) format('woff2'),
    url(../font/mullerregular.woff) format('woff');
  font-style: normal;
}

*,
* ::before,
* ::after {
  box-sizing: inherit;
}

body {
  min-width: 320px;
  margin: 0 auto;
  font-family: 'Open Sans', 'sans-serif';
}

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

img {
  max-width: 100%;
}

/* .box {
  padding: 80px 15px;
} */

.box__title {
  margin: 0;
  padding: 0;
  margin-bottom: 17px;
  font-size: 48px;
  font-weight: 400;


}



.box__desc {
  margin: 0;
  padding: 0;
  width: 70%;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;

}

/* container */
.container {
  padding: 0 50px;
  margin: 0 auto;
  max-width: 1700px;

  /* outline: 2px solid red; */
}

/* header */

.head {
  background-color: black;

}

.head__top {
  display: flex;
  justify-content: space-between;
  min-height: 100px;
  align-items: center;

}

.head__logo,
.head__search {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.head__logo-link {
  margin-right: 11%;
}

.head__nav-top {
  margin-right: auto;
  width: 57.75%;
  overflow-x: auto;
  min-height: 37px;
}

.head__nav-bottom {
  display: none;
}

.head__list {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 96px;
}

.head__item {
  margin: 0;
  padding: 0;
  min-width: 50px;
  text-align: center;
  font-size: 18px;
  color: white;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}

.head__item:focus {
  background-color: #C283F3;

}

.head__item:hover {
  color: #C283F3;
}

.head__item:active {
  color: #7943A4;
}

.head__search {
  background-color: black;
  border: none;
  cursor: pointer;
}

.head__search-svg path {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: background-color .3s, fill .3s;
}

.head__search-svg:focus {
  background-color: #C283F3;
}

.head__search-svg:hover path {
  fill: #C283F3;

}

.head__search-svg:hover rect {
  fill: #C283F3;
}

.head__search-svg:active path {
  fill: #7943A4;
}

.head__search-svg:active rect {
  fill: #7943A4;
}

/* SECTION HERO */
.hero {
  min-height: 700px;
  background-image: url(../img/img-hero-1920.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;

}


/* hero__block */
.hero__container {
  padding: 146px 50px;
  color: #FFF;
}

.hero__title {
  margin: 0;
  padding: 0;
  max-width: 579px;
  margin-bottom: 20px;
  font-size: 72px;
  font-weight: 700;
  line-height: 68px;

}

@media (max-width: 600px) {
  .hero__title {
    font-size: 50px;
  }
}

.hero__desc {
  margin: 0;
  padding: 0;
  max-width: 579px;
  margin-bottom: 90px;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;

}

.hero__btn {
  width: 314px;
  height: 70px;
  padding: 17px 44px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 100px;
  background: #9D5CD0;
  cursor: pointer;
  border: none;
  color: #FFF;
  transition: background-color .3s, outline .3s, outline-offset .3s;
}

.hero__btn:focus {
  outline: 2px solid #C283F3;
  outline-offset: 5px;

}

.hero__btn:hover {
  outline: 3px solid #D1A9F0;
  background-color: #9D5CD0;
  outline-offset: 0;
}

.hero__btn:active {
  outline: 3px solid #D1A9F0;
  background: #7943A4;
  outline-offset: 0;
}

/* ABOUT-US */
.about-us__container {
  padding: 80px 50px;
}

/* GELERY */
.gelery {
  background-image: url(../img/img-section-gellery-backgrount.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gelery__container {
  padding: 83px 50px;
}

.gelery__title {
  color: white;

}

.gelery__block {
  max-width: 1820px;
  display: flex;
  gap: 305px;
}

.gelery__img {
  width: 30.44%;
  aspect-ratio: 1;

}

.gelery__checkblock {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.gelery__label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  justify-content: space-between;
}


.gelery__inp {
  opacity: 0;
  width: 0;
  height: 0;
}

.gelery__inp-text {
  display: flex;
  position: relative;
  align-items: center;
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.gelery__inp-text::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid #FFF;
  margin-right: 12px;
}

.gelery__inp-text::after {
  content: "";
  display: none;
  position: absolute;
  left: 4px;
  width: 4px;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5' fill='none'%3E%3Ccircle cx='2' cy='2.43433' r='2' fill='%23C283F3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.gelery__inp:checked+.gelery__inp-text::before {
  border: 1px solid #C283F3;
}

.gelery__inp:checked+.gelery__inp-text::after {
  display: block;
}

.gelery__img-all {
  width: 73%;
  display: flex;
  gap: 4%;
}

/* CATALOG */
.catalog__container {
  padding: 91px 50px;
  padding-bottom: 89px;
}

.catalog__item {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
  list-style: none;
}

.catalog__item:not(:last-child) {

  margin-bottom: 50px;
}

.catalog__desc {
  margin-bottom: 38px;
}

.catalog__img {
  max-height: 470px;
}

.catalog__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.catalog__block-title {
  margin: 0;
  padding: 0;
  padding-top: 13px;
  font-size: 24px;
  font-weight: 600;

}

.catalog__block-desc {
  margin: 0;
  padding: 0;
  color: #999;
  font-size: 12px;
  font-weight: 400;

}

.catalog__block-text {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.catalog__list {
  margin: 0;
  padding: 0;
}

/* EVENTS */


.events__list {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
}

.events__item {
  position: relative;
  width: 33%;
  padding-top: 20.4%;
  padding-left: 3.2%;
  padding-right: 2%;
  padding-bottom: 74px;
  border: 1px solid #CACACA;
  list-style: none;
}

.events__item-one {
  background-image: url(../img/img-events-1.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
}

.events__item-two {
  background-image: url(../img/img-events-2.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
}

.events__item-three {
  background-image: url(../img/img-events-3.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
}

.events__item-desc {
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
  color: #999;
  font-size: 12px;
  font-weight: 600;

}

.events__item-title {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 24px;
  font-weight: 600;


}

.events__item-text {
  margin: 0;
  padding: 0;
  margin-bottom: 70px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;

}

.events__item-link {
  position: absolute;
  bottom: 48px;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #9D5CD0;
  transition: background-color .3s, color .3s;
}

.events__item-link:focus {
  background-color: #9D5CD0;
  color: white;
}

.events__item-link:hover {
  color: #7943A4;
}

.events__item-link:active {
  color: #333;
  background-color: #FFF;
}

/* PROJECT */

.projects {
  padding-top: 0;
}

.projects__container {
  padding: 80px 50px;
}

.projects__desc {
  width: 65%;
  margin-bottom: 30px;
  padding-top: 7px;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #333;

}

.projects__title {
  margin: 0;
  padding: 0;
  margin-bottom: 16px;
  color: #333;
  font-size: 24px;
  font-weight: 600;

}

.partners {
  display: flex;
  gap: 34px;

}

.partners__block {
  width: 330px;
  padding: 27px;
  border: 1px solid #CACACA;
}

/* CONNECTION */

.connection {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid #CACACA
}

.connection__container {
  padding: 35px 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;

}

.connection__all:not(:last-child) {
  margin-right: auto;
}
.connection__adress {
  padding-top: 8px;
}
.connection__adress-desc {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

.connection__form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.connection__inp {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;

}

.just-validate-error-label {
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 12px;
}

.connection__fild {
  width: 270px;
  height: 50px;
  padding: 9px 0;
  padding-right: 43px;
  padding-left: 24px;
  color: #999;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  border-radius: 100px;
  border: 1px solid #333;
  transition: background-color .3s;
}


.connection__fild:focus {
  background-color: #ECECEC;
}

.connection__fild:hover {
  background-color: #ECECEC;
}

.connection__fild:active {
  background-color: white;
}

.connection__btn {
  display: flex;
  width: 329px;
  height: 50px;
  padding: 17px 33px;
  align-items: center;
  gap: 10px;
  color: #9D5CD0;
  text-align: center;
  font-family: Open Sans;
  font-size: 18px;
  font-weight: 700;

  border-radius: 100px;
  border: 2px solid #9D5CD0;
  cursor: pointer;
  background-color: #FFF;
}

.connection__btn:focus {
  background-color: #ECECEC;
}

.connection__btn:hover {
  background-color: #ECECEC;
}

.connection__btn:active {
  background-color: white;
}

.connection__btn-small {
  display: none;
  max-width: 128px;
  height: 40px;
  padding: 17px 30px;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  cursor: pointer;
  color: #9D5CD0;
  background-color: white;
  border: 2px solid #9D5CD0;
}

.connection__btn-small:focus {
  background-color: #ECECEC;
}

.connection__btn-small:hover {
  background-color: #ECECEC;
}

.connection__btn-small:active {
  background-color: white;
}

.connection__title {
  margin: 0;
  padding: 0;
  margin-bottom: 6px;
  color: #333;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.icon__whatsap {

  transition: stroke .3s, opacity .3s;
}

.icon__whatsap:focus {
  opacity: .5;
}

.icon__whatsap:hover {
  opacity: .5;
}

.icon__whatsap:active {
  opacity: 1;

}

.icon__path-top:active {
  stroke: #9D5CD0;
}

/* FUTER */
.futer {

  background-color: black;
}

.futer__container {
  padding: 48px 50px;
  display: flex;
  justify-content: space-between;
}

.icon {
  display: flex;
  gap: 20px;
}

.icon__footer path {

  transition: fill .3s;
}

.icon__footer:focus path {
  fill: #FFF;
}

.icon__footer:hover path {
  fill: #FFF;
}

.icon__footer:active path {
  fill: #9D5CD0;
}