body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-image: url(../images/1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


header {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 10px 0;
  background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(150, 150, 150, 0));
}

header .logo img {
  max-width: 550px;
  height: auto; /* Görsel oranını korur */
}
nav ul li{
  list-style: none;
}
nav ul li a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.2s ease-in-out;
}


nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(9, 219, 219);
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
}


nav ul li a:hover::after {
  transform: scaleX(1);
}

.container h6{
  text-align: right;
  margin: 0px;
}

.container h6 a{
  text-decoration: none;
  color: rgb(255, 255, 255);
}

.banner {
  display: flex;
  flex-direction: column;
  border-radius: 15px 15px 0 0;
  width: 90%;
  margin: auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.85);
}

div#carousel {
    width: 90%;
    margin: auto;
    perspective: 1200px;
    background-color: rgba(255, 255, 255, 0.85);
    padding-top: 10%;
    font-size: 0;
    overflow: hidden;
  }
  figure#spinner {
    margin: auto;
    text-align: center;
    transform-style: preserve-3d;
    height: 350px;
    transform-origin: 50% 50% -500px;
    transition: 1s;
  }
  figure#spinner img {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 30%;
    transform-origin: 50% 50% -500px;
    outline: 1px solid #000000;
  }
  figure#spinner img:nth-child(1) {
    transform: rotateY(0deg);
  }
  figure#spinner img:nth-child(2) {
    transform: rotateY(-50deg);
  }
  figure#spinner img:nth-child(3) {
    transform: rotateY(-100deg);
  }
  figure#spinner img:nth-child(4) {
    transform: rotateY(-150deg);
  }
  figure#spinner img:nth-child(5) {
    transform: rotateY(-200deg);
  }
  figure#spinner img:nth-child(6) {
    transform: rotateY(-250deg);
  }  figure#spinner img:nth-child(7) {
    transform: rotateY(-300deg);
  }
  div#carousel ~ span {
    color: #000000;
    margin: 5%;
    padding: 50px;
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    transition: 0.6s color;
    position: relative;
    margin-top: -6rem;
    border-bottom: none;
    line-height: 0;
  }
  div#carousel ~ span:hover {
    color: rgb(9, 219, 219);
    cursor: pointer;
  }
  
  
footer {
    background: linear-gradient(to bottom, rgba(150, 150, 150, 0), rgb(0, 0, 0));
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    padding: 20px;
}
  
