
html {
}

body {
    font-size: 16px !important;
    margin-bottom: 0px !important;
    font-family: LaNord;
    scroll-behavior: smooth;
}

    body * {
        transition: all ease-in-out 0.3s;
    }

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: #a8bbbf;
    }

::selection {
    background: #f28c00;
    color: white !important;
}

::-moz-selection {
    background: #f28c00;
    color: white !important;
}

@font-face {
    font-family: "BastiaBold";
    src: url("fonts/Bastia-Bold.otf"),
}

@font-face {
    font-family: "LaNord";
    src: url("fonts/LaNord-Regular.otf"),
}


@font-face {
    font-family: "LaNordMedium";
    src: url("fonts/LaNord-Medium.otf"),
}

@font-face {
    font-family: "LaNordLight";
    src: url("fonts/LaNord-Light.otf"),
}

.f-LaNord {
    font-family: LaNord !important;
}

.f-LaNord_medium {
    font-family: LaNordMedium;
}

.f-LaNord_light {
    font-family: LaNordLight;
}

.navbar-link-container {
    white-space: nowrap;
}

.f-nunito {
    font-family: 'Nunito Sans';
}

.f-bastia_bold {
    font-family: BastiaBold !important;
}

.parallax_header {
    height: 600px;
    max-height: 720px;
    background-image: url("../assets/header-quiz.jpg");
    background-attachment: scroll;
    background-repeat: no-repeat;
    transition: none !important;
    background-size: cover;
}

.dropdown-toggle::after {
    display: none !important;
}

#dropdown-menu, #dropdown-menu-mobile {
    background-color: white;
    position: fixed;
}

#menu-lingua {
    background-color: white;
    position: fixed;
}

.container-link-lingua {
    text-align: center;
    cursor: pointer !important;
    gap: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
    color: black;
}


#dropdown-mobile-menu ul .white-header-link {
    font-size: 33px !important;
}

.dropdown-menu-link {
    text-decoration: none;
    cursor: pointer;
    color: black;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-link-container:hover * {
    color: #f28c00 !important;
}

.logo_footer_paragraph {
    max-width: 375px;
}

.text-footer {
    color: black;
    text-decoration: none
}

    .text-footer:hover {
        color: #f28c00;
    }

.radius {
    border-radius: 30px 30px 30px 30px;
    font-weight: 600 !important;
    background-color: #f28c00;
    color: #FFFFFF;
}

    .radius:hover {
        color: black;
    }

.h_fill {
    height: -webkit-fill-available;
}


.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 5px;
    padding: 10px;
}

.bg-primary {
    background-color: #f8f3e1 !important;
}

.bg-alt {
    background-color: #f7f3e8 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.Quiz-title {
    color: #f28c00;
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
}

.btn {
    min-width: 120px;
    font-family: LaNord;
}

.btn-brand {
    color: #fff;
    background-color: #003443;
    border-color: #003443;
}

.fade-in-div {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}

.move-in-div {
    animation: moveIn 2s;
    -webkit-animation: moveIn 2s;
    -moz-animation: moveIn 2s;
    -o-animation: moveIn 2s;
    -ms-animation: moveIn 2s;
}

.LinkBusiness {
    color: #92babf;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 00 !important;
}

    .LinkBusiness:hover {
        color: #3dadbf;
    }

.opacity {
    color: #171516;
    opacity: 0.5;
}

    .opacity:hover {
        opacity: unset;
    }

.header-link {
    color: black;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    letter-spacing: 1.6px;
}

    .header-link:hover {
        color: #ff7182;
    }

.btn-brand:hover {
    color: #fff;
    background-color: #00161d;
    border-color: #000c10;
}

.btn-brand:focus,
.btn-brand.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
}

.btn-brand.disabled,
.btn-brand:disabled {
    background-color: #003443;
    border-color: #003443;
}

#mobile_sidebar {
    background: white;
}

.btn-brand:not([disabled]):not(.disabled):active,
.btn-brand:not([disabled]):not(.disabled).active,
.show > .btn-brand.dropdown-toggle {
    color: #fff;
    background-color: #000c10;
    border-color: #000303;
}

    .btn-brand:not([disabled]):not(.disabled):active:focus,
    .btn-brand:not([disabled]):not(.disabled).active:focus,
    .show > .btn-brand.dropdown-toggle:focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
    }

.btn-outline-brand {
    color: #003443;
    background-color: transparent;
    background-image: none;
    border-color: #003443;
}

    .btn-outline-brand:hover {
        color: #fff;
        background-color: #003443;
        border-color: #003443;
    }

    .btn-outline-brand:focus,
    .btn-outline-brand.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
    }

    .btn-outline-brand.disabled,
    .btn-outline-brand:disabled {
        color: #003443;
        background-color: transparent;
    }

    .btn-outline-brand:not([disabled]):not(.disabled):active,
    .btn-outline-brand:not([disabled]):not(.disabled).active,
    .show > .btn-outline-brand.dropdown-toggle {
        color: #212529;
        background-color: #003443;
        border-color: #003443;
        -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(0, 52, 67, 0.5);
    }

