/*
Theme Name: Paul Test Theme
Theme URI: https://deine-seite.de/
Author: Dein Name
Author URI: https://deine-seite.de/
Description: Mein eigenes Theme auf Basis von HTML, CSS, JS
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mein-html-theme
*/


/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* ===== Basis-Reset & Font ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #f2f2f2;
  scroll-behavior: smooth;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* ===== Navigation ===== */
header {
  background: linear-gradient(darkslateblue -40%, black);
  border-bottom: 1px solid #222;
}

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

.nav h1 {
  font-size: 1.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

/* ===== Hero ===== */
/*#hero {
  background: linear-gradient(145deg, #121212, #1e1e1e);
  text-align: center;
  padding: 100px 20px;
}
das hier war vorher einfach nur mit grauen bg
*/

#hero {
  background: 
    linear-gradient(rgba(18,18,18,0.6), rgba(30,30,30,0.8)),
    url('Timeline_SC2_2.png') center/cover no-repeat;
  background-position: center 65%;
  text-align: center;
  padding: 100px 20px;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
  color: #bbb;
}

/* ===== Sections ===== */
.section {
  margin-top: 80px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* ===== Video Gallery ===== */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.video-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  flex: 1 1 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
}

video {
  width: 100%;
  display: flex;
}

.video-info {
  padding: 15px;
}

/* ===== Kontaktformular ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: #f2f2f2;
  flex: 1;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  align-self: flex-start;
  padding: 12px 30px;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #0097a7;
}

/* ===== Footer ===== */
footer {
  background: #111;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
  color: #666;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .form-grid {
    flex-direction: column;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }
}


