/* Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Open Sans */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");

/* Lato */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

body {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  margin: 0 auto;
  max-width: 1600px; /* Adjust the width as needed */
  padding: 10px;
  box-sizing: border-box;
  letter-spacing: 2px;
}

h1 {
  font-family: "Open Sans", sans-serif;
  color: #00008b;
  font-size: 2em;
  margin-top: 50px;
}

h2 {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  font-size: 1.5em; /* Will be 24px (1.5 * 16px) */
}
h3 {
  font-family: "Open Sans", sans-serif;
  color: #00008b;
  font-size: 1.2em; /* Will be 19.2px (1.2 * 16px) */
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h4 {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  font-size: 1.1em; /* Will be 19.2px (1.2 * 16px) */
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

p {
  font-family: "Lato", sans-serif;
  font-size: 1em; /* Will be 16px (1 * 16px) */
  margin-top: 0.5em;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

span {
  color: #00008b;
  font-weight: bold;
}
.navbar {
  background-color: #34475e;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
}
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar-logo {
  padding: 10px;
}

.navbar-logo img {
  height: 50px;
}

.navbar-icon {
  display: none;
  color: white;
  font-size: 20px;
  padding: 10px;
  order: -1;
}
.section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.section .text {
  flex: 1;
  margin-right: 20px;
}

.img-container {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-container img {
  max-width: 300px;
  max-height: 300px;
  height: auto;
  object-fit: contain;
  margin-bottom: 50px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}
td {
  border: 1px solid #dddddd;
  padding: 8px;
  text-align: left;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
tr:hover {
  background-color: #ddd;
}
td input[type="text"],
td input[type="date"],
td select {
  width: 100%;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
td hr {
  border: 0;
  border-top: 1px solid #ddd;
}
/* Button Styles */
.submit-button {
  background-color: #3a5067; /* Use the desired color */
  color: white; /* Text color */
  padding: 10px 20px; /* Adjust padding as needed */
  border: 2px solid #354c63; /* Border color */
  border-radius: 5px; /* Rounded corners */
  font-family: Arial, sans-serif; /* Font family */
  font-size: 16px; /* Font size */
  cursor: pointer;
}

/* Button Hover Effect */
.submit-button:hover {
  background-color: #2c3b4e; /* Change background color on hover */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}
.mandatory {
  font-weight: bold;
}

/* New styles */
th {
  background-color: #34475e; /* Blue */
  color: white; /* White text */
  border-bottom: 3px solid #003b73; /* Darker blue for contrast */
  text-transform: uppercase; /* Makes the text uppercase */
  letter-spacing: 0.03em; /* Slightly spaced out letters */
  font-weight: bold; /* Bold font weight */
}

th:nth-child(1),
td:nth-child(1) {
  width: 15%;
}

th:nth-child(2),
td:nth-child(2) {
  width: 15%;
}

th:nth-child(3),
td:nth-child(3) {
  width: 40%;
}

th:nth-child(4),
td:nth-child(4) {
  width: 15%;
}

th:nth-child(5),
td:nth-child(5) {
  width: 15%;
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navbar a {
    flex-basis: 100%;
    display: none;
    margin-top: 10px;
  }

  .navbar-logo {
    margin-bottom: 10px;
    order: 2;
  }

  .navbar-icon {
    display: block;
    order: 1;
  }

  .navbar-icon:hover {
    background-color: #29364a;
    cursor: pointer;
  }

  .navbar-links.show {
    display: block;
  }

  .navbar-logo img {
    display: none;
  }

  .navbar-logo-mobile {
    display: block;
    padding: 10px;
  }

  /* Has to stay here, although there are no h2s here because there is only one css route for all pages on */
  h2 {
    font-size: 1.2em;
  }

  h4 {
    font-size: 0.9em;
  }

  .section {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .section .text {
    margin-right: 20px;
  }
}
/* Style the <select> element */
.select-style {
  background-color: #3a5067; /* Button background color */
  color: white; /* Text color */
  padding: 10px 20px; /* Adjust padding as needed to match button size */
  border: 2px solid #354c63; /* Button border color */
  border-radius: 5px; /* Rounded corners */
  font-family: Arial, sans-serif; /* Font family */
  font-size: 16px; /* Font size */
  cursor: pointer;
}

/* Style the dropdown arrow (select arrow) */
.select-style select {
  appearance: none; /* Remove default appearance */
  -webkit-appearance: none; /* Remove default appearance for WebKit browsers */
  -moz-appearance: none; /* Remove default appearance for Mozilla Firefox */
  background-color: transparent; /* Make the background transparent */
  background-image: url("path-to-custom-arrow-icon.png"); /* Replace with your custom arrow icon */
  background-repeat: no-repeat;
  background-position: right center; /* Adjust the position of the arrow icon */
  padding-right: 30px; /* Add space for the arrow icon */
}

/* Add a hover effect to the dropdown */
.select-style:hover {
  background-color: #2c3b4e; /* Change background color on hover */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
}
