/* General styles */
body {
    background-color: black;
    color: rgb(187, 179, 179);
    font-family: Flamenco, system-ui;
    font-size: larger;
}

a {
    color: inherit;
}

.centered-link {
    display: block;
    margin: 0 auto;
    text-align: center;
}


nav a {
    color: inherit;
    font-size: 18px;
    text-decoration: none;
}

.container {
    display: flex;
}

.container h1 {
    font-size: 60px;
}

.content {
    padding: 20px;
    font-size: 16px;
    overflow-y: auto;
    flex: 1;
}

nav {
    padding: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

nav li {
    padding: 10px;
    margin-top: 10px;
    margin-right: 25px;
}

nav a.active {
    font-weight: bold;
    font-size: 30px;
    color: white;
}

#home h2,
#about h2,
#about ul {
    margin-left: 25px;
}

#blog a, #site a {
    font-size: 35px;
}

#blog .go-back-link, #site .go-back-link {
    font-size: 20px;
    line-height: 5;
    margin-bottom: 10px;
}

#blog li, #site li {
    margin-bottom: 30px;
}

#blog ul, #site ul {
    list-style-type: none;
}


.fa-solid.fa-terminal {
    color: rgb(0, 255, 0);
}

#about ul a,
#about ul p {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
}

#about ul a:hover {
    text-decoration: underline;
}

#about ul i {
    font-size: 24px;
    margin-right: 5px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    nav {
        width: 100%;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        margin: 0 10px;
    }

    .content {
        flex: none;
    }
}

.iframe-container {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    /* Aspect ratio 16:9 (height / width) */
    position: relative;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* CSS for mobile responsiveness */
@media only screen and (max-width: 600px) {
    .iframe-container {
        padding-top: 100%;
        padding-bottom: 100%;
        /* Adjust the aspect ratio for mobile devices */
    }
}