*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}
#nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(238, 238, 238);

}
#nav-ul{
    width: 40%;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 30px 14px 30px 0;
}
.nav-li a{
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 30px 8px 30px 8px;
    font-family: 'Roboto', sans-serif;
}
.nav-li-a:hover{
    border-bottom: 2px solid black;
}
#logo{
    width: 100px;
    position: absolute;
    top: -10px;
}
#bars{
    font-size: 28px;
}

#bars{
    position: absolute;
    top: 1.3rem;
    right: 1rem;
    display: none;
}
label{
    padding: 35px 0 35px 0;
}

#slider{
    width: 80%;
    height: 500px;
    background: url(img4.jpg);
    background-repeat: no-repeat;
    background-size: 700px;
    margin: 10px auto;
    animation: slide 20s infinite;
}
@keyframes slide{
    25%{
        background: url(img3.jpg);
    }
    50%{
        background: url(img4.jpg);
    }
    75%{
        background: url(img5.jpg);
    }
    100%{
        background: url(img3.jpg);
    }
}

.items{
    box-shadow: 3px 3px 8px grey;
    width: 430px;
    height: auto;
    position: relative;
    margin-top: 15px;
    border-radius: 10px;
    margin-right: 10px;
}
.items:hover{
    box-shadow: 5px 6px 8px grey; 
}
.imgs{
    width: 410px;
}

#container{
    padding: 0 0 30px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


#footer{
    background-color: rgb(37, 36, 36);
    color: white;
    height: 200px;
}
#footer>p{
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 50px 0 0 0;
}

#icon-div{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.icons>a>i{
    font-size: 30px;
    color: white;
    padding: 20px 20px 0 0;
}
.icons>a>i:hover{
    color: lightgray;
    font-size: 25px;
}

#btn-div{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    flex-direction: column;
    padding-top: 10px;
    width: 100%;
}

.btn{
    cursor: pointer;
    width: 100%;
    height: 50px;
    background-color: lightslategrey;
    color: white;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-size: 17px;
    margin-top: 10px;
}
.btn:hover{
    background-color: rgb(83, 94, 104);   
}
.btn>a{
    color: white;
    text-decoration: none;
    width: 100%;
}
.btn-a-div{
    width: 94%;
}

.call-btn{
    cursor: pointer;
    width: 100%;
    height: 50px;
    background-color: rgb(39, 46, 53);
    color: white;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-size: 17px;
    margin-top: 5px;
}

.call-btn>a{
    color: white;
    text-decoration: none;
}

.price-text{
    padding: 0 10px;
    text-align: center;
}
.price{
    text-align: center;
    font-weight: 1000;

}


@media (max-width: 580px){
    #nav-ul{
        flex-direction: column;
        text-align: center;
        display: none;
    }
    .nav-li{
        padding-top: 20px;
    }
    .nav-li-a:hover{
        border: none;
        text-decoration: underline;
    }
    #bars{
        display: block;
    }
    .items{
        width: 300px;
        height: auto;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
    }
    #nav-ul.show{
        display: block;
        width: 100%;
    }
    .imgs{
        width: 300px;
    }
    .btn{
        right: 100px;
    }
    #footer>p{
        font-size: 17px;
    }
    #slider{
        width: 90%;
        height: 300px;
        background-size: 300px;
    }
    @keyframes slide{
        25%{
            background: url(img3.jpg);
            background-size: 300px;
        }
        50%{
            background: url(img4.jpg);
            background-size: 300px;
        }
        75%{
            background: url(img5.jpg);
            background-size: 300px;
        }
        100%{
            background: url(img3.jpg);
            background-size: 300px;
        }
    }
}
