@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@200;300;400;500;600&family=Glegoo&display=swap');

*,
html {
    margin: 0;
}

:root {
    /* font sizes */
    --fs-h1: 3em;
    --fs-h2: 2.5em;
    --fs-h3: 2em;
    --fs-h4: 1.5em;
    --fs-h6: 1.5em;
    --fs-btn: 1.25em;

    /* colors */
    --clr-white: #fff;
    --clr-ltgrey: #cfd3d7;
    --clr-grey: #4f606c;
    --clr-teal: #243e50;
    --clr-red: #c82255;
    /*#BF0011*/
    --clr-green: #248181;
    --clr-water: rgb(175, 212, 222);

    /* font-family */
    --ff-glegoo: "Glegoo", "Courier New", Courier, monospace;
}

@media screen and (max-width:1400px) {
    :root {
        --fs-h2: 2.25em;
    }
}

@media screen and (max-width:1280px) {
    :root {
        --fs-h2: 2em;
        --fs-h3: 1.5em;
    }
}

@media screen and (max-width:705px) {
    :root {
        --fs-h1: 2.25em;
    }
}

@media screen and (max-width:529px) {
    :root {
        --fs-h1: 2em;
    }
}

@media screen and (max-width:472px) {
    :root {
        --fs-h1: 1.7em;
    }
}

@media screen and (max-width: 402px) {
    :root {
        --fs-h1: 1.5em;
    }
}

@media screen and (max-width:799px) {
    body {
        background: var(--clr-teal);
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--ff-glegoo);
}

h1 {
    font-size: var(--fs-h1);
    margin: 0;
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-weight: 100;
}

h6 {
    font-weight: 300;
    color: var(--clr-water);
}

p {
    line-height: 1.5em;
}

.teal-body {
    /* background: #001C34; */
    background-color: var(--clr-teal);
    /* max-height: 100vh; */
    /* max-width: 1100px; */
    height: 100vh;
    max-width: 70vw;
    /* margin: 0 auto;
    display: block; */
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    /* margin-left: auto;
    margin-right: auto; */
    padding: 0 30px;
    /* scroll-behavior:smooth;
    overflow: visible !important; */
    color: var(--clr-white);
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

@media screen and (max-width:800px) {
    .teal-body {
        max-width: 100%;
        /* height: unset; */
    }
}
.quiz-header {
    background-color: var(--clr-teal);
    height: 50px;
    margin-top: 10px;
}
@media screen and (min-width: 1800px){
    .quiz-header {
        height: 100px;
    }
}

.quiz-header--toolbar {
    /* padding: 20px 0px; */
    height: 50px;
    display: grid;
    /* grid-template-columns: 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
    grid-template-areas: 
        "logo presents title subtitle later later later"; */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "logo title later";
}

.quiz-header--toolbar img {
    width: 35%;
    grid-area: logo;
    align-self: center;
}

.logo {
    display: block;
    min-width: 125px;
}

.logo-sm {
    display: none;
}

@media screen and (max-width: 450px) {
    .quiz-header--toolbar {
        grid-template-columns: 1fr 2fr 1fr;
    }

    .logo {
        display: none;
    }

    .logo-sm {
        display: block;
        min-width: 50px;
        margin: -20px -10px -20px;
    }
}

@media screen and (max-width: 319px) {
    .quiz-header--toolbar {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* .quiz-header--toolbar:nth-child(2) {
    grid-area: presents;
} */
.quiz-header--toolbar h4 {
    grid-area: title;
    justify-self: center;
    align-self: center;
    color: rgb(175, 212, 222);
    line-height: .8em;
}
@media screen and (min-width: 1800px){
    .quiz-header--toolbar h4 {
        font-size: 2em;
        margin-top: 10px;
    }
}
.quiz-header--toolbar h4 span {
    font-size: .5em;
    font-family: "Be Vietnam Pro", sans-serif;
    padding-left: 30%;
}

/* .quiz-header--toolbar:nth-child(4) {
    grid-area: subtitle;
} */

.expand {
    flex: 1 1 auto;
    background-color: var(--clr-teal);
}

/* <!-- PHRASE and PROGRESS --> */
.phrase-prog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "phrase progress";
}

@media screen and (max-width:1200px) {
    .phrase-prog {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "progress"
            "phrase";
    }

}

.question-header {
    grid-area: phrase;
    justify-self: left;
}

/* @media screen and (max-width:1200px){
    .question-header {
        justify-self: center;
    }
} */

.pBarContainer {
    /* margin-top: 13px;
    display: grid;
    justify-items: center; */
    /* display: inline-grid; */
    justify-self: right;
    /* width: 50%; */
    grid-area: progress;
    align-self: center;
}

@media screen and (max-width:1200px) {
    .pBarContainer {
        justify-self: center;
        margin-bottom: 30px;
    }
}

.pBar {
    display: block;
    height: 25px;
    /*was 30h 50w*/
    width: 25px;
    border: 1px solid var(--clr-teal);
}


#sp00 {
    float: left;
    background-color: var(--clr-grey);
}

#sp01 {

    float: left;
    background-color: var(--clr-grey);
}

