@font-face {
    font-family: 'Office Code Pro';
    src: url('fonts/office-code-pro/officecodepro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ronzino';
    src: url('fonts/ronzino/Ronzino-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ronzino';
    src: url('fonts/ronzino/Ronzino-Oblique.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Ronzino';
    src: url('fonts/ronzino/Ronzino-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ronzino';
    src: url('fonts/ronzino/Ronzino-BoldOblique.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition-duration: 31ms;
}
html {
    color: rgb(243, 243, 243);
    background-color: rgb(17, 8, 139);
    font-size: 62.5%;
    font-family: sans-serif;
}
body {
    font-size: 2rem;
}
h1,h2,h3,h4,h5,h6 {
    font-family: "Ronzino", Arial, Helvetica, sans-serif;
}
#main > h1,h2,h3 {
    text-align: center;
    margin-top: 76px;
}
#main > h4,h5,h6 {
    text-align: center;
}
h2,h3,h4,h5,h6 {
    font-weight: normal;
}
#main > h1 {
    font-size: 4.9rem;
    margin-bottom: 76px;
}
h2 {
    font-size: 3.9rem;
    margin-bottom: 61px;
}
h3 {
    font-size: 3.1rem;
    margin-bottom: 49px;
}
h4 {
    font-size: 2.5rem;
    margin-top: 39px;
}
p, details, ul, ol { 
    font-size: 2.5rem;
    font-family: "Ronzino", Arial, Helvetica, sans-serif;
    margin: 20px auto;
    line-height: 120%;
    letter-spacing: 1.25%;
    width: 76rem;
    max-width: 100%;
    hyphens: auto;
}
a {
    color: yellow;
    text-decoration-style: dotted;
}
a:hover, p>a:hover, li>a:hover{
    color: rgb(17, 8, 139);
    background-color: white;
    text-decoration: none;
}
a:visited {
    color: white;
}
ul, ol {
    margin: auto 39px;
}
li {
    padding: 7px 0;
}
::selection {
    color: darkblue;
    background: white;
}
img {
    width: 454px;
    max-width: 61%;
    height: auto;
    margin: 20px auto;
    display: block;
}
#main {
    margin: 149px auto;
    width: 76rem;
    max-width: 96%;
}
#header-nav, #header-nav ul {
    font-family: "Office Code Pro", monospace;
    height: 95px;
    padding: 10px;
    margin: 16px auto 10px;
    width: auto;
    letter-spacing: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 684px) {
    #header-nav {
        height: auto;
        flex-direction: column;
        justify-content: center;
    }
}
#header-nav a {
    text-decoration: none;
}
#site-title {
    font-size: 3.1rem;
    font-family: "Office Code Pro", monospace;
    font-weight: normal;
}
#site-title a {
    padding: 2rem 3.1rem;
}
#site-title a:visited {
    color: yellow;
}
#site-title a:hover {
    color: rgb(17, 8, 139);
}
@media (max-width: 684px) {
    #header-links {
        margin-top: 20px;
    }
}
#header-links ul {
    text-align: center;
    list-style: none;
}
#header-links li {
    font-size: 2rem;
    display: inline-flex;
}
#header-links li a {
    color: rgb(243, 243, 243);
    padding: 2rem 3.1rem;
}
#header-links li a:hover {
    color: rgb(17, 8, 139)
}
@media (max-width: 684px) {
    #header-links li {
        display: flex;
        flex-direction: column;
    }
}
#footer-nav, #footer-nav ul {
    font-family: "Office Code Pro", monospace;
    height: 95px;
    padding: 20px;
    margin: 23.3rem auto 2.5rem;
    width: auto;
    letter-spacing: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 684px) {
    #footer-nav {
        height: auto;
        flex-direction: column;
        justify-content: center;
    }
}

#footer-nav li {
    font-size: 2rem;
    display: inline-flex;
}
#footer-nav li a {
    color: white;
    text-decoration: none;
    padding: 1.6rem 2.5rem;
}
#footer-nav li a:hover {
    color: rgb(17, 8, 139)
}
@media (max-width: 684px) {
    #footer-nav li {
        display: flex;
        flex-direction: column;
    }
}
#slide-img, #slide-img img {
    width: 100%;
    max-width: 100%;
}
#slide-img {
    margin: 95px auto;
}
.img-jump {
    margin-bottom: 61px;
    display: flex;
    justify-content: space-between;
}
.img-jump a {
    color: rgb(243, 243, 243);
    text-decoration: none;
    font-size: 2rem;
    font-family: "Open Code Pro", monospace;
    padding: 16px;
}
.text-jump {
    color: rgb(243, 243, 243);
    background-color: rgb(17, 8, 139);
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-family: "Office Code Pro", monospace;
    padding: 16px;
    display: block;
    position: sticky;
    top: calc(100% - 61px);

}
.img-jump a:hover, .text-jump:hover {
    background-color: black;
}
.slide {
    scroll-margin-top: 25px;
}