:root {
    --fc-button-bg-color: #404040;
    --fc-button-hover-bg-color: #000000;
    --fc-button-active-bg-color: #000000;
    --fc-button-hover-border-color: #1a252f;
}



.navbar > ul {
    background-color: var(--main-color);
}

.navbar > ul > li:not(:first-child) {
    filter: unset;   
}

.main {
    padding-top: 70px;
    margin: auto;
    max-width: 1350px;
}

.next-event {
    width: 36vh;
    background-color: var(--main-color);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    position: fixed;
    min-height: 500px;
}

.next-event > .title {
    text-align: center;
    font-size: 20px;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 1px solid gray;
    margin: 5px 0;
}

.next-event .poster {
    margin: auto;
}
.next-event .poster img {
    width: 32vh;
    margin: 5px;
}

.next-event .info {
    margin: 0 15px;
    position: relative;
}

.next-event .info .content {
    width: 100%;
}

.next-event .info .content > div:first-child {
    font-size: 24px;
    font-weight: bold;
    margin-right: 50px;
}

.next-event .info .content > div:nth-child(2) {
    font-size: 18px;
    margin-right: 50px;
}

.next-event .info .logo {
    position: absolute;
    right: 0;
    top: 0;
}

.next-event .info .logo img {
    width: 40px;
    margin: auto;
}

.next-event .date > a:first-child {
    text-align: center;
    font-size: 21px;
    color: gray;
    padding: 10px 5px;
}

.next-event .date > a:last-child {
    font-size: 20px;
    text-align: center;
    padding: 12px 10px;
    color: var(--font);
    display: block;
    border-top: 1px solid var(--font-light);
}

.next-event .info .content .details {
    display: flex;
    column-gap: 15px;
    margin: 10px 0;
    font-size: 15px;
}

.next-event .info .content .location {
    color: #afa8a8;
}

.next-event .info .content .details div:nth-child(even) {
    position: relative;
    margin: auto 0;
    margin-top: 4px;
}

.next-event .info .content .details div:nth-child(even) > div {
    width: 5px;
    height: 5px;
    background-color: #959595;
    border-radius: 50%;
}

.next-event .date-mobile {
    display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.next-event .date-mobile > div:first-child {
    text-align: right;
    font-size: 21px;
    padding: 10px 5px;
    margin-right: 5px;
    font-weight: bold;
}

.next-event .date-mobile > a:last-child {
    font-size: 20px;
    text-align: center;
    padding: 15px 5px;
    color: var(--font);
    width: 100%;
    display: block;
    border-top: 1px solid var(--font-light);
}

.next-event .no-next-event {
    padding: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin: auto;
}

.next-event .no-next-event div:first-child {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
}

.next-event .no-next-event div:last-child {
    text-align: center;
    font-size: 18px;
    color: gray;
}

.main-section {
    background-color: var(--main-color);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.big-event {
}

.big-event .cover {
    position: relative;
}

.big-event .cover .img-container {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
}

.img-container .img-filter {
    background-image: url(https://assets.serius.pt/cover/event/cover-filter.png);
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: round;
    position: absolute;
    top: 0;
}

.img-container .video-cover {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.img-container .video-cover > video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.img-container .video-cover > .video-sound {
    z-index: 1;
    position: absolute;
    opacity: 0.2;
    width: 30px;
    left: 10px;
    top: 10px;
    filter: invert(1);
    pointer-events: none;
}

.big-event .cover .logo {
    position: absolute;
    top: 30px;
    right: 40px;
}

.big-event .cover .logo img {
    width: 80px;
}

.big-event .cover .chooser {
    position: absolute;
    top: 20px;
    margin: auto;
    left: 0;
    right: 0;
    width: fit-content;
    display: flex;
    column-gap: 7px;
}

.big-event .cover .chooser div {
    width: 10px;
    height: 10px;
    background-color: var(--main-color);
    border-radius: 50%;
    opacity: 0.5;
}

.big-event .cover .chooser .active {
    opacity: 1;
}


.big-event .cover .info {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 30px;
    margin-right: 27vw;
}

.big-event .cover .info .title {
    font-size: 65px;
    font-weight: bold;
}

.big-event .cover .info .date {
    font-size: 40px;
}

.big-event .cover .poster {
    position: absolute;
    bottom: calc(500px - 1.9* 25vw);
    right: 40px;
} 

.big-event .cover .poster img {
    width: 19vw;
}

.big-event .cover .poster div {
    font-size: 20px;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
}

.big-event .poster-mobile {
    display: none;
}

.big-event .poster-mobile > div {
    text-align: right;
    margin-bottom: 20px;
}

.big-event .poster-mobile img {
    width: 200px;
}

.big-event .cover .progress-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(0,0,0,0.3);
    margin-right: 22vw;
}

.big-event .cover .progress-bar div {
    width: 0%;
    height: 5px;
    background-color: var(--main-color);
    position: relative;
    transition: width 5s linear;
}

.big-event .info-extended {
    margin-right: 22vw;
    padding: 30px;
    font-size: 21px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    min-height: 20vw;
}

.big-event .info-extended .genres {
    display: flex;
}

.big-event .info-extended .genres .genre {
    text-decoration: underline;
}

.big-event .info-extended .genres div:nth-child(even) {
    margin-right: 5px;
}

.big-event .info-extended .details {
    display: flex;
    column-gap: 15px;
    font-weight: bold;
}

.big-event .info-extended .details div:nth-child(even) {
    position: relative;
    margin: auto 0;
}

.big-event .info-extended .details div:nth-child(even) > div {
    width: 5px;
    height: 5px;
    background-color: black;
    border-radius: 50%;
}

.big-event .info-extended .synopsis {
    text-align: justify;
}

.big-event .characters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    column-gap: 20px;
}

.big-event .characters a {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    display: block;
    margin: 5px;
}

.big-event .characters a img {
    width: 100%;
}

.events-calendar {
    margin: 0 40px;
}

.events-calendar .title {
    font-size: 40px;
    font-weight: bold;
    margin: 20px 0;
}

.events-calendar #calendar {
}

.events-calendar #calendar .event-popup {
    position: absolute;
    top: 25px;
    width: 320px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background-color: var(--main-color);
    display: none;
    column-gap: 10px;
    align-items: center;
    box-shadow: 0px 0px 7px -4px gray;
    color: var(--font);
}

