html {
  --white: #fff;
  --grey-400: rgb(199, 199, 199);
  --purple-300: #c4a9dc;
  --purple-400: rgb(160, 92, 243);
  --yellow-400: #fbc044;
  --green-300: #bada55;
  --green-200: rgb(177, 211, 187);
  --green-350: rgb(234, 251, 157);
  --green-400: rgb(113, 182, 36);
  --green-450: rgba(113, 182, 36, 0.63);
  --green-600: #2b5336;
  --green-800: rgb(21, 41, 27);
  height: 100%;
}

body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

html .moveable-line.moveable-direction {
  --moveable-color: transparent;
}

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

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

.header-logo {
  margin: 0 48px;
  width: 180px;
  background: var(--green-400);
  position: relative;
  text-align: center;
  font-weight: 700;
  padding-top: 8px;
  height: 200px;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
.header-logo .company {
  color: var(--green-350);
  text-shadow: -1px -1px 1px rgb(0, 0, 0, 0.75);
  font-size: 48px;
  line-height: 44px;
}

.header-logo .sub-texts {
  margin-top: 12px;
}

.header-logo .text {
  text-shadow: 0 -1px 1px rgb(0, 0, 0, 0.75);
  font-size: 22px;
  line-height: 22px;
  font-weight: 400;
}

.header-logo:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 90px 0 90px;
  border-color: var(--green-400) transparent transparent transparent;
}

