@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300&family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,300&display=swap');
*{
    
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    width: 100%;
}

.navbar{
    width: 100%;
    background-color: rgb(3, 3, 22);
    height: 75px;
    line-height: 75px;
    position: absolute;
}
.navbar h1{
    font-size:20px;
    font-family: sans-serif;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    width: 10%;

}
.navbar ul{
    float: right;
}
.navbar ul li{
    float: left;
    list-style:none;
    color: white;
}
.navbar ul li a{
    text-decoration: none;
    font-family: sans-serif;
    color: #fff;
    font-size: 17px;
    padding: 0px 16px;
    display: block;

}
.navbar ul li .drop{
    width: 200px;
    background-color: rgb(3, 3, 22);
    position: absolute;
    right: 220px;
    display: none;
    margin: -5px 0;
}
.navbar ul li:hover .drop{
    display: block;
    z-index: 1;
}

.navbar ul li .drop li{
    margin: 0 5px;
    width: 95%;
    border-bottom: 1px solid grey;
}

.navbar ul li .drop li:last-child{
    border-bottom: none;
}
.navbar ul li .drop li a{
    width: 100%;
    padding:  0 5px;
    font-size: 15px;
}
header input{
    opacity: 0;
}
@media screen and (max-width: 500px){
    header{
        width: 100%;
        height: 100px;
        background: rgb(3, 3, 22);
    }
    header h1{
        color: #fff;
        padding: 15px 0;
        font-size: 16px;
    }
    .drop{
        right: 0;
        z-index: 1;
    }
    header .navbar ul li .drop li a{
        font-size: 13px;
    }
    header .navbar ul li a{
        font-size: 13px;
    }

    .hide{
        position: absolute;
        right: 10px;
        top: 15px;
        width: 20px;
        height: 20px;
        opacity: 0;
    }
    label span{
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        right: 10px;
        top: 25px;
        z-index: 1;

    }
    label span::after{
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        top: 5px;
    }
    label span::before{
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        top: -5px;
    }
    .navbar{
        width: 100%;
        height: 100px;
        padding: 0;
        position: absolute;
        top: 50px;
        visibility: hidden;
    }
    .navbar ul{
        display: inline-flex;
        width: 100%;
        padding: 0 10px;
    }
    .navbar ul li a{
        padding: 0;
        font-size: 15px;
        margin: 5px;
    }
    input[type="checkbox"]:checked~ nav{
        visibility: visible;
    }
    
    }
    section{
        margin: 80px;
        padding: 20px;
    
    
    }
    .about-div{
        margin: 20px;
    }
    .about-div h2{
        text-align: center;
        padding: 8px;
    }
    .container{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        
    }
    .cards{
        background-color: beige;
        width: 350px;
        height: 400px;
        margin: 30px;
    }
    .cards:hover{
        background-color: rgb(62, 62, 62);
        color: white;
        cursor: pointer;
        transform: scale(1.03);
        transition: all 1s ease;
    }
    .card-img{
        background-color:beige;
        height: 170px;
        margin-bottom: 15px;
        background-size:cover;
    }
    .car-1{
        background-image:url(images/pension\ img\ 13\ png.png);
    }
    .car-2{
        background-image:url(images/pension\ img\ 12\ png.png);
    }.car-3{
    background-image:url(images/pension\ img\ 10\ png.png);
    }
    .cards h2{
        padding: 5px;
        
    }
    .cards p{
        padding: 5px;
        font-size: 14px;
        line-height: 1.5;
        word-spacing: .3;
    
    }
    .info-sec h2{
        padding: 8px;
        text-align: center;

    }
    .info-sec p{
        padding: 3px;
        text-align: center;
    }
    