.events-calendar #calendar .event-popup img {
    width: 70px;
}

.events-calendar #calendar .event-popup .info {
    white-space: normal;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.events-calendar #calendar .event-popup .info > div:first-child {
    font-size: 18px;
    font-weight: bold;
}

.events-calendar #calendar .event-popup .info > div:nth-child(2) {
    font-size: 15px;
}

.events-calendar #calendar .event-popup .info > div:nth-child(3) {
    color: gray;
}

.fc-daygrid-dot-event .fc-event-title {
    padding: 5px;
}

.fc-daygrid-dot-event {
    background-color: #F9F9F9;
    border: 1px solid var(--border);
}

.fc-button-primary {
    padding: 6px 15px;
}

.fc-col-header-cell-cushion {
    width: 100%;
    overflow: hidden;
    padding-top: 8px !important;
}

.fc-daygrid-event-harness {
    z-index: 5;
}

.fc-daygrid-day-frame {
    max-height: 90px;
}

.fc-daygrid-dot-event {
    padding: unset !important;
}

.fc-event-time {
    margin-bottom: -2px;
}

.event-entry-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 2px;
}

.fc-list-table .event-entry-wrapper {
    padding: 4px 10px;
    margin: -4px 0;
    position: relative;
}

.fc-list-table .event-popup {
    z-index: 100;
    right: 100px !important;
    top: 10px !important;
    left: unset !important;
}

.fc-scroller-harness, .fc-scroller-liquid-absolute {
    overflow: visible !important;
}

.event-entry-highlight {
    background-color: var(--fc-button-bg-color);
    color: white;
}

@media only screen and (max-width: 1500px) {
    .main-section {
        margin-left: unset;
    }

    .next-event {
        flex-direction: row;
        position: relative;
        width: 100%;
        min-height: 160px;
        margin-bottom: 5px;
    }

    .next-event > .title {
        display: none;
    }

    .next-event .poster img {
        width: 177px;
    }

    .next-event .info {
        margin: 15px;
        width: 100%;
    }

    .next-event .info .content > div:first-child {
        font-size: 40px;
    }

    .next-event .info .content > div:nth-child(2) {
        font-size: 32px;
    }

    .next-event .date {
        display: none;
    }

    .next-event .date-mobile {
        display: block;
    }
}

@media only screen and (max-width: 1250px) {
    .main {
        width: unset;
        margin: unset;
    }

    .big-event .cover .poster {
        bottom: -210px;
        right: 20px;
    }

    .big-event .cover .poster img {
        width: 250px;
        margin: auto;
    }

    .big-event .cover .info, .big-event .info-extended {
        margin-right: 280px;
    }
}

@media only screen and (max-width: 750px) {
    .big-event .cover .info, .big-event .info-extended {
        margin-right: unset;
    }

    .big-event .poster {
        display: none;
    }

    .big-event .poster-mobile {
        display: block;
    }

    .img-container .img-filter {
        background-size: cover;
    }

    .big-event .cover .logo img {
        width: 60px;
    }

    .next-event {
        flex-direction: column;
    }

    .next-event > .title {
        display: block;
        font-size: 23px;
        padding: 15px;
        border-bottom: 1px solid var(--font-light);
        margin: 5px 0;
    }

    .next-event > .poster {
        margin: auto;
    }

    .next-event .info {
        text-align: center;
        margin: unset;
        flex-direction: column;
    }

    .next-event .info .logo {
        position: relative;
    }
    
    .next-event .info .details {
        width: fit-content;
        margin: auto;
        margin: 10px auto !important;
    }

    .next-event .date-mobile {
        display: none;
    }

    .next-event .date {
        display: block;
        margin-bottom: 3px;
    }

    .next-event .info .logo {
        margin: auto;
        margin-top: 20px;
    }

    .next-event .info .content > div:first-child, .next-event .info .content .location {
        margin: 0 15px;
    }

    .next-event .info .content > div:first-child, .next-event .info .content > div:nth-child(2) {
        margin-right: unset;
    }

    .fc .fc-toolbar.fc-header-toolbar {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        row-gap: 15px;
    }    

    .big-event .poster-mobile {
        margin: auto;
    }
    
    .big-event .poster-mobile > div {
        text-align: center;
    }

    .big-event .poster-mobile img {
        margin: auto;
    }

}

@media only screen and (max-width: 480px) {
    .big-event .characters {
        margin: 20px;
    }


    .big-event .cover .info .title {
        font-size: 55px;
    }
    
    .big-event .cover .info .date {
        font-size: 30px;
    }

    .big-event .cover .logo {
        top: 20px;
        right: 20px;
    }

    .big-event .cover .logo img {
        width: 40px;
    }

    .event-popup {
        display: none !important;
    }
    
    .fc-daygrid-event-harness {
        overflow: hidden;
    }
}

