body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url("magnetsback.png");
  /*   background: url("https://static.independent.co.uk/s3fs-public/thumbnails/image/2014/12/06/12/v2-bbc%20camera%20robot%20news.jpg"); */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
        background-size: cover;
}

header {
    background-color: #000;
    color: white;
    padding: 2px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 997;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
  .sticky + .content {
    padding-top: 102px;
  }
  

.logo {
    font-size: 24px;
    font-weight: bold;
    max-height: 100px;
    height:50px !important;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

section {
    padding: 40px;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

#chyron {
    position: relative;
    background-color: #ff6600;
    color: white;
    padding: 20px;
    text-align: center;
}

.chyron-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

section {
    padding: 40px;
}

#breaking {
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    background: #000;
    color: #F7FAFC;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    height: 30px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #breaking,
  #newsTicker {
    border: 2px solid #000;
  }
  #newsTicker {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #C8B568;
    color: black;
    box-shadow: 0px 0px 8px 2px #000000;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 998;
    height: 64px;
    display: flex;
    align-items: center;
  }
  .date {
    margin-right: 10px;
    text-decoration: underline;
  }
  .story {
    margin-right: 20px;
  }
  #newsTicker p {
    margin: 0;
    display: inline-block;
    font-size: 32px;
    padding-left: 100%;
    animation: tickerTape 120s linear infinite;
  }
  @keyframes tickerTape {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-100%, 0);
    }
  }
  
  .content {
    position: absolute;
    min-width: 100vw;
    height: calc(100vh - 45px);
    margin-top: 45px;
    background: url("magnetsback.png");
  /*   background: url("https://static.independent.co.uk/s3fs-public/thumbnails/image/2014/12/06/12/v2-bbc%20camera%20robot%20news.jpg"); */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
        background-size: cover;
  }
    
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}


/* Media Queries for Responsive Design */

/* Small screens (phones) */
@media only screen and (max-width: 600px) {
    header {
        font-size: 18px;
    }

    nav li {
        margin: 0 10px;
    }

    section {
        padding: 20px;
    }
}

/* Medium screens (tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    header {
        font-size: 24px;
    }

    nav li {
        margin: 0 15px;
    }
}

/* Large screens (desktops) */
@media only screen and (min-width: 1025px) {
    header {
        font-size: 30px;
    }

    nav li {
        margin: 0 20px;
    }
}
