@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
body{
    margin: 0;
    height: 75vh;
    font-family: "Space Grotesk", sans-serif;
    overflow: visible;
}

header h1 {
    text-align: center;
}

a {
    color:#00DEF5;
    text-shadow: 1px 1px 2px;
}

a:visited {
    color:#57AFBF;
}

nav {
}

#top-content {
    border-bottom: 2px solid #00DEF5;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    flex-direction: column;
}

nav a {
    margin: 0 auto;
    margin-bottom: 1em;
}

#navlist {
    display: none;
}

nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

nav ul li {
    padding: 1em 0;
}


main {
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
    padding-bottom: 1em;
}

#contact_main {
    flex-direction: column;
    gap: 1em;
}

#community_content {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-left: auto;
    margin-right: auto;
}

#linux_logo {
    height: auto;
}

#tchaikovsky {
    height: auto;
    width: 50%;
}

form {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 6em 1fr;
    grid-template-rows: auto;
}

form #mySubmit{
    grid-column: 2;
    width: 9em;
    margin: auto;
}


main img, main #headshot, main #at_school{
    object-fit: scale-down;
    height: 40vh;
}

table caption{
    display: none; /* Caption is for accessabilty but it looks ugly.*/
}

table tr:first-of-type{
    background-color: #00DEF5;
}

footer {
    border-top: 2px solid #00DEF5;
    width: 100%;
    text-align: center;
}

@media (min-width:700px) {
    nav ul li {
        display: inline;
        padding-right: 1em;
    }

    #navlist {
        display:block;
    }

    #navVis{
        display: none;
    }

    main {
        flex-direction: row;
    }
    main h2, main p {
        margin: 0 1em;
    }

    main img {
        box-shadow: 5px 5px 5px #57AFBF;
    }
}
