  /* Reset default margin and padding */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    height: 100vh;
    position: relative;
    overflow: hidden; /* Ensure no scrollbars appear */
}
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with transparency */
    z-index: -1; /* Place behind the content */
}

header {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 20px;
    z-index: 1; /* Ensure header is above the background */
    width: 100%; /* Make header full width for alignment */
    text-align: center; /* Center the logo */
}

.logo img {
    height: 235px; /* Original height */
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px); /* Adjust to fit header height */
    position: relative;
    z-index: 1; /* Ensure main content is above the background */
    padding: 0 20px; /* Padding for mobile devices */
}

.content {
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Overlay color with transparency */
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px; /* Restrict maximum width */
    margin-top: 30px; /* Add margin to separate from the logo */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Make all buttons the same width */
    max-width: 300px; /* Restrict maximum width */
    margin: 0 auto; /* Center the buttons */
}

.btn-primary {
    background-color: #b41718;
    color: #fff;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #a00e0f;
}

.btn-lg {
    font-size: 1.25rem;
    padding: 15px 25px;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    header {
        top: 10px; /* Adjust for mobile */
        padding: 10px 20px;
    }

    .logo img {
        height: 150px; /* Adjust height for mobile */
    }

    h1 {
        font-size: 2rem; /* Adjust font size for mobile */
    }

    .content {
        padding: 20px; /* Reduce padding for mobile */
    }

    .btn {
        width: 100%; /* Ensure buttons are full width on mobile */
    }

    .buttons {
        flex-direction: column; /* Stack buttons on top of each other */
    }
}

/* Laptop-specific adjustments */
@media (min-width: 768px) {
    header {
        top: 10px;
        padding: 20px; /* Restore original padding */
    }

    .logo img {
        height: 235px; /* Restore original height */
    }

    main {
        justify-content: center;
        align-items: flex-start; /* Align content towards the top */
        padding-top: 200px; /* Add space between logo and content */
    }

    .content {
        margin-top: 50px; /* Increase space between logo and content */
        padding-top: 50px;
    }

    .btn {
        width: auto; /* Remove width restriction on larger screens */
        margin: 0; /* Remove centering */
    }

    .buttons {
        flex-direction: row;
    }
}