/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    scroll-behavior: smooth;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    scroll-behavior: smooth;
}

body {
    overflow: auto; 
}

.title-banner {
    display: flex;
   padding-top: 2vh;
    min-height: 5rem;
    font-family: "dm-sans", Arial, Helvetica, sans-serif;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0.3;
}


.featured-title, .featured-subtitle {
    font-size: 2rem; /* 2rem = 32px */
}



.site-content {
    position: relative;
    top: 40px;
}

.exhibitions {
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 40%;
    grid-template-rows: auto auto auto;
    gap: 7rem;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

.part-image {
    display: block;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    object-position: center center; 
    margin: 0px;
    padding: 0px;
    opacity: 0.7;
    transition: transform 0.9s ease;
}

.featured-info {
    opacity: 1;
}

.image-container:hover {
    opacity: 1;
    transform: scale(1.1);
}


.image-container:hover .part-image {
    opacity: 1;
}







.image-container {
    width: 100%; /* Set the width of the visible area */
    height: auto;
    padding: 0px;
    margin: 0px;
    overflow: hidden; /* Hide the overflow to show only a part of the image */
    position: relative;
    will-change: scroll-position;
    transition: transform 0.9s ease;
    
  }

  


  
.featured-info {
    position: absolute;
    bottom: 11%; /* Adjust this value to control vertical placement */
    left: 35px; /* Adjust this value to control horizontal placement */
    color: white; /* Text color for visibility on the image */
    z-index: 1; /* Ensures the text is above the image */
    font-family: "dm-sans", "Helvetica", "sans serif";
    
}

.featured-title, .featured-subtitle {
    margin: 0; /* Remove margins from paragraphs for better alignment */
    text-decoration: none;
    text-shadow: 0 0 1px #505253, 0 0 2px #76787a;
    font-family: "dm-sans", Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility !important;
    z-index: 1000;

}



.image-container:hover #t1 {
    color:rgb(54, 241, 12);
    text-shadow: 0 0 10px #ef0a0a, 0 0 15px #9b2d47, 0 0 20px #45ff99;
}


.image-container:hover #t2 {
    color:rgb(77, 199, 215);
    text-shadow: 0 0 5px #021120, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.image-container:hover #t3 {
    color:rgb(143, 51, 190);
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.image-container:hover #t4 {
    color:rgb(211, 149, 242);
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.image-container:hover #t5 {
    color:rgb(245, 253, 4);
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.image-container:hover #t6 {
    color:rgb(246, 86, 184);
    text-shadow: 0 0 5px #0080ff, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.image-container:hover #t7 {
    color:rgb(54, 241, 12);
    text-shadow: 0 0 10px #ef0a0a, 0 0 15px #9b2d47, 0 0 20px #45ff99;
}

.featured-title {
    padding-bottom: 1%;
    font-weight: 550;
    text-transform: uppercase;
}



.contact-footer {
    will-change: transform;
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center; /* Align vertically in the middle */
    height: auto; /* Set a specific height if needed */
    width: 100%; 
   
    margin: 0;
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left */
    background-color: white;
    opacity: 0.8;
    z-index: 1000; /* Ensure it stays above other content */
}



/* Small Desktops and Large Tablets */

@media (min-width: 1367px) {
    html {
        font-size: 12px; 
    }

    .featured-title, .featured-subtitle {
        font-size: 1.5rem;
    }

    .title-banner {
        font-size: 2rem;
    }
}

@media (max-width: 1366px) {
    html {
        font-size: 13px; 
    }

    .featured-title, .featured-subtitle {
        font-size: 1.5rem;
    }

    .title-banner {
        font-size: 2rem;
    }
}

/* Tablets (Portrait & Landscape) */
@media (max-width: 1024px) {
    html {
        font-size: 14px; 
    }

    .featured-title, .featured-subtitle
    {
        font-size: 2rem;

    }

    .exhibitions {
        width: 100%;
        gap: 40px;
    }

    .title-banner {
        font-size: 2.5rem;
    }
}

/* Mobile Phones (Landscape) and small tablets */
@media (max-width: 768px) {
    html {
        font-size: 16px; 
    }

    img {
        max-width: 100%; /* Scale down images */
        height: auto; /* Maintain aspect ratio */
    }

    .title-banner {
        font-size: 3rem;
        padding-top: 4.5vh;
    }

    .exhibitions {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
    }

   

    .image-container:hover {
        transform: scale(1);
    }

    .image-container:hover .part-image {
        transform: scale(1.1);
    }

    .featured-title, .featured-subtitle
    {
        font-size: 2rem;

    }

    #special-image-cont {
        width: 100%;
        max-width: 100vw; /* Set the width of the visible area */
        height: auto;/* Set the height of the visible area */
        padding: 0px;
        margin: 0px;
        overflow: hidden; /* Hide the overflow to show only a part of the image */
        
        }
    
        #special-image {
            display: block;
            width: auto; /* Make sure the image covers the container */
            max-width: 100%; /* Maintain aspect ratio */
            object-fit: contain;
         /* Adjust which part of the image is visible, e.g., top, bottom, center */
            margin: 0px;
            padding: 0px;
          }
    


}

/* Mobile Phones (Portrait) */
@media (max-width: 500px) {
    html {
        font-size: 18px; 
    }

    .featured-title, .featured-subtitle
    {
        font-size: 2rem;

    }

.part-image {
        height: 500px;
        object-fit: cover;
        object-position: center center;
    }
}