* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  overflow-x: hidden;
  scrollbar-color: #ff4500 #fff;
  scrollbar-width: thin;
  line-height: calc(2.5rem - 8px);
  background-color: #fff;
}

p {
  font-size: 17px;
  color: #6f6b80;
}

span {
  font-size: 22px;
  font-weight: 500;
  /* color: orangered; */
}

h3 {
  font-size: 38px;
  font-weight: 500;
}

a {
  text-decoration: none;
  font-size: 16px;
}

::placeholder {
  color: #e2e2e2;
}

::selection {
  background: #3e467b;
  color: #ffffff;
}

button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: auto;
  border: none;
  outline: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  background: #3e467b;
  border-radius: 3rem;
  cursor: pointer;
}

button a {
  display: block;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  z-index: 1;
  justify-content: center;
  border-radius: 3rem;
  color: #f5f5f5;
  padding: 0.8rem 1rem;
  transition: all 0.3s linear;
  width: 100%;
  text-transform: uppercase;
}

button a:before {
  content: "";
  position: absolute;
  top: 100%;
  border: none;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff4500;
  transition: top 0.3s;
  z-index: -1;
}

button span {
  position: relative;
  z-index: 2;
  font-family: "calibri" !important;
  font-size: 0.9rem !important;
}

button:hover a:before {
  top: 0;
}

button:hover span {
  color: #fff;
}

label {
  text-transform: uppercase;
  font-size: 0.7rem;
  margin: 0.3rem 0;
  color: #6f6f6f;
}

input,
textarea {
  border: none;
  outline: none;
  padding: 1rem 0.9rem;
  background: #6f6f6f7e;
  color: #363636;
  border: 1px solid #6f6f6f7e;
}

input:focus,
textarea:focus {
  background: #ff4500bb;
  color: #f5f5f5;
}

.form-container {
  background: #ffc5b0;
  padding: 2rem;
  width: 50%;
  margin: 2rem auto;
}

.form-container .form {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1024px) {
  .form-container {
    width: 70%;
  }
}

@media screen and (max-width: 500px) {
  .form-container {
    width: 95%;
  }
}

.contact {
  background: #333;
  padding: 5rem;
  display: flex;
  align-items: baseline;
}

.contact::selection {
  background: #ffc5b0;
  color: #f5f5f5;
}

.contact h2 {
  font-size: 1.5rem;
  font-weight: 100;
  color: #f5f5f5;
  margin: 0 0 1rem;
}

.contact p {
  font-size: 1.2rem;
}

.contact .address {
  width: 30%;
  padding: 0 3rem 0 0;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.contact .postal {
  width: 30%;
  padding: 0 2rem 0 0;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.contact .number {
  text-align: right;
  width: 40%;
  padding: 0 0 0 1rem;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-around;
}

.contact .number a {
  font-size: 3rem;
  font-weight: 600;
  color: #ff4500;
}

@media screen and (max-width: 1090px) {
  .contact {
    flex-wrap: wrap;
    padding: 5rem 2rem;
  }

  .contact .address,
  .contact .postal {
    width: 50%;
    margin: 0 0 2rem;
  }

  .contact .number {
    width: 100%;
    text-align: left;
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .contact {
    padding: 5rem 1rem;
  }

  .contact .address,
  .contact .postal {
    width: 100%;
  }

  .contact .number a {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 390px) {
  .contact .number a {
    font-size: 2rem;
  }
}

.external-links {
  background: #222;
  display: flex;
  padding: 5rem;
  justify-content: space-evenly;
}

.external-links::selection {
  background: #ffc5b0;
  color: #f5f5f5;
}

.external-links .external-link-item {
  width: 25%;
  margin: 0 1.5rem 0 0;
}

.external-links .external-link-item img {
  height: 80px;
  display: flex;
  margin: auto;
}

.external-links .external-link-item h4 {
  color: #f5f5f5;
  text-transform: uppercase;
}

.external-links .external-link-item p {
  font-size: 0.9rem;
  padding: 0 1.5rem;
}

.external-links .external-link-item p strong {
  color: #ff4500;
}

.external-links .external-link-item ul {
  list-style-type: none;
}

.external-links .external-link-item ul li a {
  color: #6f6f6f;
  font-size: 0.9rem;
}

.external-links .external-link-item ul li a:hover {
  color: #ffc5b0;
}

.external-links .external-link-item ul li .active {
  transition: all 0.3s ease-in-out;
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 0.3rem 0;
}

@media screen and (max-width: 1024px) {
  .external-links {
    padding: 5rem 2rem;
    flex-wrap: wrap;
  }

  .external-links .external-link-item {
    width: 50%;
    margin: 0 0 2rem;
  }

  .external-links .external-link-item p {
    width: 80%;
  }
}

@media screen and (max-width: 768px) {
  .external-links .external-link-item {
    width: 100%;
  }

  .external-links .external-link-item p {
    width: 40%;
    padding: 0;
  }
}

@media screen and (max-width: 500px) {
  .external-links .external-link-item p {
    width: 60%;
  }
}

.footer {
  background: #111;
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 2rem;
}

.footer::selection {
  background: #ffc5b0;
  color: #f5f5f5;
}

.footer .footer-note {
  display: flex;
}

.footer .footer-note p {
  color: #6f6f6f;
  font-size: 0.8rem;
}

.footer .footer-note a {
  color: #e2e2e2;
  font-size: 0.8rem;
}

.footer .footer-note a:hover {
  color: #ffc5b0;
}

.footer .footer-images {
  display: flex;
  justify-content: space-evenly;
  padding: 0 2rem;
  width: 25%;
}

.footer .footer-images .footer-image {
  width: 25%;
}

.footer .footer-images .footer-image img {
  width: 20px;
  filter: grayscale(1);
}

.footer .footer-images .footer-image img:hover {
  filter: grayscale(0);
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column-reverse;
  }

  .footer .footer-note {
    text-align: center;
    margin: auto;
  }

  .footer .footer-images {
    margin: auto;
    width: 100%;
    padding: 0 0 0 2rem;
  }
}

#currentYear {
  font-size: 0.8rem;
}

#apply {
  width: 8rem;
}

#apply a {
  color: #f5f5f5 !important;
}

.mail {
  margin: 0.5rem 0 0;
}

.mail a {
  font-size: 1rem !important;
  color: #6f6b80 !important;
}

textarea {
  resize: none;
}


.success-container {
  margin: 10rem 0 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.success-container h1 {
    font-size: 2.5em;
    color: #4CAF50; /* Green color */
}

.success-container p {
    font-size: 1.2em;
    margin: 20px 0;
}

.success-container a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50; /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.success-container a:hover {
    background-color: #45a049; /* Darker green */
}
