@import url('https://fonts.googleapis.com/css2?family=Yuyu&display=swap');

@view-transition {
  navigation: auto;
}

:root {
    --color: #121212;
    --panel-color: rgb(214 214 214 / 0.48);
    --panel-shadow-color: #d6d6d6;
    --accent-color: rgb(157 67 194 / 0.15);
}

@media (prefers-color-scheme: dark) {
    :root {
        --color: #ebebeb;
        --panel-color: rgb(46 46 46 / 0.48);
        --panel-shadow-color: #1b1b1b;
    }

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Yuyu", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: var(--color);
}
body {
    background: #bfbfbf;
    background-image: url("/bg.jpg");
    background-size: cover;
}
header {
    text-align: center;
    margin-bottom: 50px;
}
header h1 {
    font-size: 4rem;
}
footer {
    text-align: center;
    margin-top: 50px;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 550px;
    background: var(--panel-color);
    box-shadow: 0 0 15px var(--panel-shadow-color);
    backdrop-filter: blur(20px);
    overflow-x: hidden;
}
a.link {
    display: block;

    width: 550px;
    height: 50px;
    text-decoration: none;
    margin-left: 0;
    text-align: center;
    color: var(--color);
    transition-duration: 0.2s;
}
.link > img {
    float: left;
    width: 50px;
    height: 50px;
    padding: 5px;
}
.link > div {
    padding: 10px;
}
a.link:hover {
    background: linear-gradient(to right, #00000000, var(--accent-color));
    margin-left: 15px;
}
a {
    text-decoration: none;
}
footer a {
    color: var(--color);
    transition-duration: 0.2s;
    border-bottom: 3px solid #00000000;
}
footer a:hover {
    border-bottom: 3px solid var(--color);

}