/* Grundlegende Styles */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

header .logo {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

/* Styling für die Navigation */
table {
    margin: 0 auto;
}

table p a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

table p a:hover {
    color: #ff9800;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    text-align: center;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li:hover {
    background-color: #444;
}

/* Dropdown Content (versteckt beim Laden) */
nav ul li .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 160px;
}

nav ul li:hover .dropdown-content {
    display: block;
}

/* Styling der Links im Dropdown */
nav ul li .dropdown-content a {
    padding: 10px;
    color: white;
    text-decoration: none;
}

nav ul li .dropdown-content a:hover {
    background-color: #555;
}

/* Hero Section */
.hero {
    background: url('https://infotastisch.selfhost.co/shop/pics/academy.jpg') no-repeat center center/cover;
    text-align: center;
    color: black;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bolder;
    background-color: #F2F2F2;
    border-radius: 8px;
    color: #ff9900;  
}

.hero p {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    background-color: #F2F2F2;
    border-radius: 8px;
}

.cta-button {
    background-color: #ff9900;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #e68900;
}

/* Services Section */
.services {
    padding: 50px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.service-item {
    margin: 20px 0;
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-item a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin: 15px;
}
.service-item a:hover {
    color: #ff9800;
}

/* About Section */
.about {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio {
    padding: 50px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.portfolio h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.portfolio-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.portfolio-item {
    max-width: 300px;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

.portfolio-item p {
    margin-top: 10px;
    font-size: 1.1em;
}

footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.contact-list, .social-list {
  font-family: Arial, sans-serif;
  font-size: 16px;
  margin-left: 0;
}

.contact-list a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 15px;
}

.contact-list a:hover {
  color: #ff9800;
}

.contact-info {
    text-align: center;
}

.social {
    text-align: center;
}

.social-list a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin: 15px; 
}

.social-list {
    display: inline-block;
}

.social-list a:hover {
  color: #ff9800;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  z-index: 1000;
}

/* Allgemeine Stile für das Cookie-Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* Stil für den Text im Banner */
#cookie-banner p {
    margin-bottom: 15px;
    text-align: center;
    max-width: 600px;
}

/* Stile für die Checkbox-Optionen */
.cookie-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.cookie-options input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Stil für den Button */
#accept-cookies {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #45a049;
}

/* Stil für den Button, wenn der Benutzer das Banner akzeptiert hat */
#cookie-banner.accepted {
    display: none;
}

/* Reaktionsschnelligkeit */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 15px;
    }

    .cookie-options {
        flex-direction: column;
        gap: 10px;
    }

    #accept-cookies {
        width: 100%;
        font-size: 18px;
    }
}

/* Grundlegendes Styling für den Video-Container */
.video-container {
    justify-content: center;
    width: 40%;
    height: 100%;
    overflow: hidden;
    background: white; /* Hintergrundfarbe für den Container */
    margin: auto;
    margin-top: 65px;
    border-radius: 15px;
}

/* Styling für das Video */
.video-container video {
    width: 100%; /* Video nimmt die volle Breite des Containers ein */
    height: 100%; /* Video nimmt die volle Höhe des Containers ein */
    object-fit: cover; /* Video skaliert so, dass es den Container ausfüllt, ohne das Seitenverhältnis zu verzerren */
}

/* Optional: Einfache responsive Anpassungen */
@media (max-width: 768px) {
    .video-container video {
        object-fit: contain; /* Für kleinere Geräte könnte man 'contain' verwenden, damit das Video vollständig sichtbar bleibt */
    }
}

#contact-mail {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
    margin-right: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.submit {
    width: 100%;
    padding: 12px;
    background-color: #ff9800;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.submit :hover {
    background-color: #e68900;
}

.messenger {
    position: fixed;  /* Das Element bleibt immer an der gleichen Stelle */
    bottom: 20px;     /* Abstand vom unteren Rand */
    left: 20px;      /* Abstand vom rechten Rand */
    z-index: 1000;    /* Stellt sicher, dass der Button immer oben ist */
    background-color: #ff9800;
    border-radius: 8px;
}

.messenger a {
    display: block;
}

.messenger img {
    width: 100px;
    height: 100px;
    border-radius: 50%;  /* Optional: macht das Bild rund */
    transition: transform 0.3s ease;  /* Sanfte Animation */
}

.messenger img:hover {
    transform: scale(1.2);  /* Bild wird etwas größer, wenn man darüber fährt */
}

.messenger p {
    color: white;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  background-color: #333;
  color: #ff9800;
  border: none;
  padding: 14px 18px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #555;
  transform: translateY(-2px);
}