body {
    background-color: #fffdfd;
    color: #333;
    text-align: center;
    font-family: 'Neue Montreal', sans-serif;
    position: relative;
    min-height: 100vh;
}
.resizedTextbox {width: 100px; height: 20px}
input[type="text"].resizedTextbox {
    text-transform: uppercase;
}
@font-face{
    font-family:'Neue Montreal';
    src: url('fonts/NeueMontreal-Regular.ttf');
}
@font-face{
    font-family:'SourceSansPro';
    src: url('fonts/SourceSansPro-Black.otf');
    src: url('fonts/SourceSansPro-Black.otf');
    src: url('fonts/SourceSansPro-BlackIt.otf');
    src: url('fonts/SourceSansPro-Bold.otf');
    src: url('fonts/SourceSansPro-BoldIt.otf');
    src: url('fonts/SourceSansPro-ExtraLight.otf');
    src: url('fonts/SourceSansPro-ExtraLightIt.otf');
    src: url('fonts/SourceSansPro-It.otf');
    src: url('fonts/SourceSansPro-Light.otf');
    src: url('fonts/SourceSansPro-LightIt.otf');
    src: url('fonts/SourceSansPro-Regular.otf');
    src: url('fonts/SourceSansPro-Semibold.otf');
    src: url('fonts/SourceSansPro-SemiboldIt.otf');
}

/* Common styles for both desktop and mobile */
/* ... existing styles ... */

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%; /* Adjust the height as needed */
    background-image: url("footer-image.jpg");
    background-size: cover;
    background-position: center bottom;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 600px) {
    body {
        padding: 10px; /* Adjust the overall padding for smaller screens */
    }

    h1 {
        font-size: 24px; /* Decrease the font size for headings on small screens */
    }


    /* Adjust button styles for small screens */
    button {
        width: 40%;
        margin-top: 10px;
    }

    /* Adjust result box styles for small screens */
    #result {
        margin-top: 10px;
    }

    /* Adjust table styles for small screens */
    table th, table td {
        font-size: 14px;
        padding: 5px;
    }
}


h1 {
    margin-bottom: 20px;
    letter-spacing: 1px;

}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

label {
    margin-bottom: 5px;
}

input[type="text"] {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#result {
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease-in-out;
}

form input[type="text"]:focus {
    border-color: #007BFF;
}

form button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #274E86;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

form button:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: none;
}

#result.show {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ccc;
}

table th {
    background-color: #3b3b3b;
    color: white;
    font-weight: bold;

}

table tr.certificate-row {
    background-color: #ffffff;
}
