*{
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --red: #AA0000;
    --text-light: #555;
}
main{
    width: 100%;
    height: 100%;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 400px) {
    main{
        margin: 0;
    }
}
.mt{
    margin-top: 20px;
}
.card{
    display: flex;
    flex-direction: column;
    background-color: #fff; 
    margin: 0px 10px 0px 10px;
    border-radius: 10px;
    position: fixed;
    width: 95%;
    max-width: 600px;
}
.full-content, .initial-content {
    overflow-y: auto;
}
@media screen and (min-width: 500px) {
    /* .card{
        width: 500px;
    } */
}
.card>h1{
    text-align: center;
    color: white;
    margin: 20px 0 0 0;
    font-size: 1.5rem;
}
.card .inner{
    flex-grow: 1;
}
.card .inner .top{
    width: 100%;
    display: flex;
    justify-content: space-around;
    /* position: absolute;
    top: 9px;
    left: 0; */
}
.card .inner .top .left{
    width: 60%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card .inner .top .left h1{
    font-size: 1.5rem;
}
.card .inner .top .left h2, td{
    font-size: 1.125rem;
    color: var(--text-light);
}
td{
    font-weight: bold;
}

.card .inner .top .right{
    /* width: 40%; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin-bottom: 20px;

}
.card .inner .top .right > img{
    width: 100%;
    max-width: 180px;
    /* height: 100%; */

}
.card .inner .text{
    padding: 10px;
}
.card .inner .text p{
    color: var(--text-light);
}

.card .inner form{
    width: 100%;
}
.card .inner form .names{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.card .inner form .names > input{ 
    width: 400px !important;
    height: 40px;
}

.card .inner form input {
    padding: 5px 0px 5px 0px;
    border-radius: 5px;
    outline: none;
    border: none;
    /* background-color: #aaa; */
    padding-left: 15px;
    color: #3E3E3E;
    border: 1px solid #aaa;
}

.card .inner form input::placeholder{
    /*text-align: center;*/
    color: #DDDDDD;
}
.card .inner form .phoneInput{
    width: 100%;
    min-width: 300px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


#phone, #email{ 
    width: 400px !important;
    height: 40px;
}

#phone{ 
    padding-left: 80px !important;
}
.text2{
    width: 80%;
    margin: auto;
    margin-top: 5px;
}
.text2 p{
    text-align: center;
    font-size: 13px;
}
.submit{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 0 0;
}
.submit > input{
    width: 400px;
    padding: 10px 0 10px 0 !important;
    border-radius: 15px !important;
    background-color: var(--red) !important;
    font-size: 1.0rem;
    font-weight: 550;
    cursor: pointer;
}
.terms{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 5px;
    font-size: 14px;
    /* margin-bottom: 20px; */
}


@media screen and (max-width: 520px) {
    /* #phone, #email, .submit{
        width: 90vw !important;
    } */

    .submit{
        margin: auto;
        margin-top: 20px;
    }
    .names > input{
        width: 44vw !important;
    }
    .card .inner .top .left h2, td {
        font-size: 0.9rem;
        color: var(--text-light);
    }
    .next-btn a {
        text-decoration: none;
        text-align: center;
        width: 100% !important;
        margin: 0 auto;
        border-radius: 50px;
    }
}
@media screen and (max-width: 500px) {
    main{
        padding-top: 0px !important;
    }
   
    /* .card .inner form input,.btn-primary,.next-btn a{
        border-radius: 0px !important;
    } */
    #phone, #email, .submit{
        width: 100% !important;
    }
    .card .inner form .names > input{
        width: 100% !important;
    }
    .names > input{
        width: 100% !important;
    }
    .next-btn a {
        text-decoration: none;
        text-align: center;
        width: 100% !important;
        margin: 0 auto;
        border-radius: 50px;
    }
}

@media screen and (max-width: 350px) {
    #phone, #email, .submit{
        width: 100% !important;
    }
    .names > input{
        width: 100% !important;
    }
    .card .inner form .phoneInput{
        min-width: 100% !important;
    }
    .next-btn a {
        text-decoration: none;
        text-align: center;
        width: 100% !important;
        margin: 0 auto;
        border-radius: 50px;
    }
}

span.answer{ 
        color: var(--red) !important;
    }
.error {
    /*border: 1px solid red !important;*/
        outline: 1px solid red !important;
}
.text ul{
    padding-left: 7%;
}

.list-group {
     
    /* height: calc(100vh - 360px); */
    overflow-y: auto;
}
