* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.6 ease-in-out;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fafafa;
}

.noise {
  background-image: url(../img/back_noise.gif);
  height: 100%;
  width: 150vw;
  position: absolute;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

.static {
  background-image: url(../img/static.gif);
  height: 100%;
  width: 150vw;
  position: absolute;

  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

main {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.main-wrapper {
  height: 95vh;
  width: 88%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 3fr 0.4fr 1fr 0.3fr;
  grid-template-areas:
    "slider"
    "logo"
    "bcontent"
    "credits";
}

.swiper {
  width: 100%;
  grid-area: slider;
  background-color: rgb(214, 214, 214);
  background-size: 100vw 100%;
  z-index: 2;
}

.swiper-wrapper {
  margin: auto;
  height: 96%;
  padding-top: 30px;
  padding-left: 18px;
}

a video {
  height: 90%;
  object-fit: scale-down;
  background: rgb(105, 105, 105);
  border-style: solid;
  border-width: 8px;
  border-color: rgb(0, 0, 0);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  filter: grayscale(1);
  z-index: 2;
}

a video:hover {
  filter: grayscale(0);
}

.big-logo {
  display: flex;
  align-items: center;
  grid-area: logo;
}

.big-logo img {
  width: 50%;
  margin: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  border-radius: 2.6rem;
  font-size: 40px;
  text-shadow: 0 0 5px #333;
}

.below-content {
  display: flex;
  grid-area: bcontent;
  flex-wrap: wrap;
}

.about,
.listing {
  flex-basis: 50%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.listing {
  text-align: right;
  align-items: center;
  padding: 0 0px 10px 82px;
}

.about {
  align-items: center;
  padding: 0 42px 10px 0;
}

.link {
  color: #dddddd;
  background-color: black;
  border: none;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 6px 32px;
  cursor: pointer;
  border-radius: 1rem;
}

.dropdown {
  position: relative;
  z-index: 8;
}

.dropdown-content {
  position: absolute;
  width: 34vw;
  left: 0;
  bottom: 110%;
  background-color: black;
  color: #dddddd;
  font-size: 1vw;
  font-weight: 400;
  line-height: 120%;
  padding: 28px 22px;
  border-radius: 1rem;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 150ms ease-in-out;
  pointer-events: none;
}

.dropdown.active > .link:focus + .dropdown-content {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: all;
}

.dropdown-2 {
  position: relative;
  z-index: 8;
}

.dropdown-content2 {
  position: absolute;
  display: flex;
  width: 60vw;
  max-height: 80vh;
  right: 0;
  bottom: 110%;
  background-color: black;
  color: #dddddd;
  font-size: 1vw;
  font-weight: 400;
  line-height: 160%;
  text-align: left;
  border-radius: 1rem;
  border-style: solid;
  border-color: black;
  border-width: 6px;
  border-radius: 1.4rem;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 150ms ease-in-out;
  pointer-events: none;
  overflow-y: scroll;
  z-index: 10;
}

.dropdown-content2::-webkit-scrollbar {
  position: relative;
  width: 18px;
  right: 8px;
  padding: 8px 0 8px 0;
}

.dropdown-content2::-webkit-scrollbar-track {
  background-color: rgba(27, 27, 27, 0);
}

.dropdown-content2::-webkit-scrollbar-thumb {
  background-color: rgb(48, 48, 48);
  border-style: solid;
  border-color: black;
  border-width: 6px;
  border-radius: 1rem;
}

.dropdown-2.active > .link:focus + .dropdown-content2 {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: all;
}

.list-about {
  display: flex;
  flex-shrink: 1;
  column-gap: 20px;
  padding: 40px;
}

ul {
  direction: rtl;
}

.lrow-one,
.lrow-two,
.lrow-three {
  padding: 0 16px;
  text-align: right;
}

.social-contact {
  display: flex;
  flex-direction: column;
  grid-area: credits;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 0.8vw;
}

.social-icons {
  display: flex;
  gap: 16px;
}

button {
  min-width: 14rem;
  font-size: 0.8rem;
}

a img {
  width: 80%;
}

@media only screen and (max-width: 550px) {
  .main-wrapper {
    min-height: 95vh;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    padding-left: 10px;
    padding-right: 10px;
  }

  .swiper {
    width: 100%;
    height: 42vh;
  }

  a video {
    height: 76%;
  }

  .big-logo img {
    width: 100%;
    margin: auto;
    padding: 20px 0 20px 0;
  }

  .below-content {
    display: flex;
    align-content: center;
    justify-items: center;
  }

  .about {
    flex-basis: auto;
    width: 100%;
    text-align: center;
    font-size: 20px;
    align-content: center;
    justify-items: center;
    gap: 24px;
    padding: 0;
  }
  .listing {
    flex-basis: auto;
    width: 100%;
    text-align: right;
    font-size: 20px;
    align-content: center;
    justify-items: center;
    padding: 26px 0 0 0;
    gap: 24px;
  }

  .social-contact {
    padding: 32px 10px 20px 10px;
    text-align: center;
    gap: 16px;
  }

  .dropdown-content {
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 90vw;
    height: 90vh;
    left: -30%;
    bottom: -50%;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
  }

  .dropdown-content2 {
    position: absolute;
    width: 90vw;
    height: 100vh;
    left: -28%;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
  }
  .list-about {
    display: flex;
    flex-basis: auto;
    flex-wrap: wrap;
  }

  .lrow-one,
  .lrow-two,
  .lrow-three {
    padding: 0 8px;
  }
}
