*, ::after, ::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    border: 0;
}
.slider{
    height:100vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    background: url(1.jpg) no-repeat 50% 50% / cover;
    transition: 1s;
}
.vernagir{
    width: 100%;
    height: 10vh;
    position: absolute;
    color: grey;
    text-transform: uppercase;
    font-size: 55px;
    left: 0;
    animation: vernagir 2s linear infinite;
}
@keyframes vernagir {
    0%{color: white;}
    25%{color: grey;}
    50%{color: black;}
    75%{color: grey;}
    100%{color: white;}
}
.dots{
    width: 100%;
    text-align: center;
    margin-bottom:30px ;
}
.slider .btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 25px;
    box-shadow: 0 0 10px white;
}
.slider .btn:hover{
    cursor: pointer;
    background-color: black;
    box-shadow:inset 0 0 4px 4px white;
    color: white;
}
.slider .prev{
    margin-left: 40px;
    animation:prev 1.5s linear infinite ;
}
.slider .next{
    margin-right: 40px;
    animation:next 1.5s linear infinite ;
}
@keyframes prev {
    0%{transform: translateX(0);}
    50%{transform: translateX(-30px);
    background-color: grey;}
    100%{transform: translateX(0);}
}
@keyframes next {
    0%{transform: translateX(0);}
    50%{transform: translateX(30px);
    background-color: grey;}
    100%{transform: translateX(0);}
}
.dots input{
    appearance: none;
    width: 50px;
    height: 10px;
    background-color: black;
    border-radius: 10px;
    margin-right: 10px;
    cursor: pointer;
    box-shadow:inset  0 0 10px white;
}
.dots input:checked{
    background-color: white;
    box-shadow:  0 0 30px white;
}