@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body, html{
    margin: 0;
    background-color: #363636;
    overflow-x: hidden;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    height: max(10vh, 120px);;
    min-height: 100px;
    z-index: 10;

    background-color: #212121;
    font-family: Raleway, Aptos, sans-serif;
    color: whitesmoke;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

header * {
    flex: 1;
}

#profile_photo {
    border-radius: 50%;
    height: 80%;
    object-fit: contain;
    margin: auto 20px;
    flex: 0;
}

#title {
    font-size: 2rem;
}

#links {
    height: 80%;
    max-width: 30%;
    margin: auto 20px;

    align-self: flex-end;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: flex-end;
}

#links a {
    scale: 2;
    color: whitesmoke;
    margin: auto 20px;
    text-decoration: none;
    cursor: pointer;
    flex: 0;
}

#introduction{
    margin-top: max(10vh, 120px);;
}

a {
  color: #bebebe;
}

.alt-bg, .bg {
    color: whitesmoke;
    font-family: Figtree, Aptos, sans-serif;
    padding: 2vh 20vw;
}

.bg {
    background-color: #363636;
}

.alt-bg {
    background-color: #414040;
}

/* ChatGPT generated */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .card {
    background-color: #414040;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
  }
  .card:hover {
    transform: translateY(-5px);
  }
  .card img {
    width: 100%;
    object-fit: contain;
    background: #414040;
  }
  .card-content {
    padding: 1rem;
  }
  .card h2 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
  }
  .card p {
    margin: 0 0 1rem;
    color: whitesmoke;
  }
  .updated {
    font-size: 0.9rem;
    color: #bdbdbd;
  }
  .load-more {
    display: block;
    margin: 2rem auto;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    background: #579e85;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }
  .load-more:hover {
    background: #46806c;
  }
/********************/

#menu-btn{
  display: none;
  scale: 2;
}

@media (max-width: 599px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }

  #titlecard p {
    display: none;
  }

  .no-mob {
    display: none !important;
  }

  #menu-btn{
    display: block;
  }
}

#laminate-menu {
  display: none;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  padding: 2vh;
}

#exit{
  font-family: Raleway, Aptos, sans-serif;
  color: whitesmoke;
  font-size: 2rem;
  cursor: pointer;
}

#laminate-menu a {
  width: 100vw;
  text-decoration: none;
  font-family: Figtree, Aptos, sans-serif;
  font-size: 2rem;
}

#titlecard{
  display: flex;
  flex-direction: column;
}

#titlecard p {
  font-size: .8rem;
}

.alt-card {
  background-color: #363636;
}