html {
    scrollbar-width: none;
}

body {
    color: white;
    background-color: black;
    font: normal 16px monospace;
    display: flex;
    justify-content: center;
    text-align: center;
    width: calc(100vw - 20px);
    /* height: calc(100vh - 20px); */
    height: fit-content;
    margin: 10px;
    opacity: 0;
    animation: fade 1676ms forwards;
}

main {
    width: 80%;
    min-height: calc(100vh - 20px);
    height: fit-content;
    padding-bottom: 10px;
    padding: 0px 32px;
    border-left: 1px solid #676767;
    border-right: 1px solid #676767;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

a {
    color: #800080;
    font-weight: bold;
    font-size: 1.2em;
}

a:active {
    color: default;
}

#titleContainer {
    width: 80%;
    border-bottom: 1px solid #676767;
    cursor: default;
    margin-bottom: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: 500ms linear;
}

#title {
    height: fit-content;
    padding: 0px;
    padding-right: 1ch;
}

.profpic {
    min-width: 80px;
    max-width: 100%;
    width: 250px;
    height: auto;
    border-radius: 50%;
    border: 10px solid #800080;
    margin: 40px;
    box-shadow: 0px 0px 100px 2px;
    color: #206e20;
    aspect-ratio: 1;
    /* z-index: -1; */
    user-select: none;
    cursor: pointer;
    transition: transform 200ms ease, opacity 200ms ease;
    opacity: 1;
}

.profpic.hidden {
    opacity: 0;
}

.profpic:hover {
    transform: scale(1.2);
}

.profpic:active {
    transform: scale(1.4);
}

#isondriteContainer {
    width: 100%;
    height: 20vh;
    border-top: 1px solid #676767;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#isondrite {
    width: 33%;
    flex-grow: 1;
    border: 1px solid #676767;
    border-radius: 8px;
    background-color: white;
}

#githubContributionGraphContainer {
    border-top: 1px solid #676767;
    width: 90%;
    padding: 20px;
}

#githubContributionGraph {
    max-width: 100%;
    height: auto;
    object-fit: scale-down;
    color: white;
}

#contact {
    width: 80%;
    margin-top: auto;
    margin-bottom: 10px;
    padding-top: 20px;
}

#contactTitle {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: underline;
    padding: 20px 0px;
    border-top: 2px solid #676767;
}

#contactContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: row wrap;
}

.contact-item {
    margin: 0px 10px;
    padding: 2px;
    font-size: 0.9em;
    font-weight: bold;
    flex: 1;
    transition: 100ms cubic-bezier(0, 0.60, 0.8, 1);
    height: fit-content;
    user-select: none;
    display: inline;
    white-space: nowrap;
}

@media screen and (min-width: 1000px) {

    .contact-item:hover {
        background-color: #676767;
        color: black;
        cursor: pointer;
        border-radius: 4px;
    }

    .contact-item:active {
        color: yellow;
        background-color: #800080;
        font-weight: bold;
        border-radius: 1em;
        padding-right: 6ch;
        padding-left: 6ch;
    }
}

.contact-value {
    font-size: 1.1em;
    padding: 0px;
    user-select: all;
    color: inherit;
}

.divider {
    width: 1px;
    height: 1.8em;
    border-right: 1px solid #676767;
}

@media screen and (max-width: 650px) {
    .divider {
        display: none;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}