@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');

*{
    margin: 0;
    padding: 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;
    float: left;
    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;
}

.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: 50px;
        background: rgb(3, 3, 22);
    }
    header h1{
        color: #fff;
        padding: 1opx 0;
        font-size: 16px;
    }
    .pro{
        position: relative;
        top: 6px;
    }
    .drop{
        left: -50px;
        z-index: 2;
    }
    header .navbar ul li .drop 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;
    }
}
.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;

}
section{
    text-align: center;
    background-color: gray;
    color: black;
    padding: 10px;
    margin-top: 80px;
}
article{
    margin: 10px;
    background-color: white;
    padding: 10px;
}
h2{
    padding: 8px;
    
}
p{
    padding: 12px;
    font-weight: 500;
    line-height: 1.5;
}
.about-div{
    background-color:#fff;
    
}
footer{

    width: 100%;
    color: #007bff;
}
.footer-container{
    display: flex;
    align-items: center;
    justify-content: center;

    
    
    
}
.sub-cont{
    margin: 10px;
    display: flex;

}
.sub-cont a{
    text-align: center;
    margin:30px;
    text-decoration: none;
    padding: 10px;
    font-size: normal;
    color: black;

}
.social-cont ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-cont li{
    list-style-type: none;
    margin: 30px;
    padding: 10px;

}
.social-cont li img{
    width: 50px;
    height: 50px;
}

.footer-para{
    text-align: center;
    color: black;
    font-weight:500;
    line-height: 1.5;
    word-spacing: .3em;
    font-size :14px;
    padding: 10px;
}


