@charset "UTF-8";

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "MaFonte";
  src: url("../fonts/WorkSans-Medium.woff2") format("woff2"),
    url("../fonts/WorkSans-Medium.woff") format("woff");
}

html {
  font-size: 10px;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "MaFonte", "Helvetica Neue", sans-serif;
  height: 100vh;
  font-size: 2em;
  margin: 0;
  padding: 0;
  background: #000000;
  display: flex;
  flex-direction: column;
}

header {
  position: relative;
  height: 900px;
  overflow: hidden;
  background-color: #000000;
  color: rgb(255, 255, 255);
  padding: 10px 10px;
  text-align: center;
  font-display: swap;
}

header h1 {
  font-size: 6rem;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav li {
  cursor: pointer;
  padding: 15px 25px;
  background-color: #000000;
  color: white;
  border-radius: 20px;
  transition: background 0.3s ease;
}

nav li:hover {
  background-color: #555;
  font-style: italic;
}

main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
  padding: 20px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
  width: 100%;
  max-width: none;
}

.content-section {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  max-width: none;
}

.content-section.show {
  display: block;
  opacity: 1;
}

.content-section h2 {
  margin-bottom: 10px;
}

.content-box {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-height: 200px;
}

.content-section:not(.hidden) {
  display: block;
}

.hidden {
  display: none;
}

.masonry-grid {
  column-count: 4;
  column-gap: 20px;
  width: 100%;
  padding: 0 20px;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.masonry-item {
  opacity: 0;
  animation: zoomIn 0.9s ease forwards;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: none;
  padding: 0;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  border: white 5px solid;
  transition: transform 0.2s;
}

.masonry-item img:hover {
  transform: scale(1.03);
}

@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .masonry-grid {
    column-count: 1;
  }
}
