/* styles.css */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "ArsenalSC-Regular", sans-serif;
    font-size: 24px;
    background-color: black;
    color: #ddd;
}

h1 {
    display: block;
    font-size: 43px;
    margin-top: 13.28px;
    margin-bottom: 13.28px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h2 {
    display: block;
    font-size: 36px;
    margin-top: 13.28px;
    margin-bottom: 13.28px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 30px;
    margin-top: 13.28px;
    margin-bottom: 13.28px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

a:link, a:visited {
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

a:hover {
    font-size: 24px;
    text-decoration: underline;
    font-weight: bold;
    color: #fff;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 50px;
    transition: all 0.3s;
}

nav.transparent {
    background-color: transparent;
    color: #aaa;
}

nav.solid {
    background-color: #75a1a6;
    color: white;
}

nav .logo {
    height: 80px;
    width: auto;
}

nav .nav-links {
    font-size: 22px;
    list-style: none;
    display: flex;
    gap: 20px;
}

nav .nav-links a {
    text-decoration: none;
    font-weight: normal;
    color: #fff;
}

nav .nav-links a:hover {
    text-decoration: underline;
    font-weight: normal;
    color: #fff;
}

nav .nav-links a:visited {
    text-decoration: none;
    font-weight: normal;
    color: #fff;
}

nav hr {
    width: 100%;
    border: none;
    border-top: 2px solid #75a1a6;
    margin-top: -2px;
}

#top {
	font-weight: normal;
	text-decoration: underline;
}

#txt {
	font-weight: normal;
	text-decoration: none;
}

#txt:hover {
	font-weight: normal;
	text-decoration: underline;
}

#txt:visited {
	font-weight: normal;
	text-decoration: none;
}

.hero {
    position: relative;
    width: 100%;
    height: calc(110vh - 100px);
    background-color: black;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.hero img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section {
    padding: 150px 0;
    box-sizing: border-box;
}

section.thetube2 {
    padding-top: 150px 0;
    padding-bottom: 25px;
    margin-bottom: 0;
}

section.flyhard1 {
    padding-top: 20px;
    padding-bottom: 25px;
    margin-bottom: 0;
}

section.thetube1 {
    padding-top: 20px;
    padding-bottom: 25px;
    margin-bottom: 0;
}

.content-wrapper {
    margin: 0 auto;
    padding: 0 150px;
}

.about, .contact, .legal, .thetube1, .flyhard1, .thetube2 {
    background-color: #333;
    hyphens: auto;
}

.games-two {
    background-color: #000;
    hyphens: auto;
}

.text .image {
    float: left;
    margin: 0 20px 20px 0;
    width: 45%;
}

.games {
    background-image: url('../images/the_tube_bg.webp');
    background-attachment: fixed;
	background-position: center center;
    background-repeat: repeat;
    background-size: cover;
    background-color: #000;
    color: #ddd;
    hyphens: auto;
    position: relative;
}

.content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content .image {
    flex: 1;
}

.content .text {
    flex: 2;
}

.content img {
    width: 100%;
    border-radius: 25px;
}

.content h2 {
    margin-top: 0;
    color: #fff;
}

.content p {
    text-align: justify;
}

.hidden-hp {
    position: absolute;
    left: -9999px;
}

#newsh {
	font-size: 22px;
	font-weight: italic;
	color: #aaa;
}

#newsp {
	font-size: 15px;
	font-weight: italic;
	color: #aaa;
}

.faq video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    background-size: cover;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    color: #ddd;
}

form input, form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

form button {
	width: 25%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #75a1a6;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 50px;
    background-color: #222;
    color: #aaa;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #ddd;
    margin: 4px 0;
    transition: 0.4s;
}

@media (min-width: 2560px) {
    section .content-wrapper {
        width: 63%;
        margin: 0 auto;
    }
}

@media (min-width: 3440px) {
    section .content-wrapper {
        width: 47%;
        margin: 0 auto;
    }
}

@media (min-width: 5120px) {
    section .content-wrapper {
        width: 32%;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .games {
	background-size: 250%;
	background-position: top left -400px;
    }
}

@media (max-width: 912px) {
    .hero {
        width: 100%;
        height: calc(100vh - 100px);
        background-color: black;
    }
	
	 .hero img {
        width: 198vw;
        height: auto;
        object-position: center 50%;
    }
	
	.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 101%;
    min-height: 101%;
	width: auto;
    height: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
	}
	
	.text .image {
        float: none;
        margin: 0 auto;
        width: 100%;
    }
	
	.games {
	background-size: 300%;
	background-position: top left -400px;
	}

    nav .logo {
        height: 80px;
        width: auto;
    }

    .menu-toggle {
        display: flex;
    }

	.nav-links {
    position: fixed;
    top: -22px;
    left: 100%;
    background-color: #222;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    overflow: hidden;
	}

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

	.nav-links li {
    margin: 20px 0;
    text-align: center;
    width: 84%; /* Setzt die Breite der Listenelemente */
	}

	.nav-links li a {
    display: block;
    width: 84%; /* Setzt die Breite der Links */
    padding: 10px 0;
    text-align: center; /* Zentriert den Text innerhalb der Links */
	}

    .content {
        flex-direction: column;
    }

    nav {
        padding: 0 20px;
    }

    section {
        padding: 100px 20px;
    }
	
	 .content-wrapper {
        padding: 0 10px;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero img {
        width: 100vw;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero {
        height: 100vh;
    }

    .hero video {
        height: auto;
        width: 100vw;
        object-fit: cover;
    }
}

@media (max-width: 480px) {	
	.hero img {
        width: 215vw;
        height: auto;
        object-position: center 50%;
    }
	
	.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
	width: auto;
    height: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
	}
	
	.text .image {
        float: none;
        margin: 0 auto;
        width: 100%;
    }
	
	.nav-links {
    position: fixed;
    top: -22px;
    left: 100%;
    background-color: #222;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    overflow: hidden;
	}

	.nav-links li {
    margin: 20px 0;
    text-align: center;
    width: 70%; /* Setzt die Breite der Listenelemente */
	}

	.nav-links li a {
    display: block;
    width: 70%; /* Setzt die Breite der Links */
    padding: 10px 0;
    text-align: center; /* Zentriert den Text innerhalb der Links */
	}
	
	.games {
	background-size: 400%;
	background-position: top left -400px;
	}
	
	form button {
	width: 75%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #75a1a6;
    color: white;
    font-size: 16px;
    cursor: pointer;
	}
	
	 .content-wrapper {
        padding: 0 10px;
    }
}