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

body {
    background-color: rgb(36, 36, 36);
}

.font-monospace {
    font-family: monospace;
}

.font-bold {
    font-weight: bold;
}

.font-rem {
    font-size: 0.8rem;
}

.font-white{
    color: white;
}

.align-center {
    text-align: center;
}

.mx-30-50{
    margin-top : 30px;
    margin-bottom: 50px;
}

.video{
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
   
.video iframe{
    padding: 1rem;
    border: 0;
}

/* Dropdown Button */
/* Dropdown styling */
.dropbtn {
    background-color: transparent;
    color: white;
    padding: 10px 16px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Added padding to extend hover area */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    padding: 5px 0; /* Added padding inside dropdown */
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

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

.dropbtn:hover {
    text-decoration: underline;
    color: white;
}

/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    color: white;
}

.faq-content {
    margin-top: 30px;
}

/* FAQ Dropdown Styling */
.faq-question-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.faq-question-toggle::after {
    content: '\25BC'; /* Down arrow Unicode character */
    font-size: 14px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-question-toggle.active::after {
    transform: rotate(180deg); /* Rotate to point up when active */
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
    padding: 0;
}

.faq-answer-content.show {
    max-height: 500px; /* Adjust based on your content */
    padding: 10px 0;        
}

.faq-answer-content.show {
    display: block;
    opacity: 1;
}

.faq-item {
    margin-bottom: 25px;
    background-color: #333;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    height: auto;
    min-height: 80px; /* Set minimum height for consistency */
}

.faq-question-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    height: 50px; /* Fixed height for question area */
}

.faq-question {
    font-size: 18px;
    margin-bottom: 0; /* Remove bottom margin */
    color: white;
    line-height: 1.3;
}

.faq-answer {
    font-size: 16px;
    color: #b8b8b8;
    line-height: 1.5;
}

.faq-answer a {
    color: rgb(6, 177, 230);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.content{
    display: flex;
    justify-content: center;
}

.content a{
    text-align: center;
    text-decoration: none;
    color: white;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
}

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

.content a:visited{
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    color: #fff;
    margin-top: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-icon {
    background-size: 100%;
    background-repeat: no-repeat;
    height: 2.9rem;
    width: 2.9rem;
    margin-right: 5px;
    border-radius: 50%;
    vertical-align: middle;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 1.5rem;
    text-decoration: none; /* Rimuove l'underline */
    color: #fff; /* Imposta il colore bianco */
    line-height: 2rem;
}

.redirect_to_self{
    text-decoration: none;
    align-items: center;
    display: inline-block;
} 

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    height: 30px;
    width: auto;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.page-header{
    text-align: center;
    font-size: 50px;
    color: #fff;
    margin-top: 120px;
}

.page-content {
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.page-content p{
    color: rgb(184, 184, 184);
    text-align: center;
    font-size: 16px;
}

.boxes-redirect{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.box {
    background-color: #333;
    overflow: hidden;
    width: 300px;
    text-align: center;
}

.box-image {
    width: 100%;
    height: auto;
}

.smaller-image{
    width: 100%;
    height: 14.63rem;
}

.box-content {
    padding: 20px;
}


.box-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff; /* Imposta il colore bianco */
}

.box-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #fff; /* Imposta il colore bianco */
}

.decoration-none{
    text-decoration: none;
}

.video{
    margin-top: 50px;
}

#lastVideo{
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    bottom: 0;
}

.ultimiVideo{
    width: 500px; 
    height: 291px;
}

.videoParagraph h2{
    bottom: 0;
    color: white;
    text-align: center;
}

::-webkit-scrollbar{
    background-color: rgba(255, 255, 255, 0.1);
    width: 10px;
}

::-webkit-scrollbar-thumb{
    background-color: rgb(92, 91, 91);
}


@media only screen and (max-width: 768px) {
    
    .page-header{
        text-align: center;
        font-size: 50px;
        color: #fff;
        margin-top: 40px;
    }

    .page-content {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .page-content p{
        font-size: 14px;
        width: 100%;
    }

    .smaller-image{
        width: 100%;
        height: 6rem;
    }

    .box-content p {
        font-size: 11px;
        line-height: 1.5;
        color: #fff; /* Imposta il colore bianco */
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .logo-text{
        font-size: 0.8rem;
    }

    .ultimiVideo{
        width: 410px; 
        height: 241px;
    }
    
}



