
main {
    font-family: "Inter", sans-serif;
    width: 375px;

    --white-color: #ffffff;
    --black-color: #000000;
    --dark-gray-color: #1f1f1f;
    --mid-gray-color: #747474;
    --light-gray: #F5F5F5;
    --light-gray-rgb: 216, 216, 216;
    --light-blue: #8DDBF5;
    --title-yellow: #F9C514;
    --title-background-color: #3EA5C7;
}

main button {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

main .text{
    color: var(--white-color);
}

.main-cover {
    height: 229px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.main-cover .button {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-cover .button i {
    font-size: 18px;
    color: var(--white-color);
}

.main-cover .type {
    width: auto;
    height: 26px;
    border-radius: 100px;
    background-color: var(--dark-gray-color);
    color: var(--white-color);

    display: flex;
    align-items: center;
    padding-left: 12px;
    padding-right: 20px;

    font-size: 12px;
    line-height: 17px;

    position: absolute;
    left: 22px;
    bottom: 13px;
}

.project-info {
    /* height: 40px; */
    /* background-color: var(--light-gray); */

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    width: 100%;
}

.project-info .section {
    display: flex;
    align-items: center;

    height: 100%;
}

.project-info .section i {
    font-size: 16px;
}

.project-info .section.likes {
    /* width: 20%; */
    /* border-right: 1px solid var(--black-color); */
    justify-content: center;
    gap: 5px;
    color: #fff;
    cursor: pointer;
}
 img#open-popup-btn-share{
    filter: invert();
    width: 24px;
}

img.single-bookmark{
    width: 40px!important;
    height: 40px!important;
}


.project-info .section.actions {
    /* flex: auto; */
    gap: 18px;
    margin-left: 20px;
    color: #fff;
}

.project-info .section.actions i {
    cursor: pointer;
}

.project-info .section.actions .active i {
    color: var(--light-blue);
}

.project-info .section.author {
    /* width: 30%; */
    gap: 8px;
}

.project-info .section.author .name {
    color: #fff;
    font-size: 1.5vw;
}

.project-info .section.author .avatar {
    width: 29px;
    height: 29px;
    border-radius: 100px;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-info .section.author .avatar i {
    color: #fff
}
.project-info .section.likes img {
  
    filter: invert(1);
}

.project {
    padding: 15px 20px;
    position: relative;
    z-index: 3;
}

.project .main-title {
    display: inline-block;
    font-size: 6vh;
    line-height: 5vh;
    /* text-shadow: 2px 1px var(--white-color); */
    /* font-family: "Brother Bold", sans-serif; */
    color: var(--title-yellow);
    /* background-color: #fff; */
    padding: 0 10px 105px 0;
    padding: 0 10px 5px 0;
    width: 100%;
}

.project .info {
    margin: 16px 0;

    display: flex;
}

.project .info .cover {
    width: auto!important;
    height: 74vh!important;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #000;
    position: relative;
    margin-right: 20px;
}

.project .info .button {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: var(--white-color);
    display: flex
;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 22px;
}

.project .info .button.active {
    color: var(--title-yellow);
}

.project .details {
    flex: 1;
    padding:25px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
}

.project .details .title {
    text-transform: uppercase;
    color:#fff;
    font-size: 8px;
    font-weight: 800;
}

.project .details .text {
    font-size: 12px;
}

.project .details .logline .title {
    margin-bottom: 5px;
}

.project .details .logline .text {
    margin-bottom: 23px;
}

.project .details .general-info .typologies,
.project .details .general-info .genres {
    display: flex;
    align-items: center;
    gap: 2px;
    /* margin-bottom: 50px; */
}

.project .details .general-info .text {
    font-size: 10px;
    margin-right: 10px;
}

.project .details .general-info .icon {
    display: flex;
    align-items: center;
}

.project .details .general-info i {
    font-size: 10px;
    color: #fff;
}

/* .project .misc-dates {
    font-size: 8px;
} */

.project .misc-dates > * {
    display: flex;
    gap: 2px;
    align-items: baseline;
}

.project .misc-dates .title {
    color: #fff;
    font-size: 0.8rem!important
}

.accordion-menu .accordion {
    font-size: 16px;
    font-weight: 700;
    /* border-top: 1px solid rgb(var(--light-gray-rgb), 0.4); */

    cursor: pointer;
}

.accordion-menu .accordion .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;

}

.accordion-menu .accordion .title {
    flex: 1;
    color: var(--white-color);
}

.accordion-menu .accordion i {
    font-size: 12px;
    color: var(--white-color);
}

.accordion-menu .accordion > .container.ui-state-active {
    /* border-bottom: 1px solid rgb(var(--light-gray-rgb), 0.4); */
}

.accordion-menu .accordion .container.ui-state-active i {
    transform: rotate(180deg);
}

.sub-accordion-menu {
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-accordion-menu .sub-accordion {
    background-color: var(--dark-gray-color);
    font-size: 14px;
    font-weight: 400;
}

.sub-accordion-menu .sub-accordion .container {
    padding: 5px 10px;
}

.sub-accordion .inner-accordion {
    padding: 10px 12px;
}

.sub-accordion .inner-accordion .cover {
    background-repeat: no-repeat;
    background-size: cover;

    height: 161px;
    margin-bottom: 12px;
}

.sub-accordion .inner-accordion .description {
    margin-bottom: 10px;
}

.sub-accordion .inner-accordion .title {
    font-size: 8px;
    text-transform: uppercase;
    color:#fff;
}

.sub-accordion .inner-accordion .text {
    font-size: 11px;
}

.tags {
    /* border-top: 1px solid rgb(var(--light-gray-rgb), 0.4);
    border-bottom: 1px solid rgb(var(--light-gray-rgb), 0.4); */
    padding: 0 18px;
    padding-bottom: 20px;
}

.tags .title {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--white-color);
}

.tags .list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tags .tag {
    border-radius: 100px;
    border: 1px solid rgb(var(--light-gray-rgb));
    width: auto;
    height: auto;
    padding: 2px 15px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--white-color);
}

.call-action {
    margin-top: 20px;
    padding: 0 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    text-align: center;
}

.call-action .title, .cnt-complete-box .title {
    font-size: 4vh;
    font-weight: 800;
    color: var(--white-color);
}

.call-action .text, .cnt-complete-box .text {
    font-size: 2vh;
}

.call-action button {
    background-color: var(--title-yellow);
    color: var(--white-color);

    width: auto;
    padding: 7px 17px;
    margin: 5px 0 20px;
    border-radius: 100px;

    text-transform: uppercase;
    font-weight: 700;
    font-family: inherit;
}

/** POPUP */
.popup {
    display: none; /* Nasconde il popup di default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #222;
    color: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    text-align: center;
    position: relative;
    top: 40%;
    left: 40%;
}

.popup-form .popup-content {
    max-width: 500px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.popup h2 {
    font-size: 24px;
}

.vote-buttons {
    margin-top: 20px;
}

.vote-btn {
    background:#fff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    margin: 10px;
    cursor: pointer;
    border-radius: 4px;
    width: 35%;
    text-align: center;
}

.vote-btn:hover {
    background: #279dc4;
}
/** progress bar  */
.cnt-complete-box {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    opacity: 1;
    padding: 10px 15px;
    margin-top: 15px;
}
.progress-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 15px;
    background-color: #EEEEEE;
    border-radius: 15px;
    margin-bottom: 20px;
    margin-top: 35px;
}

.progress-container .progress-bar {
    height: 100%;
    border-radius: 15px;
    transition: width 0.5s ease;
}

.progress-container .labels {
    position: absolute;
    top: -25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.progress-container .label {
    position: absolute;
    top: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

/** RESPONSIVE */
/* video embed */
.video-container {
    padding-bottom: 56.25%; /* Rapporto di aspetto 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}
.video-container-relative {
    position: relative;
}

    /* Iframe responsivo */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a.feature-image-zoom {
    bottom: 5px;
    right: 5px;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
    border-radius: 100px;
    text-align: center;
    vertical-align: middle;
}
a.feature-image-zoom i {
 color: var(--dark-gray-color);
}
@media (min-width: 768px) {
    .desktop-view {
        display: flex;
        width: 100%;
        /* height: 102vh; */
    }

    main {
        width: 90vw;
        /* height: 102vh; */
        /* overflow-y: auto; */

        display: flex;
        gap: 15px;
    }

    .left-side {
        
    }

    /* .left-side .main-cover,
    .left-side .project-info {
        margin-left: 20px;
    } */

    .left-side .project-info .author {
        display: flex;
        justify-content: right;
        padding-right: 20px;
    }

    .right-side {
        width: 40%;
        /* border-left: 1px solid rgb(var(--light-gray-rgb), 0.4); */
        float: left;
        padding: 20px;
    }

    .right-side .accordion-menu {
        width: 100%;
    }
}

#material-visual-support .sub-sections-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}



#material-visual-support .sub-section {
    
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding:25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#material-visual-support .sub-section-header {
   
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#material-visual-support .video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

#material-visual-support .video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Per dispositivi piccoli, una sola colonna */
@media (max-width: 768px) {
    .project .details .general-info .typologies, .project .details .general-info .genres {
        align-items: flex-start;
        gap: 0;
        flex-direction: column;
        margin-bottom: 10px;
    }
    #material-visual-support .sub-sections-container {
        grid-template-columns: 1fr;
    }
    .project .info {
        margin: 16px 0;
        display: flex
    ;
        flex-direction: column;
        align-items: center;
    }
    .tooltip-text{
        margin-left: -70px !important;
    }
    .concept-modal{
        margin-top: 3vh !important;
    }
}


.project-infoactions .action{
    color: #fff;
    font-size: 32px;
    width: 50px;
    display: inline-block;
    /* float: left; */
    /* clear: unset; */
    margin-bottom: 10px;
}