*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Playfair Display", serif;
    font-size: 75%;
}

body {
    background: #77cad4;
}

.app {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.logo {
    width: 140px;
    text-align: center;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4%;
}

.help {
    color: #142b2c;
}

.form-rez {
    position: absolute;
    left: 50%;
    bottom: 40%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: .4rem;
    transition: all .3s ease-in-out;
}

.slide.is-showing {
    display: block;
    padding-top: 1em;
}

.question,
.qtitle {
    width: 100%;
}

.answers {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 960px;
}

.answer,
.answer2 {
    display: block;
    position: relative;
    padding: 1.3rem;
    white-space: normal;
    cursor: pointer;
    background: #fff;
    margin: 1rem;
    max-width: 800px;
    transition: all .3s ease;
    color: #142b2c;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 800;
    height: 70px;
    width: 40%;
    border-radius: 1rem;
}

.answertxt {
    display: block;
    position: relative;
    padding: 1.3rem;
    white-space: normal;
    cursor: pointer;
    background: #fff;
    margin: 1rem;
    max-width: 800px;
    transition: all .3s ease;
    color: #142b2c;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 800;
    height: 70px;
    width: 40%;
    border-radius: 1rem;
}

.anstxtfield {
    max-width: 800px;
    transition: all .3s ease;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 1.3rem;
    white-space: normal;
    width: 90%;
    text-align: center;
}

.reason {
    border: none;
    background: #142b2c;
    color: #fff;
    width: 90%;
    font-size: 1.6rem;
    padding: .5rem .5rem .5rem 2rem;
    outline: none;
    margin-top: 1rem;
    border-radius: 1rem;
    font-family: "Playfair Display", serif;
}

::placeholder {
    color: #fff;
}

.gotovo {
    background: #142b2c;
    color: #fff;
    width: 90%;
    max-width: 120px;
    height: 50px;
    margin: 3rem auto;
    border: none;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-family: "Playfair Display", serif;
}

.answer:hover,
.answer2:hover,
.answertxt:hover {
    color: #fff;
    background: #353535;
}

.answer2.selected {
    color: #fff;
    background: #444444;
}

.anstext {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
}

.dalje {
    background: #dd5e12;
    color: #fff;
    width: 90%;
    max-width: 140px;
    height: 60px;
    margin: 0 auto;
    border: none;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 900;
}

.mark {
    display: none;
    padding-right: 1rem;
}

.show {
    display: block;
}

.nbtn {
    padding: 1rem;
    border: 1rem solid #000;
    font-size: 1.6rem;
    text-align: center;
    border-radius: 2rem;
    background: none;
    text-transform: uppercase;
    height: 150px;
    width: 150px;
    margin-top: 2rem;
    cursor: pointer;
}

.nbtn.show {
    display: block;
    margin: 0 auto;
}

.padalica {
    padding: .5rem;
    font-size: 1.4rem;
    background: #009fad;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
}

.np {
    cursor: auto;
}

.animg {
    height: 100%;
}

.nbtn:hover {
    background: #000;
    color: #fff;
}

.qnum {
    font-size: 1.4rem;
    padding-bottom: 2rem;
    padding-top: 1rem;
    color: #142b2c;
}

.qtext {
    color: #142b2c;
    font-size: 2.6rem;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 2rem;
    font-weight: 900;
}

.anspic {
    width: 100%;
}

.result {
    margin: 0 auto;
}

.reztitle {
    text-align: center;
    font-size: 4rem;
    padding: 8rem 1rem 2rem 1rem;
    text-transform: uppercase;
    color: #142b2c;
}

.reztext {
    font-size: 1.6rem;
    text-align: center;
    padding: 2rem 1rem 2rem 1rem;
}

.rezpic {
    width: 200px;
    margin: 0 auto;
    display: block;
    padding-bottom: 2rem;
}

.rezpic img {
    display: block;
    width: 100%;
    padding: 1rem;
}

.intro {
    margin: 0 auto;
    padding-top: 6rem;
}

.intro h1 {
    color: #142b2c;
    font-size: 4rem;
}

.lead {
    padding-top: 2rem;
    text-align: center;
    color: #142b2c;
    font-size: 1.4rem;
}

.reztext a {
    text-decoration: none;
    color: rgb(114, 0, 0);
    font-weight: 800;
}

.reztext a:hover {
    text-decoration: underline;
}

.frame {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    height: 240px;
}


.share {
    padding-top: 2rem;
}


.book {
    padding: 1rem 2rem;
    background: rgb(114, 0, 0);
    border: none;
    color: #fff;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
}

.book:hover {
    background: rgb(53, 4, 4);
}


/*animations*/

.animate-out {
    transform: translateX(-100%);
    opacity: 0;
}

.animate-in {
    animation: in 300ms ease-in-out forwards;
    display: block;
}

@keyframes in {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media screen and (max-height: 960px) {

    .answer,
    .answertxt {
        height: 60px;
    }
}

@media screen and (max-width: 1400px) {
    html {
        font-size: 12px;
    }

    .logo {
        width: 140px;
        height: 90px;
        bottom: 1%;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }


    .qtext {
        font-size: 1.4rem;
        padding-bottom: 1rem;
    }

    .answers {
        padding: 1rem;
        flex-direction: column;
    }

    .answer,
    .answertxt {
        height: 50px;
        font-size: 1.1rem;
        width: 100%;
        margin: .5rem auto;
    }

    .rezpic {
        width: 160px;
        margin: 0 auto;
    }

    .logo {
        width: 120px;
        height: 80px;
        bottom: 1%;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 10px;
    }

    .qtext {
        font-size: 1.4rem;
        padding-bottom: .6rem;
    }

    .answers {
        padding: 1rem;
    }

    .answer,
    .answertxt {
        height: 40px;
        font-size: 1rem;
        margin: .4rem;
    }

    .rezpic {
        width: 100px;
        margin: 0 auto;
    }

    .logo {
        width: 80px;
        height: 50px;
        bottom: 1%;
    }

    .reztitle {
        font-size: 2rem;
        padding: 1rem;
    }

    .reztext {
        font-size: 1.2rem;
    }

    .intro {
        padding-top: 1rem;
    }
}