/* begin nav */
* {
  padding: 0;
  margin: 0;
}

body {
  height: 230vh;
  position: relative;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #01579b;
}

li {
  list-style: none;
}

a {
  color: black;
  text-decoration: none;
}

.container {
  width: 1600px;
  margin: auto;
}

.subcontainer {
  width: 85%;
  margin: auto;
}

.navbar {
  width: 100%;
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.nav-branding {
  font-size: 1.3rem;
  color: white;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: black;
}

@media (max-width: 1600px) {
  .container {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .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: #98dbc6;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

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

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

/* photo-grid-start */

p {
  color: #0d47a1;
  text-decoration: none;
}
h1 {
  font-size: 30px;
  color: #0d47a1;
}

h2 {
  color: #0d47a1;
}

h3 {
  color: #0d47a1;
}

h4 {
  color: #0d47a1;
}


.programme {
  margin-top: 80px;
  margin-bottom: -50px;
  margin-left: 162px;
  font-size: 30px;
  color: #0d47a1;
}
.programme-structure {
  margin-top: 80px;
  margin-bottom: -50px;
  margin-left: 162px;
  font-size: 30px;
  color: #0d47a1;
  font-family: "Ubuntu Mono", monospace;
}

.Courses {
  margin-top: 100px;
  margin-left: 162px;
  font-size: 30px;
  color: #0d47a1;
}

.cards {
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: auto;
  gap: 50px;
  font-family: sans-serif;
  padding-top: 30px;
}

.cards * {
  box-sizing: border-box;
  border-radius: 6px;
 
  
}




.card__image {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
  border-top: 2px solid #fafafa;
  border-right: 2px solid #fafafa;
  border-left: 2px solid #fafafa;
}

.card__content {
  line-height: 1.5;
  font-size: 0.9em;
  padding: 15px;
  background: #fafafa;
  border-right: 2px solid #fafafa;
  border-left: 2px solid #fafafa;
}

.card__content > p:first-of-type {
  margin-top: 0;
}

.card__content > p:last-of-type {
  margin-bottom: 0;
}

.card__info {
  margin-top: 30px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555555;
  background: #eeeeee;
  font-size: 0.8em;
  border-bottom: 2px solid #fafafa;
  border-right: 2px solid #fafafa;
  border-left: 2px solid #fafafa;
}

.card__info i {
  font-size: 0.9em;
  margin-right: 8px;
}

.card__link {
  color: #64968c;
  text-decoration: none;
}

.card__link:hover {
  text-decoration: underline;
  color: #555555;
  font-size: 15px;
}

/* photo-grid-end */

.olamideo {
  margin-left: 19px;
  margin-bottom: 10px;
  margin-top: 50px;
  color: #0d47a1;
  
}

.my-site {
  color: #0d47a1;
}

.my-site:hover {
  color: #555555;
  text-decoration: underline;
  font-size: 20px;
}

@media (max-width: 864px) {
  .cards {
   max-width: auto;
   margin: 30px;
  }


@media (max-width: 664px) {
  .cards {
   max-width: auto;
   margin: 30px;
  }
