/*base style*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Roboto";
    overflow-x: hidden;
    overflow-y: hidden;
    max-width: 160rem;
}

aside {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: cornflowerblue;
    color: #fff;
    height: 100vh;
    text-align: center;
}

main {
    display: none;
}

@media screen and (min-width: 1024px) {
    aside {
        display: none;
    }

    main {
        display: block;
    }

a {
    text-decoration: none;
    color: inherit;
}

html {
    font-family: "Roboto";
    overflow-x: hidden;
    overflow-y: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

input,
button {
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
}

i {
    font-size: var(--font-size-md);
}

/* sign-up */
.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 100vh;
    width: 100vw;
}

#login-alert {
    margin-top: .5em;
    color: rgba(255, 0, 0, .7);
}

#login-submit {
    opacity: .4;
}


.login-page img {
    margin-block: 2em;
    width: 10vw;
    height: 10vw;
}

.login-page .title {
    font-size: 3em;
    margin-bottom: 1em;
}

.name-signUp {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 1em;
}

.name-signUp h3 {
    margin-right: 1em;
}

.name-signUp .text {
    background-color: rgba(128, 128, 128, .1);
    height: 2vw;
    width: 20vw;
    padding: 1em;
    margin-right: 1em;
}

.name-signUp .submit {
    background-color: rgb(45, 45, 221);
    color: #fff;
    width: 5vw;
    padding-block: 1vw;
    border-radius: 5px;
    cursor: pointer;
}

/* home */
.home {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 100vh;
    width: 100vw;
}


.cbt {
    margin-block: 2em;
}

.home img {
    margin-block: 2em;
    width: 10vw;
    height: 10vw;
}

.home .title {
    font-size: 3em;
    margin-bottom: 1em;
}

.home .sub-title {
    margin-bottom: 1em;
    font-size: 2em;
}

.time-instruct {
    margin-block: 1em;
    font-size: 2em;
    font-weight: bold;
}

.descript-instruct ul {
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    list-style-type: disc;
}

.descript-instruct ul li {
    margin-bottom: .8em;
}

.descript-instruct ul li span{
    font-weight: bold;
}

.start {
    position: absolute;
    right: 5%;
    bottom: 5%;
    background-color: rgb(45, 45, 221);
    color: #fff;
    width: 5vw;
    padding-block: 1vw;
    border-radius: 5px;
    cursor: pointer;
}

.start:before {
    content: "";
    border-radius: 5%;
    width: 85px;
    height: 50px;
    right: 0;
    bottom: 0;
    border: 4px solid rgba(45, 45, 221, .7);
    position: absolute;
    animation: grow .5s infinite;
}

@keyframes grow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

/* Questions */

.Questions {
    height: 100vh;
    width: 100vw;
}

.timer {
    display: flex;
    align-items: center;
    margin-right: 10em;
    height: 10vh;
    width: 100vw;
    background-color: rgb(250, 249, 249);
}

.timer-num {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 20vw;
    margin-left: 83vw;
    height: 10vh;
    background-color: cornflowerblue;
    font-size: 1.2em;
    color: #fff;
    padding: 1em;
    border-radius: 5px;
}

.timer-num p {
    
    margin-right: .5em;
}

.countDown {
    
    margin-left: 1em;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 10vh;
    justify-content: space-around;
}

.nav li {
    background: cornflowerblue;
    /* padding: 10px 15px; */
    margin-left: 6px;
    border-radius: 50%;
    width: 2vw;
    height: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: .5;
}

.nav li.active {
    opacity: 1 !important;
}

.question {
    display: none;
    height: 70vh;
    width: 100vw;
}

.question.active {
    display: block;
    height: 70vh;
    width: 100vw;
}

.invisble {
    display: none;
}


.number {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2em;
}

.q-num {
    width: 2vw;
    height: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: cornflowerblue;
    color: #fff;
    padding: .5em;
    margin-bottom: 2em;
}

.q-ask {
    height: 30vh;
    background-color: rgb(250, 249, 249);
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    padding: 1em;
    margin-bottom: 2em;
}

.options {
    height: 30vh;
    display: flex;
    flex-direction: column;
}

.q-ask,
.options {
    margin-inline: 1em;
    margin-bottom: 1em;
}

.option {
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 1.3em;
    font-weight: lighter;
    margin-bottom: .1em;
}

input[type="radio"] {
    width: 30px;
    height: 30px;
    margin-right: 1em;
}

.prev-next {
    height: 10vh;
    margin-inline: 5em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.previous {
    background-color: rgb(45, 45, 221);
    color: #fff;
    width: 5vw;
    padding-block: 1vw;
    border-radius: 5px;
    cursor: pointer;
}

.next.disabled,
.previous.disabled {
    cursor: pointer;
    opacity: .5;
}

.next {
    background-color: rgb(45, 45, 221);
    color: #fff;
    width: 5vw;
    padding-block: 1vw;
    border-radius: 5px;
    cursor: pointer;
}

#start-submit {
    position: relative;
    display: block;
    background-color: green;
    display: none;
}

#start-submit:before {
    position: absolute;
    border-color: green;
}

.q-input {
    border: 5px solid cornflowerblue;
    margin-left: 50%;
    height: 4vh;
    width: 6vh;
    padding: .5em;
    display: none;
    margin-bottom: 2em;
}

/* submit Request */

.submit-request {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.submit-request h1 {
    font-size: 2em;
    margin-bottom: 2em;
}

.submit-request p {
    margin-bottom: 1em;
    font-size: 7em;
    margin-bottom: 2em;
}

.submit-yes-no {
    width: 50vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#submit-no,
#submit-yes {
    background-color: rgb(45, 45, 221);
    color: #fff;
    width: 5vw;
    padding-block: 1vw;
    border-radius: 5px;
    cursor: pointer;
}



}