* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff !important;
}


:root {
    --bs-primary: #fc9849 !important;
}

body {
    min-height: 100vh;
    height: 100%;
}

main {
    min-height: 100vh;
    height: 100%;
    background: url(../img/bg.png) top left no-repeat;
    background-size: cover;

}

footer {
    position: absolute;
    bottom: 0;
    /* left: 0; */
    min-height: 10vh;
    height: 100%;
}

h1 {
    font-size: 8vh !important;
}

h2 {
    font-size: 6vh !important;
}

h3 {
    font-size: 5vh !important;
}

h5 {
    font-size: 1.2vh !important;
}


.btn-primary {
    background-color: #fc9849;
    border-color: #fc9849;
}

.btn-primary:hover {
    background-color: #f78631;
    border-color: #fd8b33;
}


.btn-lg {
    min-width: 350px;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: 700;
}

.mobile_verticale {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5% 3%;
    display: none;
    background: url(../img/bg.png);
    overflow: hidden;
}

label {
    padding: 10px 20px;
    background: #d43575;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
}

input[type='checkbox'],
input[type='radio'] {
    display: none;
    /* pointer-events: none; */

}

input:is(#opzione17, #opzione18, #opzione19, #opzione20, #opzione21, #opzione22, #opzione23, #opzione24, #opzione25, #opzione26)+label {
    background: url(../img/p-icone.png) center center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 90px;
}

input[type='checkbox']:checked+label,
input[type='radio']:checked+label {
    background: #fc9849;
}

#checkrisposta {
    color: #000;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background: #fc9849 !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-size: 3rem !important;
    padding: 0px 20px !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
}

.swal2-popup.swal2-modal.popup_avanti.swal2-show {
    width: 90% !important;
    height: 100% !important;
}

.risultato {
    min-height: 65vh !important;
}

.container_btn {
    background: #fee0c8 !important;
    width: 100% !important;
    padding: 3%;
    margin: 3% auto;
}

.risultato h2 {
    color: #d43575 !important;
}

.risposte,
.bg-line {
    background: url(../img/bg-risposte.png) center center;
    margin-top: 5%;
}


input#wordcloud {
    color: #fff !important;
    background-color: #fc9849 !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-size: 2rem !important;
}


/*  */
.drop-success,
.evidence {
    color: #d43575;
    font-weight: bold;
}

#lista-risposte label {
    display: inline-block;
    margin: 5px;
}

.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle,
.btn-check:focus+.btn-primary,
.btn-primary:focus {
    color: #fff;
    background-color: #fc9849 !important;
    border-color: #fc9849 !important;
}

.wordcloud {
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.footer-contain {
    background: rgba(255, 255, 255, 1);
    width: 100%;
    padding: 50px 20px;
}

.mb--35 {
    margin-bottom: -35px;
}



/* -------------- MEDIA -------------- */
@media(orientation: portrait) {
    .mobile_verticale {
        width: 100vw;
        height: 100vh;
        display: flex;
        overflow: hidden;
    }

    main>*:not(.mobile_verticale) {
        display: none;
    }

    #keyboard {
        display: none;
    }


}

@media screen and (max-width: 1024px) {
    .btn-lg {
        min-width: 200px;
        font-size: 1rem;
    }

    #keyboard {
        display: none;
    }

    .logo {
        width: 20% !important;
    }

    .logo-lilly {
        width: 60px;
        height: auto;
    }

    .footer-contain {
        padding: 10px;
    }

    .mb--35 {
        margin-bottom: -20px;
    }

    .fs-1,
    .fs-2 {
        font-size: 1rem !important;
    }

    div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
        font-size: 1.5rem !important;
        padding: 0px 10px !important;
    }

    .gap-3 {
        gap: .5rem !important;
    }

    .p-5 {
        padding: 1rem !important;
    }

    .mt-5 {
        margin-top: 1rem !important;
    }

    input#wordcloud {
        font-size: 1rem !important;
    }
}