@font-face {
    font-family: 'GT-America';
    src: url('../assets/fonts/GT-Standard-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Great Warrior';
    src: url('../assets/fonts/Great\ Warrior.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'GT-America', Helvetica, sans-serif;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 20px 5%;
    height: 50px;
    z-index: 1000;
    color: white;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header h1 {
    font-size: 24px;
    margin: 0;
    font-family: 'Great Warrior', sans-serif;
    font-weight: 700;
}
header nav {
    display: flex;
    gap: 20px;
}
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    color: white;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header nav a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    color: inherit;
    font-family: 'Pangaia', Helvetica, sans-serif;
    font-weight: 700;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header nav a:hover {
    text-decoration: underline;
}
#spacer {
  height: 300px;
}
#main-content {
  width: 100vw;
  height: 100vh;
  background: black;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-out, border-radius 0.3s ease-out;
}
main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* evita blocchi */
  z-index: 10;
  transition: all 0.3s ease-out;
  background-color: white;
}
main h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    text-align: center;
    color: white;
    margin: 0;
    z-index: 1;
}
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Section about styles */
#about {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
}
/* Section projects styles */
#projects {
    width: 90%;
    text-align: center;
    margin: 10vh auto;
    padding: 20px 0;
}
#projects-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.filter-button {
    background-color: white;
    border: 2px solid black;
    font-family: 'GT-America', sans-serif;
    font-size: 15px;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
}
.filter-button:hover {
    background-color: black;
    color: white;
}
.filter-button.active {
    background-color: black;
    color: white;
}
#projects-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
}
#pjl-left {
    width: 60%;
    background-image: url("../assets/images/case-history/1.jpg");
    background-size: cover;
    background-position: center;
}