html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Layout */
.sticky-notes {
    display: grid;
    gap: 1vmin;
    padding: 1vmin;
    box-sizing: border-box;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: min(90vw, 90vh * 2);
    height: min(90vh, 90vw / 2);
}

/* Title */
.sketches-title {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 1rem;
    height: 10vh;
    z-index: 90;
    width: 100%;
    align-items: center;
    gap: 2vw;
}

.sketches-title-text {
    height: 100%;
    width: auto;
    max-width: 100%; 
}

.sketches-doodle {
    height: 100%;
    width: auto;
    max-width: 100%;
}

/* Notes */
.sticky-note {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sticky-note:nth-child(2),
.sticky-note:nth-child(4),
.sticky-note:nth-child(6),
.sticky-note:nth-child(8) {
    margin-top: 10%;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

/* Mobile */
@media (max-width: 599px) {
    .sticky-notes {
        margin-top: 25%;
        gap: 0vmin;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        width: min(90vw, 90vh * 0.5);
        height: min(90vh, 90vw * 2);
        overflow: hidden;
        padding: 20px;
    }
}

@media (max-width: 750px) {
    .sketches-doodle {
        display: none;
    }
}