.btn {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

    .btn.active,
    .btn:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

#images_container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 2755px;
}

#images_style_container {
    display: flex;
    flex-wrap: wrap;
}

.checked {
    display: block;
    position: absolute;
}

.image-selected .immagine-stile-big {
    width: 231px;
    height: 436px;
}

.image-selected .immagine-stile-small {
    width: 231px;
    height: 216px;
}

.immagine-stile-big {
    width: 235px;
    cursor: pointer;
    object-fit: cover;
    height: 440px;
    transition: all 0.3s ease-in-out;
}

.immagine-stile-small {
    width: 235px;
    cursor: pointer;
    object-fit: cover;
    height: 220px;
    transition: all 0.3s ease-in-out;
}

.immagine-stile-risultati-big {
    width: 660px;
    object-fit: cover;
    height: 440px;
    transition: all 0.3s ease-in-out;
}

.immagine-stile-risultati-big {
    width: 440px;
    object-fit: cover;
    height: 320px;
    transition: all 0.3s ease-in-out;
}

.immagine-stile-risultati-small {
    width: 220px;
    object-fit: cover;
    height: 160px;
    transition: all 0.3s ease-in-out;
}

.immagine-stile-risultati-long {
    width: 220px;
    object-fit: cover;
    height: 320px;
    transition: all 0.3s ease-in-out;
}


#main-navbar {
    width: 100%;
    background-color: rgba(255,255,255, 0.4);
}

#main-nav:hover {
    background-color: white !important;
    box-shadow: none !important;
    transition: all 0.4s ease-in-out;
}

.bottom-shadow {
    box-shadow: 0 1px 0px rgba(0,0,0,.11);
}

.white-header-link {
    color: black;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

    .white-header-link:hover {
        color: #f28c00;
    }

.selected-icon {
    color: #0fba0f;
    transform: scale(2);
    position: absolute;
    display: none;
    filter: drop-shadow(2px 3px 1px black);
}

.container-navigation {
    transition: ease-in-out all 0.3s;
    position: absolute;
    top: -103px;
    width: 100%;
}

#collapse_servizi_mobile_icon {
    transition: all ease-in-out 0.3s;
}

#end_page_btn {
    transition: all ease-in-out 0.3s;
    background-color: rgba(242,140,0,1);
    border-color: rgba(242,140,0,0);
    border-width: 0px;
    border-style: solid;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-decoration: none;
    -o-border-radius: 52px;
    -moz-border-radius: 52px;
    -webkit-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    border: 2px solid #e8e8e8;
}

.selected-icon-style {
    color: #0fba0f;
    transform: scale(2);
    padding-right: 5px;
    filter: drop-shadow(2px 3px 1px black);
}

.image-selected {
    border: solid 2px rgb(251, 141, 2);
    box-shadow: 0 0 10px rgba(255,165,0,0.5);
}

.room-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    transition: border 0.2s ease-in-out;
}

#mobile_sidebar {
    display: none;
}

div.room-container:has(> img.selected) * {
    display: block !important;
}

.white-header-link-mobile {
    color: #322e43 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 46px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    border-bottom: #eaeaea 1px solid;
}

.dropdown-item-mobile {
    color: #322e43 !important;
    text-decoration: none;
}

#dropdown_mobile_menu {
    transition: all ease-in-out 0.3s;
}

    #dropdown_mobile_menu ul * {
        color: black;
        border-bottom: 1px solid rgb(234, 234, 234);
        padding: 0px 10px;
    }

        #dropdown_mobile_menu ul *:hover {
            color: rgb(242, 140, 0);
        }

    #dropdown_mobile_menu ul {
        padding: 0;
    }

.btn-accent {
    background: linear-gradient(90deg, #fd5f50, #f5ad65);
}

.btn-circle {
    min-width: unset !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 5px;
}

    .btn-circle i {
        font-size: 22px;
    }

#end_page_btn {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: none;
}

.font-elegant {
    width: 11px;
    height: 11px;
}

.pinterest-icon {
    content: url("icons/social_pinterest.svg");
}

.youtube-icon {
    content: url("icons/social_youtube.svg");
}

.twitter-icon {
    content: url("icons/social_twitter.svg");
}

.facebook-icon {
    content: url("icons/social_facebook.svg");
}

.instagram-icon {
    content: url("icons/social_instagram.svg");
}