header.hide .header-logo {
  height: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

body {
  font-family: MilkMustacheBB;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  position: relative;
  color: var(--white);
}

.background-video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 100vh;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

main {
  padding-top: 172px;
}

.base-info {
  max-width: 1720px;
  margin: 0 auto;
  font-size: 28px;
  text-transform: uppercase;
}

.base-info {
  padding: 0 0 32px;
  margin-top: -120px;
}

.magnets-section {
  max-width: 1720px;
  margin: 0 auto;
}

.base-info-inner {
  max-width: 968px;
  background: rgb(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 16px 24px;
  border-radius: 12px;
  margin: 0 auto;
  text-align: center;
}

.base-info .add-text {
  margin-top: 16px;
  font-size: 20px;
  color: var(--green-300);
}

.achievements-section {
  padding: 60px 0;
  background-color: var(--green-800);
}

.achievements-section-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 48px;
  max-width: 1020px;
  margin: 0 auto;
  font-size: 28px;
  color: var(--green-300);
  text-transform: capitalize;
}

.years-part,
.continue-part {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 420px;
}

.years-part h4 {
  padding: 24px 0 54px;
  font-size: 32px;
}

.info-years {
  text-align: right;
  margin-top: 16px;
}

.achievements-section-inner .image-wrapper {
  border: 20px solid var(--white);
  border-radius: 20px;
  display: flex;
  flex: 1 0 auto;
}

.continue-part .texts {
  padding: 72px 0 60px 0;
  text-align: center;
  font-size: 32px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
}

.badge {
  position: absolute;
  will-change: auto;
}

.badges-wrapper {
  position: relative;
  height: 40vh;
  min-height: 450px;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.moveable-rotation .moveable-rotation-line {
  display: none !important;
}
.badge.card_24 {
  left: 10%;
  top: 20%;
  transform: rotate(-30deg);
}

.badge.card_28 {
  left: 60%;
  top: 10%;
  transform: rotate(-20deg);
}

.badge.card_25 {
  left: 55%;
  top: 15%;
  transform: rotate(40deg);
}
.badge.card_23 {
  left: 10%;
  top: 15%;
  transform: rotate(15deg);
}
.badge.card_20 {
  left: 35%;
  top: 25%;
  transform: rotate(-15deg);
}
.badge.card_26 {
  left: 35%;
  top: 10%;
  transform: rotate(12deg);
}

.contact-us {
  padding: 16px 0;
  height: 600px;
  position: relative;
}

.contact-us-link {
  position: relative;
  cursor: pointer;
}
.contact-us-decorated {
  position: absolute;
  color: var(--green-400);

  right: 0;
  left: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.contact-us-link:hover .contact-us-decorated {
  left: 0;
  right: 100%;
}

.contact-us-inner {
  padding: 16px 16px 0;
  max-width: 1720px;
  height: 100%;
  margin: 0 auto;
}

.letter-wrapper {
  height: 100%;
}

.letter-wrapper {
  margin: 0 auto;
  padding: 0;
}

.letter-wrapper .text {
  position: inherit;
  text-align: center;
  font-size: 32px;
  background: rgb(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  padding: 16px 24px;
  border-radius: 12px;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  z-index: 0;
  max-width: fit-content;
  margin: 0 auto;
}

.letter-img {
  display: none;
  width: 75%;
}

/* start position of the plane before the animation */
.sinai-plain {
  position: absolute;
  left: 32px;
  bottom: -70px;
  width: fit-content;
  transform: translate(-100%, 500px) rotate(0deg);
  transition: all 1s linear;
  transform-box: fill-box;
}

.sinai-plain img {
  min-width: 150px;
  max-width: 400px;
  height: auto;
}

.contact-us.animated .sinai-plain {
  animation: 4s linear infinite plainAnimate;
  transform: translate(70vw, 500px) rotate(90deg);
}

footer {
  background: rgb(219, 219, 219);
  padding: 32px 0;
}

@keyframes plainAnimate {
  0% {
    transform: translate(-100%, 500px) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translate(40vw, -200px) rotate(20deg);
  }
  100% {
    transform: translate(calc(100vw + 150px), -800px) rotate(0deg);
  }
}

.footer-inner {
  max-width: 1720px;
  margin: 0 auto;
  color: #3d3d3d;
  position: relative;
}

.contacts-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.contacts-list li {
  text-align: center;
  width: auto;
  padding: 0 48px;
}

.contacts-block {
  padding-left: 0px;
}

.contacts-block .copyright {
  display: flex;
  font-size: 16px;
  color: rgb(117, 117, 117);
  margin-top: 16px;
  padding-right: 32px;
  text-align: center;
  justify-content: center;
}

.contacts-list a {
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.25s ease-in-out;
}

.contacts-list a:hover {
  color: var(--green-400);
  text-decoration: none;
  cursor: pointer;
}

.contact-us .photo-wrapper {
  max-width: 420px;
  height: 420px;
  margin: 24px auto 0;
  border: 20px solid var(--white);
  border-radius: 20px;
}
.contact-us .photo-wrapper .photo-block {
  width: 100%;
  height: 100%;
  background: url('../assets/images/contact-us-photo.jpg') no-repeat center/cover;
}

/** Details page style **/
.detailed-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.main-block {
  flex: 1;
  background: url('../assets/images/details-page-bg.jpg') no-repeat center/1920px 1080px;
}

.detailed-info {
  overflow: hidden;
}

.description-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0 32px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 90px 0 120px;
}

.texts-wrapper {
  max-width: 354px;
  font-size: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description-title {
  font-size: 24px;
}

.description-text-wrapper {
  margin-top: 24px;
}

.description-text + .description-text {
  margin-top: 24px;
}

.card-block {
  max-width: 520px;
  height: 530px;
  width: 100%;
  background-color: rgb(246, 244, 240);
  box-shadow: rgba(0, 0, 0, 0.53) 2px 2px 5px 0;
  border-radius: 2px;
  transform: rotate(4deg);
  padding: 20px;
  position: relative;
  transition: all 0.5s ease-in;
  animation: slide 1.75s linear;
}

.card-block .card {
  width: 100%;
  height: 100%;
}

.card-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZ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ZCMDUyMTY4MTE4MjJBQjZFNjZCNUFBMjU1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU1QkJFOTJEMjIyMDY4MTE4MjJBQjZFNjZCNUFBMjU1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+CZyQ/wAAAXdJREFUeNqck79Lw0AUxy9NpNaI7VDooqKT4NS/wcW5xbGj6V46ds7/oYtdOhUhg6D/QHAPWWLVToFKY0miNef3lXd6iFTw4EPevR/37t57McT3MvhbYtnQbJIptP2Xg8FBJrAYk3XkuNT44EOkoQVSQBlUmDLryTEHKZPzIYXFmU123gY1cAT2gA0W4BEE4EW7dqECt0ADHIPzfr9/EUXRwxKLvrQnPdsb7E9xq+vugANw1uv1LpMkkUS325VKHgwGV2QHh6BKcaqy6r27nU7ndDabCSLPc6Hkdrt9Qnb2o6yGpVWbFBUpZd113ZXS932hZMdx6lxIlVBYWgGoBWkYhnGr1aJ3iel0KiCvHEjP1S5Un0ta4Bt4Gg6HN3EcCyLLMqHk0Wh0C/szt4r8palNEx20CIKgSNM0sW271mw2q8g+8Tzvejwe38F+D+Z8g6UK3ACbP/q8r/V5ovX5FWTg/a8JM/mKv07Yutm2WL92tv/9V30KMAByHrXgbfxckwAAAABJRU5ErkJggg==')
    no-repeat center/cover;
}

.corner-1 {
  left: 12px;
  top: 12px;
}

.corner-2 {
  right: 12px;
  top: 12px;
}

.corner-3 {
  right: 12px;
  bottom: 12px;
}

.corner-4 {
  left: 12px;
  bottom: 12px;
}

@keyframes slide {
  from {
    opacity: 0;
    transform: translateX(200px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateX(0px) rotate(5deg);
  }
}

@media screen and (max-width: 1920px) {
  main {
    padding: 172px 24px 0;
  }
  section {
    padding: 0 24px;
    margin: 0 -24px;
  }
  .achievements-section {
    padding: 60px 24px;
  }
}

@media screen and (max-width: 1440px) {
  .base-info {
    padding: 192px 0 32px;
  }

  .header-logo {
    margin: 0 auto;
  }

  .sinai-plain img {
    min-width: 100px;
    max-width: 200px;
  }
}

@media screen and (max-width: 1024px) {
  .badges-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
    height: auto;
    padding-bottom: 40px;
  }

  .badges-wrapper .badge {
    position: static;
    will-change: auto;
    text-align: center;
  }

  .card-block {
    height: 100%;
    margin: auto;
  }

  .years-part h4 {
    text-align: center;
  }

  .info-years {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .base-info-inner {
    background: unset;
    backdrop-filter: unset;
  }
  .badges-wrapper {
    padding-bottom: 16px;
  }

  .badges-wrapper .badge {
    transform: unset;
  }

  .achievements-section {
    padding: 0 24px;
  }

  .years-part h4 {
    padding: 16px 0;
  }

  .info {
    text-align: center;
  }

  .info-years {
    margin-top: 0;
  }

  .continue-part {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .achievements-section-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px 0;
  }

  .continue-part .texts {
    padding: 16px;
  }

  .contacts-list li {
    padding: 0 12px;
  }

  .letter-img {
    width: 50%;
  }

  .letter-wrapper .text {
    position: relative;
  }

  .contact-us {
    height: 280px;
  }

  .contact-us-link {
    position: relative;
    cursor: pointer;
    width: fit-content;
    display: block;
    padding-top: 100px;
    margin: 0 auto;
  }

  .contact-us.animated .sinai-plain {
    animation: unset;
    transform: translate(calc(50% - 110px), calc(-50% + 100px)) rotate(0deg);
    left: 50%;
    bottom: 50%;
    opacity: 1;
  }

  .sinai-plain {
    opacity: 0;
  }

  .sinai-plain img {
    min-width: 75px;
    max-width: 110px;
  }

  .letter-wrapper .text {
    backdrop-filter: unset;
    background: unset;
  }

  .main-block {
    background: url('../assets/images/details-page-mobile-bg.jpg') no-repeat center/cover;
  }

  .contact-us .photo-wrapper {
    display: none;
  }

  .description-block {
    flex-direction: column-reverse;
    gap: 24px;
    padding: 72px 0 24px;
  }

  .texts-wrapper {
    max-width: unset;
    text-align: center;
  }
  .card-block {
    transform: rotate(0deg);
  }
}

@media screen and (max-width: 592px) {
  .badges-wrapper .badge {
    grid-column: 1/-1;
    text-align: center;
  }
}
.d-lg-none {
  @media screen and (min-width: 1024px) {
    display: none;
  }
}
.d-md-none {
  @media screen and (min-width: 768px) {
    display: none;
  }
}
.d-sm-none {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

/** text colors palliate **/
.color-yellow {
  color: var(--yellow-400);
}

.color-green-200 {
  color: var(--green-200);
}

.color-grey {
  color: var(--grey-400);
}
