
body {
    margin: 0;
    background-color: var(--background-color);
    display: grid;
    justify-content: space-between;
    min-height: 100vh;
    
    color: var(--text-color1);
    font-family: serif;
    font-variant-caps: petite-caps;
}

#themeToggle {
    position: fixed;
    top: 10px;
    right: 10px;
    
    background: none;
    border: none;
    color: var(--text-color1);
    
    font-size: 1.8vw;
    cursor: pointer;
    z-index: 1000;
}

/* Main Div */

article {
    display: flex;
    position: fixed;
    flex-direction: column;
    flex: 1 1 auto;
    
    width: 72vw;
    height: 90vh;
    padding: 20px 40px;

    top: 5vh;
    right: 3vw;
    
    border-radius: 15px;
    box-shadow: var(--main-box-shadow);
    box-sizing: border-box;
    
    background-color: var(--mainDivs-background-color);
    color: var(--text-color1);
    
    overflow-y: auto;
    
}



/* Hide scrollbar for Chrome, Safari, and Edge */
article::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
article {
    scrollbar-width: none;
}

/* Hide scrollbar for IE and Edge */
article {
    -ms-overflow-style: none;
}

/*
article > div {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    padding-bottom: 0px;
    
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: flex-start;
    
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    grid-row-gap: 20px;
}
*/



article > div {
    display: flex;
    flex-direction: column;
    position: relative;
    
    flex: 1 1 auto;
    
    box-sizing: border-box;
}

article h1 {
    display: inline-block;
    position: relative;
    
    font-size: 3rem;
    font-weight: 550;
    font-family: serif;
    font-variant-caps: petite-caps;
    
    letter-spacing: 2px;
    text-align: left;
    margin: 15px 0 10px;
}

article h1::after {
    content: "";
    position: absolute;
    
    width: 8vw;
    height: 3px;
    left: 0;
    bottom: -8px;
    
    background-color: var(--underline-color);
    border-radius: 2px;
}

/* Navbar */

nav {
    display: flex;
    flex-direction: row;
    position: absolute;
    
    width: 35vw;
    height: auto;
    right: 0;
    top: -1px;

    padding: 5px;
    
    border-radius: 0 0 0 15px;
    box-shadow: var(--nav-box-shadow); 
    background-color: var(--nav-background-color);
    
    z-index: 100;
    box-sizing: border-box;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px;
    
    list-style: none;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    
    font-size: 2.3rem;
    font-weight: 550;
    font-variant-caps: petite-caps;
    letter-spacing: 2px;
}

nav ul li a:hover {
    text-shadow: var(--text-shadow);
    transform: scale(1.1);
    color: var(--hover-color);
}

nav ul li a::after {
    content: "";
    position: absolute;
    
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    
    background-color: var(--underline-color);
    transition: width .5s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

/* INNER */

.inner {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 100%;
    height: auto;
    padding: 10px;
    
    border: var(--border);
    border-radius: 10px;
    box-sizing: border-box;
    
}

/* Footer */

footer {
    display: none;
}

body,
article,
nav,
.inner {
    transition: background-color 0.5s ease, color 0.5 ease;
}