@keyframes cursor-blink {
    0% {
        background: transparent;
    }

    50% {
        background: white;
    }

    100% {
        background-color: transparent;
    }
}

html {
    display: flex;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #202020;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

body {
    width: 100%;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 5px;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.large {
    font-size: 24pt;
}

button {
    outline: none;
    cursor: pointer;
    border: 0px solid black;
}

.glass {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hidden {
    opacity: 0;
    filter: blur(15px);
    transition-duration: 0.5s;
}

.hidden:hover {
    opacity: 1;
    filter: none;
}

.table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cursor {
    animation: cursor-blink 0.35s;
    animation-iteration-count: infinite;
    background: white;
    margin-left: 2px;
    width: 2px;
    height: 30px;
}

.comments {
    border-radius: 15px;
    background:transparent;
    height:100%;
}

#backgrnd {
    position: fixed;
    top:0;
    left:0;
    /* left: -50%; */
    width: 100%;
    /* min-height: 50%; */
}

#mode-switch {
    position:fixed;
    border-radius: 5px;
    z-index: 2;
    opacity:0.4;
}

#mode-switch:hover {
    opacity:1;
    transition-duration: 0.5s;
}

#mode-switch:not(:hover) {
    opacity:0.4;
    transition-duration: 0.5s;
}

.socials {
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
}

.social {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: white;
    font-family: "Montserrat", sans-serif;
    border-radius: 35px;
    transition-duration: 0.5s;
}

.social:hover {
    transform: scale(1.1);
}

.social:not(:hover) {
    transform: none;
}

.socials #ds {
    background: #5765f2;
}

.socials #yt {
    background: #ff0000;
}

.socials #tg,
.socials #tg-vl {
    background: #2ea6e2;
}

.socials #gh {
    background: #000000;
}

.bio-path {
    width: 100%;
    color: #a1a1a1;
    font-family: monospace;
    margin-bottom: 10px;

    & a {
        color: white;
        text-decoration: none;
    }
}

#github-bio {
    width: 100%;

    & a {
        text-decoration: none;
    }
}

@media screen and (min-width: 980px) {
    .table {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .table .glass {
        width: 100%;
    }
}

@media screen and (max-width:1600px) {
    #backgrnd {
        height:100%;
        min-width:100%;
        width:initial;
    }
}