/* container */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.image {
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image img:hover {
    transform: scale(1.1);
}

body {
    font-family: sans-serif;
}
.container {
    align-items: absolute;/* Align items to the top */
    position: center;
    height: 100vh;
}
/* Sidebar */
.sidebar {
    width: 143px; /* Width for larger screens */
    background-color: #fff; /* White background color for the sidebar */
    color: #333;
    padding: 22px;
    position: fixed; /* Fix the sidebar position */
    top: 0; /* Position from the top */
    left: 0; /* Position from the left */
    bottom: 0; /* Stretch the sidebar to the bottom of the page */
    z-index: 1; /* Ensure the sidebar is above other content */ 
}
.sidebar h2 {
    font-size: 20px;
}
.sidebar ul {
    list-style-type: none;
    padding: 0;
}
.sidebar ul li {
    margin-bottom: 10px;
}
.sidebar a {
    font-size: 25px ;
    text-decoration: none;
    color: #000;
}

/* content area */
.content {
    margin-left: 30px; /* Adjust this value to match the width of the sidebar */
    padding: 2px;
    transition:margin-left: 0.3s; 
}
.sidebar.closer { 
width:200px;
}
content.closer {
    margin-left:20px;
}

/* lightbox */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    z-index: 999;
}

#lightbox img {
    max-width: 80%;
    max-height: 80vh;
    margin: 0 auto;
    margin-top: 10vh;
}
close
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #f10707;
}

.next-button,
.prev-button {
    background-color: #f3f3f3;
    color: #000000;
    padding: 4px 4px;
    border-radius: 1px;
    cursor: pointer;
    font-size: 16px;
    
    position: absolute;
    top: 24;
    right: 11;
    display: block; /* Change to block to align below the image */
    width: 10%; /* Width to take the full width of the image container */
    text-align: center; /* Center-align the buttons horizontally */
}
    .next-button {
        right: 400px; /* Position the "next" button to the right */
    }
    
    .prev-button {
        left: 400px; /* Position the "previous" button to the left */
    }
    
    .next-button:hover, .prev-button:hover {
        background-color: #22bc41; /* Background color on hover */
    }
    

.next-button:hover, .prev-button:hover {
    background-color: #22bc41; /* Background color on hover */
}
.next-button:hover, .prev-button:hover {
    background-color: #22bc41; /* Background color on hover */
}
.gallery-frame {
    width: 100%; /* Adjust the width as needed */
    max-width: 2500px; /* Limit the maximum width of the frame */
    margin: 0 auto; /* Center the frame horizontally */
    padding: 4px; /* Add padding for a frame-like appearance */
    box-sizing: border-box; /* Include padding in width calculations */
float: left
}
.gallery {
display: grid;
flex-wrap: wrap;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); Responsive grid
gap: 10px;
justify-content: center;
}
.gallery-item{
flex: 1 0 calc(66.33% - 20px); /
max-width: calc(66.66S% - 80px); /* Adjust the width as needed */
max-height: 550px; /* Adjust the height as needed */
object-fit: contain;
position: relative;
cursor: pointer;
transition: transform 0.2s;

} 
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(.05..05);
}
/* video container */
.video-container { 
    text-align: center;
    margin-top: -120px;
    margin-left: auto;
    border: 180px solid #fff;
    box-sizing: content-box;
}
/*  video */
video {
max-width: 100%;
}
/*  heading */
h1 {
    text-align: center; /* Center the heading */
    font-size: 20px; /* Adjust the font size as needed */
    margin-bottom: 20px; /* Add margin to separate the heading from the gallery */
}
h3 {
    text-align:center; 
    font-size: 11px; 
}
   .speakerdeck-iframe{
    width: 600px;
    height: 500px;
    text-align: center;
    margin-left: 218px;
}
/* Style for small images */
    img.small {
    max-width: 100px;
    max-height: 100px;
}
/* Style for large images */
img.large {
    max-width: 700px;
    max-height: 700px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.enlarged-image {
    max-width: 90%;
    max-height: 90%;
}

/* Center text within gallery items */
.item-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Add a background overlay for better readability */
    opacity: 0;
    transition: opacity 0.2s;
}

/* Style the caption text */
.item-caption h1 {
    color: rgb(255, 255, 255); /* Set the text color (you can adjust it) */
    font-size: 20px; /* Adjust the font size as needed */
    text-align: center;
    padding: 10px;
}

/* Style for the social links */
.social-links {
    text-align: center;
    margin-top: 20px;
}

.social-link {
    text-decoration: none;
    color: #333; /* Link color */
    font-size: 20px;
    margin: 10px;
    display: inline-block;
}

.emoji {
    font-size: 24px;
    margin-right: 10px;
}


.social-link img {
    width: 30px; /* Set the width of the social media icon image */
    height: 30px; /* Set the height of the social media icon image */
}
.video-container {
   text-align: center;
   margin-top:-170px;
   margin-left:60px;
   border: 190px sold #fff;
   box-sizing:content-box;    
}

#floatingGif {
    position: fixed;  
    top: 1px;       
    left: 140px;
    width: 100px;
    height: auto;
        z-index: 9999;

}
#floatingGif2 {
    position: fixed;  
    top: 460px;       
    left: 40px;
    width: 100px;
    height: auto;
    z-index: 9999;

}
