body{
    overflow-x: hidden;
    box-sizing: border-box;
}
.slider{
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}
.slides{
    width: 500%;
    height: 100%;
    display: flex;
    overflow: hidden;
}
.slides input{
    display: none;
}
.slide{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width: 20%;
    transition: 2s;
}
.slide img{
    width: 98%;
    height:auto;
}
.navigation-manual{
    position: absolute;
    width: 100%;
    margin-top:-150px;
    display: flex;
    justify-content: center;
}
.manual-btn{
    border: 2px solid #ccc;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 40px;
}
.manual-btn:hover{
    background-color: #ccc;
}
#radio1:checked ~ .first{
margin-left: 0;
}
#radio2:checked ~ .first{
margin-left: -20%;
}
#radio3:checked ~ .first{
margin-left: -40%;
}
#radio4:checked ~ .first{
margin-left: -60%;
}
/* Automatic Navigation  */
.navigation-auto{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 450px;
}
.navigation-auto div{
    border: 2px solid #ccc;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 40px;
}
#radio1:checked ~.navigation-auto .auto-btn-1{
    background-color: rgb(104, 22, 211);
     background:#00063A;
}
#radio2:checked ~.navigation-auto .auto-btn-2{
    background-color: #ccc;
     background:#00063A;
}
#radio3:checked ~.navigation-auto .auto-btn-3{
    background-color: #ccc;
     background:#00063A;
}
#radio4:checked ~.navigation-auto .auto-btn-4{
    background-color: #ccc;
     background:#00063A;
}

.slide .description{
    display: flex;
    position: absolute;
    top: 250px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100px;
    /*color: #00063A;*/
    color:cornflowerblue;
    font-weight: 800;
    font-size: 40px;
    text-transform: uppercase;
    transition: all 0.5s ease 3s;
    /* background-color: #333;
    opacity: .1; */
    animation: rotate 1s linear;
}
@keyframes rotate{
        0%{
            transform: rotate(0deg);
        }
        50%{
            transform: rotate(180deg);
        }
        100%{
            transform: rotate(360deg);
        }
    }
.slide a{
    display: flex;
    position: absolute;
    top: 300px;
    left: 40%;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    color: red;
    font-weight: bold;
    background-color: #00063A;
    padding:10px 15px;
    text-decoration: none;
    font-size: 25px;
    text-transform: uppercase;
    transition: all 0.5s ease 3s;
    opacity: .8;
}
/*#wrapper-carousel {
            position: relative;
            width: 650px;
            height: 250px;
            margin: 0 auto;
            overflow: hidden;
            display:flex;
        }
        #main-carousel {
            position: relative;
            width: 650px;
            height: 250px;
            overflow:hidden;
        }*/
         #container-carousel {
            position: absolute;
            width: 650px;
            height: 250px;
        }
        .child {
            width: 200px;
            height: 250px;
            padding-top: 35px;
            float: left;
            text-align: center;
            font-size: 60px;
        }
        .gallery-child {
            width: 100%;
            height: 100%;
            /*padding: 10px;*/
            float: left;
            text-align: center;
            font-size: 30px;
        }
@media screen and (max-width:768px){
    .slider{
        height: 400px;
    }
    .slides{
        height: 100%;
        display: flex;
    }
    .slides img{
        height: 100%;
    }
    .slide a {
        left:20%;
    }
    .navigation-auto{
        margin-top: 300px;
    }
    .navigation-manual{
        margin-top:-100px;
        /* background: blue; */
    }
    .description{
        display:none !important;
        color:red;
    }
}


 
@media screen and (max-width:768px) {
    #wrapper-carousel, #container-carousel, #main-carousel {
        width:100%;
    }
    .gallery-child {
        height: 100%;
    }
}