*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body{
    background-image: url(./bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 93vh;
}

.container {
    max-width: 400px !important;
    height: 86.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.row{
    overflow: hidden !important;
    background: #4f3222;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}
.box{
    padding: 2rem !important;
    width: auto !important;
}
.text-heading{
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #fefbd8;
    text-align: center !important;
    font-size: 30px;
}
.name{
    background-color: #f2e394;
    padding: 10px 15px;
    border: 1px solid rgb(169, 73, 0);
    border-radius: 20px;
    width: 300px;
    transition: 0.3s;
}

.name:focus {
    border: 2px solid #ab390c;
    box-shadow: 0 0 10px rgba(160, 71, 3, 0.5);
}
.pass{
    background-color: #f2e394;
    padding: 10px 15px;
    width: 300px;
    border: 1px solid rgb(169, 73, 0);
    border-radius: 20px;
    transition: 0.3s;
}

.pass:focus {
    border: 2px solid #ab390c;
    box-shadow: 0 0 10px rgba(160, 71, 3, 0.5);
}
/* Button */
.btn-primary {
    background: linear-gradient(135deg, #f2e394, #e0876a);
    border: none !important;
    color: #5e2109 !important;
    padding: 10px 15px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border-radius: 10px !important;
    margin-left: 100px !important;
    transition: 0.3s !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0876a, #fbefcc) !important;
    transform: scale(1.05) !important;
}
#error-message {
    color: red;
    text-align: center;
    margin-top: 10px;
}

/* Responsive */
@media only screen and  (max-width: 450px) {
    body{
        height: 94vh;
    }
    .container{
        height: 85vh;
    }
    .box {
        padding: 1.5rem !important;
        /* width: 350px !important; */
    }
}
@media only screen and  (max-width: 350px) {
    .text-heading{
        font-size: 15px;
    }
    .name{
        width: 250px !important;
    }
    .pass{
        width: 250px !important;
    }
    .btn-primary {
        margin-left: 20px !important;
    }
}
@media only screen and  (max-width: 300px) {
    .name{
        width: 200px !important;
    }
    .pass{
        width: 200px !important;
    }
    .btn-primary {
        margin-left: 10px !important;
    }
}
@media only screen and  (max-width: 250px) {
    .name{
        width: 150px !important;
        padding: 5px 10px;
    }
    .pass{
        width: 150px !important;
        padding: 5px 10px;
    }
    .btn-primary {
        margin-left: 10px !important;
    }
}
@media only screen and  (max-width: 200px) {
    .name{
        width: 80px !important;
        padding: 5px 10px;
    }
    .pass{
        width: 80px !important;
        padding: 5px 10px;
    }
    .btn-primary {
        margin-left: 0px !important;
        padding: 8px !important;
        font-size: 15px !important;
    }
}

/* footer */
.foot{
    width: 100%;
    background-color: rgb(0,0,0,0.3);
}
.footrap{
    width: 80%;
    margin: auto;
    padding: 10px;
}
.footrap h3{
    font-size: 20px;
    /* color: #353535; */
    color: #fff;
    text-shadow: 2px 2px 4px #000000;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}
@media only screen and  (max-width: 900px){
    .footrap h3{
        font-size: 15px;
    }
}
@media only screen and  (max-width: 500px) {
    .footrap h3{
        font-size: 12px;
    }
}