/************************
 * HEADER
 ************************/
.atwm-main-header {
    background-color: var(--brand-color-red);
    background-image: url('../images/header-pattern.png');
    background-size: 110px auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
.atwm-footer {
    background-color: var(--brand-color-red);
    background-image: url('../images/header-pattern.png');
    background-size: 110px auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
.atwm-main-header h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}
.atwm-logo {
    max-width: 400px;
    margin: 0 auto !important;
}
.atwm-questions-header .atwm-logo {
    max-width: 240px;
}
.atwm-sound-icon {
    cursor: pointer;
    margin-right: 20px;
}
#atwm-audio-play-icon {
    display: none;
}


.atwm-footer-button p {
    text-align: center;
    margin-top: 30px;
}

.atwm-main-content {
    padding-top: 60px;
    padding-bottom: 60px;
    color: var(--brand-color-green);
}
.atwm-main-content .wpb_column {
    margin: 0 auto;
    max-width: 990px;
    float: none;
}

.atwm-result-container {
    text-align: center;
    font-weight: 500;
    color: var(--brand-color-green);
}
.atwm-result-description {
    font-size: 36px;
}
.atwm-result {
    font-size: 42px;
}

.main-atwm-main-patter-bg {
    background-image: url('../images/main-patter-bg-new.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}


.atwm-footer-button a {
    background-color: #EBF7F0;
    font-size: 30px;
    font-weight: 500;
    color: var(--brand-color-green);
    cursor: pointer;
    padding: 8px 40px;
    padding-bottom: 14px;
    border-radius: 36px;
    transition: all 0.3s ease;
    min-width: 300px;
    text-align: center;
    text-decoration: none;
}
.atwm-footer-button a:hover {
    background-color: var(--brand-color-green);
    color: #EBF7F0;
}


/************************
 * QUESTIONS
 ************************/
.atwm-question-row {
    display: none;
}
.atwm-question-row.show {
    display: table;
    width: 100%;
}
.atwm-question {
    margin-bottom: 150px;
}
.atwm-question h2 {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
    color: var( --brand-color-green );
    font-size: 40px;
    font-weight: 500;
}
.atwm-question .atwm-image-colors-container {
    display: flex;
    transition: all 0.5s ease;
}
.atwm-question.open .atwm-image-colors-container {
    gap: 8px;
}
.atwm-question .atwm-image {
    width: 0;
    max-width: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
}
.atwm-question.open .atwm-image {
    width: 50%;
    max-width: 1024px;
    height: 300px;
}
/*
.atwm-question .atwm-image::before {
    content: "";
    display: block;
    position: relative;
    padding-bottom: 50%;
    height: 0;
}
*/
.atwm-question .atwm-image img {
    display: block;
    position: absolute;
    height: 100%;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}
.atwm-question .atwm-colors {
    width: 100%;
    display: flex;
    gap: 16px;
    height: 300px;
}
.atwm-question.open .atwm-colors {
    gap: 8px;
}
.atwm-question.open .atwm-colors {
    width: 50%;
}
.atwm-colors span {
    width: 20%;
}

.atwm-answers-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 20px;
    justify-content: space-between;
}
.atwm-answers-container .atwm-answer {
    width: calc( 50% - 3px );
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: solid 1px var( --brand-color-green );
    color: var( --brand-color-green );
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    position: relative;
}
/*
.atwm-answers-container .atwm-answer:hover {
    border: solid 5px var( --brand-color-green );
    padding: 12px;
}
    */
.atwm-answers-container .atwm-answer.clicked::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var( --brand-color-red );
    background-image: url(../images/x-icon.svg);
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
}
.atwm-answers-container .atwm-answer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: solid 0 var( --brand-color-green );
    transition: all 0.2s;
}
.atwm-answers-container .atwm-answer:hover::after {
    border: solid 4px var( --brand-color-green );
}

.atwm-answers-container .atwm-answer.clicked {
    border: solid 1px var( --brand-color-red );
    color: var( --brand-color-red );
}
.atwm-answers-container .atwm-answer.clicked::after {
    border: solid 4px var( --brand-color-red );
}
.atwm-answers-container .atwm-answer.correct.clicked {
    border: solid 1px var( --brand-color-green );
    color: var( --brand-color-green );
}
.atwm-answers-container .atwm-answer.correct.clicked::before {
    background-image: url(../images/check-icon.svg);
    background-size: 70% auto;
}
.atwm-answers-container .atwm-answer.correct.clicked::after {
    border: solid 4px var( --brand-color-green );
}

.atwm-answers-container .atwm-answer.disabled {
    opacity: 0.5;
    pointer-events: none;
}


.atwm-answers-container .atwm-answer.correct.clicked::before {
    background-color: var( --brand-color-green );
}

.atwm-question-correct {
    display: none;
}
.atwm-question-hint-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(117, 33, 33, 0.75);
    align-items: center;
    justify-content: center;
}
.atwm-question-hint-container.popup {
    display: flex;
}
.atwm-question-hint {
    position: relative;
    background-color: #ffffff;
    border: solid 12px var( --brand-color-red );
    border-radius: 30px;
    padding: 50px;
    max-width: 700px;
    color: var(--brand-color-green);
    font-size: 35px;
}
.atwm-question-hint h3 {
    font-size: 45px;
    text-align: center;
    text-decoration: underline;
}
.atwm-question-hint p {
    text-align: center;
    margin-top: 60px;
}
.atwm-question-hint-close {
    width: 20px;
    height: 26px;
    background-image: url(../images/close-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}


.atwm-question-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.atwm-question-button-next,
.atwm-question-button-unwrap {
    border: 1px solid var(--brand-color-red);
    font-size: 30px;
    font-weight: 500;
    color: var(--brand-color-red);
    cursor: pointer;
    padding: 8px 40px;
    padding-bottom: 14px;
    border-radius: 36px;
    transition: all 0.3s ease;
    min-width: 300px;
    text-align: center;
}
.atwm-question-button-next:hover,
.atwm-question-button-unwrap:hover {
    background-color: var(--brand-color-red);
    color: #ffffff;
}
.atwm-question-button-next {
    display: none;
}