@font-face {
    font-family: LiberationSerifBold;
    src: url(content/liberation_serif/LiberationSerif-Bold.ttf);
}

@font-face {
    font-family: MartianMono;
    src: url(content/MartianMono/MartianMonoNerdFont-Regular.ttf);
}

@font-face {
    font-family: LiberationSerifItalicBold;
    src: url(content/liberation_serif/LiberationSerif-BoldItalic.ttf);
}


:root {
    --bg-color: #808080; 
    --font-color: white; 
    --back-font: black;
    --side-panel: darkorange;
    --primary-buttons: darkgreen; 
    --card: darkred; 
    --page-card: lightgrey;
    --mouseover: orange;
}

body {
    display: flex;
    justify-content: center; 
    background-image: url(boxed-bg-dark.png);
}

a {
    color: var(--font-color); 
}


#info {
    display: flex-flow; 
    width: 1400px; 
    height: 2400px; 
    background-color: var(--bg-color);  
}

#title-card {
    color: var(--font-color);
    font-family: LiberationSerifBold;
    display: flex; 
    flex-flow: column;
    align-items: center;
    width: 100%;
}

#title {
    display: flex;
    flex-flow: row; 
    align-items: left;
    align-items: center;
    margin-left: 8px; 
    font-size: 3em; 
    gap: 10px; 
}

.title-text {
    position: relative;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.title-text .normal,
.title-text .italic {
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; 
    top: 0;
    left: 0;
    height: 100%;
    white-space: nowrap; 
}
.title-text .italic {
    font-family: LiberationSerifItalicBold;
    color: var(--mouseover);
    opacity: 0;
    align-items: center;
    pointer-events: none;
}
.title-text.hover .normal {
    opacity: 0;
}
.title-text.hover .italic {
    opacity: 1;
}

.logo {
    width: 55px; 
    height: 44px; 
    margin-bottom: 20px; 
}

#title-sections {
    background-color: var(--card);
    display: flex; 
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between; 
    width: 100%;
    height: 100px; 
}

#page-card {
    color: var(--back-font);  
    background-color: var(--page-card);
    width: 100%; 
    display: flex; 
    justify-content: center; 
    font-size: 50px; 
}

#navigation-box {
    display: flex; 
    flex-flow: row;
    font-size: 2em;
    gap: 1em; 
    margin-right: 2em; 
    max-width: 800px; 
}

.naviButtons {
    display: flex;  
    flex-flow: column wrap; 
    gap: 20px; 
    justify-content: space-evenly;
    font-family: LiberationSerifBold;
    transition: 0.4s ease-out;
}

.naviButtons.hover {
    color: var(--mouseover);  
    gap: 20px; 
    justify-content: space-evenly;
    font-family: LiberationSerifItalicBold;
    scale: 1.2; 
    transition: 0.6s ease-in; 
}

#content-box {
    display: flex; 
    padding: 20px; 
    flex-flow: column wrap; 
    border-radius: 8px; 
    max-width: 1200px;
    gap: 5%; 
    margin: 10px;
}

#profile {
    display: flex; 
    justify-content: flext-start; 
}

.content-section {
    font-family: MartianMono; 
    color: white; 
    gap: 3px;
}

.content-section.profile { 
    display: flex; 
    align-items: center;
    width: auto; 
    height: auto; 
    flex-flow: column wrap;
    max-width: 30%; 
}

.content-section.profileinfo {
    display: flex; 
    align-content: space-between; 
    flex-flow: column; 
    margin: 5%;
}

.content-section.main {
    display: flex;
    font-size: 18px; 
    padding: 20px;
}

#about-me{
    background-color: darkgray;
    color: var(--font-color);
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;  
}

#about-me-header{
    font-size: 50px; 
    align-items: center;
    font-family: LiberationSerifBold;
}
