body {
    background-color: #1ac0c6;
    font-family: 'Patrick Hand', sans-serif;
}

@keyframes spring {
    0% {
        letter-spacing: .1em;
    }
    100% {
        letter-spacing: .25em;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h1 {
    font-size: calc(24px + (100 - 24) * ((100vw - 320px) / (1200 - 320)));
    text-align: center;
    font-family: 'Bungee Shade', sans-serif;
    letter-spacing: .1em;
    animation: spring .5s ease-out forwards;
    animation-delay: .75s;
    max-width: 960px;
    margin: auto;
    line-height: 2;
}

h1 span:nth-child(1), h1 span:nth-child(2) {
    color: #e74645;
}

h1 span:nth-child(3), h1 span:nth-child(4) {
    color: #fb7756;
}

h1 span:nth-child(5), h1 span:nth-child(6) {
    color: #facd60;
}

h1 span:nth-child(7), h1 span:nth-child(8) {
    color: #fdfa66;
}

.intro {
    font-size: calc(18px + (36 - 18) * ((100vw - 320px) / (1200 - 320)));
    color: #fff;
    text-align: center;
    max-width: 768px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.border-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #e74645;
}

.border-right {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 15px;
    background-color: #fb7756;
}

.border-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #fdfa66;
}

.border-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
    background-color: #facd60;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul li {
    display: flex;
    justify-content: center;
}

ul li a {
    display: block;
    flex-grow: 1;
    padding: 25px;
    margin: 15px 25px;
    border: 2px solid transparent;
    color: #000;
    font-size: 20px;
    max-width: 960px;
    text-decoration: none;
    opacity: 0;
    animation: fade-in .5s ease-in forwards;
}


ul li a:hover {
    border: 2px solid #fff;
}

ul li:nth-child(1) a {
    background-color: #e74645;
    animation-delay: .1s;
}

ul li:nth-child(2) a {
    background-color: #fb7756;
    animation-delay: .2s;
}

ul li:nth-child(3) a {
    background-color: #facd60;
    animation-delay: .3s;
}

ul li:nth-child(4) a {
    background-color: #fdfa66;
    animation-delay: .4s;
}