body {
    font-family: 'Times New Roman', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: rgb(249, 248, 244);
    color: rgb(44, 42, 41);
    overflow-x: hidden; /*prevents horizontal overflow*/
}

header, main {
    padding: 20px;
} 

footer {
    position: absolute;
    top: 90%;
    left:50%;
    text-align: center;
    transform: translate(-50%);
}

th, td {
    padding: 10px;
}

.navigation-row {
    position:absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap; /*Ensure items wrap if they exceed horizontally*/
    width: 100%;
    border: 1px solid rgb(100, 27, 54);

}

.navigation-row .Button {
    flex: 1;
    margin: 0;
    padding: 25px;
    background-color: rgb(120, 27, 54);
    color: rgb(232, 197, 3);
    text-decoration: none;
    text-align: center;
    font-family: 'Lato', sans-serif;
    max-width: 100%;
    max-height: auto;

}

.Button:hover {
    background-color: rgb(150, 27, 54);
    color: rgb(232, 197, 3);
}

.stack {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 50%; /* Positions the left edge at the center of the parent */
    transform: translateX(-50%); /* Shifts the container left by half its width */
    top: 15%;
}

.contacts {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 25px;
    width: 100%;
}

.logos {
    text-decoration: none;
    color: rgb(44, 42, 41);
    text-align: center;
}

.form {
    width: 65vw;
    margin: 0 auto;
    text-align: center;
    /*background-color: rgb(229, 228, 224);*/
    border-radius: 10px;
}

.form input[type="text"],
.form input[type="email"] {
    width: 50vw; /* Adjusted to 50% for better visibility */
    height: 2em;
    margin: 0 auto;
    margin-bottom: 10px;
    display: block;
    border: none;
    border-radius: 0;
}
.form textarea{
    width: 50vw; /* Adjusted to 50% for better visibility */
    height: 10em;
    margin: 0 auto;
    margin-bottom: 10px;
    display: block;
    border: none;
    border-radius: 0;
}
.form input[type="submit"] {
    width: 10vw;
    height: 2em;
    margin: 0 auto;
    display: block;
    border: none;
    border-radius: 0;
}