html, body {
    scrollbar-width: none;
    -ms-overflow-style: none; 
    height: 100%;
    margin: 0;     
}

/* usefull generic */
.border {
    padding-top: 5vw;
    padding-bottom: 5vw;
    padding-right: 5vw;
    padding-left: 5vw;
}

.center-text {
    text-align: center;
}

.gray {
    transition: filter 0.2s ease;
    filter: grayscale(100%);
}

.gray:hover {
    transition: filter 0.2s ease;
    filter: grayscale(0%);
}

.text-scale h1 {
    font-size: 2.5vw;
}

.text-scale p {
    font-size: 1.5vw;
}


/* format page for sticky footer */
.content {
    flex: 1;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* nav link format */
.nav-link {
    color: gray;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: black;
    text-decoration: underline;
}

/* footer format */
.footer {
    border-style: solid none none none;
    border-width: 2px;
    border-color: rgb(0, 0, 0);
    background-color: rgb(192, 192, 192);
}
  
.contact-link {
    display: block;
    margin: 5px 0;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
  
.contact-link:hover {
    text-decoration: underline;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin: 0 10px;
    transition: opacity 0.2s ease-in-out;
}

.pdf-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: underline;
    color: inherit;
    margin: 0 0;
    transition: opacity 0.2s ease-in-out;
}
  
.logo-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}
  
.logo-img {
    width: 24px;
    height: auto;
    margin-right: 8px;
}

/* Flex box format */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5vw;
    padding-top: 5vw;
    justify-content: center;
    align-items: center;
}

.flex-box {
    width: 35vw;              
    aspect-ratio: 1 / 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    position: relative;
    overflow: hidden;
}

.overlay-text {
    position: absolute;
    bottom: 0;           /* position at the bottom of the flex-box */
    left: 0;
    width: 100%;         /* span the entire width of the box */
    color: rgb(0, 0, 0);        /* change color if needed */
    font-size: 5vw;
    font-weight: bold;
    padding: 1vw 2vw;
    box-sizing: border-box;
    text-align: left;    /* keep text left-aligned inside overlay */
}

.flex-box-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 1vw;
}

@media (max-width: 900px) {
    .flex-box {
        width: 65vw;
    }
    .text-scale h1 {
        font-size: 5vw;
    }
    .text-scale p {
        font-size: 3vw;
    }
}