@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;
    margin: 0;
    padding: 0;
}

.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;
    }
}
.first-sec{
    background-image: url(images/pension\ img\ edit.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}
.first-div{
    width: 80%;
    position: absolute;
    left: 5%;
    top: 30%;

}
.first-div h2{
    font-size:40px;
    color: rgb(3, 3, 22);
    text-transform: uppercase;
    padding: 10px 15px;

}
.first-div p{
    color:black;
    font-size: 18px;
    padding: 10px 15px;
    font-weight: bold;
    line-height: 1;
    word-spacing: .5;

}
.first-div button, .third-sec button{
    background-color: #007bff;
    width: 150px;
    height: 60px;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
}
.first-div button a{
    text-decoration: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}
.first-div button:hover{
    background-color:transparent;
    border: 1px solid black;
    color: white; 
}
.first-sec h1{
    color: white;
    font-size:45px;
    padding: 10px 16px;
    position: absolute;
    top: 300px;
    width: 50%;
    left: 25%;
    text-align: center;
}
footer{
    background-color:#007bff;
    width: 100%;
}
.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
}