* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

/* Slider */

.slider {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 100vh);
  gap: 0px;
  overflow: hidden;
}

.slide {
  background-color: #0c034d;
  color: white;
}
.slide-left {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  float: left;
  height: 100%;
  width: 50%;
}
.slide-right {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  float: left;
  height: 100%;
  width: 50%;
}
#slide-1-left {
  background-image: url(./assets/slider/odaksan-1.webp);
  background-size: cover;
}

#slide-2-right {
  background-image: url(./assets/slider/odaksan_slider_2.webp);
  background-size: cover;
  background-position: right;
}

#slide-3-left {
  background-image: url(./assets/referanslar/referanslar.webp);
  background-size: cover;
  background-position: center;
}

#slide-4-right {
  background-color: #ffffff;
  background-size: cover;
  background-position: right;
  color: #0c034d;
  height: 100%;
}
#main-map {
  display: block;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#iletisim {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: center;
}
#iletisim a {
  text-decoration: none;
  color: white;
}

.main-text {
  text-align: left;
  margin: 0% 10%;
}

.main-text h1 {
  font-size: 60px;
}

.main-text h2 {
  font-size: 30px;
}

.main-text p {
  font-size: 21px;
}
/* buttonlar */
.next-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 15%;
  border-radius: 50%;
  height: auto;
}

.top-button {
  position: fixed;
  bottom: 0;
  right: 0;
  margin-bottom: 10px;
  margin-right: 10px;
  transform: rotate(180deg);
  z-index: 1000;
}

/* About */
.about,
.product {
  background-color: #999;
  color: white;
  padding: 1rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  body {
    margin: 0;
  }

  .slider {
    gap: 0px;
  }
  .slide {
    background-color: #ffffff00;
  }
  .slide-left {
    width: 100%;
  }
  .slide-right {
    width: 100%;
  }

  #slide-1-left {
    position: absolute;
    z-index: -1;
  }
  #slide-1-right {
    display: flex;
    justify-content: space-evenly;
    background-color: #0c034da3;
    position: absolute;
    z-index: 0;
  }
  #slide-2-left {
    display: flex;
    justify-content: space-evenly;
    background-color: #0c034da3;
    position: absolute;
    z-index: 0;
  }

  #slide-2-right {
    position: absolute;
    z-index: -1;
  }
  #slide-3-left {
    position: absolute;
    z-index: -1;
  }
  #slide-3-right {
    display: flex;
    justify-content: space-evenly;
    background-color: #0c034da3;
    position: absolute;
    z-index: 0;
  }
  #slide-4-left {
    display: flex;
    justify-content: space-evenly;
    background-color: #0c034d;
    position: absolute;
    z-index: 0;
  }
  #slide-4-right {
    position: absolute;
    z-index: -1;
  }

  .main-text {
    margin-top: 20%;
  }
  .top-button {
    z-index: 1000;
  }
  #main-map img {
    width: 100px;
  }
}
