body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.page {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-weight: 500;
  background-color: black;
}

.header {
  display: flex;
  flex-wrap: wrap;
  height: 200px;
  background-image: url(./images/css.breadcrumb.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 150%;
  text-align: center;
}

.header__banner {
  font-weight: 500;
  letter-spacing: -0.64px;
  font-size: 30px;
  line-height: 10px;
  color: #ffe247;
  text-transform: uppercase;
  margin: 20px auto 0;
  padding-top: 20px;
}

/* add a CSS rule for the header title here */
.header-title {
  font-size: 40px;
  color: #e8e8e8;
  letter-spacing: -1.6px;
  font-weight: bold;
  margin: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  min-height: 70px; /* new css */
  align-items: center;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(192, 192, 192, 0.4);
}

/* The List Wrapper */
.nav-links {
  display: flex;
  flex-direction: row;
  list-style: none;     
  justify-content: space-between; 
}

/* Individual Link Styling */
.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 20px;
}

.nav-links a:hover {
  color: #ffe247;
  border: solid 1px;
  border-color: #ffe247;
  border-radius:20px;
  transition: 0.4s ease-in-out;
}


/* Add space between the navbar items */
.nav-menu li {
    margin-left: 15px;
    margin-right: 25px;
}

/* Add padding inside the links to make them easier to click */
.nav-menu li a {
    padding: 5px 10px;
    display: inline-block;
}

/* new css */
.hamburger{
  display: none;
  cursor: pointer;
}
/* new css end */

/* new css */
.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: white;
}
/* new css end */

.logo img {
  height: 80px;                  /* Control logo size via height */
  width: auto;                   /* Maintains aspect ratio */
  display: block;                /* Removes bottom whitespace gap */
  border: none;
  border-radius: 15px;
  margin: 5px 0 5px 5px;
}

.sticky {
	position: sticky;
	top: 0;
}


#loadtime {
  color: white;
  font-size: large;
  text-align: center;
  margin-bottom: 20px;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.content {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  
}

/* add CSS rules for cards and their content here */
.card {
  width: 490px;
  min-height: 440px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:2px 2px 1px 1px #ffe247;

}

.no-right-margin {
  margin-right: 0;
}

.card-title {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.16px;
  color: #151515;
  margin-bottom: 10px;
}

.card-text {
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}

.card-image {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 250px;
}

.card-image2 {
  border-color: white;
  border-bottom-color: silver;
  border-width: 1px;
  border-style: solid;
}

.card-content {
  padding: 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #151515;
}

/* add CSS rules for the footer and its content here */
.footer {
  text-align: center;
  padding: 40px 0 60px;
  background-color: rgba(192, 192, 192, 0.2);
}

.footer-author {
  color: white;
  font-size: 20px;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.2);
}

.flex-container {
  display: flex;
 flex-wrap: wrap;
}

.flex-item {
  flex: 33.3%;
}

/* Mobile Responsive */

@media (max-width: 720px) {
  .flex-item {
    flex: 100%;
    margin: 0 30px;
  }
  
  .header {
      background-image: none;
  }
  /* Add space between the navbar items
.nav-menu li {
    margin-left: 5px;
    margin-right: 5px;
}

/* Add padding inside the links to make them easier to click
.nav-menu li a {
    padding: 5px 5px;
    display: inline-block;
}
*/

/* new css */
.hamburger{
    display: block;
    margin: 0 10px 0 0;
  }

  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu{
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #bdb9b9;
    width: 75%;
    text-align: center;
    transition: 0.3s;
    border: none;
    border-radius: 20px;
  }

  .nav-item{
    margin: 16px 0;
  }

  .nav-menu.active{
    left: 0;
  }
/* new css end */

.logo img {
  height: 50px;                  
  width: 100%;                 
  display: block;                
  border: none;
  border-radius: 5px;
  margin: 0 0 0 10px;
}


/* Mobile Responsive End */

