body{
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: #0c1633;
    color: #ffffff;
    font-family: Roboto;
    overflow-x: hidden;
}

h2, h3, h4, h5, h6, p{
    margin: 0;
}

h1{
    margin: 0;
    font-size: calc(1.75rem + 1.75vw);
    text-align: center;
    color: #ffffff;
    font-weight: normal;
    font-family: Fingerpaint;
}

h2{
    font-size: calc(1.25rem + 1.25vw);
    text-align: center;
    font-weight: normal;
    font-family: Fingerpaint;
}

h3{
    font-size: calc(1rem + 1vw);
    margin: 0;
    text-align: center;
}

h4{
    font-size: calc(0.75rem + 0.75vw);
    margin: 0;
    text-align: center;
}

p{
    font-size: calc(0.65rem + 0.65vw);
}

.psmall{
    font-size: calc(0.5rem + 0.5vw);
}

th, td{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
}

.column{
    display: flex;
    flex-direction: column;
    gap: calc(0.2vw + 0.2em);
}

.center{
    align-items: center;
}

.justify-center{
    justify-content: center;
}

.row{
    display: flex;
    flex-direction: row;
    gap: calc(0.2vw + 0.2em);
}

.wrap{
    display: flex;
    flex-wrap: wrap;
    gap: calc(0.2vw + 0.2em);
}

.grid{
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
}

.margin-100{
    margin: calc(0.25vw + 0.25em);
}

.padding-100{
    padding: calc(0.25vw + 0.25em);
}

.padding-200{
    padding: calc(0.5vw + 0.5em);
}

.padding-300{
    padding: calc(0.75vw + 0.75em);
}

.padding-400{
    padding: calc(1vw + 1em);
}

.padding-500{
    padding: calc(1.25vw + 1.25em);
}

.padding-600{
    padding: calc(1.5vw + 1.5em);
}

.padding-600{
    padding: calc(1.75vw + 1.75em);
}

.padding-700{
    padding: calc(2vw + 2em);
}

.padding-800{
    padding: calc(2.5vw + 2.5em);
}

.width-100{
    width: 100%;
    box-sizing: border-box;
}

.height-100{
    height: 100%;
    box-sizing: border-box;
}

input{
    background-color: var(--background-100);
    color: var(--color-200);

    border: calc(0.05vw + 0.05em) solid var(--background-100);
    padding: calc(0.1vw + 0.1em);
    border-radius: calc(0.1vw + 0.1em);
    transition: 0.25s ease-in-out;
}

input:focus{
    outline: none;
    color: var(--color-100);

}

.button{
    padding: calc(0.2vw + 0.2em) calc(0.25vw + 0.25em);
    background-color: #BF1818;
    color: #ffffff;
    text-decoration: none;
    border-radius: calc(0.1vw + 0.1em);
    transition: 0.25s ease-in-out;
    width: fit-content;
}

.button:hover{
    background-color: #910d0d;
}