#sp02 {
    float: left;
    background-color: var(--clr-grey);
}

#sp03 {
    float: left;
    background-color: var(--clr-grey);
}

#sp04 {
    float: left;
    background-color: var(--clr-grey);
}

#sp05 {
    float: left;
    background-color: var(--clr-grey);
}

#sp06 {
    float: left;
    background-color: var(--clr-grey);
}

#sp07 {
    float: left;
    background-color: var(--clr-grey);
}

#sp08 {
    float: left;
    background-color: var(--clr-grey);
}

#sp09 {
    float: left;
    background-color: var(--clr-grey);
}

#tryAgain,
#certBtn,
#certMultClick,
#over80img {
    display: none;
}

.content {
    background: var(--clr-teal);
    /* min-height: 100vh;
    margin: 0 auto; */
    box-sizing: border-box;
    position: relative;
    width: 100%;
    /* max-width: 1000px; */
    max-width: 55vw;
    margin: 0 auto;
}
@media screen and (min-width: 2000px){
    .content {
        max-width: 1000px;
    }
}
@media (min-width: 1020px) and (min-height: 600px) {
    .content {
        padding: 0;
        text-align: left;
        align-content: center;
    }
}

@media screen and (max-width: 1200px) {
    .content {
        max-width: 80vw;
    }
}

.content__section {
    /* max-width: 900px;
    margin: 0 auto; */
    position: relative;
    display: grid;
    /* grid-template-columns: 2fr 1fr;
    grid-template-areas:
        "title img"
        "text img"
        "button img";
}
@media screen and (max-width:1200px) and (min-width: 800px){
    .content__section{ */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: 
    "title title title"
    "text text img"
    "button button button";
    justify-content: center;
}

/* } */
@media screen and (max-width:799px) {
    .content__section {
        grid-template-columns: 1fr;
        grid-template-areas: 
        "img"
        "title"
        "text"
        "button";
    }
}

.content__section#pgSignUp {
    padding-top: 50px;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "title"
        "text";
    justify-items: center;
}

.content__section--title,
.content__section--text,
.content__section--img-container,
.content__section--button {
    align-self: center;
}

.content__section--title {
    grid-area: title;
}

@media screen and (max-width:799px) {
    .content__section--title {
        justify-self: center;
    }
}

.content__section--text {
    grid-area: text;
    padding-right: 4em;
}

@media screen and (max-width: 799px) {
    .content__section--text {
        padding-right: 0;
    }
}

.content__section--img-container {
    grid-area: img;
    /* margin-right: -25px; */
    justify-content: center;
    display: grid;
}

