* {
    font-family: 'Oswald', Impact, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: wheat;
}

header {
    margin-top: 50px;
    gap: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1 {
    color: blue;
    font-size: 42px;
    letter-spacing: 3px;
}

h2 {
    color: green;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 10vh;
}

main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-direction: column;

}

.Cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

}

img {
    height: 450px;
}

.front-card {
    position: relative;
    line-height: 0;
}

#photo-upload {
    display: none;
}

.upload-button {
    position: absolute;
    top: 66.7%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 140px;
    height: 180px;

    border: 2px dashed rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

#photo-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 12px; */
    flex-wrap: wrap;
    margin-top: 25px;
}

.actions button {
    padding: 12px 18px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
}

#downloadButton {
    background: #bd7545;
    color: #11100e;
    border: 1px solid #bd7545;
    margin-bottom: 10vh;
}

/* #resetButton {
    background: transparent;
    color: #bd7545;
    border: 1px solid #bd7545;
} */

/* #resetButton:hover {
    background: rgba(189, 117, 69, 0.12);
} */
.actions button span {
    font-size: 18px;
    line-height: 1;
}


footer {
    display: flex;
    margin-top: 50px;
}

.id-gallery {
    display: flex;
    flex-direction: column;
    width: min(900px, calc(100% - 32px));
    margin: 50px auto 20px;
    padding: 30px 0 15px;
    border-top: 1px solid #333;
    color: white;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 28px;
}

.gallery-heading h2 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gallery-heading p {
    color: #999;
    font-size: 14px;
}

.others {
    display: grid;
    grid-template-rows: 150px 200px;
    justify-content: center;
    gap: 20px;
}

.card-image {
    height: 180px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card-details h3 {
    color: blue;
    font-size: 16px;
    margin-bottom: 5px;
}
.card-details p {
    font-size: 12px;
    color: black;
}
