@font-face {
    font-family: "Poppins Bold";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins Semi-Bold";
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins Medium";
    src: url("../fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins Light";
    src: url("../fonts/Poppins-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins Regular";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
}

.font-super-big-bold {
    font-family: "Poppins Bold", sans-serif; /* Aggiunto sans-serif come fallback */
    font-size: 3em;
}

.font-extra-big-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 2em;
}

.font-big-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 1.7em;
}

.font-normal-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 1.5em;
}

.font-small-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 1.3em;
}

.font-very-small-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 1.1em;
}
.font-very-very-small-bold {
    font-family: "Poppins Bold", sans-serif;
    font-size: 1em;
}

.font-big-medium {
    font-family: "Poppins Medium", sans-serif;
    font-size: 1.7em;
}

.font-normal-medium {
    font-family: "Poppins Medium", sans-serif;
    font-size: 1.5em;
}

.font-small-medium {
    font-family: "Poppins Medium", sans-serif;
    font-size: 1.3em;
}

.font-very-small-medium {
    font-family: "Poppins Medium", sans-serif;
    font-size: 1.1em;
}

.font-big-regular {
    font-family: "Poppins Regular", sans-serif;
    font-size: 1.7em;
}

.font-normal-regular {
    font-family: "Poppins Regular", sans-serif;
    font-size: 1.5em;
}

.font-small-regular {
    font-family: "Poppins Regular", sans-serif;
    font-size: 1.3em;
}

.font-very-small-regular {
    font-family: "Poppins Regular", sans-serif;
    font-size: 1.1em;
}

.font-very-very-small-regular {
    font-family: "Poppins Regular", sans-serif;
    font-size: 0.6em;
}
/*@media screen and (min-width: 2801px) {*/
/*    html{*/
/*        font-size: 30px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/
/*@media screen and (min-width: 2201px)and (max-width: 2800px) {*/
/*    html{*/
/*        font-size: 26px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/
/*@media screen and (min-width: 1801px)and (max-width: 2200px) {*/
/*    html{*/
/*        font-size: 24px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/
/*@media screen and (min-width: 1501px)and (max-width: 1800px) {*/
/*    html{*/
/*        font-size: 20px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 900px) and (max-width: 1500px) {*/
/*    html{*/
/*        font-size: 18px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 300px) and (max-width: 899px) {*/
/*    html{*/
/*        font-size: 22px;*/
/*    }*/
/*    button {*/
/*        font-size: .85em;*/
/*    }*/
/*}*/

.red {
    color: #E9352E;
}

.white {
    color: #FFFFFF;
}
.color-1 {
    color: #ECDA70;
}
.color-2 {
    color: #D39729;
}
.color-3 {
    color: #3B99A5;
}

.color-4 {
    color: #124249;
}

html, body {

    width: 100%;
    height: 100svh;

    margin: 0;
    padding: 0;

    /*overflow: hidden;*/

    position: absolute;
    font-size: 16px;
}

a {
    color: initial !important;
    text-decoration: initial !important;
}

.background-container {
    height: 100svh;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: auto;
    margin: auto;
    padding: 0 0 5rem 0;
}

.logo-container {
    width: 100%;
    padding-left: 3%;
}

.logo-login {
    max-width: 600px;
    width: 60%;
    height: auto;
}
.text-container{
    width: 60%;
    height: 10rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}
.form-container{
    width: 60%;
    align-items: center;
}

.btn-login{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;

    width: fit-content;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid #3B99A5;;
    border-radius: 25px;

    background-color: #3B99A5;
    color: #ffffff;
    cursor: pointer;

    margin-top: 1vh;
    gap: 15px;
}
.btn-login:hover{
    background-color: #124249;
    color: #ffffff;

}
.language-select {
    display: flex;
    align-items: center;
    border: 1px solid #124249;
    padding: 10px 15px;
    border-radius: 4px;
    max-width: 220px;
    background-color: rgba(255, 255, 255, 0.3); /* Trasparente per vedere il background */
    position: relative; /* Necessario per posizionare correttamente la freccia */
}

.language-select label {
    font-size: 1rem;
    color: #124249;
    flex: 1;
    text-align: left;
}

.language-select select {
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    background: none;
    color: #124249;
    appearance: none; /* Mantiene la personalizzazione */
    padding: 0;
    margin-left: 10px;
    width: 50px; /* Fissa la larghezza in modo che non interferisca con il layout */
}

.language-select select:hover,
.language-select select:focus {
    cursor: pointer;
}

.language-select::after {
    content: "▼";
    font-size: 1rem;
    color: #124249;
    position: absolute;
    right: 10px;
    pointer-events: none; /* Evita interferenze con la select */
}

