*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: white;
}

.container{
    width: 100%;
    height: 100vh;
    background-color: rgb(47, 90, 184);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main{
    height: 70%;
    width: 30%;
    background-color: rgb(10, 34, 112);
    box-shadow: 0px 0px 12px 6px rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px 15px;
    justify-content: center;
    /* align-items: center; */
    /* border-radius: 5px; */
    /* text-align: center; */
}

.hed{
    height: 10%;
    /* border: 2px solid red; */
    font-size: 1.3rem;
    text-align: center;
    color: rgb(252, 255, 71);
    /* background-color: black; */
    /* width: 80%; */
    font-weight: 700;
    text-shadow: 2px 2.5px 2px rgb(244, 59, 59);
}

.textbox{
    /* border: 2px solid red; */
    height: 13%;
    overflow: hidden;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.textbox>input{
    font-size: 1.53rem;
    padding: 9px;
    width: 86%;
    color: black;
    border: none;
    outline: none;
    /* padding-right: 0px; */
}

.copylogo{
    width: 45px;
    height: 47px;
    /* border: 2px solid red; */
    /* display: inline-block; */
    transition: transform 0.1s ease; /* Smooth scaling */
    background-image: url('copy.jpg');
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
    background-color: rgb(86, 54, 204);
}


.check{
    /* border: 2px solid red; */
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.chk1-chkbox{
    height: 90%;
    /* border: 2px solid red; */
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chk1-numlen{
    /* border: 2px solid red; */
    height: 90%;
    width: 12%;
}

.chk1-numlen>input{
    height: 30px;
    width: 40px;
    color: black;
    font-weight: 800;
}

.chk1-chkbox>input{
    height: 30px;
    width: 30px;
}

.generate-btn{
    /* border: 2px solid red; */
    height: 13%;
    text-align: center;
}

.generate-btn>button{
    height: 80%;
    width: 75%;
    font-size: 1.4rem;
    font-weight: 800;
    background-color: rgb(185, 53, 53);
    margin-top: 4px;
    color: rgb(0, 0, 0);
    /* border: 2px; */
}


.generate-btn>button:hover{
    background-color: rgb(255, 29, 29);
}


/* Media Queries for Mobile Responsiveness */
@media only screen and (max-width: 1200px) {
    .main {
        width: 40%;
    }
}

@media only screen and (max-width: 992px) {
    .main {
        width: 50%;
    }
}

@media only screen and (max-width: 768px) {
    .main {
        width: 65%;
        height: 80%;
    }
    
    .hed {
        font-size: 1.5rem;
    }
    
    .textbox > input {
        font-size: 1.3rem;
    }
    
    .check {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 576px) {
    .main {
        width: 85%;
        height: 85%;
        padding: 15px;
    }
    
    .hed {
        font-size: 1.4rem;
        height: 8%;
    }
    
    .textbox {
        height: 12%;
    }
    
    .textbox > input {
        font-size: 1.2rem;
        padding: 7px;
    }
    
    .copylogo {
        width: 40px;
        height: 42px;
        background-size: 25px;
    }
    
    .check {
        height: 12%;
        font-size: 0.9rem;
    }
    
    .chk1-chkbox > input,
    .chk1-numlen > input {
        height: 25px;
        width: 25px;
    }
    
    .generate-btn > button {
        font-size: 1.2rem;
        width: 85%;
    }
}

@media only screen and (max-width: 400px) {
    .container{
        height: 96vh;
    }
    .main {
        width: 95%;
        height: 63%;
        gap: 5px;
    }
    
    .textbox{
    /* border: 2px solid red; */
    height: 7%;
    }

    .chk1-numlen{
        margin-top: 23px;
        color: aliceblue;
    }
    .chk1-numlen>input{
        color: aliceblue;
        width: 25px;
    }
    .hed {
        font-size: 1.3rem;
    }
    
    .check {
        font-size: 1.1rem;
        height: 10%;
    }
 
    .chk1-numlen{
        height: 90%;
        width: 9%;
    }
    
    .copylogo{
        width: 35px;
        height: 35px;
}

    .generate-btn > button {
        font-size: 1.5rem;
        /* font-weight: 1500; */
    }
}