:root {
    /* dark shades of primary color*/
    --clr-primary-1: #c0deff;
    --clr-primary-2: #ffffff;
    --clr-primary-3: #337ab7;
    --clr-primary-4: #485667;
    /* primary/main color */
    --clr-primary-5: #30347f;
    --clr-primary-6: #393d94f1;
    /* lighter shades of primary color */
    --clr-primary-7: #001e42;
    --clr-primary-8: #002a5c;
    --clr-primary-9: #001228;
    --clr-primary-10: #bccbde;
    --clr-primary-11: #094181;
    --clr-primary-12: #485668;
    /* darkest grey - used for headings */
    --clr-grey-1: hsl(209, 61%, 16%);
    --clr-grey-2: hsl(211, 39%, 23%);
    --clr-grey-3: hsl(209, 34%, 30%);
    --clr-grey-4: hsl(209, 28%, 39%);
    /* grey used for paragraphs */
    --clr-grey-5: hsl(210, 22%, 49%);
    --clr-grey-6: hsl(209, 23%, 60%);
    --clr-grey-7: hsl(211, 27%, 70%);
    --clr-grey-8: hsl(210, 31%, 80%);
    --clr-grey-9: hsl(212, 33%, 89%);
    --clr-grey-10: hsl(210, 36%, 96%);
    --clr-white: #fff;
    --ff-primary: "Roboto", sans-serif;
    --ff-secondary: "Open Sans", sans-serif;
    --transition: all 0.3s linear;
    --spacing: 0.25rem;
    --radius: 0.5rem;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --max-width: 1170px;
}

/* section */
.section {
    padding: 5rem 0;
}

.section-center {
    width: 90%;
    margin: 0 auto;
    /* max-width: 700px; */
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
    color: #001228;
}

.bg-grey {
    background: var(--clr-grey-10);
}

.btn {
    text-transform: uppercase;
    background: var(--clr-primary-3);
    color: var(--clr-primary-2);
    padding: 0.375rem 0.75rem;
    letter-spacing: var(--spacing);
    /* display: block; */
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.875rem;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
}

.test-section {
    position: relative;
    background: url('../images/PLACEMENT TEST COVER 1.webp');
    background-size: contain;
    background-repeat: repeat;
}

.top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: auto;
}

.bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: auto;
}

/* .test-info-container {
    background: url('../images/PLACEMENT TEST COVER 1.jpg') repeat center;
    background-size: contain;
    background-position: top;
    background-repeat: repeat; 
} */

.test-title {
    padding: 3rem;
    background-color: var(--clr-grey-10);
}

.test-title h2 {
    text-transform: uppercase;
}

.underline {
    width: 11rem;
}

.test-info-container {
    width: 80%;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2rem;
}

.title {
    text-align: center;
    font-size: 0.6rem;
    margin-bottom: 1.5rem;
}

.info ol li {
    margin-top: 1rem;
}

.form-title {
    margin-bottom: 1rem;
}

.test-form {
    padding: 1rem;
    background: var(--clr-grey-10);
}

.test-btn i {
    margin-right: 0.5rem;
}

.test-btn {
    margin: 0 auto;
    /* width: 8rem; */
    border-radius: 0;
    font-size: 1rem;
    padding: 1rem;
}

.remove-test-btn {
    display: none;
}

.writing-test-btn {
    margin: 0 auto;
    border-radius: 0;
    font-size: 0.8rem;
    padding: 0.8rem;
}

.form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hidde-part {
    display: none;
}

.hidde-btn {
    display: none;
}

@media screen and (min-width: 991px) {
    .candidate-form form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 2rem;
    }

    #country {
        margin-left: 13rem;
    }

}

@media screen and (max-width: 990px) {

    .test-info-container {
        width: 90%;
    }
}

@media screen and (max-width: 496px) {

    .test-info-container {
        width: 95%;
    }

    .test-btn {
        font-size: 0.7rem;
        padding: 0.8rem;
    }

    .q-container {
        padding: 1.5rem;
    }

    .q-container h1 {
        font-size: 1.2rem;
    }
}

.message-filed {
    display: none;
    margin: 0 auto;
    padding: 1rem;
    width: 50%;
    border: 2px solid red;
}

.message-filed p {
    text-transform: capitalize;
    color: red;
    font-size: 1rem;
}

.show-message-filed {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* starting with exam questions */

.part {
    border: 8px solid var(--clr-grey-10);
    padding: 1rem;
    transition: var(--transition);
    margin-top: 2rem;
    /* background: url('../images/PLACEMENT TEST COVER 1.jpg') repeat top;
    background-size: contain; */
}

.part h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.question h4 {
    margin-bottom: 2rem;
}

.question p {
    color: black;
}

.qcontent h4 {
    text-align: center;
    margin-top: 3rem;
}

.question {
    margin-bottom: 1.5rem;
}

.question-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 70%;
}

.question-container img {
    width: 304px;
    height: 184px;
}

.q-container {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--clr-grey-5);
    margin-right: 0.5rem;
}


.q-container h1 {
    font-size: 1.5rem;
}

.question-container-part2 {
    display: grid;
    grid-template-columns: 1fr;
    width: 70%;
}

.question-container-part2 p {
    margin-top: 2rem;
}

.question-container-part4 p {
    margin-top: 1rem;
    margin-bottom: 0;
}

.answers-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem 1rem;
}

.answers-container img{
    width: auto;
    height: 100px;
}

.answers-container-part2{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 1rem;
    font-size: 1.2rem;
}

.label-box{
    font-size: 1.5rem;
}

@media screen and (max-width: 1057px) {
    .question-container {
        grid-template-columns: 1fr;
        /* margin-top: 1.5rem; */
        row-gap: 1rem;
    }

}

/* @media screen and (max-width: 426px) {
    .question-container-part2{
        width: 90%;
    }
    
  } */


/* design for table  */
.first-table {
    width: 250px;
}

.first-table td {
    text-align: center;
}

.first-table td i {
    color: green;
    margin-left: 0.3rem;
}

.first-table,
th,
td {
    border: 1px solid green;
}



.second-table {
    width: 850px;
}

.second-table td {
    text-align: center;
}


.third-table {
    width: 850px;
}

.third-table td {
    text-align: center;
}

.fa-check-circle {
    color: green;
}

.fa-times-circle {
    color: red;
}

.questions-field {
    width: 17%;
}

.writing-style {
    border: 2px solid green;
    width: 850px;
}

/* .answers-field{
        width: 88%;
    } */
.first-p {
    margin-bottom: 3rem;
}

#writing {
    width: 100%;
}


.countdown {
    border: 2px solid red;
    display: none;
    width: 120px;
    height: 90px;
    position: fixed;
    right: 1px;
    top: 180px;
    background-color: white;
    text-align: center;
    z-index: 100;
}

.countdown p {
    font-size: 2.8rem;
}

.showCountdown {
    display: flex;
    align-items: center;
    justify-content: center;
}