.language-select select:focus {
    outline: none;
}
.result-select {
    display: flex;
    align-items: center;
    border: 1px solid #124249;
    padding: 10px 15px;
    border-radius: 4px;
    max-width: fit-content;
    background-color: rgba(255, 255, 255, 0.3); /* Trasparente per vedere il background */
    cursor: pointer;
    color: #124249!important;

}

.dropdown {
    right: 0.2em;
    top: 0.2em;
    display: inline-block;
    align-items: center;
    border: 1px solid #124249;
    padding: 0 0.5em;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.3); /* Trasparente per vedere il background */
    position: absolute; /* si sovrappone al background */
}

.dropdown label {
    font-size: 1rem;
    color: #124249;
    flex: 1;
    text-align: left;
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 4px;
    border: 1px solid #124249;
}

.dropdown-content a {
    color: #124249!important;
    padding: 0.2em;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #3B99A5;}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.background-container-app {
    height: 100svh;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;
    padding: 0 0 5rem 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #ECDA6F;

    background-image: url('../images/group-professionals.png');
}

.btn-app{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: fit-content;
    padding: 1rem;
    border-radius: 25px;

    color: #ffffff!important;
    cursor: pointer;

    margin-bottom: 3rem;
    gap: 4rem;
}
.btn-app:hover{
    background-color: #124249;
}

.btn-app-1{
    border: 1px solid #3B99A5;;
    background-color: #3B99A5;
}
.btn-app-1:hover{
    background-color: #124249;
}
.btn-app-2{
    border: 1px solid #124249;;
    background-color: #124249;
}
.btn-app-2:hover{
    background-color: #3B99A5;
}


.logo-container-app {
    display: flex;
    width: 100%;
    padding-left: 3rem;
    padding-top: 3rem;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
}
.logo-app {
    max-width: 500px;
    width: 60%;
    height: auto;
}
.img-icon-app {
    width: 40%;
}
.icon-btn{
    display: flex;
    border-radius: 100%;
    width: 3em;
    height: 3em;
    align-items: center;
    justify-content: center;
}
.icon-btn-section{
    background-color: #3B99A5;
}
.icon-btn-start{
    background-color: #114249;
}
.btn-app .text {
    color: #FFFFFF !important;
}

/*  dashboard   */
.background-container-app2 {
    height: 100svh;

    width: 100vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 5rem 0;

    background-color: #ECDA6F;
}
.logo-container-app2 {
    display: flex;
    width: 100%;

    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;

    padding: 3rem 3rem 1rem 3rem;
}
.logo-app2 {
    width: 200px;
    height: auto;
}

.section-container{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    width: 70%;

    padding: 1rem;
    border: 1px solid #000000;
    border-radius: 25px;
    background-color: #3B99A5;
    color: #ffffff !important;
    cursor: pointer;
    margin-bottom: 1rem;
}
.section-container:hover{
    background-color: #124249;
    color: #ffffff;
}
.logo-section {
    display: flex;
    width: 100%;

    flex-wrap: wrap;
}
.logo {
    max-width: 100px;
    width: 20%;
    height: auto;
}
.sub-text-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.sub-text{
    width: 80%;
    opacity: 70%;
}

/*chatbot*/
.back-container {
    width: 90%;
    height: 15vh;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.chatbot-container{
    display: flex;
    flex-direction: column;

    justify-content: space-between;
    align-content: center;
    align-items: center;

    width: 100%;
    height: 80svh;

    background-color: #124249;
    border-radius: 15px 15px 0 0;
}
.btn-app-chat{
    border: 1px solid #ECDA6F;
    background-color: #ECDA6F;
    margin-bottom: 1rem!important;
}
.btn-app-chat:hover{
    background-color: #3B99A5;
}
.btn-app-chat .text {
    color: #124249 !important;
}

.btn-session{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: fit-content;
    padding: 1rem;
    border-radius: 25px;

    color: #ffffff!important;
    cursor: pointer;

    margin-bottom: 3rem;
    gap: 4rem;
}
.btn-session2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: fit-content;
    padding: 1rem;
    border-radius: 25px;

    color: #ffffff!important;
    cursor: pointer;

    margin-bottom: 3rem;
    gap: 4rem;}

.btn-session-chat{
    border: 1px solid #124249!important;
    background-color: #124249!important;
    margin-bottom: 1rem!important;
}
.btn-session-chat:hover{
    background-color: #3B99A5!important;
}

.btn-session-chat2{
    border: 1px solid #124249!important;
    background-color: red!important;
    margin-bottom: 1rem!important;
}
.btn-session-chat2:hover{
    border: 1px solid #124249!important;
    background-color: #124249!important;
    color: red!important;
}


