/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background settings for full page */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling */
}

body {
    background-image: url('b.jpg');
    background-size: contain; /* Changes from 'cover' to 'contain' */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5; /* Fallback color */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    body {
        background-size: contain;
        background-position: center;
    }
    
    .modal-content {
        width: 90% !important; /* Override the fixed width for mobile */
        margin: 20px;
        padding: 15px;
    }
}

/* Center modal on the screen */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Modal content box styling */
.modal-content {
    background-color: white;
    width: 400px;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 18px;
}

/* Rest of your existing CSS remains the same */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: gray;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.checkmark {
    color: green;
    font-size: 36px;
    border: 2px solid green;
    border-radius: 50%;
    padding: 8px;
}

.modal-content h2 {
    color: #4CAF50;
    font-size: 18px;
    margin: 10px 0;
    font-weight: normal;
}

.powered-by {
    font-size: 12px;
    color: #888;
    margin: 10px 0;
}

.intern-details {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.close-button {
    background-color: white;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.close-button:hover {
    background-color: #4CAF50;
    color: white;
}