@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #333;
  color: #fff;
  line-height: 1.6;
}

body{
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

.slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}
/*
.slide .content {
  position: absolute;
  bottom: 200px;
  left: -600px;
  opacity: 0;
  width: 600px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 35px;
}
*/
.slide .content h1 {
  margin-bottom: 10px;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 50%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}

.buttons button {
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}

@media(max-width: 500px) {
  .slide .content {
    bottom: -300px;
    left: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateY(-300px);
  }
}

/* Background images */
.slide:first-child {
  background: url('../../template/img/slider/photo1.jpeg') no-repeat center center/cover;
}

.slide:nth-child(2) {
  background: url('../../template/img/slider/photo2.jpeg') no-repeat center center/cover;
}

.slide:nth-child(3) {
  background: url('../../template/img/slider/photo3.jpeg') no-repeat center center/cover;
}

.slide:nth-child(4) {
  background: url('../../template/img/slider/photo4.jpeg') no-repeat center center/cover;
}

.slide:nth-child(5) {
  background: url('../../template/img/slider/photo5.jpeg') no-repeat center center/cover;
}

.slide:nth-child(6) {
  background: url('../../template/img/slider/photo6.jpeg') no-repeat center center/cover;
}

.slidermetin{
  
  text-align: center; 
  margin-top: 200px;

}
.sliderbaslik{
  text-shadow: #333;

}
h1 {
  text-shadow: 3px 3px rgba(0, 0, 0, 0.479);

}

p{
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px rgba(212, 212, 212, 0.192);
  size: 10px;
}