/* ------------------ FONTS & VARIABLES------------------ */
:root {
  --color-white: #FFFFFF;
  --color-light: #FFFFFA;
  --color-black: #000000;
  --color-dark-grey: #333333;
  --color-green: #ced7cf;
  --color-dark-green: #415941;
  --color-creme: #fff7ea;
  --color-dark-creme: #f6e7d3;
  --font-family: 'Questrial', sans-serif;
}

@font-face {
  font-family: 'Questrial';
  src: url('font/Questrial-Regular.ttf'); /* sets the link to the Standard Font file of the websites font */
}

/* ---------------------- GLOBAL STYLES ---------------------- */

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--color-creme);
  font-family: var(--font-family);
  color: var(--color-dark-grey);
}

h1, h2 {
  margin: 0;
  padding: 10px 0;
  line-height: 1;
}

header {
  margin: 0;
  padding: 20px 0 0 0;
  background-color: var(--color-green);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  justify-content: space-between;
  z-index: 1; /* Added z-index */
}

.header-wrapper {
  padding: 0 20px 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header a {
  text-decoration: none;
}

main p {
  line-height: 1.5;
}

main {
  margin: 0;
  padding: 0;
  background-color: var(--color-creme);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#message-bar {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
  padding: 10px;
  position: sticky;
  top: 0;
  text-align: center;
  margin: 0;
}

.page-header {
  padding: 20px 0px;
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-dark-creme);
  border-radius: 0 0 5px 5px;
  text-align: center;
}

.section-header {
  width: fit-content;
}

.container {
  background-color: var(--color-green);
  border-radius: 5px;
  padding: 2vw;
}

.container-fullwidth {
  background-color: var(--color-green);
  margin: 0 0 5vw 0;
  padding: 20px 10vw;
  text-align: center;
}

.container-child {
  background-color: var(--color-creme)!important;
  box-shadow: 0px 0px 10px 0px var(--color-creme);
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-section {
  display: grid;
  grid-template-columns: 130px 130px;
  grid-template-rows: 120px;
}

.logo-section div {
  color: var(--color-dark-grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.logo-section img {
  width: 90%;
}

.career-table {
  border-collapse: collapse;
  line-height: 1.5;
  z-index: 0; /* Nake whole table disappear behind header */
}

.career-table-data {
  padding: 10px;
  position: relative;
}

.vertical-line-cell {
  border-left: 2px solid black;
  width: 2px; /* Adjust width as needed */
}

.year-cell {
  padding: 0 0 0 20px;
}

.dot {
  background-color: var(--color-dark-green);
  border-radius: 50%;
  width: 15px; /* Adjust dot size */
  height: 15px; /* Adjust dot size */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-125%, -50%);
}

.nav-items {
  padding: 0;
  margin: 0;
  display: flex;
  list-style: none;
  text-transform: uppercase;
}

.nav-item {
  padding: 4px;
  margin: 4px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-dark-grey);
}

.nav-link:hover {
  color: var(--color-creme);
}

.about-grid {
  background-color: var(--color-green);
  margin: 0;
  padding: 0;
  display: grid;
  border-radius: 0px 0px 5px 5px;
}

.about-text {
  padding: 10vw 20px;
}

.about-img {
  background-image: url("/img/eva-lortz.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.contact-section {
  background-color: var(--color-dark-creme);
  border-radius: 5px;
  margin-bottom: 0!important;
  padding: 50px 5vw 0vw 5vw;
}

.services-item {
  outline: solid 1px var(--color-dark-green);
  margin: 10px;
  border-radius: 5px;
}

.services-info {
  color: var(--color-dark-green);
  padding: 10px;
  text-align: center;
}

.services-img {
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.services-divider {
  background-color: var(--color-green);
  margin: 10px;
  padding: 0.5px;
}

footer {
  background-color: var(--color-green);
  padding: 20px;
}

.footer-item {
  margin: 10px; /* Make footer items aligned */
  text-decoration: none;
}

/* ---------------------- WEBVIEW STYLES ---------------------- */

@media only screen and (min-width: 767px) {

  nav {
    display: flex;
    align-items: end;
  }

  section {
    margin: 0 10vw 5vw 10vw;
  }

  .about-grid {
    grid-template-columns: 45% 55%;
    grid-template-rows: 100%;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto;
  }

}

/* ---------------------- MOBILE VIEW STYLES ---------------------- */

@media only screen and (max-width: 767px) {

  header {
    align-items: center;
    flex-direction: column;
  }

  .nav-item {
    font-size: smaller;
  }

  section {
    margin: 0 0vw 5vw 0vw;
  }

  .container {
    padding: 20px 20px 0 20px;
  }

  .about-grid {
    grid-template-columns: 100%;
    grid-template-rows: 80vw 100%;
  }

  .about-img {
    background-position: 0 -50px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto;
  }

}

/* ---------------------- MAINTENANCE STYLES ---------------------- */

/* html {background-color: black;}
body {background-color: white;}
a {background-color: aqua}
a:hover {background-color: hotpink;}
section {background-color: tan}
header {background-color: firebrick}
video {background-color: royalblue}
address {background-color: khaki}
footer {background-color: rebeccapurple}
*/
