html,
body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

:root {
    --sidea-min: 1rem;
    --sidea-fluid:8vw;
    --sidea-max:2vw;

    --sideb-min: 2rem;
    --sideb-fluid: 5vw;
    --sideb-max: 10vw;
}

.toppes {
    background: #FAF9F9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 10px;
    z-index: 10;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.main {
    margin: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    /* position: fixed; */
    /* background: linear-gradient(90deg, #FAF9F9 65%, #1f1f1f 35%); */
    background: #FAF9F9;
    /* -ms-overflow-style: none; */
    /* IE and Edge */
    /* scrollbar-width: none; */
    /* Firefox */
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    align-items: center;
    justify-content: center;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.main::-webkit-scrollbar {
    display: none;
}

.side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
}

div {
    display: flex;
}



.sidea {
    font-size: clamp(var(--sidea-min), var(--sidea-fluid), var(--sidea-max));
    height: 80vh;
    width: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.sideb {
    font-size: clamp(var(--sideb-min), var(--sideb-fluid), var(--sideb-max));
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    height: 80vh;
    width: 50vh;
    justify-content: center;
}

.link,
link.visited {
    position: relative;
    color: #1f1f1f;
    text-decoration: none;
}

.link2 {
    color: #1f1f1f;
    text-decoration: none;
}

.link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    margin-left: -2vw;
    background-color: #1f1f1f;
    transition: width 0.8s ease;
}

.link:hover::before {
    width: 110%;
}

.spacer {
    height: 100vh;
    /* Adjust the height to your needs */
    width: 5px;
    position: relative;
    overflow: hidden;
    padding-left: 2vw;
    padding-right: 1.7vw;
}

.line {
    position: relative;
    top: -100%;
    left: 0;
    width: clamp(1px, 1vw, 5px);
    height: 100%;
    background: linear-gradient(to top, #1f1f1f 0%,
            #1f1f1f 50%,
            #FAF9F9 50%,
            #FAF9F9 70%,
            #1f1f1f 70%);
    ;
    animation: dropLine 20s linear infinite;
}

@keyframes dropLine {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.font {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}




.sidebar {
    z-index: 100;
    width: clamp(60px, 5vw, 200px);
    height: 100vh;
    background-color: #1f1f1f;
    position: fixed;
    transition: width 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /* overflow: hidden; */
}

.sidebar a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #FAF9F9;
    padding: 5px;
    transition: background-color 0.5s ease, font-size 0.5s ease, padding-left 0.5s ease;
    position: relative;
}

.sidebar a:hover {
    background-color: #FAF9F9;
    color: #1f1f1f;
    padding-left: 30px;
}

.sidebar:hover {
    width: 50vw;
    font-size: clamp(2em, 4em, 5em);
}