html {
    scroll-behavior: smooth;
}
  
  /* Media Queries */
  
  /* Ekran ölçüsü 768px ve üzeri için */
  @media only screen and (min-width: 768px) {
    body {
      width: 100%;
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      background-image: url(../images/1.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
    }
    
    
    header {
      width: 100%;
      display: flex;
      list-style: none;
      justify-content: center;
      padding: 20px 0;
      background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(150, 150, 150, 0));
    }
    
    header .logobold img {
      max-width: 100%;
      height: 50px; /* Görsel oranını korur */
    }
    
    
    header nav ul {
      display: flex;
      list-style: none;
      justify-content:center;
      font-size: 5px;
    }
    
    header nav ul li {
      font-size: 11px;
      margin:auto;
    }
    
    header nav ul li a {
      font-weight: bold;
      text-decoration: none;
      color: #ffffff;
      font-weight: bold;
    }
    
    header nav ul li a:hover {
      color: rgb(9, 219, 219);
    }
    
    .container h6{
      width:100%;
      text-align: right;
      margin: 0;
    }
    
    .container h6 a{
      text-decoration: none;
      color: rgb(255, 255, 255);
    }
    
    
    .banner {
      display: flex;
      flex-direction: column;
      border-radius: 15px 15px 0 0;
      width: 90%;
      margin: auto;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 2rem;
      background-color: rgba(255, 255, 255, 0.85);
    }

    
    footer {
      background: linear-gradient(to bottom, rgba(150, 150, 150, 0), rgb(0, 0, 0));
      color: #fff;
      text-align: center;
      font-size: 0.9rem;
      padding: 20px;
    }
    
    html {
     scroll-behavior: smooth;
    }
  }
  
  /* Ekran ölçüsü 480px ve üzeri için */
  @media only screen and (max-width: 480px) {
    body {
      width: 100%;
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      background-image: url(../images/1.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
    }
    
    
    header {
      width: 100%;
      display: flex;
      list-style: none;
      justify-content: center;
      padding: 20px 0;
      background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(150, 150, 150, 0));
    }
    
    header .logo img {
      max-width: 100%;
      height: 50px; /* Görsel oranını korur */
    }
    
    
    header nav ul {
      display: block;
      list-style: none;
      justify-content:center;
      font-size: 5px;
    }
    
    header nav ul li {
      font-size: 11px;
      margin:auto;
    }
    
    header nav ul li a {
      font-weight: bold;
      text-decoration: none;
      color: #ffffff;
      font-weight: bold;
    }
    
    header nav ul li a:hover {
      color: rgb(9, 219, 219);
    }
    
    .container h6{
      width:300px;
      text-align: right;
      margin: 0;
    }
    
    .container h6 a{
      text-decoration: none;
      color: rgb(255, 255, 255);
    }

    .banner {
      display: flex;
      flex-direction: column;
      border-radius: 15px 15px 0 0;
      width: 90%;
      margin: auto;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 2rem;
      background-color: rgba(255, 255, 255, 0.85);
    }
    footer {
      background: linear-gradient(to bottom, rgba(150, 150, 150, 0), rgb(0, 0, 0));
      color: #fff;
      text-align: center;
      font-size: 0.9rem;
      padding: 20px;
    }
    
    html {
     scroll-behavior: smooth;
    }
  }
  
  /* Ekran ölçüsü 320px ve üzeri için */
  @media only screen and (max-width: 350px) {
    body {
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url(../images/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  
  header {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(150, 150, 150, 0));
  }
  
  header .logo img {
    max-width: 100%;
    height: 50px; /* Görsel oranını korur */
  }
  
  
  header nav ul {
    display: block;
    list-style: none;
    justify-content:center;
    font-size: 5px;
  }
  
  header nav ul li {
    font-size: 11px;
    margin:auto;
  }
  
  header nav ul li a {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
  }
  
  header nav ul li a:hover {
    color: rgb(9, 219, 219);
  }
  
  .container h6{
    width:300px;
    text-align: right;
    margin: 0;
  }
  
  .container h6 a{
    text-decoration: none;
    color: rgb(255, 255, 255);
  }
  
    .banner {
      display: flex;
      flex-direction: column;
      border-radius: 15px 15px 0 0;
      width: 90%;
      margin: auto;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 2rem;
      background-color: rgba(255, 255, 255, 0.85);
    }

    
div#carousel {
  width: 90%;
  margin: auto;
  perspective: 1200px;
  background-color: rgba(255, 255, 255, 0.85);
  padding-top: 10%;
  font-size: 0;
  overflow: hidden;
}
figure#spinner {
  margin: auto;
  text-align: center;
  transform-style: preserve-3d;
  height: 350px;
  transform-origin: 50% 50% -500px;
  transition: 1s;
}
figure#spinner img {
  width: 350px;
  height: 250px;
  position: absolute;
  left: 30%;
  transform-origin: 50% 50% -500px;
  outline: 1px solid #000000;
}
figure#spinner img:nth-child(1) {
  transform: rotateY(0deg);
}
figure#spinner img:nth-child(2) {
  transform: rotateY(-50deg);
}
figure#spinner img:nth-child(3) {
  transform: rotateY(-100deg);
}
figure#spinner img:nth-child(4) {
  transform: rotateY(-150deg);
}
figure#spinner img:nth-child(5) {
  transform: rotateY(-200deg);
}
figure#spinner img:nth-child(6) {
  transform: rotateY(-250deg);
}  figure#spinner img:nth-child(7) {
  transform: rotateY(-300deg);
}
div#carousel ~ span {
  color: #000000;
  margin: 5%;
  padding: 50px;
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  transition: 0.6s color;
  position: relative;
  margin-top: -6rem;
  border-bottom: none;
  line-height: 0;
}
div#carousel ~ span:hover {
  color: rgb(9, 219, 219);
  cursor: pointer;
}


    
    footer {
      background: linear-gradient(to bottom, rgba(150, 150, 150, 0), rgb(0, 0, 0));
      color: #fff;
      text-align: center;
      font-size: 0.9rem;
      padding: 20px;
    }
    
    html {
     scroll-behavior: smooth;
    }
  }