@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-Black.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
  }
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #120000;
    color: #ffb3b3;
    margin: 0;
    overflow-x: hidden;
  }
  .header {
    background-color: #330000;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #660000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
  }
  .header h1 {
    margin: 0;
    font-size: 2.5em;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    text-shadow: 0px 2px 5px rgba(255, 0, 0, 0.5);
  }
  .header-image {
    width: 100%;
    overflow: hidden;
    margin-top: 90px;
  }
  .header-image img {
    width: 100%;
    height: auto;
  }
  .contact-icons {
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  .contact-icons img {
    width: auto;
    height: 4vw;
    margin: 0 10px;
  }
  .container {
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
  }
  .section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(255, 0, 0, 0.3);
    transform-style: preserve-3d;
  }
  .section-title {
    font-size: 2em;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: #ff6666;
    text-shadow: 0px 2px 5px rgba(255, 0, 0, 0.5);
  }
  .item {
    background-color: #220000;
    color: #ffcccc;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0px 2px 5px rgba(255, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .item-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px; /* Spacing around the content */
  }
  
  .item-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    margin: auto;
    height: auto;
    max-height: calc(100% - 0px); /* Adjust image height here */
    top: 5px;
    object-fit: cover; /* Cover the area and maintain aspect ratio */
    border-radius: 10px; /* Round all corners of the image */
  }
  
  .item-text {
    position: absolute;
    bottom: 10px; /* Space from the bottom */
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8em;
  }
  
  .item:hover {
    box-shadow: 0px 5px 15px rgba(255, 0, 0, 0.5);
  }
  .item::before {
    content: '';
    position: absolute;
    top: -1px; 
    left: -1px; 
    right: -1px; 
    bottom: -1px; 
    border: 1px solid #ff6666; 
    border-radius: 11px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .item:hover::before {
    opacity: 1;
  }
  @media (max-width: 800px) {
    .item {
      width: calc(50% - 20px); 
      height: calc(50vw - 20px);
    }
    .section {
      width: 100%;
    }
    .contact-icons img {
        width: auto;
        height: 10vw;
        margin: 0 10px;
      }
  }
  .devvlog-item {
    height: 200px;
  }
  .anleitung-item {
    height: 300px;
  }