
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #2e2e2e; 
    color: #fff; 
    line-height: 1.6;
}


.bg-hero {
    background: url('images/ninjago-hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
      height: 100%}
   


    #homebody {
        background-image: url('season.jpg') ;

        background-size: cover; 
        background-position: center; 
        background-attachment: fixed; 
    }
    
    
   
    



header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f39c12; 
}


.navbar-logo img {
    max-height: 50px;
    width: auto;
}


.main-content {
    margin-top: 80px;
    padding: 40px;
}

h1, h2, h3 {
    font-family: 'Ninja', sans-serif;
    text-align: center;
    color: #f39c12; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

h1 {
    font-size: 48px;
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
}


.section {
    padding: 60px 0;
}

.section:nth-child(even) {
    background-color: #444;
}

.section:nth-child(odd) {
    background-color: #333;
}

.section .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


button, .btn {
    background-color: #f39c12;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #e67e22; 
}

.button {
    background-color: #f44336;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}


footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    font-size: 16px;
}


@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }

    .section .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }
}
.ninja-character {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ninja-character img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.ninja-character .name {
    font-size: 24px;
    color: #f39c12;
    font-family: 'Ninja', sans-serif;
    text-transform: uppercase;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.ninja-logo {
    display: block;
    margin: 0 auto;
    animation: pulse 1s infinite;
}


.parallax {
    background-image: url('images/ninjago-background.jpg');
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  }
  
  li {
    float: left;
  }
  
  li a {

    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover {
    background-color: #111;
  }

 main {
    width: 1300px;
    margin:auto;
 }
 a.button:link, a.button:visited {
    background-color: #cc6300;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
  
  a.button:hover, a.button:active {
    background-color: rgb(255, 166, 0);}
   
   