@charset "utf-8";

:root {
    --bg-color1: #21326A;
    --bg-color2: #3A6EB0;
    --text-color: #fafafa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(45deg, var(--bg-color1) 1%,var(--bg-color2) 100%);
    color: var(--text-color);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url("bg.png");
    background-size: 90%;
    background-position: bottom -10vh center;
    background-repeat: no-repeat;
}

.bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 900px;
    z-index: 1;
    pointer-events: none;
    opacity: .1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-title img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    z-index: 10;
    position: relative;
    text-align: center;
    margin-bottom: 40vh;
}

.dl-link {
    display: inline-block;
    font-size: clamp(16px, 2vw, 24px);
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    border-radius: 8px;
    padding: 2rem 4rem;
    background: rgba(0, 0, 0, .3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
}

.dl-link:hover {
    background: rgba(0, 0, 0, .7);
    color: var(--bg-color);
    border-radius: 20px;
    letter-spacing: 0.35em;
    padding-left: 5rem;
    padding-right: 3rem;
}

.dl-link span {
    display: block;
    transition: inherit;
}

.file-size {
    font-size: 0.6em;
    opacity: 0.6;
    margin-top: 10px;
    transition-delay: 0.05s;
}

.dl-link:hover .file-size {
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.catch-copy {
    margin-top: 1em;
    padding: .5em;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, .3);
}

.catch-copy-sub {
    font-size: 1rem;
}

.corner {
    position: absolute;
    font-size: 12px;
    pointer-events: none;
    z-index: 5;
}

.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
    text-align: right;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    text-align: right;
}

@media (max-width: 1280px) {
    #main {
        background-size: contain;
    }
}

@media (max-width: 1024px) {
    #main {
        background-position: bottom center;
    }
}

@media (max-width: 768px) {
    .dl-link {
        padding: 1.5rem 2rem;
        width: 90vw;
    }

    .dl-link:hover {
        padding: 1.5rem 2rem;
        letter-spacing: 0.1em;
    }
}