@font-face {
    font-family: 'CustomFont';
    src: url('res/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    /*font-family: 'Bahnschrift', Arial, sans-serif; */
    font-family: 'CustomFont', sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #1f1f1f;
    color: #e4e4e4;
    padding: 50px;
    text-align: center;
}


/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('res/alsnem.com render 3.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
} */


main {
    flex: 1;
}

footer {
    margin-top: auto;
}

header {
    background-color: #1f1f1f;
    color: white;
    padding: 50px;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #8e9c8f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #f9be0c;
}

.slideshow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.slideshow-container {
    position: relative;
    width: 60vw;
    height: 60vw;

    overflow: hidden;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}




.centered {
    display: block;
    margin: 2vw auto;
    width: 100%;
    max-width: 80%;
    height: auto;
}


.tab-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background-color: #1f1f1f;
    border-radius: 20px;
    box-shadow: 0 7px 20px rgb(0, 0, 0);
    transition: box-shadow 0.8s ease-in-out;
    margin: 20px 0;
}

.tab-navigation:hover {
    box-shadow: 0px 0 5px rgb(255, 255, 255);
}


.tab-navigation .logo {
    height: 50px;
    padding: 2vw;
    align-self: center;
}

.tab {
    padding: 1vw 2vw;
    text-decoration: none;
    color: #aaa;
    font-size: clamp(14px, 4vw, 18px);
    font-weight: 500;
    position: relative;
    border-radius: 8px;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tab:hover {
    color: #ffffff;
}

.tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.tab:hover::after {
    width: 100%;
}

.tab.active {
    color: #ffffff;
    font-weight: 600;
    transform: translateY(-3px);
}

.tab.active::after {
    width: 100%;
}

.tab.active:hover {
    color: #687f8d;
}


.divider {
    height: 10vw;
    background-color: transparent;
}

.linedivider {
    width: 100%;
    height: 1px;
    background-color: #c9c9c9;
    margin: 20px auto;
}


h1 {
    font-size: 5vw;
    display: block;
    margin-bottom: 20px;
    align-self: center;
}

p1 {
    font-size: 1.5vw;
    display: block;
    margin-bottom: 20px;
    align-self: center;
}

.contacty {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contacty h1 {
    font-size: 5vw;
    display: inline-block;
    color: #ffffff;
    opacity: 0;
    transition: opacity 2.5s ease, color 2.5s ease;
}

.contacty h2 a {
    font-size: 8vw;
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    transition: color 2.5s ease;
}

.contacty h3 {
    font-size: 4.5vw;
    display: inline-block;
    color: #ffffff;
    opacity: 0;
    transition: opacity 2.5s ease, color 2.5s ease;

}

.contacty h1:hover {
    color: #27e402;
    opacity: 1;
}

.contacty h2 a:hover {
    text-decoration: underline;
    opacity: 1;
}


.contacty h1:hover~h2 {
    color: rgb(255, 255, 255);
    opacity: 1;
}

.contacty h1:hover~h3 {
    color: rgb(209, 19, 19);
    opacity: 1;
}

.contacty h1::selection,
.contacty h2::selection,
.contacty h3::selection {
    color: #3d4140;
}

.contact_foot {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 50px;
}

.contact_foot p {
    margin: 0px;
    font-size: 12px;
    color: white;
    line-height: 1;
}

.contact_foot a {
    margin: 0px;
    font-size: 20px;
    color: #c9c9c9;
    text-decoration: none;
    transition: ease-in 0.7s;
    line-height: 1;
    vertical-align: bottom;
}


.contact_foot a:hover {
    color: #2f7299;
}

button {
    background: none;
    border: none;
    font-size: 5vw;
    cursor: pointer;
}