body {
    font-family: Inter, sans-serif;
    margin: 0px;
    background-color: rgb(255, 255, 255);
}

/* LOGO + NAVLINK */

#logo {
    font-size: 4em;
    font-weight: lighter;
    margin: auto;
    font-family: Inter, sans-serif;
    color: rgb(16, 16, 147);
    margin-bottom: 0.3em;
    transition: .2s ease;

}

#logo a {
    text-decoration: none;
    color: rgb(16, 16, 147);
    transition: color 0.2s ease-in-out;

}

#logo a:visited {
    color: rgb(16, 16, 147);
}



#logo:hover {
    letter-spacing: 0.2em;
    transition: all .2s ease-in-out;
}

nav {
    width: auto;
    margin-top: 0.2em;
    margin-bottom: 0.4em;
    text-align: center;
    padding: 0.3em;
    background-color: #00000000;
    border: none;
    opacity: 0.9;
    font-size: 13px;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: 50%;
    background-position: -0px -0px;
    border-radius: 3px;
}

.navlink {
    color: rgb(16, 16, 147);
    text-decoration: none;
    transition: all .2s ease;
    font-weight: bold;
    margin: 50px;
}

.navlink:hover {
    letter-spacing: 0.2em;
    transition: all .2s ease-in-out;
}

.navlink:visited {
    color: none;
}

.hoverItem {
    display: inline-block;
    opacity: 0;
    transition: all 0.2 ease;
}

.hoverItem:hover {
    opacity: 100%;
    transition: all 0.2 ease-in-out;
}

ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #000000;
}

li {
    display: inline-block;
    text-transform: lowercase;
    padding: 0.5em 0.3em;
}

/* MAIN CONTENT */
#container {

    margin: 0 auto;
    margin-top: 2em;
    max-width: 1000px;


}

#flex {
    display: flex;
    width: 100%;
    margin: auto;
}

aside {
    margin: 0 auto;

}

#leftSidebar {
    order: 1;
    position: sticky;
    top: 0;
    font-size: 12px;
    width: 370px;
    max-height: 20px;
}

.mainContent {
    text-align: center;
    padding: 20px;
    order: 2;
    max-width: 1000px;
    max-height: 700px;
    margin: auto;
    width: auto;



}

#mainContent img {
    max-height: 400px;
    max-width: 600px;
}

#mainHello {
    background-color: yellow;
    padding: 20px;
    border-radius: 10px;
    border: 3px dotted blue;
}

#rightSidebar {
    order: 3;
    width: 370px;
    font-size: 12px;
    top: 0;
    position: sticky;
    max-height: 20px;
}

#leftSidebarContent {
    padding: 20px;


}

#rightSidebarContent {
    padding: 20px;


}

#header {
    max-height: 100px;
    position: static;
}

.header-img {
    max-height: 100px;
    margin: center;
}


/* Gallery grid layout */
#galleryContainer {
    width: 100%;
    max-height: fit-content;
    margin-bottom: 100px;

}

details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

.galleryHeader {

    font-size: 30px;
    text-align: justify;
    padding: 5px;
    padding-left: 10px;
    padding-top: 6px;
    color: white;
    background: linear-gradient(99deg, rgba(16, 16, 147, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: solid rgb(16, 16, 147) 2px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 2px;
}


.galleryHeader:hover {
    background: white;
    color: rgba(16, 16, 147, 1);
    transition: 0.2s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

.galleryFrame {
    width: 100%;
    height: 500px;
    border: none;
    margin-top: 10px;
    margin-bottom: 50px;
}

details[open] summary~* {
    animation: sweep 0.2s ease-in-out;
    margin-bottom: 10px;

}

@keyframes sweep {
    0% {
        opacity: 0;
        margin-top: -5px
    }

    100% {
        opacity: 1;
        margin-top: 10px
    }
}

details summary {
    cursor: pointer;
    transition: margin 150ms ease-out;
}

/* PHOTO GALLERY */

#firstImg {
    transition: all 0.2s ease-in-out;
}

#photogallery {
    width: 700px;
    transition: all 0.2s ease-in-out;
}

#photogallery img {
    width: inherit;
    height: auto;
    cursor: pointer;
}

.photoFrame {
    width: 100%;
    height: 500px;
    border: none;
    margin-top: 10px;
    margin-bottom: 50px;
}

#imagecaption {
    color: rgb(0, 0, 0);
    transition: all 0.2 ease-out;
}