.spacer {
    flex: 1;
}

nav {
    position: fixed;
    inset: 0 0 0;
    display: flex;
    background-color: #fff;
    box-shadow: 0px 0px 13px #000000;
    font-family: 'IBM Plex Mono';
    height: 60px;
}

#links, .hamburger, .name {
    line-height: 60px;
}

.hamburger {
    display: none;
    right: 0;
    width: 60px;
    cursor: pointer;
    font-size: 40px;
}

.link {
    background-color: white;
    width: 100px;
    text-align: center;
}

.link:hover, .link:active {
    font-size: large;
}

.link:active {
    background-color: rgb(34, 34, 34);
    color: white;
}

nav span {
    margin: 20px;
    font-size: 20px;
    font-weight: bold;
}

body {
    margin: 0;
}

.container {
    margin: 80px 20px 40px 20px;
}

.contact-box {
    display: flex;
    place-items: center;
    bottom: 0;
    background: #FFFFFF;
    box-shadow: 0px 0px 13px #000000;
    border-radius: 45px 45px 0px 0px;
    height: 300px;
}

.copyright {
    background-color: #2A2A2A;
    color: white;
    padding: 1px;
    text-align: center;
}

.contact {
    width: 80px;
    height: 80px;
    display: block;
    filter: invert(0) opacity(80%);
    transition: filter 5s;
}

.contact:hover {
    filter: invert(100%) opacity(80%);
    transition: filter 5s;
}

a {
    text-decoration: none;
    color: black;
}

.card {
    background-color: white;
    border: 2px dotted black;
    margin: 70px;
    word-wrap: break-word;
    text-align: center;
}

.card:hover {
    background-color: rgb(215, 253, 241);
    border: inherit solid black;
}

.card:active {
    background-color: rgb(53, 255, 191);
    border: inherit solid black;
}

@media screen and (max-width:650px) {
    #links {
        display: none;
        position: absolute;
        top: 60px;
        width: 100%;
        box-shadow: 0 15px 20px -10px #000;
    }
    .hamburger {
        display: block;
    }
    .link {
        width: 100%;
        background-color: rgba(255, 255, 255, 90%);
    }
    #avatar {
        max-width: 50%;
    }
}

@media screen and (min-width:651px) {
    #links {
        display: flex !important;
    }
}
