img {
    display: block;
}

.logo-overlay,
.logo-colored-overlay {
    position: relative;
}

.logo-overlay::before,
.logo-colored-overlay::before {
    content: '';
    position: absolute;
    z-index: 1;
    opacity: .25;
    top: -1.7rem;
    left: -1.9rem;
    width: 7rem;
    height: 7rem;
    background-size: cover;
    background-repeat: no-repeat;
}

.logo-overlay::before {
    background-image: url('../img/logo/logo.png');
}

.logo-colored-overlay::before {
    background-image: url('../img/logo/logo-colored.png');
}

.hero {
    position: relative;
}

.hero:before {
    content: '';
    color: white;
    position: absolute;
    display: block;
    inset: 0;
    z-index: 0;
    background-image: url('../img/banner/banner-overlay.png');
    background-size: cover;
    opacity: .95;
}

.hero-background-image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    top: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
}

.hero-content {
    padding: 7rem 7rem 5rem;
    color: var(--custom-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 5rem;
}

.hero-info {
    font-weight: 400;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
    letter-spacing: .05rem;
}

.hero-info-title {
    width: 100%;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-info-description {
    width: 100%;
    font-size: 1rem;
}

.hero-info-buttons-container {
    display: flex;
    gap: 2rem;
}

.hero-image {
    width: 100%;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hero-image img {
    z-index: 1;
    max-width: 100%;
    height: auto;
}

.hero-image:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../img/logo/logo.png');
    background-size: cover;
    opacity: .25;
    top: -3rem;
    left: -1rem;
    right: -3rem;
    bottom: 0;
}

.hero-next-event-container {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-next-event {
    width: 100%;
    background-color: var(--custom-light);
    color: var(--custom-dark);
    padding: 2rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.hero-next-event-text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--custom-gray);
}

.hero-next-event-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--custom-primary);
}

.hero-next-event-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--custom-dark);
    a {
        text-decoration: underline;
    }
}

.hero-next-event-location {
    color: var(--custom-dark);

}

.hero-next-event-more-info {
    width: fit-content;
    font-size: 1rem;
    font-weight: 700;
    color: var(--custom-dark);
    text-decoration: underline;
}

.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem var(--padding-small) 2rem var(--padding-small);
    gap: 3rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header-title {
    display: flex;
    justify-content: center;
    z-index: 1;
}

.section-header-description {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.section-header-description-text {
    color: var(--custom-secondary);
    font-weight: 700;
    font-size: 2.5rem;
    position: absolute;
    margin-left: 8rem;
    padding-right: 8rem;
}

.section-header-description-buttons-container {
    display: flex;
    gap: 1.25rem;
    position: absolute;
    right: 0;
    z-index: 3;
}

.events-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.agenda-container {
    background-color: var(--custom-primary);
}

.agenda {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding: 5rem var(--padding-small);
    color: var(--custom-light);
}

.agenda-image-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-image-top {
    width: 100%;
    height: 100%;
}

@media (min-width:991px) {
	.agenda-image-top img {
		height: 450px;
		object-position: center;
	}
}

.agenda-image-bottom-container {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 1.5rem;
}

.agenda-image-bottom {
    width: 50%;
    height: 100%;
}

.agenda-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: .3rem;

}

.agenda-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agenda-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.agenda-description {
    font-size: 1rem;
}

