header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  }

  * {
    box-sizing: border-box;
  }

  .mySlides {
    display: none;
  }

  img {
    vertical-align: middle;
  }

  /* Slideshow container */
  .slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }

  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }

  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active {
    background-color: #717171;
  }

  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @keyframes fade {
    from {
      opacity: .4
    }

    to {
      opacity: 1
    }
  }

  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .text {
      font-size: 11px
    }
  }


  header video, header img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
  }

  header img {
    display: none;
  }

  .header-content {
    position: relative;
    z-index: 1;
  }

  .inner {
    position: relative;
    z-index: 2;
  }

  .ct-pageHeader-title {
    font-size: 2.5rem;
    color: white;
  }

  .ct-divider-line-type3 {
    margin: 30px 0;
  }

  .btn-group {
    margin: 10px;
  }

  @media (max-width: 768px) {
    header video {
      display: none;
    }
    header img {
      display: block;
    }
  }


  header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Sötét átfedés, állítható az átlátszóság */
    z-index: 0;
  }

  /* Style the tab */
  .tab {
    overflow: hidden;
  }

  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    float: none;
    outline: none;
    cursor: pointer;
    padding: 14px 30px;
    transition: 0.3s;
    font-size: 17px;
    border: 1px solid #ccc;
  }

  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }

  /* Style the tab content */
  .tabcontent {
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
  }

  @-webkit-keyframes fadeEffect {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes fadeEffect {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

/* Mobile view */
@media (max-width: 767px) {
  .product-content {
      display: flex;
      flex-direction: column;
  }

  .product-image {
      order: 1; /* Image first */
      width: 100%;
      text-align: center; /* Center the image */
  }

  .product-details {
      order: 2; /* Details second */
      width: 100%;
  }

  .product-image img {
      width: 100%;
      height: auto;
  }
}

/* Desktop view */
@media (min-width: 768px) {
  .product-content {
      display: flex;
      align-items: center;
  }

  .product-image {
      flex: 0 0 50%; /* Take up half the width */
      text-align: center; /* Center the image */
  }

  .product-details {
      flex: 1; /* Take up remaining space */
  }

  .product-image img {
      max-width: 100%;
      height: auto;
  }
}
