*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
            -webkit-user-select: none; 
            -moz-user-select: none;
            -ms-user-select: none; 
}

body{
  background-image: url(image/bek.jpg) ;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
}

.homecontainer{
  display: block;
}

.üstcontainer{
  width: 100%;
  height: 61vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* dönen slider kodları */

.gallery{
  position: relative;
  width: 300px;
  height: 200px;
  transform-style: preserve-3d;
  animation: animate 30s linear infinite;
  animation-play-state: running;
  animation-play-state: running;
}

.gallery h1{
  width: 100%;
  text-align: center;
  position: absolute;
  color: rgba(255, 255, 255, 0.741);
  bottom: 0;
  left: 0;
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0.665);
  border-radius: 10px 10px 0 0;
  transition: 1s ease;
}


.gallery:hover{
  animation-play-state: paused;
}

@keyframes animate {
  0%{
      transform: perspective(1000px) rotateY(0deg);
  }
  100%{
      transform: perspective(1000px) rotateY(360deg);
  }
}

.gallery span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(350px);
  -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, rgba(0, 0, 68, 0.332));
}

@media (min-width: 2000px){
  .gallery{
    width: 400px;
    height: 200px;
  }
  .gallery span{
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(500px);
  }
  }
  
  @media (max-width: 840px){

.gallery{
  width: 230px;
  height: 160px;
}
.gallery span{
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(280px);
}
  }

  @media (max-width: 650px){
    .gallery{
      width: 200px;
      height: 150px;
    }
    .gallery span{
      transform: rotateY(calc(var(--i) * 60deg)) translateZ(220px);
    }
  
  }

  @media (max-width: 500px){
    .gallery{
      width: 155px;
      height: 140px;
    }
    .gallery span{
      transform: rotateY(calc(var(--i) * 60deg)) translateZ(180px);
    }
.gallery h1{
  font-size: 10px;
}
  }

  @media (max-width: 400px){
    .gallery{
      width: 130px;
      height: 130px;
    }
    .gallery span{
      transform: rotateY(calc(var(--i) * 60deg)) translateZ(150px);
    }
  
  }

  @media (max-width: 340px){
    .gallery{
      width: 110px;
      height: 110px;
    }
    .gallery span{
      transform: rotateY(calc(var(--i) * 60deg)) translateZ(120px);
    }
  
  }
.gallery span a{
  width: 100%;
  height: 100%;
}

.gallery span img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: 1s ease;
  opacity: 0.9;
  filter: brightness(78%) saturate(0%) contrast(136%);
-webkit-filter: brightness(78%) saturate(0%) contrast(136%);
-moz-filter: brightness(78%) saturate(0%) contrast(136%);
}


.gallery span img:hover{
  transform: scale(1.2);
  box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.639);
-webkit-box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.489);
-moz-box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.667);
filter: brightness(1.3); /* Parlaklığı artır */
}
.gallery span img:hover + h1{
  transform: scale(1.2);
  border-radius: 10px 10px 10px 10px;
}


.gallery span a:active img{
  transform: scale(1.2);
  box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.639);
-webkit-box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.489);
-moz-box-shadow: 2px -1px 61px 3px rgba(255, 255, 255, 0.667);
filter: brightness(1.3); /* Parlaklığı artır */
}

/* slider kodları sonu */

.altcontainer{
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.altcontainer ul {
  position: relative;
  display: flex;
  justify-content: center;
  transform: rotate(0deg) skew(0deg);
  transform-style: preserve-3d;
  width: 100%;
}

.altcontainer ul li{
  position: relative;
  list-style: none;
  width: 60px;
  height: 60px;
  margin: 0 10px;
}

.altcontainer ul li span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  background-color:  rgba(201, 201, 201, 0.309);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 30px !important;
  transition: 1.5s ease-out;
}

.altcontainer ul li:hover span{
z-index: 1000;
transition: 0.8s;
color: #fff;
box-shadow: -1px 1px 1px rgba(250, 250, 250, 0.5);
}

.altcontainer ul li:hover span:nth-child(5){
  transform: translate(40px, -40px);
  opacity: 1;
}

.altcontainer ul li:hover span:nth-child(4){
  transform: translate(30px, -30px);
  opacity: 0.8;
}

.altcontainer ul li:hover span:nth-child(3){
  transform: translate(20px, -20px);
  opacity: 0.6;
}

.altcontainer ul li:hover span:nth-child(2){
  transform: translate(10px, -10px);
  opacity: 0.4;
}

.altcontainer ul li:hover span:nth-child(1){
  transform: translate(0px, 0px);
  opacity: 0.2;
}

.altcontainer ul li:nth-child(1):hover span{
  background: black  !important;
}

.altcontainer ul li:nth-child(2):hover span{
  background:linear-gradient(45deg, #FEDA77, #F58529, #DD2A7B, #8134AF, #515BD4) !important;
}

.altcontainer ul li:nth-child(3):hover span{
  background: red !important;
}

.altcontainer ul li:nth-child(4):hover span{
  background: blue !important;
}

.altcontainer ul li:nth-child(5):hover span{
  background: linear-gradient(45deg, #69C9D0, #EE1D52) !important;
}