@font-face {
    font-family: ArialNarrow;
    src: url("fonts/arialnarrow.ttf");
}

@font-face {
    font-family: Univers Extended;
    src: url("fonts/Univers\ Next\ Pro\ ExtraBlack\ Extended.ttf");
}


html {
    overflow-x: hidden;
    background-color: #ffffff;
}


@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 300% 300%;
    background-image: linear-gradient(90deg, #0076be 0%, #7D7F7E 50%, #FF7C00 100%);
    -webkit-animation: AnimateBG 20s ease infinite;
    animation: AnimateBG 20s ease infinite;
    z-index: -100;
    position: fixed;
    top: 0;
    left: 0%;
}

.bgimgbottom {
    position:absolute;
    bottom:0;
}

@-webkit-keyframes AnimateBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes AnimateBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.logo {
    width: 10%;
    justify-content: left;
    position: fixed;
    z-index: 2;
    margin-top: -1.5%;
}

h1 {
    font-size: 6vw;
    color: rgb(0, 0, 0);
    text-align: left;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    line-height: 90%;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.8vw;
    word-break: break-word;
    font-family: Univers Extended;
    color: #000000;
    text-align: left;
    letter-spacing: -1px;
}

h7 {
    font-size: 2vw;
    word-break: break-word;
    font-family: Univers Extended;
    color: #000000;
    margin: 0;
    text-align: left;
    letter-spacing: -1px;
}

h5 {
    font-size: 1.5vw;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    margin: 0;
    text-align: left;
    letter-spacing: -1px;
    line-height: 125%;
}

h8 {
    font-size: 1.5vw;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    margin: 0;
    text-align: left;
    letter-spacing: -1px;
}

h9 {
    font-size: 1.5vw;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    margin: 0;
    text-align: left;
    letter-spacing: -1px;
}

h6 {
    font-size: 2vw;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    margin: 0;
    text-align: left;
    letter-spacing: -1px;
}


h3 {
    font-size: 1.5vw;
    color: #000000;
    word-break: break-word;
    font-family: ArialNarrow;
    line-height: 1.8vw;
    line-height: normal;
    text-align: left;
    letter-spacing: -1px;
}

p {
    font-size: 1vw;
    color: rgba(0, 0, 0, 0.689);
    font-family: ArialNarrow;
    text-align: left;
    letter-spacing: -1px;
}

h4 {
    font-size: 1.15vw;
    color: rgb(255, 255, 255);
    font-family: ArialNarrow;
    text-align: left;
    letter-spacing: -1px;
}

h10 {
    font-size: 1.3vw;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #ffffff;
    margin: 0;
    text-align: center;
    padding: 5px;
}

h11 {
    font-size: 1vw;
    color: rgb(0, 0, 0);
    text-align: left;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #00000090;
    line-height: 90%;
    text-align: left;
    letter-spacing: -1px;
}

h12 {
    font-size: 15vw;
    color: rgb(0, 0, 0);
    text-align: left;
    word-break: break-word;
    font-family: ArialNarrow;
    color: #000000;
    line-height: 90%;
    margin-left:5%;
    text-align: left;
    letter-spacing: -1px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 1;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    margin-left: 5rem;
    font-family: Univers Extended;
    letter-spacing: -1px;
}

li a:hover {
    color: rgb(0, 0, 0);
    transition: 1s;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    top: 2%;
    right: 2%;
    position: fixed;
    z-index: 3;
}

li {
    float: left;
    position: relative;
    list-style: none;
}

li a {
    color: #000000;
    font-size: 1.25vw;
}

.hamburger {
    display: none;
    position: fixed;
    z-index: 4;
    top: 10px;
    right: 10px;
    z-index: 3;
}

a {
    color: #ffffff;
}

a:hover {
    color: rgb(149, 147, 127);
    transition: 1s;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #292929;
}

#intro {
    width: 100%;
    height: 98vh;

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

    position: relative;
}

.image-wrapper {
    position: relative;
    width: 95%;
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;

    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.corner-link {
    position: absolute;
    right: 13%;
    bottom: 11.25%;
    width: 13%;
    z-index: 10;
}

.corner-link img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.content {
    margin-top: 0%;
    margin-left: 20%;
    margin-right: 20%;
    position: relative;
    text-align: justify;
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    padding-top: 1%;
    padding-bottom: -20%;
}


button {
    background-color: #000000;
    border: none;
    color: white;
    padding: 5px 15px;
    text-align: center;
    margin: 4px 2px;
    opacity: 1;
    transition: 0.5s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5%;
    font-family: Univers Extended;
    font-size: 1.25vh;
}

button:hover {
    opacity: 1;
    background-color: #000000;
}

#logo {
    width: 15%;
    position: relative;
    z-index: 2;
    margin-top: 2%;
    margin-left: 2%;
}

.intro-text {
    margin-top: 10%;
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
    position: absolute;
    z-index: 3;
}

