/* Reset some basic elements */
body, h1, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Background Styling */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f06, #4a90e2);
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Container Styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%; /* Full width */
    padding: 0;
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Content Block */
.content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 100%; /* Full width on all screens */
    width: 100%; /* Full width */
    box-sizing: border-box; /* Include padding in width calculation */
    margin: 0 15px; /* Ensure there's space between content and screen edges */
}

/* Logo Styles */
.logo {
    width: 100%; /* Make logo full width */
    max-width: 200px; /* Set maximum width to prevent logo from being too large */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto 20px; /* Center logo with margin */
}

/* Heading Styles */
.heading {
    font-size: 24px;
    color: red;
    margin-bottom: 15px;
}

/* Subtext Styles */
.subtext {
    font-size: 16px;
    color: #333;
}

/* Button Styles */
.redirect-button {
    display: inline-block !important;
    padding: 15px 30px !important;
    margin-top: 20px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
    background-color: #4a90e2 !important;
    border: 2px solid #357ABD !important; /* Added border to ensure visibility */
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Hover Effect for Button */
.redirect-button:hover {
    background-color: #357ABD !important;
    border-color: #2B5B97 !important; /* Change border color on hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 100%; /* Full width for mobile */
    }

    .content {
        padding: 15px; /* Reduce padding */
        width: 100%; /* Full width */
        margin: 0; /* Remove margin */
    }

    .logo {
        width: 100%; /* Make logo full width on mobile */
        max-width: 100px; /* Adjust size for mobile */
    }

    .heading {
        font-size: 20px;
    }

    .subtext {
        font-size: 14px;
    }

    .redirect-button {
        font-size: 14px;
        padding: 12px 25px;
    }
}
