/* Example CSS file */ 
/* 
** The Header Media Queries **
** Tweak as per your needs **
*/
body {
            background-color: #001738;
             font-family: "Habibi", serif;
             padding-left: 10px;
              padding-right: 10px;
              color: white;
              h1 {
                font-size:20px;
              }
              h2 {
                font-size: 15px;
              }
              ul {
                list-style: none;
                li {
                  padding-bottom: 15px;
                  a {
                    color: white;
                    text-decoration: none;
                    padding-left:0;
                    margin-left:0;
                    
                  }
                }
              }
              a {
                color: white;
                text-decoration: none;
                padding: 10px 0;
                margin:10px 0;
              }
              div{
                padding:5px 0;
              }
        }
@media (min-width: 1200px) {
  body {
    padding-left: 300px;
    padding-right: 300px;
  }
}
        
.brand {
  font-weight: bold;
  font-size: 20px; 
  color: white;
  text-decoration: none;
}

.site-header {
  position: relative;
   }

.site-header__wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem; }
  @media (min-width: 600px) {
    .site-header__wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 0;
      padding-bottom: 0; } }
@media (min-width: 600px) {
  .nav__wrapper {
    display: flex; 
    list-style: none;
    text-decoration: none;
  } }

@media (max-width: 599px) {
  .nav__wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    list-style: none;
    text-decoration: none;
    transform: translateY(-100%);
    
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; }
    .nav__wrapper.active {
      visibility: visible;
      opacity: 1;
      transform: translateY(0); } }

.nav__item a {
  display: block;
  padding: 1.5rem 1rem; 
  text-decoration: none;
  color: white;
}

.nav__toggle {
  display: none; }
  @media (max-width: 599px) {
    .nav__toggle {
      display: block;
      position: absolute;
      right: 1rem;
      top: 1rem; } }

  /* footer */

  .footer {
  display: flex;
  gap: 25px;        /* space between items */
  padding-right: 20px;
  justify-content: left;
  align-items: left;
  color: white;
  padding-top:50px;
  a {
    color: white;
    text-decoration: none;
  }
}
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* writing */

.subtitle {
  color: #7f8aa3;
  margin-bottom: 40px;
}

.year-group {
  margin-bottom: 50px;
}

.year {
  font-size: 14px;
  color: #6e7a94;
  margin-bottom: 20px;
}

.post {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}

.title {
  white-space: nowrap;
}

.line {
  flex: 1;
  height: 1px;
  background: white;
}

.date {
  font-size: 13px;
  color: #7f8aa3;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .post {
    flex-wrap: wrap;
  }

  .line {
    order: 3;
    width: 100%;
  }

  .date {
    margin-left: auto;
  }
}

/* work */
.year-group {
  margin-bottom: 50px;
}

.year {
  font-size: 14px;
  color: #6e7a94;
  margin-bottom: 20px;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
}

.title {
  white-space: nowrap;
}

.line {
  flex: 1;
  height: 1px;
  background: #1a2235;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 12px;
  background: #111827;
  color: #9fb0d1;
}
