
.gallery-page {
    padding-top: 50px;
}

img {
    vertical-align: middle;
    /* max-width: 100%;
    max-height: 100%;
    object-fit: contain; */
}

.horizontal-image {
    max-width: 100%;
    max-height: 85vh;
    height: auto;
    display: block;
    margin: auto;
    object-fit: contain;
}

.vertical-image {
    height: 95%;
    width: auto;
    max-width: 100%;
    max-height: 85vh;
    display: block;
    /* Remove extra space below image */
    margin: auto;
    /* Center image horizontally if narrower than container */
    object-fit: contain;
    /* Ensure image fits without cropping */
}

.w3-overlay {
    opacity: 0.5;
}

header {
    background-image: url("/home/bia/Documents/CODE/site_xb/novo_site_xb_2025/imagens/home/lr5-2016-12-18-Bia-Aclimacao-19.jpg");
    /* Replace with your image path */
    background-size: cover;
    /* Ensures the image covers the entire header */
    background-position: right;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents the image from repeating */
    height: 300px;
    /* Set a height for your header */
    color: white;
    /* Example: set text color for readability */
    text-align: center;
    /* Example: center align text */
    padding-top: 100px;
    /* Example: add padding for content */
}

/* Modal */
.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;

    background: #616161;;

    justify-content:center;
    align-items:center;
}

.modal.open{
    display:flex;
}

/* Container */
.modal-content{
    position:relative;
    width:90vw;
    height:90vh;

    display:flex;
    justify-content:center;
    align-items:center;
}

/* Slide */
.mySlides{
    display:none;
    width:100%;
    height:100%;

    justify-content:center;
    align-items:center;
}

.mySlides.active{
    display:flex;
}

/* Image */
.mySlides img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
}

/* Close */
.close{
    position:absolute;
    top:15px;
    right:20px;

    font-size:42px;
    color:#fff;
    cursor:pointer;
    z-index:10;
}

/* Arrows */
.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    font-size:40px;
    color:#fff;
    cursor:pointer;
    user-select:none;

    padding:10px;
}

.prev{ left:15px; }
.next{ right:15px; }

/* Counter */
.numbertext{
    position:absolute;
    top:15px;
    left:20px;

    color:#fff;
    font-size:14px;
}

/* timeline */

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    color: #000;

}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -15px;
    background-color: white;
    border: 4px solid #381b19;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}