
body {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}


.logo{
    margin-left: 0%;
    display: flex;
    flex-direction: column;
    height: 300px;
    width: auto;
 

}
    .wp{
      display: grid;
      position:fixed;
      margin-left: 82%;
      margin-top: 130%;
      display: flex;

     }
    .logo ul{
        background-color: rgb(94, 94, 94, 0.7);
        display: flex;
        list-style-type: none;
        width: 100%;
        height: auto;
        position:fixed;
        margin-top: 0%;
        margin-right: 100%;
        
        
        
       
    
    
    }

    .logo a{
        font-family: fantasy;
        color:white;
        text-decoration: none;
        padding:16px 30px;
        font-size: 20px;
        text-shadow: 2px 4px 2px rgba(104, 103, 102, 0.6) ;
    }
    .cn{
        font-family: fantasy;
        text-shadow: 2px 4px 2px rgba(104, 103, 102, 0.6) ;
        font-size: 25px;
        margin-left:10px;
        color: rgb(255, 255, 255);
        text-transform: uppercase;

    }

    .navbar{
      background-color: rgba(150,150,150,0.5);
      top:50px;
      right:10px;
      display:none;
      align-items: center;
      position: absolute;
      text-align: right;
      font-family: fantasy;
    }


    .logo i{
      position: absolute;
      right: 10px;
      top:15px;
      color: white;
      display: block;
      font-size: 30px;
      width: 30px;
      height: 30px;
      align-content: center ;
    }
  
    .logo i:hover {
      background-color: gray;
      color: white;
    }
 



.bgvideo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: -1;
}

.mainlogo{
    color: white;
    font-family: fantasy;
    font-size: 80px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 50px;
   
  
}



.content{
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    justify-content: center;  
}
.content h1{
    margin-top: 100px;
    text-align: center;
    font-family: fantasy;
}

.content h2{
  margin-top: 50px;
  text-align: center;
  font-family: fantasy;
  color:rgb(37, 37, 100);
  font-size: 30px;
  transition: all 0.4s ease;
}

.content p{
    margin-right: 25%;
    margin-left: 25%;
    line-height: 2rem;
}


.slider {
    overflow: hidden;
    display: flex;
    width: auto;
    height: 500px; 
    flex-direction: row;
    position: relative;
    justify-content: space-between;
 
}

.button{
  display:none;
}

.text {

    height: 100%;
    width: 35%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
}
.text div {

    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

.img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
    transition: transform 0.5s ease-in-out;
}
.misyon{
  display: flex;
  flex-direction: column;
  row-gap:unset
  }
.misyon p{
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: justify;
}
.img div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
  }

  button {
    background-color: #fff;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
  }
  button:hover {
    color: #222;
  }
  
  button:focus {
    outline: none;
  }
  
  .slider .action-buttons button {
    position: absolute;
    left: 35%;
    top: 50%;
    z-index: 100;
  }
  .slider .action-buttons .down-button {
    transform: translateX(-100%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  .slider .action-buttons .up-button {
    transform: translateY(-100%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .footer{
    display:flex;
    flex-direction: column;
    border-radius: 150px 150px 0px 0px;
    width: 100%;
    height: 300px;
    background-color:rgb(34, 34, 34);
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: white;
    align-content: center;
    text-align: center;
    text-justify:distribute;
  }
  .footerbox{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:200px;
  }
  .footermenu{
    display: flex;
    flex-direction: row;
    margin-left:100px;
    color:white;
  }

  .footerdisplay{
    margin-top:50px;
    align-content: center;
    
  }

  .faaliyetalanlari{
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-content: center;

  }

  .karot{
    display: grid;
    width:40vh;
    height: 400px;
    margin: 20px;
    background-image: url("/assets/betondelme.jpeg");
    background-repeat: no-repeat;
    background-size: 100% 400px;
    align-content: center;
    

  }
  .telkesim{
    display: grid;
    width:40vh;
    height: 400px;
    background-image: url("/assets/telkesim.jpg");
    background-repeat: no-repeat;
    background-size: 100% 400px;
    color: rgb(0, 0, 0);
    align-content: center;
    margin: 20px;

  }
  .kirma{
    display: grid;
    width:40vh;
    height: 400px;
    background-image: url("/assets/betonkirma.jpeg");
    background-repeat: no-repeat;
    background-size: 100% 400px;
    color: rgb(0, 0, 0);
    align-content: center;
    margin: 20px;
  }
  .hidrolikkesim{
    display: grid;
    width:40vh;
    height: 400px;
    background-image: url("/assets/hidrolikkesim.jpeg");
    background-repeat: no-repeat;
    background-size: 100% 400px;
    color: rgb(0, 0, 0);
    align-content: center;
    margin: 20px;
  }

  p{
    font-size: 20px;
  }
  .btn {
    padding-top: 100%;
    margin-left: 25%;
    margin-top: 100%;
    background-color: rgb(189, 189, 189);
    width: 150px;
    padding: 20px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: black;
    position: relative;
    overflow: hidden;
    font-family: fantasy;
   
  }
  
  .btn span {
    position: relative;
    z-index: 1;
  }
  
  .btn::before {
    content: "";
    position: absolute;
    background-color: rgb(88, 88, 87);
    width: 0;
    height: 0;
    left: var(--xPos);
    top: var(--yPos);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s, height 0.5s;
  }
  
  .btn:hover::before {
    width: 300px;
    height: 300px;
  }

@media(max-width:1100px )  {
   
    .logo ul{
      display: none;
    }
    .logo{
      height:200px;
    }
    .bgvideo{
      height: 400px;
    }
    .faaliyetalanlari{
      display: grid;
      background-color: black;
    }
    .logo a{
      display: block;
      padding:8px;
    }

    .navbar{
      display: none;
    }

    .button{
      display: block;
    }

    .logo::after{
      display: none;
    } 

    .dere{
        margin: 15px;
    }
    .baraj{
        margin: 15px;
    }
    .sulama{
        margin: 15px;
    }
    .proje{
      margin:15px;
    }
    .footer{
      display:flex;
      flex-direction: column;
      border-radius: 0px 0px 0px 0px;
      width: 100%;
      height: auto;
      background-color:rgb(34, 34, 34);
      font-size: 18px;
      margin: 0;
      padding: 0;
      color: white;
      align-content: center;
      text-align: center;
      text-justify:distribute;
    }
    
    .footerbox{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap:2px;

    }

    .footerbox ul{
      font-family: fantasy;
      text-align: justify;
      list-style: none;
    }
    
    .footerdisplay{
      font-family: fantasy;
      margin-bottom: 50px;
    }
 
 
    .wp{
      position:fixed;
      margin-left: 0%;
      margin-top: 50%;
      display: flex;
      height: 0%;
      width: 25%;
    }

    .wp h4{
      font-family: fantasy;
      color: rgb(11, 121, 44);
      font-size: 15px;
    }
    .misyon p{
      margin:10px;
      margin-top:2px ;
      line-height: 1.2rem;
   
    }
    .cn{
      display:none;
    }
    .misyon{
      background-color: rgb(209, 207, 207);
      margin-top: 0px;
    }
    .mainlogo{
      margin-top:50px;
      font-size: 40px;
    }
    .slider{
      display:none;
    }
    .deneme{
      color:white;
    }
  }
