* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #faf8f5;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.intro {
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
    font-size: 17px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: auto;
}

.button {
    display: block;
    padding: 16px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.button.secondary {
    background: #777;
}

.upload-box {
    display: block;
    max-width: 500px;
    margin: 30px auto;
    padding: 40px 20px;
    border: 2px dashed #bbb;
    border-radius: 12px;
    cursor: pointer;
}

.upload-box span {
    display: block;
    font-size: 45px;
    margin-bottom: 15px;
}

.upload-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.upload-box small {
    display: block;
    color: #777;
    margin-bottom: 20px;
}

.upload-box input {
    width: 100%;
}

.message {
    padding: 15px;
    margin: 20px auto;
    background: #eee;
    border-radius: 8px;
}

.back {
    display: inline-block;
    margin-top: 30px;
    color: #555;
    text-decoration: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.empty {
    margin-top: 40px;
    color: #777;
}

@media (max-width: 600px) {

    .container {
        padding: 30px 15px;
    }

    h1 {
        font-size: 26px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}