 body {
    margin: 0;
    display:flex;
    justify-content: center;
    font-family: "Rye", serif;
    font-weight: 400;
    font-style: normal;
    background:#1F2323;
  }

  .container {
    padding: 0px 20px;
    max-width:1280px;
    margin: 0px auto;
    width: 100%;
  }

  .navbar {
    position: absolute;
    display: flex;
    top: 0px;
    right: 1; /*changed the right and left*/
    left: 1;
    justify-content:space-between;
    align-items: center;
    padding: 10px 10px;   /* different padding */
    z-index: 10;
  }

  .navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
  }

  .logo {
    margin-top: 1px;  /*changed the height from the top */
    margin-right: 60px; /* added margin-right to create space between the right of the logo and the nav bar */
  }

  .logo img {
      width: 80px; /* changed the width  here to make the logo bigger but made it unclear a little*/
      height: auto;
    }

  .menu {
    margin-top: 0;  /*I have no idea but this worked and made everything closer to the top */
  }

  .menu li {
   /* flex-grow: 1;*/
    text-align:center;
    padding-left: 0.5em; /* space between each object in the nav bar*/
    margin: 0 10px; /*added spaces between objects in the menu */
    list-style-type: none;
    display: inline;
  }

  .menu a:hover {
    color: #ffdd57;
  }

  .img-inner {
      display: flex;
      position: absolute;
      top: 30%;
      right: 12%;
      left: 30%;
      color:#fff;
      font-size: 70px;
  }

  .overlay {
      position: absolute;
      background: rgba(57, 57, 57, 0.5);
      inset:0;
      height: 970px;
      margin:0 auto;
  }

  .bg-section {
      padding-top:15px;
      background: linear-gradient(to right,rgb(32, 76, 107),rgb(185, 184, 184));
      background-image: url(https://www.iwantwallpaper.co.uk/images/harry-potter-glow-in-the-dark-black-wallpaper-p6900-19510_image.jpg);
      text-align: center;
      height: 90vh;
      box-sizing: border-box;
  }

  .blog-background {
    background: rgb(7, 24, 32);
    background-image: url(https://media1.popsugar-assets.com/files/thumbor/WCzZSP8GUbu9P1T6Y2JrdcMl-7o/fit-in/2048xorig/filters:format_auto-!!-:strip_icc-!!-/2019/02/28/011/n/24155406/tmp_2KX4zy_bd9f4ca2a0c89a2e_Dark_Arts_-_WWoHP_at_Universal_Studios_no_logo_.jpg);
  }

  .bg {
    background:#1F2323;
  }
  
  .cards {
      display:flex;
      flex-direction: row;
      gap: 20px;
      align-items: center;
      max-width: 80%;
      margin: 0 auto;
      padding:20px;
  }

  .card {
      margin: 5px;
      border:1px solid #ccc;
      width: 100%;
      overflow: hidden;
     box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s;
      border-radius: 10px;
      background: #ccc;
  
  }

  .card img {
      width: 100%;
      height: 200px;
     object-fit: cover;
  }

  .card-text {
      padding: 15px;
  }

  .card:hover {
      transform:translateY(-5px);
  }

  .card-button {
      display: block;
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      background-color: #3b3b3b;
      color: #ffffff;
      text-decoration: none;
      border-radius: 10px;
      max-width: fit-content;
      margin: 0 auto;
  }

  .hogwarts-section {
    background: #1a3f55;
    background-image: url(https://cdn.wallpapersafari.com/23/15/yhdmJP.jpg);
    padding: 20px;
    text-align: center;
    
  }


  .elements {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .left-element {
    flex: 0 0 45%; 
    padding: 10px; 
    box-sizing: border-box;
    
  }
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    padding: 10px;
  }
  
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
  }
  
  .image-item {
    text-align: center;
    margin-bottom: 15px; 
  }
  
  .hogwarts-image {
    width: 100%;
    height: 300px; /*setting a fixed height changed the image heights and fixed the problem*/
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  }
  
  .image-caption {
    margin-top: 10px;
    font-size: 16px;
    color: #dddada; 
    font-weight: bold;
  }
  
  .right-element {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    padding: 10px;
    line-height: 1.6;
    margin-left: 20px; /* Adds space between left and right elements */
    padding-top: 100px;
  }
  
  .characters {
      background-image: url(https://wallpaperaccess.com/full/7327733.png);
  }
  
  .character-color {
    background:#f8f7f4;
  }

  .overlay-ho {
    background: rgba(17, 66, 62, 0.473);
    height: 1000px;
  }
/*.overlay-ch {
  background: rgba(59, 6, 75, 0.5);
  height: 1000px;
}*/

  .footer-description {
    font-size: 14px;
    max-width: 250px;
    line-height: 1.5;
    color: #bbb;
  }
  
  .footer-links {
    grid-column: 2 / span 1;
  }
  
  .footer-links h4, .footer-contact h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin: 5px 0;
  }
  
  .footer-links ul li a {
    color: #ffdd57;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links ul li a:hover {
    color: #fffa90;
  }
  
  .footer-contact {
    grid-column: 3 / span 1;
  }

  .footer {
    background-color: #1F2323;
    color: #ddd;
    padding: 40px 20px;
    font-family: "Rye", serif;
    background-image: url(https://wallpaperaccess.com/full/22925.jpg);
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
  }
  
  .footer-logo-section {
    grid-column: 1 / span 1;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  
  .footer-logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
  }

  .footer-contact p {
    font-size: 14px;
    margin: 5px 0;
    color: #bbb;
  }
  
  .footer-social {
    display: flex;
    gap: 10px;
  }
  
  .footer-social a {
    display: inline-block;
    transition: transform 0.2s;
  }
  
  .footer-social a:hover {
    transform: scale(1.1);
  }
  
  .footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
  }
/*Arya Uprale last worked:11/10/2024 10:16 PM*/

.movie-background {
  background:url(https://images.moviesanywhere.com/e1752b37b6a6277dc16ed75b55b4883f/688a801d-4a1b-424e-b949-80253e07d0e2.jpg);
}
  
 form {
  background-color: #1a3f55;
  width:450px;
  margin: 0 auto;
  height: fit-content;
  padding:15px;
  border-radius: 10px;
 
}

input {
  margin: 10px 0;
  width: 80%;
  display:inline-block;
  padding: 12px 20px;
  border-radius: 10px;

}

#msg {
  padding: 45px 20px;
  
}

label {
  align-items: left;
  float: left;
  padding: 0px 15px;
}

.suggestion { 
  border: 1px solid #15d8f6;
  border-radius: 5px;
  background: #08202a; 
  max-height: 100px; 
  overflow-y: auto; 
  display: none; 
} 
.suggestion div { 
  padding: 10px; 
  cursor: pointer;
 } 
.suggestion div:hover { 
  background-color: #8cd7fd; 
}

.more-options {
  padding-top: 300px;
 
  
}

.element2 {
  margin: 0 auto;
  width: 1000px;
}

.card-style {
  height: 300px;
  width: 600px;
}