body {
    background-color: #000000;
    font-family: sans-serif;
    color: #AA00FF;
    margin-top: 2em;
}

.base-container {
    display: flex;
    flex-wrap: wrap;  /* Allows wrapping when space is tight */
    justify-content: center;
    align-items: flex-start;
    gap: 1em;
}

.center-content {
    display: flex;
    justify-content: center;
}

h1 {
    font-size: 1.8em;
    margin-left: 0;
}

p {
    margin-top: 0;
}

.border {
    padding: 0.5em;
    border-style: solid;
    border-width: 0.1em;
    background-color: #101010;
}

.side-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
}
 
.links, .contact, .nav {
    align-self: flex-start;
    width: 15vw;
}

.links a, .nav a {
    display: block;
}

.contact {
    color: #ff0055;
}

.contact p {
    margin: 0;
    overflow-wrap: break-word;
}

main {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    text-align: center;
    width: 25vw;
    gap: 1em;
}

.stream iframe {
    margin-top: 1em;
    width: 30vw;
    height: calc(30vw * 0.63);
}

.grid {
    margin-top: 0;
    flex-wrap: wrap;
    gap: 1em;
    display: flex;
    width: 80%;
}

.grid h2 {
    margin-top: 0;
}

.about-me {
    width: 30vw;
}

.programming, .gaming, .language, .foss {
    width: 45%;
}


@media (max-width: 768px) {
    body {
        flex-direction: column;
        align-items: center;
    }

    main {
        align-self: center;
    }

    .links, .contact, .silly2, main {
        width: 80vw;
        align-self: center;
    }

    .stream iframe {
        width: 80%;
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .links, .contact, .silly2, main {
        width: 90%;
    }
}
