html, head, body {
    margin: 0;
    padding: 0;
    background-color: #0e1420;
    font-family: "Montserrat", sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row;

    margin: 0;
    padding: 0;
    background-color: #0e1420;
    align-items: center;

    height: 75px;
    width: 100%;
}

.nav-items {
    margin: 0;
    padding: 0;
    background-color: #0e1420;

    height: 75px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    gap: 15px;

    scroll-behavior: smooth;
    margin-right: 15px;
}

nav > img {
    display: inline-block;
    height: 45px;
    padding: 5px;
    margin-left: 25px;
    border: 1px solid #0a5f78;
    border-radius: 5px;

    box-shadow: 4px 4px #0a5f78;
    transition: box-shadow 1s ease;
}

nav > img:hover {
    box-shadow: 8px 8px #2a7f98;
    transition: box-shadow 1s ease;
}

.nav-items > a {
    padding: 0;
    margin: 0;
    color: #0a5f78;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;

    border: 1px solid #3b4252;
    border-radius: 5px;

    height: 50px;
    line-height: 50px;
    min-width: 150px;
    text-align: center;
}

.nav-items > a:hover {
    cursor: pointer;
    background-color: #333c4e;
}

.headline-panel {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.headline-panel > h1 {
    font-size: 7rem;
    font-weight: 600;
    color: #0a5f78;
    text-shadow: 1px 1px 2px black, #0a5f78 0 0 500px;
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .headline-panel > h1 {
        font-size: 5rem;
    }
}

.headline-panel > p {
    margin: 0;
    color: #808080;
    font-size: 1.3em;
    text-align: center
}

a > button {
    padding-top: 15px;
    margin: 25px;
    color: #0a5f78;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;

    border: 1px solid #3b4252;
    border-radius: 5px;
    background-color: #2e3440;
    height: 75px;
    min-width: 300px;
}

a > button:hover {
    cursor: pointer;
    background-color: #434c5e;
}

a > button > p {
    font-size: 0.6rem;
    font-weight: 400;
    color: #d8dee9;
}

.text-section {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-section > h1 {
    color: #0a5f78;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 1px 1px 1px black, #0a5f78 0 0 6x;
    letter-spacing: 0.2rem;
}

.text-section > h2 {
    color: #0a5f78;
    font-size: 2.6rem;
    font-weight: 700;
    text-shadow: 1px 1px 1px black, #0a5f78 0 0 6x;
    letter-spacing: 0.2rem;
}

.text-section > h3 {
    color:#0a5f78;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

.text-section > h4 {
    color:#0a5f78;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
}

.text-section > p {
    color: #d8dee9;
    line-height: 1.8em;
}

.text-section a {
    color: #d8dee9;
}

.text-section a:visited {
    color: #a89eFF;
}

.text-section code {
    color: #d8dee9;
    background-color: #151515;
    padding: 5px 10px;
    font-weight: 500;
    border: 1px solid black;
    border-radius: 5px;
    line-height: 1.9em;
    font-size: 1.3em;
    white-space: pre-wrap;
}

ul, ol, li {
    color: #d8dee9;
    list-style: none;
    text-align: center;
    line-height: 1.7em;
    margin-top: 5px 0 0 0;
    padding: 0 !important;
}

hr {
    width: 80%;
    margin-top: 25px;
    margin-bottom: 25px;
}

.image-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}

.image-gallery-entry {
    width: 100%;
    max-width: 490px;
    border: 1px solid #3b4252;
    border-radius: 5px;
}

.image-gallery-entry > img {
    width: 100%;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.image-gallery-entry > p {
    margin: 15px;
    color: #e8eee9;
    text-align: center;
    font-size: 0.8rem;
}

.image-gallery-preview-modal {
    position: fixed;
    z-index: 2;
    height: 100%;
    width: 100%;
    background: #444;
    display:none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
}

.image-gallery-preview-modal-img {
    display: block;
    position: relative;
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    height: 80%;
    max-width: 100%;
    object-fit: scale-down;
    z-index: 3;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    box-shadow: 0px 0px 15px 0px #151515; 
}

.image-gallery-preview-modal-caption {
    margin-top: 25px;
    color: #d8dee9;
    text-align: center;
    font-size: 1.2rem;
}

.image-gallery-preview-modal-close {
    display: block;
    position: relative;
    padding: 0;
    margin-top: 25px;
    margin-right: 25px;
    margin-left: auto;
    background-color: #151515;
    border: 1px solid #3b4252;
    border-radius: 64px;
    height: 64px;
    width: 64px;
    text-align: center;
    line-height: 64px;
    z-index: 10;
    cursor: pointer;
}

.image-gallery-preview-modal-close:hover {
    background-color: #3b4252;
}

.image-gallery-preview-modal-nav-left {
    position: absolute;
    top: calc(50% - 64px);
    left: 0;
    height: 128px;
    width: 10%;
    max-width: 50px;
    z-index: 10;

    background-color: #151515;
    border: 1px solid #3b4252;
    border-radius: 64px;
    color: #e8eee9;
    font-size: 2em;
    font-weight: 700;
}

.image-gallery-preview-modal-nav-left:hover {
    cursor: pointer;
    background-color: #434c5e;
}

.image-gallery-preview-modal-nav-right {
    position: absolute;
    top: calc(50% - 64px);
    right: 0;
    height: 128px;
    width: 10%;
    max-width: 50px;
    z-index: 10;

    background-color: #151515;
    border: 1px solid #3b4252;
    border-radius: 64px;
    color: #e8eee9;
    font-size: 2em;
    font-weight: 700;
}

.image-gallery-preview-modal-nav-right:hover {
    cursor: pointer;
    background-color: #434c5e;
}

footer {
    display: block; 
    width: 100%;
    background-color: #2e3440;
    padding-top: 25px;
    margin-top: 50px;
}

.footer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.footer-row > p {
    margin-top: 25px;
    font-size: 0.96em;
    color: #d8dee9;
}

.footer-row > p > a {
    font-size: 0.96em;
    color: #d8dee9;
    font-weight: 700;
}

.footer-row > .footer-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-column > a {
    text-decoration: none;
    font-size: 1.1em;
    color: #a8aeb9;
}

.footer-column > a:hover{
    color: #d8dee9;
}

.footer-column > h3 {
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 800;
    color: #d8dee9;
}

.software-collection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.software {
    text-decoration: none;
}

.software > img {
    display: block;
    height: 64px;
    width: 64px;
    margin-left: auto;
    margin-right: auto;
}

.software > p {
    color: #d8dee9;
    text-align: center;
    font-size: 0.9em;
}

.monero {
    text-align: center;
}

.hidden {
    display: none;
}