/* Font and background */
body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}
footer {
    margin-top: 40px;
    text-align: center;
    font-size: small;
    color: #888;
}
.container {
    background-color: #1E1E1E;
    padding: 20px;
    /* border-radius: 10px; */
    box-shadow: 0 0 10px #00000060;
}

/* main body */
.container-main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #3E3E3E;
    box-shadow: 0 0 10px #00000060;
    /* border-radius: 10px; */
}


/* page heading */
.container-image {
    position:relative;
    height: 200px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px #00000060;
}
.container-image img {
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 25%;
}
.container-image-overlay {
    z-index: 2;
    position: absolute;
    bottom: 5%;
    right: 1%;
    /* transform: translate(-50%, -50%); */
    color: white;
    font-size: x-large;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5em 1em;
    text-align: left;
}


/* Navigation */
nav {
    background-color: #1E1E1E;
    padding: 10px;
    /* border-radius: 8px; */
    margin-bottom: 20px;
    box-shadow: 0 0 10px #00000060;
}
nav.bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}
nav a {
    color: #64B5F6;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
    position: relative;
}
nav a:hover {
    text-decoration: underline;
}
nav.bar a:not(:last-child)::after {
    content: "|";
    position: absolute;
    margin-left: 1.37em;
    /* margin-right: 1em; */
    color: #E0E0E0;
    pointer-events: none;
}


/* Media */
.container-gif {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.container-gif img {
    width: 320px;
    height: auto;
    box-shadow: 0 0 5px #000;
}

.container-video {
    /* justify-content: center; */
    margin: 20px auto;
    position: relative;
    max-width: 650px;
    padding-bottom: 56.25%;
    /* padding-top: 25px; */
    height: 0;
    overflow: hidden;
}
.container-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Text */

/* Headings */
h1, h2, h3 {
    color: #64B5F6;
}
/* Paragraphs */
p {
    text-align: justify;
    margin-bottom: 1em;
}
/* Links in text */
a {
    color: #64B5F6;
}
a:hover {
    color: #90CAF9;
}

