@font-face {
  font-family: light;
  src: url(../fonts/Montserrat-Light.ttf);
}
@font-face {
  font-family: normal;
  src: url(../fonts/Montserrat-Regular.ttf);
}
:root {
  --middleWidth: 717px;
  --maxWidth: 1920px; /* 1530 */
  --mainFontSize: 11px;
  --green: #406950;
  --yellow: #f4ce14;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.button {
  text-decoration: none;
}
body {
  margin-left: auto;
  margin-right: auto;
  font-family: normal !important;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1920px;
  overflow-x: hidden !important;
}
.website--link {
  color: #000;
}
.main--head {
  width: 100%;
  height: 90vh;
  position: relative;
  background-color: #ffffff;
}
.main--content {
  position: absolute;
  width: 40vw;
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  text-align: center;
  background-color: #eee;
  backdrop-filter: blur(3px);
  color: #000;
  border: 0.3px solid #406950;
  transition: all 0.4s;
}
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* backdrop-filter: brightness(70%); */
}
.slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
}
.slide {
  height: 80vh;
  flex: 0 0 calc(100% / 3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
  box-sizing: border-box;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  filter: brightness(40%);
  transition: filter 0.3s;
}
.slide:hover > img {
  filter: brightness(90%);
}
.slide h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
}
.button--anker {
  text-decoration: none;
}
.button--anker > button {
  display: flex;
  align-items: center;
  border: 0.3px solid #000;
  padding: 1rem 4rem;
  transition: all 0.4s;
  font-family: light;
  font-size: 14px;
}
.button--anker > button:hover {
  filter: invert();
}
.button--anker > button > img {
  width: 30px;
}
/* Media queries to adjust the slider's layout based on the viewport width */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 calc(100% / 2);
  }
  .main--content {
    width: 65vw;
  }
  .slide > img {
    filter: brightness(80%);
  }
}
@media (max-width: 767px) {
  .slide {
    flex: 1 0 100%;
  }
  .main--content {
    width: 80vw;
    background-color: transparent;
    color: #fff;
    backdrop-filter: blur(0);
    border: 0;
  }
  .main--content > a {
    color: #fff;
  }
}
@media screen and (max-width: 540px) {
  .main--content {
    width: 100vw;
  }
}
