@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@800&family=Orbitron:wght@600;800;900&display=swap');

body {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
}

.spaceben {
    position: absolute;
    width: 30vh;
    top: 30%;
    right: 5%;
    z-index: 12;
    animation: moveUpDown 30s ease-in-out infinite;
}

.blacktheme .i-image img {
    filter: grayscale(100%) contrast(120%);
}


@keyframes moveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-50px);
        /* Adjust this value for the desired range of movement */
    }
}

#canvas {
    z-index: -100;
    display: none;
}

.blacktheme #canvas {
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.social {
    position: absolute;
    bottom: 5vh;
    transform: translate(-50%, 0%) scale(1);
    /* Center and scale */
    left: 50%;
    width: 15vh;
    height: 15vh;
    z-index: 2001;
    overflow: visible;
    opacity: 1;
}

.blacktheme a {
    opacity: 1;
    z-index: 1000;
    overflow: visible !important;
}

.social svg {
    position: absolute;
    top: 0;
    left:0;
    margin: 0px;
    width: 15vh;
    fill: var(--maincolor);
    display: block;
    transition: .25s;
}

.blacktheme .social svg {
    fill: var(--backcolor);
}

.social svg:hover {
    fill: #0A66C2;
    cursor: pointer;
    opacity: 1;
}

.social:hover ~ #inlineres {
    top: 100vh;
    transition: .25s;
}


.t-placement {
    position: absolute;
    width: 100vw;
    height: 75vh;
    top:0;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blacktheme .t-placement {
    height: 90vh;
}

:root {
    --zoomquotepos: 37%;
}

.ztext {
    margin: auto 0;
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 10vh;
    color: var(--backcolor);
    line-height: 1em;
    letter-spacing: .01em;
    text-align: center;
    position: absolute;
    width: 70%;
    transform: translate(-50%, -50%) scale(0.1);
    transform-origin: center center;
    left: 50%;
    opacity: 0;
    z-index: 2;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    filter: drop-shadow(3px 3px 0px rgba(var(--maincolor-rgb), 1));
}

.blacktheme .ztext {
    filter: drop-shadow(0vh 0vh 0px rgba(var(--maincolor-rgb), 0));
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 7vh;
    line-height: 1.5em;
    letter-spacing: .05em;
}

.ztext::before {
    font-family: 'Noto Serif', serif;
    content: "“";
    font-size: 50vh;
    font-weight: 800;
    position: absolute;
    top:10vh;
    left: -1vh;
    opacity: .2;
}

.blacktheme .ztext::before {
    content: "";
}

@keyframes fadeInOut {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.1);
        top: 60%;
        opacity: 0;
    }

    5%, 95% {
        transform: translate(-50%, -50%) scale(1);
        top: 45%;
        opacity: 1;
    }
    98%, 100% {
        transform: translate(-50%, -50%) scale(1);
        top: 45%;
        opacity: 0;
    }
}

.ztext {
    animation: fadeInOut 3s forwards;
    display: none;
}

.ztext.active {
    display: block;
}

.social:hover .ztext.active {
    animation: none;
}

#inlineres {
    position: absolute;
    width: auto;
    top:5vh;
    left:18vw;
    right: 18vw; 
    bottom: 20vh;   
    overflow-y:auto;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), black, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), black, rgba(0, 0, 0, 0));
    transition: 1s;
}

.resume-wrapper a {
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: 1;
}
