* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: flex-start; /* Align items to the top */
    align-items: center;         /* Center items horizontally */
    flex-direction: column;      /* Stack items vertically */
    height: 115vh;               /* Full viewport height */
    background-color: rgba(255, 0, 0, 0.90);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
    height: 100%;
    background-color: rgba(255, 255, 0, 0.85);
    padding-top: 20px;
    margin-top: 10px;
    color: black;
}

footer {
    margin-top: auto;
    padding: 10px;
    background-color: #333;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 35%;
}

table {
    width: 474px;
    border-collapse: collapse;
}


@media only screen and (max-width: 1353px) {
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 474px;
        height: 100%;
        background-color: rgba(255, 255, 0, 0.85);
        padding-top: 20px;
        margin-top: 10px;
        color: black;
    }
    table {
        width: 400px;
        border-collapse: collapse;
    }
    footer {
        margin-top: auto;
        padding: 10px;
        background-color: #333;
        color: white;
        text-align: center;
        position: fixed;
        bottom: 0;
        width: 474px;
    }
    
    
}

@media only screen and (max-width: 700px) {
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 400px;
        height: 100%;
        background-color: rgba(255, 255, 0, 0.85);
        padding-top: 20px;
        margin-top: 10px;
        color: black;
    }
    footer {
        margin-top: auto;
        padding: 10px;
        background-color: #333;
        color: white;
        text-align: center;
        position: fixed;
        bottom: 0;
        width: 400px;
    }
    
}

@media only screen and (max-width: 450px) {
    body {
        display: flex;
        justify-content: flex-start; /* Align items to the top */
        align-items: center;         /* Center items horizontally */
        flex-direction: column;      /* Stack items vertically */
        background-color: rgba(255, 0, 0, 0.90);
        font-family: Arial, sans-serif;
        margin: 0px;
        padding: 0px;
    }

    main {
        display: table-column;
        width: 85%;
        background-color: rgba(255, 255, 0, 0.85);
        color: black;
        
    }

    table {
        display: flex;
        width: 350px;
        border-collapse: collapse;
    }

    footer {
        margin-top: auto;
        padding: 10px;
        background-color: #333;
        color: white;
        text-align: center;
        position: fixed;
        bottom: 0;
        width: 85%;
    }
    
    
}