.subsite{
    z-index: 10000;
    position: fixed;
    top: 0;
    bottom: 0px;
    right: 0;
    gap: 15px;
    padding-left: 10px;
    width: 85vw;
    max-width: 600px;
    background-color: var(--background-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-box-shadow: -5px 0px 15px 5px rgba(0,0,0,0.3);
    box-shadow: -5px 0px 20px 5px rgba(0,0,0,0.6);
    transition: all 0.25s ease-in-out;
}

.subsite[hidden] {
    opacity: 0;
    transform: translateX(110vw);
}

.gbutton{
    border-radius: calc(0.1vw + 0.1em);
    background-color: transparent;
    box-sizing: border-box;
    border: 2px solid #0c1633;
    font-size: calc(0.65rem + 0.65vw);
    color: #0c1633;
    text-decoration: none;
    padding: calc(0.25vw + 0.25em);
    transition: 0.25s background-color ease-in-out;
    text-align: center;
    width: fit-content;
}

.gbutton[light]{
    border: 2px solid #ffffff;
    color: #ffffff;
}

.gbutton:hover, .gbutton:focus{
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
}

.mainsection{
    padding: calc(0.7vw + 0.7rem) 0;
    background-color: #0c1633;
    color: #ffffff;
}

.videosection{
    width: 100vw;
    overflow:hidden;
    height: 95vh;
    height: 95svh;
    background-color: rgba(5, 16, 32, 0.6);
    justify-content:end;
}

.splitsection{
    display: flex;
    flex-direction: row;
    gap: calc(0.2vw + 0.2em);
    padding: calc(1vw + 1rem) 0;
}

.splitsectionimage{
    height: 100%;
    width: calc(25vw + 25em);
    max-width: 60vw;
    object-fit: contain;
    mask-image: url("/img/mask.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-type: alpha;
}

.splitsectioncontent{
    padding: calc(2vw + 2rem);
    color: #ffffff;
}

.rtable tr{
    border: 3px solid white;
}

.rtable td{
    padding: 0 1vw;
}

.tileh{
    /*width: calc(15vw + 0.15rem);*/
    width: 17vw;
    aspect-ratio: 9/16;
    margin: 0 calc(0.25vw + 0.25em);
    border-radius: calc(0.25vw + 0.25em);
    overflow: hidden;
    mask-image: url("/img/tilemask.webp");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-type: alpha;
}

.tileimg{
    width: 17vw;
    position: absolute;
    object-fit: cover;
    border-radius: calc(0.25vw + 0.25em);
    overflow: hidden;
    mask-image: url("/img/tilemask.webp");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-type: alpha;
}

.tilecontent{
    z-index: 10;
    width: 100%;
    height: 100%;
    padding-bottom: calc(0.5vw + 0.5rem);
    justify-content: end;
    align-items: center;
    background: linear-gradient(0deg,rgba(0, 13, 37, 0.95) 0%, rgba(0, 13, 37, 0.80) 15%, rgba(0, 13, 37, 0) 80%);
    transition: 1s background ease-in-out;
}

.tilecontent:hover{
    background: linear-gradient(0deg,rgba(0, 13, 37, 1) 0%, rgba(0, 13, 37, 0.90) 25%, rgba(0, 13, 37, 0.2) 80%);
    cursor: pointer;
}

.cartile{
    width: 30vw;
    aspect-ratio: 1;
    margin: 0 calc(0.25vw + 0.25em);
    border-radius: calc(0.25vw + 0.25em);
    overflow: hidden;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-type: alpha;
}

.cartileimg{
    width: 30vw;
    position: absolute;
    object-fit: cover;
    border-radius: calc(0.25vw + 0.25em);
    overflow: hidden;
    mask-image: url("/img/tilemask_square_1.webp");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-type: alpha;
}

.cartilecontent{
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: calc(0.5vw + 0.5rem);
    justify-content: end;
    align-items: center;

}

.cartileinfo{
    color: #0c1633;
    padding: calc(0.2vw + 0.2rem) calc(0.75vw + 0.75rem);
    background-image: url("/img/carbackground.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.brightsection{
    background-color: #ffefc7;
    overflow: hidden;
}

.sectionmask{
    width: 100%;
    overflow: hidden;
    object-fit: cover;
    display: block;
}

.caption{
    height: calc(4rem + 4vw);
    align-self: start;
}

.captionbackground {
    height: calc(4rem + 4vw);
    position: absolute;
    object-fit: cover;
    border-radius: calc(0.25vw + 0.25em);
    overflow: hidden;
}

.captioncontent {
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    color: #0c1633;
    padding-left: calc(0.75vw + 0.75rem);
    font-size: calc(2.5rem + 2.5vw);
    /*padding-bottom: calc(0.5vw + 0.5rem);*/
    justify-content: end;
    align-items: center;
}

@media only screen and (max-width: 600px), only screen and (orientation: portrait) {

    .splitsection{
        display: flex;
        flex-direction: column;
        gap: calc(0.2vw + 0.2em);
    }

    .splitsectionimage{
        width: calc(25vw + 25em);
        max-height: 40vh;
        max-width: 95vw;
        mask-size: contain;
    }

    .splitsectioncontent{
        padding: calc(1vw + 1rem);
    }

    .tileh{
        width: 45vw;
    }

    .tileimg{
        width: 45vw;
    }

    .cartile {
        width: 70vw;
    }

    .cartileimg{
        width: 70vw;
    }

}