

/*--- General site layout + default styling ---*/

body {
    margin: 0;
    min-height: 100vh;
    display: flex; /* Vertical layout of main elements */
    flex-direction: column;
    align-items: center;
    line-height: 1.5; /* Make default line height more accessible */
    font-family: sans-serif; 
}

* {
    box-sizing: border-box;
}

header, main {
    width: 100%;
    max-width: 960px;
    padding-left: 2em;
    padding-right: 2em;
}

header {
    border-bottom: 1px solid grey;
    margin-bottom: 0.5em;
}

footer {
    margin-top: auto;
    background-color: #d4d4d4;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

h1,h2,h3,h4,h5,h6 {
    color: #253c8a;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-weight: normal;
}
main h3{color:#ffffff;
background-color: #1e3da3;}
footer {background-color: #f3c300 ;}

main img{max-width: 75%;}
p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 7em;
}

.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    font-size: 2em;
    font-weight: bold;
}

.navigation {
    display: flex;
}

.navigation-link {
    color: #374d94;
    padding: 0.7em;
    text-decoration: none;
    font-weight: bold;
}

.navigation-link:hover {
    color: #FF251B;
}

/* Table styling */

table {
    margin: 2em 0;
    border-collapse: collapse;
}

thead {
    background-color: #eaebf5;
}

th, td {
    border: 1px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: left;
}


/* Form styling */

form {
    max-width: 40em;
    border: 1px solid #e5e5e5;
    /* background-color: #f3f3f3; */
    padding: 1.5em;
    margin: 2em 0;
}


label {
    font-size: 0.9em;
}

input[type='text'], input[type='email'], textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

input[type='submit'] {
    width: auto;
    padding: 0.5em 2em;
    background-color: #1e3da3;
    color: white;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
}

.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}

footer a{color:#000000;text-decoration: none; font-size: 1.4rem;}
footer a:hover{color:#FF251B}