@media screen and (max-width: 799px) {
    .content__section--img-container {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 339px) {
    .responsiveImage {
        width: 200px;
    }
}

/* .content__section--button {
    margin-top: 30px;
} */
.content__section--button-register {
    justify-self: center;
    margin-top: 20px;
}

.content__section--button button {
    display: inline-block;
    width: 200px;
    height: 50px;
    background-color: var(--clr-red);
    border: none;
    color: var(--clr-white);
    font-family: "Glegoo", "Courier New", Courier, monospace;
    font-size: var(--fs-btn);
    border-radius: 10px;
    transition: all 0.5s;
    cursor: pointer;
}
@media screen and (max-width: 799px) {
    .content__section--button {
        justify-self: center;
    }
}

@media screen and (max-width: 500px) {
    .content__section--button {
        justify-self: unset
    }

    .content__section--button button {
        width: 100%;
    }
}

.content__section--button button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: .5s;
}

.content__section--button button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: .5s;
}

.content__section--button button:hover span {
    padding-right: 25px;
}

.content__section--button button:hover span:after {
    opacity: 1;
    right: 0;
}

.pBarContainer span {
    display: grid;
    justify-content: center;
    border-radius: 50%;
}

.allBtns {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: 
        "pre phish valid post" 
        "pre submit submit post"; */
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "phish submit valid";
    margin-top: 50px;
    margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
    .allBtns {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "phish valid"
            "submit submit";
        grid-row-gap: 30px;
    }
}

@media screen and (max-width: 500px) {
    .allBtns {
        grid-template-columns: 1fr;
        grid-template-areas:
            "phish"
            "valid"
            "submit";
        grid-row-gap: 30px;
    }
}

/* .answerBtns { */
/* display: grid; 
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    width: 50%; */
/* margin: 30px auto;
} */
.answerButtons[value='A'],
.answerButtons[value='B'] {
    background-color: var(--clr-water);
    color: var(--clr-teal);
}

.answerButtons[value='A'] {
    grid-area: phish;
    margin: 0 10px;
}

.answerButtons[value='B'] {
    grid-area: valid;
    margin: 0 10px;
}

@media screen and (max-width: 900px) {

    .answerButtons[value='A'],
    .answerButtons[value='B'] {
        margin: 0;
    }
}

.answerButtons[value='A']:hover,
.answerButtons[value='A']:visited {
    background-color: var(--clr-red);
    color: white;
    transition: 0.5s;
}

.answerButtons[value='B']:hover {
    background-color: var(--clr-green);
    color: white;
    transition: 0.5s;

}

.submitBtn {
    grid-area: submit;
}

.nextBtns {
    display: grid;
    justify-items: center;
}

/* .answerBtns button {
    background-color: var(--clr-ltgrey);
    color: var(--clr-grey);
} */
/* .content-register {
    height: 115vh;
} */
.content__section--register {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "title img"
        "text img"
        "imgA img";
    margin-top: 30px;
    justify-content: center;
}

.content__section--register-form {
    max-width: 600px;
    margin: 0 auto;
    grid-template-areas:
        "form"
        "button";
    display: grid;
    grid-template-columns: 1fr;
}

.content__section--register-fieldset {
    grid-template-areas:
        "title1"
        "imgA"
        "title2"
        "imgB"
        "title3"
        "imgC";
    display: grid;
    grid-template-columns: 1fr;
}

::placeholder {
    color: var(--clr-grey);
}

.register-input {
    height: 50px;
}

.register-name {
    grid-area: title1;
}

.register-input-name {
    grid-area: imgA;
}

.register-lastname {
    grid-area: title2;
}

.register-input-lastname {
    grid-area: imgB;
}

.register-email {
    grid-area: title3;
}

.register-input-email {
    grid-area: imgC;
}

.form-questions {
    margin: 30px 0;
}

.form-questions label {
    margin-right: 2em;
}

#certMultClick {
    font-size: .7em;
    margin-top: 30px;
}

/* .content__section--pages{
    text-align: center;
} */
fieldset {
    border: none;
}

label,
input {
    margin-top: 1em;
    font-size: var(--fs-h6);
    /* margin-right: 2em; */
}

input[type="radio"] {
    transform: scale(2);
    margin-right: 20px;
}

footer {
    position: absolute;
    bottom: 0;
    padding: 20px 0;
}

@media screen and (max-width:799px) {
    footer {
        position: static;
    }
}