:root {

    --side-padding: 15vw;

}

.introduction {

    width: 100%;
    height: 96.7vh;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--tint);

}

.introduction::before {

    content: '';
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0px;
    top: 0px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(180deg, #021D36 0%, rgba(2, 2, 2, 0.3) 100%);
    z-index: 0;

}

.introduction .splash {
    margin-top: 80px;
    z-index: 1;
}

.introduction .splash .message {

    text-align: center;
    font-weight: 700;
    font-size: 48px;
    color: var(--text-primary);
    margin: 0px 0px 60px 0px;
    max-width: 900px;
    line-height: 62px ;

}

.introduction .splash .calendar {

    width: 600px;
    height: 330px;
    border-radius: 10px;
    margin: 0px auto;
    position: relative;
    background-color: var(--splash-calendar);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;

}

.introduction .splash .calendar .events {

    width: 310px;
    height: calc(100% - 40px);
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;

}

.introduction .splash .calendar .events .header {

    flex: 0;
    min-height: 44px;
    max-height: 44px;
    display: flex;
    align-items: center;
    padding: 0px 20px;

}

.introduction .splash .calendar .events .header svg {

    height: 24px;
    width: 24px;

}

.introduction .splash .calendar .events .header span {

    font-weight: 600;
    font-size: 16px;
    margin: 0px 0px 0px 10px;
    color: var(--text-secondary)

}

.introduction .splash .calendar .events .content {

    /*overflow: auto; // allow more than 12 events to be displaye */
    overflow: hidden; /* max 12 events */
    display: flex;
    justify-content: center;

}

.introduction .splash .calendar .events .content table {

    
    width: 310px;
    font-size: 11px;
    font-weight: 600;
    border-collapse: collapse;
    table-layout: fixed

}

.introduction .splash .calendar .events .content table tbody {

    width: 100%;

}

.introduction .splash .calendar .events .content table tr td {

    max-width: 50%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 6.9px 0px;

}

.introduction .splash .calendar .events .content table tr td:first-child {

    padding-left: 20px;

}

.introduction .splash .calendar .events .content table tr td:last-child {

    padding-right: 20px;

}

.introduction .splash .calendar .events .content table tr:nth-child(odd){

    background-color: rgba(0,0,0,0.05);

}

.introduction .splash .calendar .next {

    width: 230px;
    height: calc(100% - 40px);
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    row-gap: 15px;

}

.introduction .splash .calendar .next .details {

    height: 48px;
    flex: 0;

}

.introduction .splash .calendar .next p {

    padding: 0px;
    margin: 0px;
    color: var(--text-primary);

}

.introduction .splash .calendar .next .name {

    font-size: 16px;
    font-weight: 700;

}

.introduction .splash .calendar .next .date {

    font-size: 13px;
    font-weight: 500;
    margin: 2px 0px 0px 0px;

}

.introduction .splash .calendar .next .thumbnail {

    flex: 1;
    background-color: var(--tint);
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

}

.introduction .button-tray {

    flex: 0;
    display: flex;
    gap: 10px;
}

.introduction .button-tray .button {

    background-color: var(--button-primary);
    font-size: 12px;
    padding: 9px 0px;
    width: 100%;
    text-align: center;
    border-radius: 5px;

}

.logo-bar {

    width: 100%;
    display: flex;
    align-items: center;
    padding: 40px 10vw;
    box-sizing: border-box;
    justify-content: center;
    column-gap: 5vw;

}


.logo-bar .wrapper {

    max-width: 1300px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    box-sizing: border-box;
    column-gap: 5vw;

}

.logo-bar .item {

    flex: 1 1 0px;

}

.logo-bar .item img {

    width: 100%;
    max-width: 200px;
    transform: scale(1);
    transition: transform .25s;

}

.logo-bar .item:hover {

    cursor: pointer;

}

.logo-bar .item:hover img {

    transform: scale(1.05);

}

section.news {

    background-color: var(--background-secondary);
    padding: 100px 0px 0px 0px;

}

section.news h1 {

    color: var(--text-secondary);
    font-size: 48px;
    text-align: center;
    font-weight: 600;
    margin: 100px 0px 20px 0px;

}

section.news .cards {

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px var(--side-padding);
    box-sizing: border-box;
    margin: 60px 0px;

}

section.news .cards .wrapper {

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    column-gap: 1.5vw;
    max-width: 1300px;

}

section.news .cards .card {

    flex: 1 1 0px;
    background-color: var(--tint);
    box-shadow: 0px 4px 20px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;

}

section.news .cards .card img {

    width: 100%;
    display: block;

}

section.news .file-downloads {

    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0px calc(var(--side-padding) - 1.5vw);
    

}

section.news .file-downloads .wrapper {

    width: calc(100% + 3px);
    width: 100%;
    display: table;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    max-width: calc(1300px + 3vw);
    box-sizing: border-box;
    border-spacing: 1.5vw;
    table-layout: fixed;
    border-collapse: separate;
    margin: 0px -1.5vw;

}

section.news .file-downloads .item {

    display: table-cell;
    flex: 1 1 0px;
    min-height: 480px;
    width: 50%;
    border-radius: 15px;
    background-color: var(--background-tertiary);
    box-sizing: border-box;
    text-align: center;
    color: var(--text-primary);
    padding: 0px 40px;
    position: relative;
    min-width: 0px;
}

section.news .file-downloads .item .name {

    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 45px 70px 20px 70px;
    line-height: 125%;
    margin: 0px;

}

section.news .file-downloads .item .description {

    font-size: 14px;
    font-weight: 500;
    padding: 0px 40px;
    margin-bottom: 170px;

}

section.news .button {

    position: absolute;
    margin-left: -5px;
    color: var(--text-secondary);
    background-color: var(--button-primary);

}

section.news .button * {

    pointer-events: none;
    user-select: none;

}


section.news .button:hover {

    cursor: pointer;

}

section.news .button .back {

    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
    background-color: var(--button-secondary);

}

section.news .button .front {

    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: var(--button-primary);

}

section.news .button:hover .front {

    filter: brightness(1.05);

}

section.news .button:active .front {

    filter: brightness(1.1)

}

section.news .button p {

    margin: 15px 20px;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: width .1s, height .1s, left .1s, top .1s, transform .1s;

}

section.news .file-downloads .item .button {

    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.articles {

    margin: 150px 0px 0px 0px;
    padding: 0px 0px 200px 0px;
    background-color: var(--background-primary);
    display: flex;
    flex-direction:column;
    align-items: center;

}

.articles article {

    width: calc(100% - (var(--side-padding) * 2));
    max-width: 1300px;
    padding: 140px 0px;
    margin: 0px var(--side-padding);
    background-color: var(--background-primary);
    box-sizing: border-box;
    display: flex;

}

.articles article:nth-child(even) {

    flex-direction: row-reverse;

}

.articles article .image {

    position: relative;
    min-width: 515px;
    height: 410px;
    border-radius: 10px;

}

.articles article .image .img {

    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    background-color: #e5e5e5;
}

.articles article .image .deco-1 {

    position: absolute;
    width: 90px;
    height: 90px;
    top: 50px;
    left: -40px;
    transform: translateX(-100%);

}

.articles article:nth-child(even) .image .deco-1 {

    right: -40px;
    left: initial;
    transform: translateX(100%);

}

.articles article .image .deco-1::before {

    content: '';
    position: absolute;
    top: 50%;
    left: 0px;
    height: 25px;
    width: 100%;
    background-color: var(--decoration-primary);
    transform: translateY(-50%);

}

.articles article .image .deco-1::after {

    content: '';
    position: absolute;
    left: 50%;
    top: 0px;
    height: 100%;
    width: 25px;
    background-color: var(--decoration-primary);
    transform: translateX(-50%);

}

.articles article .image .deco-2 {

    position: absolute;
    width: 220px;
    height: 220px;
    left: 20px;
    top: calc(100% - 20px);
    transform: translate(-50%, -50%);
    border: 30px solid var(--decoration-secondary);
    box-sizing: border-box;
    border-radius: 50%;
}

.articles article:nth-child(even) .image .deco-2 {

    left: calc(100% - 20px);

}

.articles article .image .deco-3 {

    position: absolute;
    width: 64px;
    height: 256px;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background-image: radial-gradient(var(--decoration-tertiary) 3px, transparent 0);
    background-size: 20px 20px;
    background-position: 0px 0px;

}

.articles article:nth-child(even) .image .deco-3 {

    left: -10px;
    transform: translate(-100%, -50%);

}

.articles article .details {

    margin: 0px 0px 0px 90px;
    text-align: left;

}


.articles article:nth-child(even) .details {

    margin: 0px 90px 0px 0px;

}

.articles article .details h1 {

    text-align: left;
    line-height: 132.5%;
    font-weight: 700;
    font-size: 40px;

    overflow: hidden;
    word-wrap: break-word;  
    overflow-wrap: break-word; 

}


.articles article .details p {

    text-align: left;
    line-height: 25.6px;
    font-weight: 400;
    font-size: 16px;

}

@media (max-width: 1700px){

    section.news .file-downloads .item .name {

        padding: 45px 20px 20px 20px;

    }

    section.news .file-downloads .item .description {

        padding: 0px 20px;

    }

}

@media (max-width: 1500px){

    .articles article .image {

        min-width: 412px;
        height: 328px;

    }

    .articles article .image .deco-1 {

        width: 72px;
        height: 72px;
        left: -32px;

    }

    .articles article:nth-child(even) .image .deco-1 {

        left: initial;
        right: -32px;

    }

    .articles article .image .deco-1::before {

        height: 20px;

    }

    .articles article .image .deco-1::after {

        width: 20px;

    }

    .articles article .image .deco-2 {

        width: 176px;
        height: 176px;
        left: 16px;
        top: calc(100% - 16px);

    }

    .articles article:nth-child(even) .image .deco-2 {

        left: calc(100% - 16px);
        top: calc(100% - 16px);

    }

    .articles article .image .deco-3 {

        width: 51.2px;
        height: 204.8px;
        background-size: 16px 16px;

    }

}

@media (max-width: 1450px) and (min-width: 1000px){

    section.news .file-downloads .item .name {

        font-size: 26px;

    }

}

@media (max-width: 1300px) {

    .articles article {

        flex-direction: column;

    }

    .articles article:nth-child(even) {

        flex-direction: column;

    }

    .articles article .details,
    .articles article:nth-child(even) .details {

        margin: 100px 0px 0px 0px;

    }

    .articles article .image {

        height: auto;
        min-width: auto;
        padding-top: 79.6%;

    }

}

@media (max-width: 1200px) and (min-width: 1000px){

    section.news .file-downloads .item .name {

        font-size: 20px;
        padding: 45px 20px 0px 20px;

    }

}

@media (max-width: 1000px){

    section.news .file-downloads .wrapper {

        display: block;

    }

    section.news .file-downloads .wrapper .item {

        display: inline-block;
        width: 100%;
        margin: 0px 0px 3vw 0px;
        
    }

    .introduction .splash .message {

        font-size: 32px;
        line-height: 50px;

    }

}

@media (max-width: 950px){

    .articles article {

        width: calc(100% - 25vw);

    }

    .articles article .image .deco-1 {

        display: none;

    }

    .articles article .image .deco-2 {

        display: none;

    }

    .articles article:nth-child(even) .image .deco-3,
    .articles article .image .deco-3 {

        top: calc(100% + 20px);
        width: 320px;
        height: 50px;
        left: 50%;
        transform: translateX(-50%);

    }

    .introduction .splash .message {

        max-width: calc(100% - 30px);
        margin: 0px auto 60px auto;

    }

}

@media (max-width: 700px){

    .introduction .splash .message {

        font-size: 32px;
        line-height: 48px;

    }

}

@media (max-width: 650px){

    section.news .file-downloads .item {

        padding: 0px 20px;
        min-height: 340px;
        margin: 0px 0px 5vw 0px!important;

    }

    section.news .file-downloads .item .name {

        font-size: 24px;
        padding: 45px 20px 0px 20px;

    }

    .introduction .splash .calendar {

        width: 350px;
        background-color: transparent;

    }

    .introduction .splash .calendar .next {

        display: none;

    }
    

}

@media (max-width: 610px){

    .articles article {

        width: calc(100% - 20vw);

    }

    .articles article .details h1 {

        font-size: 35px;

    }

}

@media (max-width: 550px){

    :root {

        --side-padding: 10vw;
    
    }

    .articles article:nth-child(even) .image .deco-3, 
    .articles article .image .deco-3 {

        width: 256px;

    }

    .articles article .details h1 {

        font-size: 30px;

    }

}

@media (max-width: 450px){

    .introduction .splash .message {

        font-size: 24px;
        line-height: 30px;

        max-width: calc(100% - 100px);
        margin: 0px auto 60px auto;

    }

}

@media (max-width: 380px){

    :root {

        --side-padding: 5vw;
    
    }

    .articles article:nth-child(even) .image .deco-3, 
    .articles article .image .deco-3 {

        width: 192px;

    }

}