body, html {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
    background-color: #f3f3f3;
    background-image: url('../../assets/image/bg.webp'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
}


.box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.logo-box {
    text-align: center;
    transition: top 1s ease-in-out;
}

.logo {
    width: 100%;
    max-width: 500px;
    animation: fadeInLogo 2s ease-in-out forwards;
}

.hidden {
    display: none;
}

.fade-in {
    display: block;
    animation: fadeInContent 1s ease-in-out;
}

.reminder {
    background-color: #B33F40;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    margin: 10px auto;
    font-weight: bold;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

button {
    width: 100%;
    max-width: 250px;
    padding: 12px 0;
    background-color: #2f353c;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: wiggle 1s ease-in-out infinite;
}

button:hover {
    background-color: #454a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@keyframes wiggle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(0) rotate(1deg);
    }
    75% {
        transform: translateY(0) rotate(-1deg);
    }
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    main {
        padding: 40px;
    }

    .logo {
        max-width: 450px;
    }

    button {
        font-size: 14px;
        padding: 10px 0;
    }

    .reminder {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 40px;
    }

    .logo {
        max-width: 450px;
    }

    button {
        font-size: 14px;
        padding: auto;
    }

    .reminder {
        max-width: 250px;
    }
}
