

/*--- General site layout + default styling ---*/

body {
    margin: 0;
    min-height: 60vh;
    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: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #F3C300;
}

section {
    margin: 0;
    min-height: 30vh;
    max-width: 90%;
    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: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; 
    background-color: white;
    margin-left: 2cm;
    border: 10px solid #FF251B;

}

article {
    margin: 0;
    min-height: 30vh;
    max-width: 90%;
    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: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: white;
    margin-left: 2cm;
    border: 10px solid #FF251B;
}

aside {
    display: flex;
    align-items: center;
    width: 68%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: white;
    margin-left: 2cm;
    border: 10px solid #FF251B;
}

.indent {
    padding-left: 2cm;
}

.exo-2-regular-italic {
  font-family: "Exo 2", sans-serif;
}

* {
    box-sizing: border-box;
}

header, main {
    align-items: center;
    width: 100%;
    padding-left: 2cm;
    padding-right: 2cm;
}

header {
    border-bottom: 1px solid #424953;
    margin-bottom: 1cm;
    background-color: #FF251B;
}

h1 {
    color: #000000;
    margin-top: 1em;
    margin-bottom: 0.3em;
    margin-left: 2cm;
    font-weight: bold;
    font-size: 26pt;
    font-family: "Exo 2", sans-serif;
}

h2 {
    color: #1A3D6D;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
    margin-left: 2cm;
    font-weight: normal;
    font-size: 20pt;
    font-family: "Exo 2", sans-serif;
}

h3 {
    color: #202945;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
    margin-left: 2cm;   
    font-weight: normal;
    font-size: 18pt;
    font-family: "Exo 2", sans-serif;
}

h4 {
    color: #202945;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    font-weight: bold;
    font-size: 26pt;
    font-family: "Exo 2", sans-serif;
    text-align:  center;
    width: 100%;
}

p {
    color: #000000;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2cm;
    font-weight: lighter;
    font-size: 11pt;
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 7em;
}

.site-logo {
    color: #202945;
    margin-top: 1cm;
    margin-bottom: 1cm;
    margin-left: 2cm;
    margin-right: auto;
    font-size: 2em;
    font-weight: bold;
}

.navigation {
    display: flex;
}

.navigation-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 2cm;
    display: block;
    background-color: #1A3D6D;
    padding: 0.5em 1em;
    border-radius: 9px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 200px;
    text-align: center;
}

.navigation-link:hover {
    color: #FF251B;
}


/* Table styling */
table {
    margin: 2em 0;
    border-collapse: collapse;
    max-width: 100%;
    display: flex; /* Vertical layout of main elements */
    flex-direction: column;
    align-items: center;
}



th.first {
    height: 100px;
    border: 5px solid black;
    padding: 0.5em 0.8em;
    text-align: center;
    font-size: 18pt;
    font-family: "Exo 2", sans-serif;
    background-color: #424953;
    color: white;
}

th.second {
    height: 100px;
    border: 5px solid black;
    padding: 0.5em 0.8em;
    text-align: center;
    font-size: 18pt;
    font-family: "Exo 2", sans-serif;
    background-color: #424953;
    color: white;
}

td.first {
    border: 5px solid black;
    padding: 0.5em 0.8em;
    text-align: left;
    font-size: 18pt;
    font-family: "Exo 2", sans-serif;
    background-color: #424953;
    color: white;
}

td.second {
    border: 5px solid black;
    padding: 0.5em 0.8em;
    text-align: left;
    font-size: 12pt;
    font-family: "Exo 2", sans-serif;
    background-color: white;
    color: black;
}

tr :hover {background-color: #424953;}

/* Form styling */

form {
    max-width: 40em;
    border: 5px solid red;
    padding: 1.5em;
    margin-left: 2cm;
    background-color: white;
}

label {
    font-size: 11pt;
}

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: #1A3D6D;
    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 */

footer a { text-decoration: none;
color:#dbe1eb }
 
a:hover{color:#ff251b}
 

footer {
    margin-top: auto;
    color: white;
    background-color: #1A3D6D;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: lighter;
    font-size: 8.5pt;
}

/* media */

@media (max-width: 600px) {
.navigation {
    display: block;  /* now vertical */
}
 
.navigation-link {
    color: white;
    padding: 0.7em;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0.3em;
    display: block;   /* ensures each link is its own full-width row */
}
}

