/* Reset default margin and padding */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: linear-gradient(#231F32, #7349B6);
    background-attachment: fixed;
    background-size: cover;
    color: white;
    font-family: monospace;
    font-size: 16px
}

/* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
    float: left;
    width: 33.33%;
    padding: 5px;
  }
  
  /* Clear floats after image containers */
  .row::after {
    content: "";
    clear: both;
    display: table;
  }

/* Navbar styles */
#navbar-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 50%;
    background-color: pink;
    overflow-y: auto; /* Allow scrolling if content exceeds height */
}

#navbar-iframe ul {
    list-style-type: none;
    padding: 20px;
}

#navbar-iframe ul li {
    margin-bottom: 10px;
}

#navbar-iframe ul li a {
    text-decoration: none;
    color: black;
    display: block;
}

#navbar-iframe ul li a:hover {
    color: purple;
}

/* Main content styles */
.main-content {
    margin-left: 220px; /* Keeps the main content pushed away from the navbar */
    margin-right: 220px;
    padding: 20px;
    text-align: left;
}

.content-box {
    border: 1px solid pink;
    padding: 15px;
    margin-bottom: 20px;
}

.content-box ul {
    list-style-type: none;
    padding: 0;
}

.content-box ul li {
    margin-bottom: 10px;
}

.content-box ul li a {
    color: pink;
}

.content-box ul li a:hover {
    color: white
}

.side-content {
    border: 1px solid pink;
    padding: 20px;
    position: fixed;
    right: 10px;
    top: 20px;
    width: 150px;
    overflow-y: auto;
}

.side-content ul {
    padding: 5px;
}
    
.side-content ul li {
    margin-bottom: 10px;
}
    
.side-content ul li a {
    text-decoration: none;
    color: pink;
    display: block;
}
    
.side-content ul li a:hover {
    color: white
}


#footer-iframe {
    flex: 0 0 50px;
    margin-top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    border: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-gap: 20px;
}

.gallery img {
    width: 90%;
    height: 300px;
    padding: 10px;
    border: 1px solid pink;
    object-fit: contain;
}

@media only screen and (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

.gallery img.full {
    position: fixed;
    top: 0; left: 0; z-index: 999;
    width: 100vw; height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.7);
  }
  .gallery img.full:hover {
    z-index: 999;
    transform: none;
  }