/* =========== Google Fonts ============ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;800;900&display=swap');

*{
    
    color: maroon;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

:root {
    --maroon: #580707;
    --white: #fff;
    --gray: #f8f8f8;
    --black1: #222;
    --black2: #a7a7a7;
    --yellow:  #FFA800;
    --yellow2: #cc8800;
  }

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('/images/20 Blur.png');
    background-size: cover;
    background-repeat: no-repeat;
    /* padding: 10%; */
    padding-left: 5%;
    padding-right: 5%;
}

.card{
    display: flex;
    flex-direction: column;
    position: center;
    align-items: center;
    /* width: 100%; */
    /* Add max-width for smaller screens */
    max-width: 40%;   
    max-height: 80%;
    margin: auto;
    /* margin-top: 4%;
    margin-bottom: 4%; */
    /* margin-left: 20%;
    margin-right: 20%; */

    /* opacity: 0.8; */
    padding: 3%;
    border-radius: 20px;
}

.card2{
    display: flex;
    flex-direction: column;
    position: center;
    align-items: center;
    /* width: 100%; */
    /* Add max-width for smaller screens  */
    /* max-width: 100%;   */
    /* max-height: 10%; */
    margin: auto;
    /* margin-top: 4%;
    margin-bottom: 4%; 
    margin-left: 20%; 
    margin-right: 20%; */

    /* opacity: 0.8; */
    padding: 3%;
    /* border-radius: 20px; */
}

.container {
    height: 100%;
    /* width: 100%; */
}

.row {
    margin-bottom: 0; /* Remove any default bottom margin */
}

img {
    /* padding: 2%;
    height: 20%;
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px; */

    display: flex;
    height: 12%;
    width: 12%;
    margin-left: auto; 
    margin-right: auto;  
    
}

.row h2{
    font-family: 'Poppins';
    font-size: 20px;
    /* font-style: bold; */
    font-weight: 800;
    line-height: normal;
    color: var(--maroon);
    text-align: center;
    /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25); */
    padding-bottom: 5%;
    /* padding-top: 1%; */
    margin-bottom: -2%;
}

.row h4{
    font-family: 'Poppins';
    font-size: 16px;
    color:var(--maroon); 
    text-align:center;
    font-weight: 600;
    margin-bottom: -8%;
    margin-bottom: -8%;
}

.row label{
    /* position: center;
    max-width: 40%;
    margin: -3% 0;
    margin-left: 30%;
    margin-right: 30%; */
    color: var(--maroon);
    text-align: center;
    font-family: 'Poppins';
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: -2%;
    /* margin-left: 25%;
    margin-right: 25%; */
}

.input-field
{
    max-width: 100%;
    /* position: center;
    margin: -3% 0;
    max-width: 40%;
    width: 100%;
    margin-left: 30%;
    margin-right: 30%; */
    /* height: 35px; */
    background-color: #f0f0f0;
    margin: 10px 0;
    /* margin-left: 70px; */
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 1.0rem;
    position: relative;
}

/* .input-field {
    max-width: 100%;
    margin: 10px 0;
} */

.input-field i
{
    text-align: center;
    line-height: 35px;
    color: #acacac;
    font-size: 1.1rem;
}

.input-field input
{
    width: 250px;
    background: none;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 400;
    font-size: 12px;
    color: #333;
    
}

.input-field input:placeholder-shown
{
    color: #aaa;
    font-weight: 500;
}


.row .password-container i{
    /* margin-left: 500px; */
    /* width: 20.808px;
    height: 20.685px; */
    flex-shrink: 0;
    cursor: pointer;
    margin-bottom: 2%;
}

/* .row .form-group button{
    width: 100%; 
    margin: 20px 0; 
    margin-left: 170px;
    height: 50px;
    flex-shrink: 0;

    border-radius: 18px;
    background: #9F0303;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
} */

.row .form-group button {
    /* display: inline-flex; */
    position: center;
    width: 40%;
    margin: -3% 0;
    margin-top: 1%;
    margin-left: 30%;
    margin-right: 30%;
    margin-bottom: 2%;

    border-radius: 15px;
    background: var(--maroon);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    /* box-shadow: 0px 4px 4px 0px rgba(255, 255, 0, 0.25), 0px 4px 4px 0px rgba(255, 255, 0, 0.25);  */

    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-items: center;

    transition: background 0.3s ease-in-out;
}

.row .form-group button:hover {
    background: rgb(102, 23, 23)
}

.row a{
    
    text-decoration: none; 
    color:var(--maroon);
    font-size: 12px;
    font-weight: 500;
}

.row .form-group input, 
.form-group select {
    font-size: 12px;
}

/* Your existing styles */

/* Media query for screens up to 768px width (typical tablet size) */
@media only screen and (max-width: 768px) {
    body {
        padding-left: 2%;
        padding-right: 2%;
    }

    .card,
    .card2 {
        max-width: 80%;
    }

    img {
        height: 12%;
        width: 12%;
    }

    .row h2 {
        font-size: 18px;
    }

    .row h4 {
        font-size: 14px;
    }

    .row label,
    .input-field input {
        font-size: 12px;
    }

    .row .form-group input,
    .form-group select {
        font-size: 10px;
    }
}

/* Media query for screens up to 576px width (typical mobile size) */
@media only screen and (max-width: 576px) {
    body {
        padding-left: 1%;
        padding-right: 1%;
    }

    .card,
    .card2 {
        max-width: 80%;
        height: auto;
    }

    img {
        height: 14%;
        width: 14%;
    }

    .row h2 {
        font-size: 16px;
    }

    .row h4 {
        font-size: 12px;
    }

   
    .input-field input {
        font-size: 10px;
        width: 100%;
    }

    .row .form-group input,
    .form-group select {
        font-size: 10px;
    }
}