.agenda-event-container {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.agenda-event {
    width: 100%;
    background-color: var(--custom-light);
    border-radius: .75rem;
    padding: .6rem;
    display: flex;
    justify-content: space-between;
    color: var(--custom-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    transition: ease-in-out;
    transition-duration: .2s;
    text-decoration: none;

    &:hover {
        cursor: pointer;
        scale: 1.02;
    }

    &.announcement-event:hover {
        cursor: default;
    }
}

.agenda-event-image-info-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.agenda-event-image {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: .5rem;
    object-fit: cover;
}

.agenda-event-date-title-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: .25rem;
}

.agenda-event-date {
    color: var(--custom-gray);
    font-weight: 400;
    font-size: .9rem;
}

.agenda-event-title {
    color: var(--custom-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.agenda-event-icon {
    height: 100%;
    font-size: 1.75rem;
    color: var(--custom-gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: .25rem;
}

.swiper {
    width: 100%;
    cursor: grab;
    padding: .5rem;

    &:active {
        cursor: grabbing;
    }

    &:not(.swiper-initialized) {
        width: 30%;
    }
}

.swiper-wrapper {
    transition-timing-function: ease-in-out;
}

.swiper-slide {
    height: auto;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 5rem 5rem 3rem 5rem;
    }

    .section {
        padding: 2rem var(--padding-mobile) 1rem var(--padding-mobile);
        gap: 2rem;
    }

    .agenda {
        padding: 5rem var(--padding-mobile) var(--padding-mobile);
    }
}

@media (max-width: 992px) {
    .logo-overlay::before,
    .logo-colored-overlay::before {
        top: -1.6rem;
        left: -1.7rem;
        width: 6rem;
        height: 6rem;
    }

    .hero-content {
        padding: 5rem 4rem 3rem;

        .hero-info-buttons-container {
            .button-primary,
            .button-transparent {
                padding: .5rem 1.5rem;
            }
        }
    }

    .hero-info,
    .hero-next-event-container {
        width: 45%;
    }

    .hero-info-title {
        font-size: 2.5rem;
        line-height: 1;
    }

    .hero-info-description {
        font-size: .9rem;
    }

    .hero-next-event {
        padding: 1.75rem;
    }

    .hero-next-event-text {
        font-size: .9rem;
    }

    .hero-next-event-title {
        font-size: 1.5rem;
    }

    .hero-next-event-description {
        font-size: .9rem;
    }

    .hero-next-event-more-info {
        font-size: .9rem;
    }

    .section-header {
        gap: 0;
        margin-bottom: 1rem;
    }

    .section-header-description {
        flex-direction: column;
    }


    .section-header-description-text {
        font-size: 2rem;
        position: relative;
        margin-left: 0;
        padding-right: 0;
    }

    .section-header-description-buttons-container {
        justify-content: space-between;
        position: absolute;
        width: 100%;
    }

    .agenda {
        flex-direction: column-reverse;
    }

    .agenda-image-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .agenda-image-top {
        aspect-ratio: 2 / 1;
    }
    .agenda-image-bottom {
        aspect-ratio: 16 / 9;
    }

    .agenda-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1.5rem
    }

    .agenda-title {
        font-size: 2rem;
    }

    .agenda-description {
        font-size: .8rem;
    }

    .agenda-event-container {
        display: flex;
        flex-direction: column;
        gap: .75rem;
    }

    .agenda-event {
        border-radius: .5rem;
        padding: .4rem;
        align-items: center;
    }

    .agenda-event-image-info-container {
        display: flex;
        gap: .5rem;
    }

    .agenda-event-image {
        width: 3rem;
        height: 3rem;
        border-radius: .3rem;
    }

    .agenda-event-date-title-container {
        justify-content: space-evenly;
        padding: 0;
        gap: .25rem;
    }

    .agenda-event-date {
        font-size: .7rem;
    }

    .agenda-event-title {
        font-size: .9rem;
    }

    .agenda-event-icon {
        font-size: 1.25rem;
        margin-right: .4rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 8rem 3rem 3rem;
        flex-direction: column;
    }

    .hero-info-title {
        font-size: 2rem;
    }

    .hero-info {
        width: 100%;
    }

    .hero-next-event-container {
        width: 100%;
    }

    .hero-image:before {
        top: -3rem;
        left: 0;
        right: -3rem;
        bottom: 0;
        max-width: 100%;
    }

    .hero-info-description {
        font-size: .75rem;
    }

    .hero-next-event {
        padding: 1.5rem;
    }
    .hero-next-event-text {
        font-size: .8rem;
    }
    .hero-next-event-title {
        font-size: 1.25rem;
    }
    .hero-next-event-description {
        font-size: .8rem;
    }
    .hero-next-event-more-info {
        font-size: .8rem;
    }

    .agenda,
    .agenda-image-container,
    .agenda-image-bottom-container {
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding: 7rem var(--padding-xsmall) 3rem;
    }

    .hero-image:before {
        top: 0;
        left: 0;
        right: -3rem;
        bottom: 0;
        max-width: 100%;
    }

    .hero-info-title {
        font-size: 1.8rem;
    }
    .hero-info-description {
        font-size: .7rem;
    }

    .hero-info-buttons-container {
        gap: 1rem;
    }

    .hero-next-event {
        padding: 1rem;
    }
    .hero-next-event-text {
        font-size: .7rem;
    }
    .hero-next-event-title {
        font-size: 1.1rem;
    }
    .hero-next-event-description {
        font-size: .7rem;
    }
    .hero-next-event-more-info {
        font-size: .7rem;
    }

    .agenda {
        padding: var(--padding-xsmall);
    }

    .section {
        padding: 2rem var(--padding-xsmall) 1rem var(--padding-xsmall);
    }

    .section-header-description-text,
    .agenda-title {
        font-size: 1.4rem;
    }

    .section-header {
        gap: 2rem;
        margin-bottom: 0;
    }

    .section-header-description-buttons-container {
        position: absolute;
        width: 100%;
        top: -4.65rem;
    }

    .logo-overlay::before,
    .logo-colored-overlay::before {
        top: -1.6rem;
        left: -1.6rem;
        width: 5rem;
        height: 5rem;
    }
}

@media (max-width: 250px) {
    .hero-info-buttons-container {
        flex-direction: column;
    }
}

@media (min-width: 1300px) {
    .agenda,
    .section {
        padding-left: 0;
        padding-right: 0;
    }
}