@media screen and (min-width: 600px) {

    .contentts {
        height: 640px;
        width: 100%;
        overflow: hidden;
        position: absolute;
        display: block;
        transform: translate(-50, -50);     
    }

    .navigation {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translate(-50%);
        display: flex;
    }

    .bar {
        width: 70px;
        height: 17px;
        border: 2px solid #fff;
        margin: 6px;
        border-radius: 5px;
        cursor: pointer;
        transition: .6s;
    }

    .branco {
        background-color: #fff;
    }



    .bar:hover {
        background-color: #fff;
    }

    input {
        display: none;
    }

    .imgslides {
        display: flex;
        width: 500%;
        height: 100%;
    }

    .imgslide {
        width: 20%;
        transition: .6s;
    }

    .imgslide img {
        width: 100%;
        height: 100%;
    }

    #imgslide1:checked~.s1 {
        margin-left: 0;
    }

    #imgslide2:checked~.s1 {
        margin-left: -20%;
    }

    #imgslide3:checked~.s1 {
        margin-left: -40%;
    }

    #imgslide4:checked~.s1 {
        margin-left: -60%;
    }

    #imgslide5:checked~.s1 {
        margin-left: -80%;
    }
}


@media screen and (max-width: 600px) {

    .contentts {
        height: 1000px;
        width: 100%;
        overflow: hidden;
        position: absolute;
        display: block;
        transform: translate(-50, -50);
    }

    .navigation {
        position: absolute;
        top: 11rem;
        left: 50%;
        transform: translate(-50%);
        display: flex;
    }

    .bar {
        width: 50px;
        height: 17px;
        border: 2px solid #fff;
        margin: 6px;
        border-radius: 5px;
        cursor: pointer;
        transition: .6s;
        margin-top: 100%;
        z-index: 1;
    }

    .branco {
        background-color: #fff;
    }



    .bar:hover {
        background-color: #fff;
    }

    input {
        display: none;
    }

    .imgslides {
        display: flex;
        width: 500%;
        height: 100%;
    }

    .imgslide {
        width: 20%;
        transition: .6s;
    }

    .imgslide img {
        width: 100%;
        height: 100%;
    }

    #imgslide1:checked~.s1 {
        margin-left: 0;
    }

    #imgslide2:checked~.s1 {
        margin-left: -20%;
    }

    #imgslide3:checked~.s1 {
        margin-left: -40%;
    }

    #imgslide4:checked~.s1 {
        margin-left: -60%;
    }

    #imgslide5:checked~.s1 {
        margin-left: -80%;
    }

}