@import url("https://use.typekit.net/pmd3ilc.css");

* {
  margin: 0;
  padding: 0;
  font-family: "aller", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #3a3939;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #3a3939;
}

.logo img {
    width: 50px;
    height: 50px;
}

.pages {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.page-link {
    color: white;
    font-family: 'Aller';
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffae00;
    color: #3a3939;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.page-link:hover::before {
    opacity: 0;
}

.search {
    width: 200px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background-color: #464646;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px;
    position: relative;
}

h3 {
    background-color: #464646;
    color: white;
    font-family: 'Aller';
    text-shadow: 0 0 10px #000000;
}

h2 {
    color: white;
    font-family: 'Aller';
}

.download-button {
    font-size: 20px;
    color: white;
    font-family: 'Aller';
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
}

.download-button:hover {
    background-color: #ffae00;
    color: black;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.gallery-item h3 {
    margin-top: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    display: flex;
    opacity: 1;
}

.prev-button,
.next-button {
    color: #fff;
    font-size: 30px;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
}

.prev-button:hover,
.next-button:hover {
    color: #ccc;
}

.hidden {
    display: none;
}
