@font-face {
  font-family: "Archivo";
  src: url("fonts/static/Archivo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Archivo-expanded";
  src: url("fonts/static/Archivo_Expanded-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  line-height: 1.6;
  color: #343434;
}

header {
  position: relative;
  padding: 0;
}

#header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0);
}

#header-content nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

#header-content nav li a{
  font-family: "Archivo", "poppins", sans-serif;
  color: #f5b9c0;
  margin-left: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

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

#header-content nav ul li:hover {
  color: rgb(201, 56, 119);
  cursor: pointer;
}

#img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0.5rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
}

main h2,
h3 {
  color: #08503b;
  font-family: "Archivo", sans-serif;
}

hr {
  width: 60%;
  height: 0.004rem;
  color: black;
  background-color: #a4a5a5;
  border: none;
}

.box {
  max-width: 900px;
  width: 100%;
  height: auto;
  line-height: 1.6rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.gallery-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

#footer-container {
  background-image: url("./images/wallpaper.jpg");
  width: 100%;
  height: 8rem;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.8rem;
  background-size: cover;
  background-position: center;
}

#footer-contact {
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

#footer-tinkerhub {
  margin: 2rem;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  #header-content {
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }

  #header-content nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  main h2 {
    font-size: 1.8rem !important;
  }

  .box {
    padding: 0 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #footer-container {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  #footer-tinkerhub,
  #footer-contact {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  #header-content nav li {
    font-size: 1rem;
  }

  main h2 {
    font-size: 1.5rem !important;
  }

  .box {
    font-size: 1rem;
  }

  #footer-container {
    font-size: 0.7rem;
  }
}
