*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
#slider{
    height:500px;
    border:1px solid #000;
    display:flex;
    justify-content: center;
    align-items:center;
}
.container{
    width:1600px;
    margin:auto
}
.subcontaier{
    width:85%;
    margin:auto;
}
.img-slider{
    max-width: 100%;
    width: 600px;
    height:257px;
    border-radius:5px;
    background-size: cover;
    background-position:center;
    cursor:pointer;
    display: flex;
    justify-content:center;
    align-items: center;
    transition:0.4s
}
.img-slider:hover{
    box-shadow:0 0 0 200px #000 inset
}
.img-slider a{
    opacity: 0;
    text-decoration: none;
    transform: scale(0);
    transition:0.4s;
    font-size:1.5rem;
    color:#fff;
}
.img-slider:hover a{
    opacity:1;
    transform: scale(1);
}
.img-1{
    background-image: url("/css/images/back-1.jpg");
}
.img-2{
    background-image: url("/css/images/back-2.jpg");
}
.img-3{
    background-image: url("/css/images/back-3.jpg");
}
.img-4{
    background-image: url("/css/images/back-4.jpg");
}
.img-5{
    background-image: url("/css/images/back-5.jpg");
}
.img-6{
    background-image: url("/css/images/back-6.jpg");
}
@media(max-width:1600px){
    .container{
        width: 100%;
    }
}
.slider-wrapper{
    position: relative;
    text-align: center;
}
.tns-controls{
    display: flex;
    justify-content: space-between;
    top:50%;
    z-index: 10;
    overflow: hidden;
    margin-bottom: 10px;
}

.tns-controls button{
    padding: 12px 20px;
    border:none;
    font-size:1.1rem;
    border-radius:10px
}
.tns-nav{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -40px;
    z-index: 10;
    left: 50%;
    transform:translate(-50%)
}
.active{
    background-color: rgb(0, 255, 60);
}
.tns-nav button{
    display: flex;
    width:12px;
    height:12px;
    border-radius: 50%;
}
.tns-nav button:not(:last-child){
    margin-right: 5px;
}