body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    animation: flashEffect 0.2s linear;
    overflow-y: scroll;
    background: #6d261e;
}

body::-webkit-scrollbar {
    width: 0.1px;
}

html {
    scrollbar-width: none;
}

@keyframes flashEffect {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#overlay {
    position: absolute;
    top: 38%;
    left: 70%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

#overlay .h1, #overlay .h3 {
    margin: 0;
}

#overlay a {
    color: white;
    margin: 0 5px;
}

@media (max-width: 568px) {
    .image-container img {
        object-position: center;   
    }
    #overlay {
        left: 50%;
    }
    #overlay .h1 {
        font-size: 3.1rem;
    }
    #overlay .icons {
        font-size: 1.5rem;
    }
    #overlay .h3 {
        font-size: 1.1rem;
    }
    svg {
        width: 60vw !important;
    }
    p {
        font-size: xx-small !important;
    }
    .circle, .line {
        animation: none !important;
    }
}

@media (min-width: 569px) and (max-width: 1200px) {
    #overlay .h1 {
        font-size: 4.5rem;
    }
    #overlay .icons {
        font-size: 2rem;
    }
    svg {
        width: 40vw !important;
    }
    #overlay .h3 {
        font-size: 1.3rem;
    }
    .fa-bilibili::before {
        position: relative;
        top: -2px;
    }
}

@media (min-width: 1201px) {
    #overlay .h1 {
        font-size: 5rem;
    }
    #overlay .icons {
        font-size: 2.3rem;
    }
    #overlay .h3 {
        font-size: 1.5rem;
    }
    .fa-bilibili::before {
        position: relative;
        top: -3px;
    }
}

svg {
    width: auto;
    height: auto;
    padding-top: 3%;
    padding-bottom: 13%;
    width: 400px;
}

.circle {
    stroke: #fff;
    stroke-width: 1;
    stroke-dasharray: 3.5, 4;
    cursor: pointer;
    transition: fill 0.3s, stroke 0.3s;
}

.line {
    stroke: #fff;
    stroke-width: 1;
    stroke-dasharray: 3.5, 3.5;
    transition: stroke 0.3s;
}

@keyframes circle-dash-rotate-animation {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -60;
    }
}

.circle.animate {
    animation: circle-dash-rotate-animation 3.5s linear infinite;
}

.animate {
    animation: dash-animation 4s linear infinite;
}

@keyframes dash-animation {
    to {
        stroke-dashoffset: 100;
    }
}

.text-button {
    color: #ffffff;
    border: none; 
    background: none;
    font-size: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.arrow {
    width: 1.5rem;
    height: 1.5rem;
    border-left: 2.5px solid white;
    border-bottom: 2.5px solid white;
    transform: rotate(-45deg);
    animation: blink 1s infinite;
    border-radius: 5px;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hidden {
    display: none;
}