:root{
    --red: #e4002b;
    --light: #f2f2f2;
}

@font-face {
    font-family: 'neusa_bold';
    src: url('fonts/neusanextstd-widebold-webfont.woff2') format('woff2'),
         url('fonts/neusanextstd-widebold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'neusa_medium';
    src: url('fonts/neusanextstd-widemedium-webfont.woff2') format('woff2'),
         url('fonts/neusanextstd-widemedium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'neusa_regular';
    src: url('fonts/neusanextstd-wideregular-webfont.woff2') format('woff2'),
         url('fonts/neusanextstd-wideregular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body{
    background: #000000 url(images/bg-inicial.png);
    margin: 0;
    padding: 0;
    font-family: 'neusa_regular';
    min-height: 100vh;
    position: relative;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}


body.last-screen{
    background: #000000 url(images/bg.png);
    margin: 0;
    padding: 0;
    font-family: 'neusa_regular';
    min-height: 100vh;
    position: relative;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.container {
    font-family: 'neusa_regular';
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 80px;
    position: relative;
}

.line{
    position: absolute;
    background: url(images/line.png);
    background-size: contain;
    background-repeat: repeat;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 12px;
}

.logo{
    display: none;
}

.logo.visible{
    display: flex !important;
}

.logo img{
    width: 70px;
    margin-bottom: 20px;
}

.quiz-start {
    background-color: #000000;
    border-radius: 15px;
    border: solid 2px var(--red);
    width: 500px;
    padding: 35px;
    text-align: center;
}

.quiz-container.black {
    background-color: #000000 !important;
    padding: 0 !important;
}

.quiz-container.no-padding{
    padding: 0 !important;
    margin-bottom: 20px;
}

.welcome-screen .top{
    padding: 30px;
    border-bottom: solid 2px var(--red);
}

.welcome-screen .bottom{
    padding: 20px 30px;
}

.welcome-screen h1{
    color: #ffffff;
    font-family: 'neusa_bold';
    font-size: 22px;
    margin: 0;
}

.welcome-screen p{
    color: #ffffff;
    font-family: 'neusa_regular';
    margin-bottom: 30px;
    font-size: 16px;
}

.welcome-screen .start-btn{
    text-transform: uppercase;
    background-color: var(--red);
    color: #ffffff;
    font-family: 'neusa_bold';
    font-size: 15px;
    border: 0;
    outline: none;
    padding: 9px 12px 7px;
    border-radius: 5px;
    line-height: 100%;
    cursor: pointer;
}

.quiz-container {
    background-color: var(--light);
    border-radius: 15px;
    border: solid 2px var(--red);
    width: 500px;
    padding: 35px;
    text-align: center;
    overflow: hidden;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.progress-bar {
    display: flex;
    flex-grow: 1;
}

.question-counter {
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    margin-right: 25px;
}

.progress-segment {
    flex: 1;
    height: 10px;
    background-color: #ffffff;
    margin: 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: solid 1px #000000;
}

.progress-segment.active {
    background-color: var(--red);
}

.question {
    margin-bottom: 25px;
    font-family: "neusa_bold";
    font-size: 19px;
    line-height: 1.2;
}

.options {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.option {
    flex: 1;
    padding: 15px;
    margin: 0 0 10px 0;
    border: 2px solid #00000060;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background-color: #f0f0f0;
}

.option.selected {
    border-color: var(--red);
    background-color: var(--red);
    color: #FFffff;
}

.btnContainer{
    display: flex;
    justify-content: flex-end;
}

.next-btn {
    color: #000000;
    border: solid 1px #000000;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    transition: all ease .3s;
}

.next-btn:hover{
    background-color: var(--red);
    color: #ffffff;
}


.next-btn:hover svg{
    fill: #ffffff !important;
}

.next-btn svg{
    fill: #000000;
    width: 10px;
}



.quiz-content img{
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.popupContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    z-index: 1000;
}

.popup {
    border-radius: 10px;
    border: solid 1px var(--red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 400px;
    padding: 40px;
    text-align: center;
    position: relative;
    background-color: #000000;
}

.popup.tip img{
    max-width: 100%;
    border-radius: 8px;
}

.popup.tip h4{
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 0;
}

.popup.tip hr{
    border: none;
    color: var(--red);
    height: 1px;
    background-color: var(--red);
    width: 200px;
    margin: 15px auto;
}

.popup.tip p{
    margin-bottom: 0;
    color: #ffffff;
    line-height: 125%;
    font-size: 15px;
}

.popup-close.white{
    color: #ffffff;
}

.popup.warning{
    background-color: var(--red);
}

.popup.warning img{
    max-width: 70px;
    margin: 0 auto;
}

.popup.warning p{
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
    line-height: 125%;
}

.popup.warning hr{
    width: 120px;
    color: #ffffff;
    height: 1px;
    background-color: #FFffff;
    border: none;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.result-container {
    display: none;
    flex-direction: column;
    align-items: center;
}

.result-container .top{
    padding: 30px 30px 50px;
}

.result-container .top h1{
    font-size: 22px;
    margin-bottom: 0;
}

.result-container .bottom{
    padding: 0 30px 40px;
/*    background-color: var(--red);*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.result-container .iconContainer{
    background-color: #ffffff;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: solid 1px var(--red);
    padding: 12px;
    position: relative;
    top: -30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon {
    max-width: 100%;
}

#result-title{
    color: #FFffff;
    font-size: 24px;
    margin-bottom: 0;
    font-family: "neusa_bold";
    position: relative;
    top: -20px;
}

#result-text{
    color: #FFffff;
    font-size: 17px;
    margin-bottom: 0;
    margin-top: 0;
}

#add-result{
    border-top: solid 1px #ffffff;
    padding-top: 20px;
    margin-top: 20px;
    color: #FFffff;
}

#add-result p{
    line-height: 125%;
    font-size: 14px;
}

#add-result li{
    margin-bottom: 10px;
    line-height: 125%;
    font-size: 14px;
    text-align: left;
}

.result1 {
    background-color: #0e41aa;
}
.result2 {
    background-color: #4a1968;
}
.result3 {
    background-color: #e4002b;
}

.quiz-social .text{
    color: #FFffff;
    font-size: 17px;
    margin-bottom: 15px;
    font-family: "neusa_bold";
}

.redes{
    display: flex;
    align-items: center;
    padding: 7px 30px;
    background-color: rgba(0, 0, 0, 0.8);
    border: solid 1px #ffffff;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
}

.redes a{
    background-color: #ffffff;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    margin-right: 10px;
    border: solid 1px #ffffff;
    transition: all ease .4s;
}

.redes a:hover{
    background-color: #000000;
}

.redes a:hover svg{
    fill: #ffffff;
}

.redes a svg{
    fill: #000000;
    max-width: 100%;
    max-height: 100%;
}

.redes p{
    color: #ffffff;
    font-size: 16px;
}


@media (max-width:767px){

    .container{
        padding: 60px 40px !important;
        justify-content: center;
    }
    
    .quiz-container {
        width: auto !important;
    }
    
    .quiz-social .text {
        font-size: 14px;
        font-family: "neusa_bold";
        text-align: center;
    }

    .welcome-screen h1 {
        font-size: 17px;
    }

    .welcome-screen p,
    .option {
        font-size: 14px;
    }

    .question {
        font-size: 17px;
    }

    .quiz-content img {
        max-height: 120px;
    }
}

@media (max-width:500px){

    #result-title{
        font-size: 20px;
    }

    .container{
       padding: 60px 20px !important;
    }
    
    .redes {
        padding: 7px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .quiz-container {
        padding: 35px 25px;
    }

    .popup{
        width: 250px;
        max-width: 60vw;
    }
}
