﻿    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, sans-serif;
      overflow-x: hidden;
    }
    a{text-decoration:none;color:#4e4e4e}

    header {
      background-color: #333;
      color: white;
      padding: 0.5em 2em;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    nav a {
      color: white;
      text-decoration: none;
      margin-left: 1em;
      font-weight: bold;
    }

    .banner {
      height: 100vh;
      background: url('https://www.airwheel.net/images/se3s/airwheel-se3s-electric-luggage-09.jpg') no-repeat center center/cover;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
      font-size: 2em;
      text-align: center;
    }

    .product-section {
      scroll-snap-type: y mandatory;
      overflow-y: scroll;
/*      height: 200vh; /* 2 screens */*/
    }

    .product {
 /*     height: 100vh;
      scroll-snap-align: start;*/
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2em;
      background-color: #f5f5f5;
      text-align: center;
    }

    .product:nth-child(even) {
      background-color: #e0e0e0;
    }

    .product img {
      max-width: 90%;
      height: auto;
      border-radius: 10px;
      margin-bottom: 1em;
    }

    .news {
      padding: 2em;
      background: #fff;
    }

    .news h2 {
      margin-bottom: 1em;
    }

    .news article {
      margin-bottom: 1.5em;
    }

    .news h3 {
      margin-bottom: 0.3em;
    }

    footer {
      text-align: center;
      padding: 1em;
      background-color: #333;
      color: white;
    }

    @media (min-width: 768px) {
      nav a {
        margin-left: 2em;
      }

      .banner {
        font-size: 3em;
      }

      .product {
        flex-direction: row;
        gap: 2em;
        text-align: left;
        padding: 4em;
      }

      .product img {
        width: 50%;
      }

      .product .info {
        max-width: 50%;
      }
    }