*{
    margin: 0;
    padding: 0;
    font-family: Century Gothic;    
}

header {
    background-image:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(AD01.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
    
}

h1 {
    font-size: 2.1rem;
    line-height: 1.4;
    letter-spacing: 0.5rem;
    text-align: center;
    color:whitesmoke;
    margin-top: 30px;
}

ul{
    float: none;
    list-style-type: none;
    margin-top: 40px; 
    margin-left: 30px;
    
}

ul li {
    display: inline-block;
}

ul li a {
    text-decoration: none;
    color: black;
    padding: 5px 25px;
    border: 0px solid;
    transition: 0.6s ease;
}

ul li a:hover{
    background-color:whitesmoke;
    color:black;
    
}

ul li.active a{
    background-color:whitesmoke;
    color:black; 
}

main{
    max-width: 1200px;
    margin: auto
    
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%)  
}

.title h1 {
    color: white;
    font-size: 75px;
}

.title p {
    color: white;
    font-size: 50px;
}

.slidershow{
    width: 670px;
    height: 453px;
    overflow: hidden;
     box-shadow: 1px 2px 10px 10px white;
}
.middle{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.navigation{
    position: absolute;
    bottom: 20px;
    left: 50px;
    transform: translateX(37%);
    display: flex;
}
.bar{
    width: 50px;
    height: 12px;
    border: 2px solid #fff;
    margin: 6px;
    cursor: pointer;
    transition: 0.4s;
}
.bar:hover {
    background: #fff;
}

input[name="r"]{
    position: absolute;
    visibility: hidden;
}
.slides{
    width: 500%;
    height: :100%;
    display: flex;
}

.slide{
    width: 20%;
    transition: 0.6s;
    
}
.slide img{
    width: 100%;
    height: 100%;
        
}

#r1:checked ~ .s1{
    margin-left: 0;
}
#r2:checked ~ .s1{
    margin-left: -20%;
}
#r3:checked ~ .s1{
    margin-left: -40%;
}
#r4:checked ~ .s1{
    margin-left: -60%;
}
#r5:checked ~ .s1{
    margin-left: -80%;
}
#r6:checked ~ .s1{
    margin-left: -100%;
}


