@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto',sans-serif;
    text-decoration: none;
    --gray-1: rgb(239, 243, 245);
    --gray-2: rgb(207,212,218);
    --gray-3: rgb(134,142,150);
    --gray-4: rgb(52,58,64);
    --gray-5: rgb(33,37,42);
    --primary-color :#0D1117;
    --primary-color-light :#161B22;
    --secondary-color :white ;
    --purple : #6E40C9 ;
    scroll-behavior: smooth;
    /* -ms-overflow-style: none; */
}
 
::-webkit-scrollbar{
    display: none;
}
input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body{
    background-color: var(--primary-color);
}
header{
    background-color:var(--primary-color-light);
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* position: fixed; */
    color: var(--gray-1);
    z-index: 100;
}
.logo{
    /* color: var(--secondary-color); */
    font-size: 30px;
    line-height:80px ;
    padding: 0 100px;
    font-weight: bold;
}
header ul{
    float: right;
    list-style: none; 
    margin-right: 50px;
}
header ul li{
    display: inline-block;
    line-height: 80px;
    margin:0 5px;
}
header ul li a{
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 600;
    border-bottom : 2px solid var(--primary-color-light);
    /* border-radius: 5px; */
    padding: 5px;
    transition: all 0.3s ease;
}
header ul li a:hover{
    color: var(--purple);
    border-color: var(--purple);
}
.hambur{
    /* color: var(--secondary-color); */
    font-size: 30px;
    line-height: 80px;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
.side-nav{
    display: none;
}
@media (max-width:1200px){
    .logo{
        padding: 0 10px 0 15px;
    }
}

@media (max-width:900px){
    
    .hambur{
        display:block;
    } 
    .logo{
        padding: 0 30px;
        font-size: 30px;
    }
    header ul{
        /* position: fixed; */
        position:absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: calc(100% - 80px);
        background-color: var(--primary-color-light);
        /* top:80px ; */
        bottom:0;
        left:-100%;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    header ul li{
        width: calc(100% - 50px);
        border-radius: 10px;
        
        transition: all 0.2s ease;
    }
    header ul li a{
        display: block;  /*makes parent i.e full li clickable*/
        border: 0px;
        width: 100%;
    }
    header ul li:hover{
        /* background-color: var(--gray-4); */
        background-color: var(--primary-color-light);
        box-shadow:  27px 27px 30px #0f1217,
             -27px -27px 30px #1d242d;
    } 
    .active{
        left:0;
        z-index: 1000;
    }
    .hide{
        overflow: hidden;
    }
}
@media (max-width:500px){
    .logo{
        font-size:20px;
    }
    #length,#digit,#cap,#special{
        width : 100px;
    }
}
@media (max-width:350px){
    #length,#digit,#cap,#special{
        width : 70px;
    }
    .logo{
        font-size:15px;
    }
}
/* to prevent web site from rotating */
@media screen and (orientation : landscape){
    /* do nothing */
}
/***************************** header end *****************************  */

/* content */
.container{
    color:var(--secondary-color);
    height:100vh;
    display: flex;
    justify-content:center;
    align-items:center;
}
.content{
    margin : 20px;
    padding : 20px;
    display: flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
    width : 500px;
}
.options{
    width: 100%;
    display: flex;
    justify-content:space-around;
    flex-direction: column;
}
input{
    margin : 10px;
    border : 1px solid rgba(255, 255, 255, 0.2);
    background:transparent;
    outline : none;
    padding : 5px 20px;
    text-align: center;
    color:var(--secondary-color);
}
.option{
    display: flex;
    justify-content :space-between;
    align-items:center
}
.withcopy{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 50px; 
    cursor: pointer;
    margin-left: 20px;
}
#password{
    border: none;
    font-size: 24px;
    width:100%;
    border-radius: 10px;
    height : 60px;
    box-shadow: inset 20px 20px 41px #0b0e13,
            inset -20px -20px 41px #0f141b;
}
#submit{
    width : 120px;
    background-color : var(--purple);
    outline: none;
    border:none;
    padding:10px 20px;
    margin-top:50px;
    cursor:pointer;
    color:var(--gray-1);
    border-radius:5px;
    transition: all 0.3s ease;
}
#submit:hover{
    box-shadow:  5px -5px 0px #804ae9,
                -5px 5px 0px #5c36a9;
}
#clear{
    width : 100px;
    background-color : transparent;
    outline: none;
    border:2px solid var(--purple);
    padding:10px 20px;
    margin-top:20px;
    cursor:pointer;
    color:var(--purple);
    border-radius:5px;
    transition: all 0.3s ease;
    font-weight: 500;
}
#clear:hover{
    color:var(--gray-1);
    background-color : var(--purple);

}
/***************************** footer start *****************************  */
body{
    height: 100%;    /*imp*/
}
footer{
    margin-top: 50px;
    background-color:var(--primary-color-light) ;
    width: 100%;
    /* position: sticky;  */
    position:absolute;
    /* imp */
    top: 100%; 
    /*imp*/
    color: var(--primary-color);
    bottom: 0;
    left: 0;
}
.social a .fa{
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
}
.social a{
    padding: 10px;
    margin: 10px;
    width: 50px;
    height: 50px;
    text-align: center;
}
.social a:hover{
    /* color: var(--primary-color); */
    background-color: #1c1f24;
    box-shadow:  7px 7px 0px #13171d,
                -7px -7px 0px #191f27;

}

footer .box{
    flex-basis: 50%;
    padding: 30px 20px;
}
.footer-about{
    background-color:var(--primary-color-light) ;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social{
    display: flex;
    align-items: center;
    justify-content:center;
}
.contact{
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    text-align: center;
}
.contact a{
    color: var(--secondary-color);
    margin: 5px 0;
}
/* footer end  */