@keyframes swing {
    0% {
        transform: rotate(3deg);
    }

    100% {
        transform: rotate(-1deg);
    }
}

#tasand3 {
    position: relative;
    z-index: 0;
    width: 100%;
    margin-top: -8.8%;
}

img {
    width: 100%;
}

.event-image {
    border-radius: 2%;
}

.footer {
    position: absolute;
    width: 100%;
    left: 0;
    background-color: #ff766fa9;
    text-align: center;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.flex-container div {
    padding: 3vw;
    margin: 3vw;
    width: 50%;
    text-align: left;
}

.flex-container-2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

.flex-container-2 div {
    width: 50%;
    text-align: center;
}

.flex-container-2 img {
    margin-left: 0%;
    width: 90%;
}

.back-image .middle {
    position: absolute;
    width: 50%;
    opacity: 0;
    transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -webkit-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
}

.back-image .middle img {
    border-radius: 25px;
    box-shadow: 5px 2px 10px #888888;
}

.back-image:hover .middle {
    opacity: 1;
}

@media screen and (max-width:1024px) {
    li a {
        font-size: 2vw;
    }

    .logo {
        width: 25%;
        margin-top: -22.5%;
    }

    .content {
        margin-top: 2.5%;
        margin-left: 5%;
        margin-right: 5%;
        position: relative;
        padding-bottom: 1vw;
        text-align: left;
    }

    th {
        padding-top: 2.25vw;
        font-size: 3.5vw;
        line-height: 7vw;
    }

    td {
        text-align: left;
        align-items: center;
        padding: 0px;
        font-size: 2vw;
        line-height: 5vw;
    }

    .intro-image {
    width: 100%;
}

    h1 {
        font-size: 9vw;
        word-break: break-word;
    }

    h2 {
        font-size: 5vw;
        word-break: break-word;
        width: 100%;
        line-height: 6vw;
    }

    h5 {
        font-size: 2.5vw;
        word-break: break-word;
        width: 100%;
    }

    h6 {
        font-size: 4vw;
        word-break: break-word;
        width: 100%;
    }

    h7 {
        font-size: 4vw;
        word-break: break-word;
        width: 100%;
    }

    h8 {
        font-size: 2.25vw;
        word-break: break-word;
        width: 100%;
    }

    h9 {
        font-size: 2.25vw;
        word-break: break-word;
        width: 100%;
    }

    h3 {
        font-size: 3vw;
        line-height: 4vw;
        word-break: break-word;
        width: 100%;
    }

    .content p {
        font-size: 2vw;
    }

    .content h4 {
        font-size: 1.5vw;
    }


    h10 {
        font-size: 2.25vw;
    }


    h11 {
        font-size: 2.25vw;
    }

    .nav-item {
        margin-left: 2rem;
        font-family: Univers Extended;
    }

}

@media only screen and (max-width: 768px) {

    .logo {
        width: 40%;
    }

    .nav-menu {
        left: 100%;
        top: 5rem;
        flex-direction: column;
        background-color: #F07800;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 6;
        position: fixed;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    li a {
        font-size: 5vw;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: fixed;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    th {
        font-size: 4.5vw;
        line-height: 7vw;
    }

    td {
        font-size: 3vw;
        line-height: 6vw;
        display: inline-table;
        margin: 1vw;
    }

    .tabeltwo td {
        line-height: 4vw;
    }

    .tabeltwo tr {
        padding: 200px;
    }

    h1 {
        font-size: 10vw;
    }

    h2 {
        font-size: 5vw;
    }

    h5 {
        font-size: 4vw;
    }

    h6 {
        font-size: 5vw;
    }

    h3 {
        font-size: 4vw;
        line-height: 5vw;
    }

    h8 {
        font-size: 4vw;
        word-break: break-word;
        width: 100%;
    }

    h9 {
        font-size: 4vw;
        word-break: break-word;
        width: 100%;
    }


    h10 {
        font-size: 2vw;
    }

    h11 {
        font-size: 3vw;
    }

    .content p {
        font-size: 2.5vw;
    }

    .content h4 {
        font-size: 2.5vw;
    }

    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .flex-container div {
        padding: 3vw;
        margin: 0vw;
        width: 50%;
        text-align: center;
    }

    .flex-container .logo {
        width: 75%;
    }
}


/* gallery */


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding: 10px;
}

.thumbnail {
    width: calc(25% - 20px);
    /* 4 thumbnails per row */
    margin: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    /* Ensures the thumbnail is always square */
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop the image to fill the square */
    filter: grayscale(100%);
    /* Black and white filter */
    transition: transform 0.3s;
    opacity: 0.8;
}

.thumbnail:hover img {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
}

.overlay p {
    margin: 0;
    /* Remove default margin from paragraphs */
}


/* Mobile Styles */
@media (max-width: 600px) {
    .thumbnail {
        width: calc(100% - 20px);
        /* Full width on mobile */
    }

    h10 {
        font-size: 6vw;
    }
}