/* #region main set up */
@font-face {
    font-family: 'playfairdisplay'; /* Choose a name for your font family */
    src: url('/fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: normal; /* Specify the font weight */
    font-style: normal;  /* Specify the font style */
    font-display: swap; /* Recommended for better perceived performance */
}
:root{
--bg: #F5F5F7;

    --bg-nav:  rgba(196, 196, 196, 0.8);
    --bg-header: #083344;  
    --bg-footer: #1e293b;
    --bg-active: #d3d3d3;

    --bg-items: #ffffff;

    --text: #ffffff;
    --bg-button: #ffffff;    
    --text-button: #0f172a;    
} 

 body { 
    width: 100%;
    height: 100vh; 
    margin: 0;
    display: flex;
    flex-direction: column;    
    scrollbar-width: none;  
    background-color: var(--bg);
     
} 

h1,h2,h3,h4 {
    text-align: center;
    font-family: playfairdisplay, sans-serif;
}  

a{
    color: var(--bg-active);
}


.watermark {
    display: none;
}

@media print {
    body * {
        display: none !important;
    }
    
    .watermark{
        display: block;

        position: fixed;

        inset: 0;

        z-index: 9999;
    }
}
/* #endregion */

/* #region Footer + Nav */
footer{ 
    position: relative;
    width: 100%; 
    margin-top: auto;
    align-self: center;
    align-items: center;
    justify-content: center;
    text-align: center;  
    background-color: var(--bg-footer);
    color: var(--text);
}
footer a {
    overflow-wrap: anywhere;
}
.tab-container{
    width: 100%;
    box-sizing: border-box;
    padding: 7px;
    border-bottom: 3px solid black;
}

.tabs{    
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    background-color: transparent;
} 
.tab-item{
    font-size: xx-large;
    flex-grow: 1;
}
.tab-item a {
    display: block; 
    text-decoration: none;
    color:black;
    text-align: center; 
} 
.tab-item a:hover {
    color: rgb(85, 85, 85);
}  

/* #endregion */

/* #region gallery */
.home-gallery{
    display: flex;
     
    flex-wrap: wrap;

    margin: 5px auto;

    justify-content: center;

    pointer-events: none;
    -webkit-user-drag: none; 
    -webkit-touch-callout: none;
}
.home-gallery img {
    flex: 0 0 30%;
    max-width: 30%;
    height: auto;
}
/* #region gallery header */
.selection-tab-container{
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    max-width: 80vw;
    margin: 0 auto;
     
}

.selection-tab-item,
.selection-tab-item img,
.selection-tab-item p {
    transition: all 0.3s ease-out;
}

.selection-tab-item{
    display: flex;
    flex-direction: column; 
    flex: 0 1 150px;

    margin: 10px;

    overflow: hidden;

    box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);
 
    border-radius:  10px;

    background-color: var(--bg-items);
}
@media (max-width: 600px){ 
    .selection-tab-item{
        flex: 0 0 calc(50% - 20px);
    }
}
     
.selection-tab-item img{
    width: 90%;

    aspect-ratio: 4/3;

    object-fit: cover;
    margin: 1rem auto;
    border-radius: 10px;
}
.selection-tab-item p {
    font-size: 1rem;
    text-align: center; 
}

.selection-tab-item:hover{
    box-shadow: #083344; 
} 

.selection-tab-item.active{  
    box-shadow: none;
    background: transparent; 
    pointer-events: none;
}
.selection-tab-item.active img{
    opacity: 0.3;
    box-shadow:  0 2px 5px 1px rgba(0, 0, 0, 0.3);
}
.selection-tab-item.active p{ 
    text-shadow: 0.7px 0 0px currentColor;
}
/* #endregion */

/* #region main gallery */
.image-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
}

.gallery-container {     

    background-color: var(--bg-items);

    border-radius: 8px;

    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
 
    width: 80vw; 
 
    margin: 0 auto;
    margin-bottom: 2rem;
}

.main-image-container { 
    display: flex; 
    overflow: hidden; 
 
    max-height: 70vh;

    aspect-ratio: 16/9;    

    padding: 1rem;

    margin: 0 auto; 

    pointer-events: none;
    -webkit-user-drag: none; 
    -webkit-touch-callout: none;
} 
.main-image-container img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain; 
}

.thumbnail-column {
    width: 100%;
    max-height: 20vh;
    flex: 1; 
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap;
    overflow-y: auto; 
    padding-right: 10px;
    
}
.thumbnail {
    border: 1px solid #ddd;
    width: 100px;
    height: 100px;
    border-radius: 4px; 
    overflow-x: hidden;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin: 3px;
}
.thumbnail:hover { 
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.thumbnail img {
    display: block;
    width: auto;
    height: 100%;
    object-fit:contain; 
    margin: 0 auto;
}
/* #endregion */
/* #endregion */

/* #region contact page */
iframe {
    position: relative; 

    left: 50%;
    transform: translate(-50%); 
    
    border: 0;
    width: 80%;
    height : 1080px
    
}
/* #endregion */