* {
    font-family:Arial, Helvetica, sans-serif;
    color: white;
    scroll-behavior: smooth;
}

:root {
    --shadow-color: #00000088;
    --border-color: rgb(99, 99, 99);
    --outback-ease: cubic-bezier(.2,1.82,.54,1);
    --background-color: rgb(26, 26, 26);
}

body {
    background-image: url("back.png");
    background-color: rgb(26, 26, 26);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

div.float {
    height: 70vh;
    padding-bottom: 200px;
    align-content: center;
    flex-direction: column;
    display: flex;
}

div.card-container {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

div.greeting {
    padding: 4em;
    text-align: center;
    background: -webkit-linear-gradient(black,transparent);
}

a.greeting {
    color: white;
    user-select: none;
    font-size: 64px;
    font-weight: 700;
    animation-name: greeting, fade-in;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(.2,1.82,.54,1), linear;
    transition: letter-spacing 0.3s cubic-bezier(.2,1.82,.54,1);
}

a.greeting:hover {
    letter-spacing: 2px;
}

@keyframes greeting {
    from {
        letter-spacing: 5px;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes initial-card-transform {
    0% {
        transform: rotateX(50deg) translateY(-20px);
    }
    100% {
        transform: rotateX(0deg) translateY(0);
    }
}

@keyframes initial-card-opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

div.card {
    width: 500px;
    padding: 1em;
    margin: auto;
    border-width: 1px;
    border-style: solid;
    border-color: var(--border-color);
    border-radius: 1em;
    font-size: 36px;
    font-weight: 600;
    color: white;
    background: rgb(26, 26, 26);
    scale: 1;
    filter: blur(0);
    transform: translateY(0px);
    opacity: 1;
    transform: rotateX(0deg);
    box-shadow: 0 0 5px 5px var(--shadow-color);
    animation-name: initial-card-transform, initial-card-opacity;
    animation-duration: 0.5s;
    animation-timing-function: var(--outback-ease), linear;
    transition: scale 0.3s var(--outback-ease), box-shadow 0.3s var(--outback-ease), transform 0.3s var(--outback-ease);
}

div.card:hover {
    scale: 1.05;
    transform: rotateX(20deg);
    box-shadow: 0 0 10px 10px var(--shadow-color);
}

div.card:active {
    scale: 1.1;
}

div.name {
    background: -webkit-linear-gradient(0deg,lightgreen,lightcoral,lightblue,lightgreen);
    background-clip: text;
    background-size: 300% 300%;
    animation: rainbow-name 3s linear infinite;
}

@keyframes rainbow-name {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 300% 0;
    }
}

span.name {
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bolder;
    color: transparent;
    transition: color 0.3s linear;
    /* animation: rainbow-name 4s linear infinite forwards; */
}

span.name:hover {
    color: white;
}

div.hyper-container {
    padding: 1em;
    width: 100vw;
    z-index: 1000;
    color: white;
    position: fixed;
    background: -webkit-linear-gradient(black,transparent);
}

div.info {
    text-align: center;
    background-color: rgb(26, 26, 26);
    border-style: solid;
    border-width: 1px 0px 1px 0px;
    padding: 3em;
    font-weight: 500;
    border-color: rgb(99, 99, 99);
    box-shadow: 0px 0px 10px 10px black;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

span.sneaky {
    color: transparent;
    font-size: 5px;
    transition: color 0.3s;
}

span.sneaky:hover {
    color: white;
    font-size: 5px;
}

div.card-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 300px;
    height: 200px;
    padding: 1em;
    border-width: 1px;
    border-style: solid;
    margin: 1em;
    border-color: var(--border-color);
    border-radius: 1em;
    font-size: 24px;
    font-weight: 600;
    color: white;
    background: rgb(26, 26, 26);
    scale: 1;
    transform: translateY(0px);
    box-shadow: 0 0 5px 5px var(--shadow-color);
    transition: scale 0.3s cubic-bezier(.2,1.82,.54,1), box-shadow 0.3s cubic-bezier(.2,1.82,.54,1);
}

div.card-info:nth-child(2) {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

div.card-info:hover {
    scale: 1.05;
    box-shadow: 0 0 10px 10px var(--shadow-color);
}

div.card-info:active {
    scale: 1.1;
}

div.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.card-info::first-line {
    font-size: 32px;
}

.fade-in-element {
    opacity: 0;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation-name: fade-in, fade-fall;
    animation-duration: 0.5s;
    animation-timing-function: linear, var(--outback-ease);
}

@keyframes fade-fall {
    from {
        transform: translateY(-20px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card-title {
    font-size: 38px;
    color: white;
}

h1 {
    text-align: center;
    margin: 2em;
}

div.ripple {
    border-radius: 100%;
    border-style: solid;
    border-width: 1px;
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
    animation-name: ripple, ripple-fade-out;
    animation-duration: 1s;
    animation-timing-function: ease-out, linear;
    pointer-events: none;
}

@keyframes ripple-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes ripple {
    from {
        width: 0;
        height: 0;
        opacity: 1;
    }
    to {
        width: 100px;
        opacity: 0;
        height: 100px;
        transform: translate(-50px,-50px);
    }
}

div.details {
    margin-top: 10em;
}

p.info-title {
    margin: 1em;
    margin-top: 0;
    font-size: 64px;
    font-weight: 700;
}

img.link {
    width: 20px;
    height: 20px;
}

div.link {
    border-radius: 1em;
    transition: transform 0.3s var(--outback-ease);
    background: -webkit-linear-gradient(40deg,white,#f08080,#add8e6,lightgreen,white);
    background-color: white;
    background-position: -100%;
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

div.link.is-visible {
    animation: link-shine 1s ease-out;
}

@keyframes link-shine {
    from {
        background-position: -100% 0%;
    }
    to {
        background-position: 200% 0%;
    }
}

a.link {
    display: block;
    color: black;
    padding: 1em;
    font-weight: 700;
    text-decoration: none;
}

svg {
    width: 100px;
    height: 100px;
}

p.info {
    font-weight: 600;
    text-align: left;
    padding: 1em;
    padding-top: 0;
}