html {
    min-height: 100%;
    margin: 0;
    background-color: #1E1E1E; /* Dark background */
    color: #E0E0E0; /* Light text for contrast */
}

body {
    font-family: sans-serif;
    font-size: calc(1rem + 1vh);
    min-height: 100%;
    margin: 0;
    border: 0px solid #333; /* Darker border for subtle effect */
    background-color: #1E1E1E; /* Slightly lighter than html bg */
}

#outerFrame {
    min-height: 700px;
    max-width: 1000px;
    margin: auto;
    height: 100%;
    border: 0px solid #444; /* Subtle border */
}

main {
    background-color: #181818; /* Darker but different from body */
    font-size: calc(0.85rem + 0.85vh);
    border: 0px solid #555;
    min-height: 60vh;
    max-width: 800px;
	margin-top: 1.5vh;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

a {
    color: #F9F9F9; 
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #1E90FF; /* Bright blue on hover */
}

nav a {
	margin-right: 20px
}

li {
    list-style-type: none;
}

img {
    display: block;
    max-width: 100%;
	height: auto;
	margin:0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
	object-fit: contain;
}

#imgHeader {
    border-radius: 10px;
}

header {
    margin:0;
}
header h2 {
    text-align: center;
    color: #E0E0E0;
	margin: 0;
}

#tag_about {
    text-align: right;
    color: #B0B0B0;
}

article {
    border: 0px solid #666;
    padding: 3.5vh;
    text-align: justify;
    background-color: #181818;
    border-radius: 8px;
    /*box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);*/
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 0px solid magenta;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 15px;
    /*background-color: #181818;*/
    border-top: 0px solid #444;
}

.taglist {
    text-align: center;
}

#navbarlist {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

#headTitle {
    display: inline-flex;
    flex-direction: row;
    font-weight: bold;
    font-size: 30px;
    border: 0px solid white;
    padding: 0px;
    color: #E0E0E0;
}

.profilePic {
    max-width: 300px;
    min-width: 300px;
    margin-left: 0px;
    border-radius: 10px;
}

@media (max-width: 800px) {
    .profilePic {
        margin: auto;
    }

    nav {
        flex-direction: column;
        margin: 0px;
        padding: 0px;
    }

    #navbarlist {
        justify-content: center;
        margin: 0;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #headTitle {
        justify-content: center;
        margin: 0px;
        margin-top: 5px;
    }
}

.contactLogo {
    display: inline-flex;
    width: 20px;
    margin: 0;
    margin-right: 10px;
}

#fireGIF {
    width: 20px;
    margin: 0px;
    padding: 0px;
    margin-left: -3px;
}

#homeScreen {
    display: flex;
    flex-direction: column;
}

@media (min-width: 800px) {
    #homeScreen {
        flex-direction: row;
    }
}

/* For NEXTPREV.HTML */
#nextprev {
    /* The container for both the previous and next articles. */
}
#prevart {
    float: left;
    text-align: left;
}
#nextart {
    float: right;
    text-align: right;
}
#nextart, #prevart {
    max-width: 33%;
}

