body {
    background-color: #8d875c;
    font-family: Arial, sans-serif;
    
    
    
    
    overflow: auto; /* Ensure the body can scroll if content overflows */
}
.container {
    justify-content: center;
    display: flex;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
}
.photo-album {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    width: 80vw;
    padding: 20px;
    margin-top: 60px; /* Add margin to the top to ensure images start within view */
}

.polaroid {
    background: white;
    padding: 10px;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: rotate(var(--rotate));
    transition: transform 0.3s;
}

.polaroid:hover {
    transform: scale(1.5) rotate(var(--rotate));
    z-index: 10;
}

.polaroid img {
    width: 100%;
    display: block;
}

.caption {
    margin-top: 10px;
    text-align: center;
    font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    font-size: 1.2em;
}

h1 {
    font-family: "Caveat", cursive;
    font-weight: 400;
    font-style: normal;
    color: white;
    font-size: 4em;
    text-align: center;
    margin-top: 20px;
}

.heading {
    text-align: center;
    align-items: center;
    margin-top: 10px;
}


