body {
    font-family: sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
}

.container {
    --container-margin: 10%;
    --breakout-margin: 10%;
    display: grid;
    grid-template-columns: [full-width-start] minmax(auto, var(--container-margin)) [breakout-start] minmax(auto, var(--breakout-margin)) [content-start] 1fr [content-end] minmax(auto, var(--breakout-margin)) [breakout-end] minmax(auto, var(--breakout-margin)) [full-width-end];
}

@media (max-width: 640px) {
    .container {
        --container-margin: 10px;
        --breakout-margin: 20px;
        display: block;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.container > * {
    grid-column: content;
}

.container > .breakout {
    grid-column: breakout;
}

.container > .full-width {
    grid-column: full-width;
}

article {
    display: flex;
    gap: 1rem;
    border: 1px solid lightgray;
    margin-bottom: 2rem;
}

article > * {
    flex: 1;
    width: 50%;
}

@media (max-width: 640px) {
    article {
        flex-direction: column;
    }
    article > * {
        width: 100%;
    }
}

article .image {
    display: flex;
    align-items: center;
}


article .description {
    padding: 1rem;
    padding-left: 0;
}

.tags {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    font-weight: 300;
}

.tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filters {
    display: flex;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
}

.large-load-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    outline: none;
    border: 2px solid #1cd21c;
    color: #1cd21c;
    background-color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.large-load-button:hover {
    transform: scale(1.05); /* Scale up slightly on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Add subtle shadow effect */
    cursor: pointer;
}

footer {
    margin-top: 3rem;
    min-height: 20vh;
    background: black;
    color: white;
}


.loader-container {
    display: flex;
    min-height: 20vh;
    align-items: center;
    justify-content: center;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: linear-gradient(0deg, rgba(28, 210, 28, 0.2) 33%, #1cd21c 100%);
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
}
@keyframes rotation {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg)}
} 