

/*--- 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: calibri; 
}

* {
    box-sizing: border-box;
}

header {
    width: 100%;
    max-width: 100%;
    padding-left: 2em;
    padding-right: 2em;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
}

main {
    width: 100%;
    max-width: 100%;
    padding-left: 2em;
    padding-right: 2em;
    flex: 1 1 auto; /* Grow to fill the remaining space */
    overflow-y: auto; /* Adds a vertical scrollbar when content overflows */
    padding: 10px; /* Example padding */
    background-image: url(Images/AdobeStock_298155089.jpg);
}

header {
    border-bottom: 1px solid grey;
    margin-bottom: 0em;
}

footer {
    margin-top: auto;
    background-color: #d4d4d4;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: 600
}

footer h3, footer a {
    color: #000000;
    text-align: center;
}

h1,h2,h3,h4,h5,h6 {
    color: #202945;
    margin-top: 0em;
    margin-bottom: 0.3em;
    font-weight: normal;
    padding-left: 0;
    text-align: center;
}

.centered-blue-text {
    color: #202945;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}


.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 10px;
    padding-left: 0;
    font-weight: Bold;
    font-size: 17px;
    display: flex;
    vertical-align: center;
}

.site-header {
    width: 100%;
    display: inline-block;
    align-items: normal;
    height: 300px;
}

.navigation {
    display: inline-block;
    list-style-type: none;
    padding: 0;           
    margin: 0;              
}

.navigation-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 26px;
    border-radius: .3em;
}

.navigation-link:hover {  
    background-color: #ffffff;   
}

/* image styling */

.image-with-text {
  text-align: center; 
  width: fit-content;
  padding-top: 2em; 
}

.darkened-image {
  filter: brightness(50%); /*Makes the image 50% darker */
}

.background-image {
  position: fixed;
  left: 0;
  right: 0;
  z-index: -1; 
  animation: bgCycle 60s infinite;
  background-size: 100%;
  background-repeat: no-repeat; 
  background-position: center;
  width: cover;
  height: 300px;
  filter: blur(2px)
}

   /* Keyframes to change background images */
@keyframes bgCycle {
    0%   { background-image: url('Images/AdobeStock_1087353328.jpg'); }  
    33%  { background-image: url('Images/AdobeStock_134362781.jpg'); }
    66%  { background-image: url('Images/AdobeStock_63511291.jpg'); }
    100% { background-image: url('Images/AdobeStock_39219837.jpeg'); }
}


/* Table styling */

table {
    margin: 2em 0;
    border-collapse: collapse;
    width: 100%;
    z-index: 2;
}


thead {
    background-color: #eaebf5;
    font-size: 1.2em;
    font-weight: 600;
}

td {
    border: 2px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: center;
    font-size: 1.08em;
    font-weight: 600;
     background-color: #eaebf5;
}

th {
    border: 2px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: center;
    font-size: 1.08em;
    font-weight: bolder;
    color: #202945;
}    
    
/* Form styling */

form {
    max-width: 40em;
    border: 1px solid #e5e5e5;
    background-color:  #d4d4d4;
    padding: 1.5em;
}

.center-form {
  width: 50%; /* Or any specific width (e.g., 300px). Cannot be 100%. */
  margin: 0 auto; /* Sets top/bottom margin to 0, and left/right to auto. */
}

label {
    font-size: .8em;
    font-weight: bolder;
}

input[type='text'], input[type='email'], textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
    font-weight: bolder;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

input[type='submit'] {
    width: auto;
    padding: 0.5em 2em;
    background-color:#ffffff;
    color:#000000;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
}

.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}

.image-container {
  position: relative; /* Establishes a positioning context for children */
}

a {
    text-decoration: none;
}


