main {
    animation: fade-in 1s ease backwards;
}

h1,
h2 {
    background-image: linear-gradient(90deg, #37b, #3b7, #37b);
    background-position-y: bottom;
    background-repeat: repeat-x;
    animation: background-slide-right 5s linear infinite;
}

h1 {
    background-size: 200% 0.35rem;
    font-size: 3.5rem;
}

h2 {
    display: inline-block;
    background-size: 200% 0.25rem;
    font-size: 2.5rem;
}

.button {
    margin: 0.5rem 0 0 0;
    padding: 0.25rem 0.5rem;
}

.item {
    margin: 1rem 0;
    border: dashed #333;
    border-width: 0.25rem 0 0 0;
}

.item:first-of-type {
    border: none;
}

@keyframes background-slide-right {
    0% {
        background-position-x: 200%;
    }

    100% {
        background-position-x: 0%;
    }
}

.tools {
    margin: 0.25rem 0;
}

.tools * {
    display: inline-block;
    box-sizing: border-box;
    margin: 0.25rem 0.1rem;
    padding: 0 0.5rem;
    border-radius: 1rem;
    color: #000;
    transition: transform 0.25s ease;
}

.tools *:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.reg-bg { background-color: #bbb; }
.html-bg { background-color: #E34C26; }
.css-bg { background-color: rebeccapurple; }
.javascript-bg { background-color: #F7DF1E; }
.python-bg { background-color: #3776AB; }
.cpp-bg { background-color: #5E97D0; }
.nodejs-bg { background-color: #8CC84B; }