body {
    font-family: "Libre Franklin", "Segoe UI Light", sans-serif;
    margin: 0;
    padding: 10px;
}
a {
    text-decoration: none;
    color: black;
}
#container {
    max-width: 900px;
    margin: auto;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: black;
    padding: 20px 0;
    flex-wrap: wrap;
height: 100%;
//justify-content:center;
column-gap: 3rem;
row-gap: 0.7rem;
}

.header-title {
    margin: 0;
    padding: 0;
    font-size: 2rem;
    font-weight: 100;
    white-space: nowrap;
    margin-bottom: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;

}
nav ul li:first-child {
    margin-left: 0; /* Remove margin for the first item */
}
nav ul li {
    margin-left: 20px;
    padding: 0.45rem 0;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 200;

}

nav ul li a:hover {
    //text-decoration: underline;
}

.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px; /* gutter size offset */
    
}

.masonry-grid-item {
    margin-left: 10px; /* gutter size */
    margin-bottom: 10px;
    width: calc(33.333% - 10px); /* three columns */
    box-sizing: border-box;
    //background-color: black;
}

.masonry-grid-item img {
    max-width: 100%;
    display: block;
    transition: opacity 1s;
    opacity: 0;
}
.masonry-grid-item img:hover {
    //opacity: 0.5;
}

#contacts {
    padding-top: 5rem;
}
.contact-item {
    text-align: center;
    align-items: center;
    margin-bottom: 2rem;

}
#contacts .contact-item:last-child {
    margin: 0;
}
.contact-item i {
    font-size: 2.8rem;
    color: #555; /* Grey color for icons */
    margin-right: 10px;
}

.contact-item a span {
    font-size: 1.1rem;
    color: #333; /* Darker color for username */
    font-weight: 300;
}
.contact-item a {
    display: inline-flex;
    align-items: center;

}

.spinner svg {
    width: 3rem;
    opacity: 1;
    fill:rgb(64, 64, 64);
}
.spinner {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

#footer {
    opacity: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #414141;
    font-weight: 200;
    transition: opacity 1s;
    margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .masonry-grid-item {
        width: calc(50% - 10px); /* two columns on tablets and smaller screens */
    }
}

/*@media (max-width: 480px) {
    .masonry-grid-item {
        width: calc(100% - 10px); /* one column on small mobile screens */
    }
}/*