.text-chatBot{
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 90%;
    overflow-y: auto;

    margin-top: 1rem;
    gap: 1rem;
}
.message-container{
    background-color: #ECDA6F;

    border-radius: 0 25px 25px 25px;
    width: 80%;
    height: fit-content;
    padding: 1em;
    margin-bottom: 1em;
}
.message-container2{

    width: 80%;
    height: fit-content;
    padding: 1em;
    margin-bottom: 1em;
}
.message-received{
    display: flex;
    flex-direction: row;
    gap: 1em;
}
.message-box{
    background-color: #ECDA6F;

    border-radius: 0 25px 25px 25px;
    padding: 1em;
    margin-bottom: 1em;
}
.img-icon-chat {
    width: 70%;
}
.submit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100vw;
    border: none;

    background-color: #3B99A5;
}
.completion-bar{
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 50vw;
    height: 1rem;
    border: 1px solid #ECDA6F;
    border-radius: 25px;
    margin: 1rem 2rem 1rem 2rem;

    background-color: #FFFFFF;

}
.completion-bar1{
    display: flex;
    flex-direction: row;
    align-items: center;

    border-radius: 25px;

    background-color: #ECDA6F;
    height: 100%;
    width: 0;
    transition: width 0.3s ease-in-out;
}

.btn-app-next {
    display: flex;
    flex-direction: row;
    align-items: center;

    width: auto;
    margin: 1rem 1rem 1rem 0;

    border: none;

    background-color: #3B99A5;

    color: #ffffff!important;
    cursor: pointer;
}
.answers {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.answer {
    border: 2px solid #124249;
    border-radius: 25px;
    padding: 1em;
    display: flex;
    justify-content: left;
}
.checked {
    background-color: #124249;
    color: #ffffff!important;
}

/*result*/
.background-container-result{
    height: 100svh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 0 0 5rem 0;
    background-color: #ECDA6F;
}
.result-container{
    width: 100vw;
    height: 100svh;
}
.temporary-result{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #ECDA6F;

    width: 100vw;
    height: 100svh;
}
.result-title{
    display: flex;
    margin-top: 2rem;
    width: 90%;
    justify-content: flex-start;
}
.result-content{
    display: flex;
    width: 98%;
    height: auto;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: center;
}
.img-icon-result {
    max-width: 60%;
}
.icon-btn-result{
    display: flex;
    border-radius: 100%;
    width: 8em;
    height: 8em;
    align-items: center;
    justify-content: center;
}
.text-result{
    display: flex;
    flex-wrap: wrap;
    width: 10em;
    text-align: center;
    color: #124249;
}
.btn-app-result{
    display: flex;
    align-items: center;

    width: 80%;
    max-width: 20rem;

    padding: 0.5em;
    border-radius: 25px;

    color: #124249 !important;

    cursor: pointer;
    border: 3px solid #3B99A5;
    background-color: transparent;

    margin-bottom: 1rem !important;
    gap: 1em;
}
.btn-app-3 {
    border: 1px solid #124249;
    background-color: #124249;
    margin: 1rem 0!important;
    width: 80%!important;
    max-width: 20rem!important;
    gap: 0!important;
}
.riasec-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: fit-content;
    gap: 0.5em;
}
.skill-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 90%;
    gap: 0.5em;
}
.riasec-category {
    background-color: #3B99A5;
    color: #ECDA6F;

    border-radius: 25px;
    padding: 0.5rem;

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

.text-skill {
    width: 90%;
    margin-bottom: 1rem;
}
.skill{
    width: 10rem;
    height: 10rem;
    padding: 1em;
}
.score-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.img-icon-score{
    max-width: 40%;
}

/*popup*/

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #3B99A5;
    padding: 3em;
    border-radius: 25px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    margin: 0;
}

