body {
    background-image: none;
}

main {
    padding: 20px;
}

.banner {
    width: 100%;
    aspect-ratio: 12 / 5;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #075123,
            rgba(0, 0, 0, 0.45));
    pointer-events: none;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: clamp(16px, 4vw, 60px);
    padding-right: clamp(25%, 40vw, 45%);
}

.banner-overlay h1 {
    color: #FFFDFD;
    font-size: clamp(32px, 6vw, 96px);
    line-height: 1.1;
    margin: 0 0 12px 0;
}

.banner-overlay p {
    color: #eeeaea;
    font-size: clamp(14px, 1.6vw, 28px);
    line-height: 1.5;
    max-width: 600px;
    margin: 0;
}

article {
    width: 100%;
    justify-items: center;
}

.right-card,
.left-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    max-width: 1200px;
    border-bottom: 1px solid #28631c;
    padding-bottom: 10px;
}

.right-card {
    flex-direction: row-reverse;
}

.left-card {
    flex-direction: row;
}

.left-card span,
.right-card span {
    font-size: 14px;
    color: #555;
}

.left-card span {
    text-align: left;
    margin-left: 20px;
}

.right-card span {
    text-align: right;
    margin-right: 20px;
}

.card-resume {
    min-width: 200px;
    max-width: 200px;
    background-color: #FFFDFD;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 15px;
    margin: 0px 20px 20px 0px;
    margin-bottom: 20px;
    justify-items: center;
    text-align: center;
    box-shadow: #555 2px 2px 5px;
}

.card-resume img {
    border: 1px solid #BCBCBC;
    border-radius: 100%;
    width: 70px;
    height: 70px;
    align-self: center;
}

.date-card-resume {
    border-bottom: 2px solid #075123;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0px 30px 0px 30px;
}

.data_card-resume {
    font-size: 14px;
    color: #555;
}

@media (max-width:699px) {

    .left-card,
    .right-card {
        flex-direction: column;
    }

    .left-card span,
    .right-card span {
        text-align: left;
        margin: 0px;
    }
}

#album {
    max-width: 1600px;
    margin: 40px auto;
}

#album h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #075123;
}

.album_card {
    display: inline-block;
    position: relative;
    max-width: 300px;
    max-height: 300px;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #075123;
    cursor: pointer;
}

.album_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    transition: background 0.3s ease;
}

.album_icon {
    font-size: 28px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.album_card:hover .album_overlay {
    background: rgba(0,0,0,0.45);
}

.album_card:hover .album_icon {
    opacity: 1;
    transform: scale(1);
}

/* modal */

#album_modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#album_modal.active {
    display: flex;
}

#album_modal_img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* botões laterais */
.album_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.album_nav.prev { left: 40px; }
.album_nav.next { right: 40px; }

.album_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
}