/* style.css */

.animated-text {
    background: linear-gradient(45deg, #ff007f, #ff7f00, #7fff00, #00ff7f, #007fff, #7f00ff, #ff007f);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
    font-weight: bold; /* Make the text bold */
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.option-btn {
    background-color: #0071e3; /* Blue background */
    color: white; /* White text */
    padding: 12px; /* Same padding as other buttons */
    border-radius: 8px; /* Same border radius */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center text */
    margin: 5px 0; /* Add some vertical space between buttons */
    display: block; /* Make buttons block elements */
    transition: background-color 0.3s; /* Smooth background color change */
}

.option-btn:hover {
    background-color: #005bb5; /* Darker blue on hover */
}



.logo {
    font-size: 48px;
    text-align: center;
    margin-bottom: 5px; /* Further reduced space between logo and box */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f7; /* Light gray background */
    color: #1d1d1f; /* Dark text color */
}

.main {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    min-height: 100vh;
    padding-top: 20px;
}

.box {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease;
}

.box__header h1, .box__header h2 {
    font-weight: 600;
    color: #1d1d1f; /* Dark header text color */
    margin-bottom: 15px;
}

.box__body img {
    margin-bottom: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    height: auto;
}

.box__footer p {
    font-size: 16px;
    line-height: 1.5;
    color: #86868b; /* Light gray for paragraph text */
}

.primary {
    color: #0071e3; /* Apple's blue accent */
    font-weight: bold;
}

.btn-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #0071e3; /* Apple Blue Button */
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-sizing: border-box; /* Fix width overflow issues */
}

.btn-block:hover {
    background-color: #005bb5; /* Darker blue on hover */
}

.btn-wraper {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.btn-wraper a {
    flex: 1 1 45%; /* Allow flexible width to fit within the container */
    margin: 5px;
    padding: 12px;
    background-color: #007AFF; /* Light button background */
    color: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s;
    box-sizing: border-box; /* Fix width overflow issues */
}

.btn-wraper a:hover {
    background-color: #e5e5e7; /* Slightly darker on hover */
}

.hidden {
    display: none;
}

/* Animation for box transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .box {
        max-width: 90%; /* Adjust box width for tablets and smaller screens */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .box__header h1 {
        font-size: 22px; /* Adjust font size for smaller screens */
    }

    .box__body img {
        width: 100%; /* Ensure the image takes up full width on smaller screens */
    }

    .btn-wraper a {
        flex: 1 1 100%; /* Stack buttons vertically on smaller screens */
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 36px; /* Make the Apple logo smaller on mobile */
    }

    .box__header h1 {
        font-size: 20px; /* Further reduce font size for mobile */
    }

    .btn-block {
        padding: 10px; /* Reduce button padding on mobile */
    }

    .box__footer p {
        font-size: 14px; /* Make paragraph text smaller for mobile */
    }
}