.close-popup {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-body p {
    margin: 10px 0 0;
}

/*tour*/
.background-container-app3 {
    height: 100svh;

    width: 100vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    overflow-y: auto;
    padding: 0 0 5rem 0;

    background-color: #3B99A5;
}
.text-tour{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    overflow-y: auto;

    margin-top: 1rem;
    gap: 1rem;
}

.message-container3{

    width: 90%;
    height: fit-content;
    padding: 1em;
    margin-bottom: 1em;
}
.img-icon-tour {
    width: 200px;
    margin-bottom: 3em;
}

/* Stili per il footer */
.site-footer {
    width: 100%; /* Assicura che il footer prenda tutta la larghezza disponibile */
    /* mt-auto (margin-top: auto) dalla classe Bootstrap è cruciale qui */
}

.site-footer .footer-content-area {
    background-color: #104249;
    color: #f0f0f0;
    font-size: 0.9rem;
    /* py-4 gestisce il padding verticale */
}

.site-footer .footer-content-area .container {
    /* Il container di Bootstrap gestisce la larghezza massima e il padding laterale del contenuto interno */
    /* Se non usi Bootstrap, dovrai definire .container */
    /* max-width: 1140px; /* o la larghezza che preferisci */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* padding-left: 15px; */
    /* padding-right: 15px; */
}

.site-footer .footer-logos {
    /* Potresti voler usare flex anche qui per allineare i loghi orizzontalmente su desktop */
    display: flex;
    justify-content: center; /* o flex-start, space-between */
    align-items: center;
    flex-wrap: wrap; /* Per mandare a capo su schermi piccoli se necessario */
    column-gap: 10em; /* Spazio tra i loghi */
    margin-bottom: 1em;
    margin-top: 1em;
}

.site-footer .cc-logo,
.site-footer .eu-logo {
    width: 200px;
    flex-shrink: 0;
    max-width: 100%;
    height: auto;
}

.site-footer .footer-texts {
    text-align: center;
    width: 80%;
    margin: auto;
}

.site-footer .footer-content-area p {
    line-height: 1.6;
    margin-bottom: 0;
}

.site-footer .footer-bottom-bar {
    color: #a0a0a0;
    text-align: center;
}

.site-footer .footer-bottom-bar small {
    font-size: 0.8em;
}

/* Media query (le tue sono un buon punto di partenza) */
@media (max-width: 767.98px) {
    .site-footer .footer-logos {
        flex-direction: column; /* Loghi uno sotto l'altro */
        align-items: center; /* Centra i loghi se in colonna */
    }
    .site-footer .footer-logos img {
        margin-bottom: 0.75rem;
        margin-top: 0.75em;
    }
    .site-footer .footer-logos img.me-3 { /* Rimuovi il margine destro specifico se non necessario */
        margin-right: 0 !important;
    }

    .site-footer .footer-texts {
        text-align: center;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Se .container-footer-inner (vedi sotto) è usato */
    /*
    .footer-content-area .container > div { // Se i figli diretti di .container sono footer-logos e footer-texts
        flex-direction: column;
        align-items: center;
    }
    */
}

.site-footer a {
    color: #a7cdf5;
    text-decoration: none;
}
.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}


.message-container3 strong {
    font-weight: 900 !important;
}

/* course */
.text-container2{
    width: 80%;
    margin-bottom: 2em;
    margin-top: 1em;
}
.riasec-container {
    width: fit-content;
    margin-top: 2rem;
    margin-bottom: 4rem;
}
.didactic-module-card {
    border-radius: 25px; /* Angoli arrotondati esterni */
    margin: 0 4em 2em 4em;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.module-content {
    background-size: cover;
    background-position: center;
    border-radius: 30px; /* Angoli arrotondati interni */
    padding: 20px;
    position: relative; /* Necessario per posizionare l'overlay e il bottone */
    min-height: 300px; /* Altezza minima per dare spazio all'immagine */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Allinea il contenuto informativo in basso */
    overflow: hidden; /* Per assicurare che l'overlay rispetti i bordi arrotondati */
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(195 207 208 / 0%) 30%, rgba(59, 153, 165, 0.8) 50%);
    border-radius: 15px; /* Deve combaciare con .module-content */
    z-index: 1; /* Dietro al testo e al bottone */
}

.module-info {
    position: relative; /* Per stare sopra l'overlay */
    z-index: 2;
}

.module-title {
    font-size: 1.6em;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.main-skill-label {
    text-transform: uppercase;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
    color: #ECDA6F;
}

.skill-tag {
    display: inline-block;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 20px; /* Per forma a pillola */
    padding: 5px 15px;
    font-size: 1em;
    margin-bottom: 15px;
}

.module-action-button {
    position: absolute; /* Posizionato rispetto a .module-content */
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Cerchio perfetto */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2; /* Sopra l'overlay */
    background-color: #114249; /* Un po' più scuro al passaggio del mouse */
    transition: background-color 0.3s ease;
}

.module-action-button:hover {
    background-color: #ECDA6F; /* Un po' più scuro al passaggio del mouse */
}

.module-action-button svg {
    width: 24px; /* Dimensione dell'icona SVG */
    height: 24px;
}

@media (max-width: 500px) {
    .skill-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 90%;
        gap: 0.5em;
        justify-content: center;
    }
    .riasecChart{
        width: 300px;
    }
}

.riasecChart{
    max-width: 1000px;
    max-height: 700px;
}

.career-container{
    width: 90%;
    margin-top: 2rem;
    margin-bottom: 4rem;
}