.privacy {
    text-decoration: underline !important;
}

@media screen and (max-width:1244px) {
    #main_navbar {
        display: none;
    }

    .parallax_header {
        height: 540px;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    #mobile_sidebar {
        display: block;
    }

    #images_container {
        flex-direction: row;
        height: unset;
        justify-content: center !important;
    }
}

@media screen and (max-width:1064px) {


    #footer {
        flex-direction: column;
        gap: 10px;
    }

    .logo_footer_paragraph {
        max-width: none;
    }
}

@media screen and (max-width:820px) {

    #room_container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    #footer .col-4 {
        min-width: 280px;
    }

    #main_navbar {
        display: none;
    }

    #mobile_sidebar {
        display: block;
    }

    #images_container {
        flex-direction: row;
        height: unset;
        width: 100% !important;
        justify-content: center !important;
    }

    #images_style_container {
        flex-direction: row;
        height: unset;
        width: 100% !important;
        justify-content: center !important;
    }

    #end_page_btn {
        display: block;
    }
}

@media screen and (max-width:480px) {

    .parallax_header {
        height: 240px;
    }

    #mobile_logo {
        height: 55px !important;
    }

    #main_navbar {
        display: none;
    }

    #mobile_sidebar {
        display: block;
    }

    .IncertaSuComeArredare {
        font-size: 18px !important;
    }

    .AttraversoUnTest {
        font-size: 25px !important;
    }

    #navbar_text_overlap {
        padding: 10px 25px;
    }

    .fs-5 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 25px !important;
    }

    .fs-4 {
        font-size: 19px !important;
    }

    #images_container .flex-column {
        overflow: hidden;
        width: 48%;
    }

    #images_style_container .flex-column {
        overflow: hidden;
        width: 48%;
    }

    #end_page_btn {
        display: block;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes moveIn {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(0);
    }
}

@-moz-keyframes moveIn {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(0);
    }
}

@-webkit-keyframes moveIn {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(0);
    }
}

@-o-keyframes moveIn {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(0);
    }
}

@-ms-keyframes moveIn {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(0);
    }
}

#social-nav {
    width: 100%;
    background: #555;
    color: #f1f1f1;
}

.invisible {
    display: none;
}

/*QuizPage1*/

.IncertaSuComeArredare {
    text-align: center;
    color: #242424;
    font-size: 20px;
    line-height: 30px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0px;
}

.AttraversoUnTest {
    place-self: center;
    text-align: center;
    color: #242424;
    font-size: 33px;
    line-height: 40px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0px;
}

/*css guida*/

.sfondo-guide {
    background-image: url('../assets/SfondoGuide1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    animation-name: sfondo;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}

@keyframes sfondo {
    0% {
        background-image: url('../assets/SfondoGuide1.jpg');
    }

    45% {
        background-image: url('../assets/SfondoGuide1.jpg');
    }

    50% {
        background-image: url('../assets/SfondoGuide2.jpg');
    }

    95% {
        background-image: url('../assets/SfondoGuide2.jpg');
    }
}

.container-guida {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 292px;
    height: 339px;
}

.card-image-guida {
    max-width: 100%;
    height: auto;
}

.loader {
    border: 16px solid #cecece;
    border-top: 16px solid #7f7f7f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin .5s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

#card {
    box-shadow: 0px 8px 16px rgba(0, 0, 0,1);
}

.tabella {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    overflow: scroll;
}

.riga {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    padding: 13px;
}

.checkbox {
    margin-right: 10px;
    width: 13px; 
    height: 13px; 
}

    .checkbox:hover {
        cursor: pointer;
    }

.container-guida-retro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.color-riga:hover {
    background-color: #f0f0f0;
}

.checkbox-attiva {
    background-color: #f0f0f0;
}

#div-dimensione {
    cursor: pointer;
}

#label-nome-elementi {
    cursor: pointer;
}

.linkby {
    color: rgba(165, 165, 165, 0.5);
    display: flex;
    justify-content: center;
}

    .linkby a {
        color: rgba(146, 186, 191, 0.5);
        text-decoration: none;
        margin-left: 5px;
    }

.btn-guida-outline {
    border-radius: 30px 30px 30px 30px;
    border-color: #92babf;
    font-weight: 600 !important;
    background-color: #f8f3e1;
    color: #92babf;
}

    .btn-guida-outline:hover {
        color: black;
    }

.btn-guida-pieni {
    border-radius: 30px 30px 30px 30px;
    font-weight: 600 !important;
    background-color: #92babf;
    color: white;
}

    .btn-guida-pieni:hover {
        color: black;
    }


#videoContainer {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: #34333370;
    align-content: space-around;
    justify-items: center;
    display: none;
}

#playVideoButton:hover {
    cursor: pointer;
}