.slide-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.kodlayiruk-slider {
  position: relative;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* İleri butonunun pozisyonunu ayarlıyoruz.*/
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
.number {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animasyonu */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  h2 {
    color: #3b4c6b;
    font-weight: 900;
    margin: 0;
  }

  .first_section {
    width: 75%;
    display: flex;
    flex-direction: column;

    p {
      font-size: 1.1rem;
      font-weight: 600;
      padding-top: 1rem;
    }

    .mission {
      align-self: flex-start;
      width: 40%;
      text-align: justify;
    }

    .vision {
      width: 40%;
      align-self: flex-end;
      text-align: justify;

      h2 {
        text-align: end;
      }
    }
  }

  .second_section {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: start;

    .services {
      list-style-type: none;
      padding-left: 0;

      li {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.3rem 0;
      }
    }
  }
}

@media (max-width: 1537px) {
  main {
    .first_section {
      width: 90%;

      .mission,
      .vision {
        width: 50%;

        h2 {
          font-size: 1.3rem;
        }

        p {
          font-size: 1rem;
        }
      }
    }

    .second_section {
      width: 90%;

      h2 {
        font-size: 1.3rem;
      }

      .services {
        li {
          font-size: 1rem;
        }
      }
    }
  }
}

@media (max-width: 480px) {
  main {
    .first_section {
      width: 90%;

      .mission,
      .vision {
        width: 100%;
        align-self: flex-start;
        margin: 1rem 0;

        h2 {
          text-align: start;
        }
      }
    }

    .second_section {
      width: 90%;
    }
  }
}
