/* region Basic Styles */
html {
  font-family: "Roboto", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffffff;
}
/* endregion Basic Styles */

/* region Header Styles */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #333f4c;
  color: white;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

header img {
  height: 50px;
}

header .logo {
  padding-top: 0.3rem;
  width: fit-content;
}

a.button {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  background-color: #1c66b0;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

a.button:hover {
  background-color: #003c80;
}

header a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
/* endregion Header Styles */

/* region Footer Styles */
footer {
  background-color: #f5f5f5;
  color: black;
  padding: 20px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

footer ul li {
  margin: 0 15px;
}

footer ul li a {
  color: black;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px 20px;
  border-radius: 3px;
  background-color: transparent;
}

footer ul li a:hover {
  color: black;
  background-color: #ebebeb;
}

#language-select {
  display: flex;
  position: fixed;
  right: 1rem;
}

.email-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 4rem
}
/* endregion Footer Styles */

/* region Main Content Styles */
main {
  padding: 20px;
}

.text-content,
.image-content {
  width: 45%;
}

.text-center {
  width: 100%;
  text-align: center;
}

.image-content img {
  width: 100%;
  height: auto;
}

/* endregion Main Content Styles */

/* region Container Styles */
.card {
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  margin: 1rem;
  border-radius: 10px;
  height: fit-content;
  background-color: white;
}

.secondary-bg{
  padding: 2rem;
  border-radius: 10px;
  background-color: #dee3ef;
  margin: 1rem;
}

hr {
  border: none;
  border-top: 2px solid rgba(0, 0, 0, 0.12);
  margin: 20px 0;
}


.p-1 {
  padding: 1rem;
}

.w-100 {
  width: 100%;
}

.rounded {
  border-radius: 10px;
}
/* endregion Container Styles */

/* region Email Styles */
.email-links {
  order: 1;
}
/* endregion Email Styles */

/* region Input / Textarea Styles */
input,
textarea,
.material-submit {
  font-family: "Roboto", sans-serif;
  border: none;
  outline: none;
  border-radius: 4px;
  border-bottom: 2px solid #8f8f8f;
  padding: 5px;
  font-size: 16px;
  transition: border-bottom 0.3s ease;
  background-color: #f5f5f5;
  padding-left: 0.5rem;
  width: 100%;
}

input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #8f8f8f;
  border-radius: 50%;
  outline: none;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  transition: 0.2s all linear;
  margin-right: 10px;
  position: relative;
}

input[type="radio"]:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1c66b0;
  opacity: 0;
  transition: 0.2s all linear;
}

input[type="radio"]:checked:before {
  opacity: 1;
}

input[type="radio"]:focus {
  border-color: #1c66b0;
}

input,
.material-submit {
  height: 3rem;
}

input:focus,
textarea:focus {
  border-bottom: 2px solid #1c66b0;
  background-color: #f5f5f5;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #1c66b0;
}
/* endregion Input / Textarea Styles */

/* region Select Styles */
select {
  border: none;
  outline: none;
  border-radius: 4px;
  border-bottom: 2px solid #8f8f8f;
  padding: 5px;
  font-size: 16px;
  transition: border-bottom 0.3s ease;
  background-color: #f5f5f5;
  width: 100%;
  height: 3.8rem;
  margin-bottom: 1rem;
}

select option {
  color: #000;
}

select:focus {
  border-bottom: 2px solid #1c66b0;
  background-color: #e0e2ec;
}

select::placeholder {
  padding-left: 0.5rem;
}

select:focus::placeholder {
  color: #1c66b0;
}

select::-ms-expand {
  display: none;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #495057;
}
/* endregion Select Styles */

/* region Submit Button Styles */
.material-submit {
  color: white;
  width: 10rem;
  background-color: #1c66b0;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
}

.material-submit:hover {
  background-color: #003c80;
}
/* endregion Submit Button Styles */

/* region Flex Styles */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  flex-direction: column;
  margin-bottom: 1rem;
}

.flex-justify-center {
  justify-content: center;
  display: flex;
}

.flex-space-between {
  justify-content: space-between;
  display: flex;
}

.items-center {
  align-items: center;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.flex-row input {
  flex: 1;
}

.half-width {
  width: calc(50% - 1rem);
}

.d-flex {
  display: flex;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .flex-row {
    flex-direction: column;
    gap: 1rem;
  }
}
/* endregion Flex Styles */

/* region Load Animation Styles */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in {
  animation: 1s ease-in-out 0s 1 slideInFromBottom;
}
/* endregion Load Animation Styles */

/* region Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  .flex-container,
  .items-center,
  .flex-row {
    flex-direction: column;
  }

  .half-width {
    width: 100%;
  }

  .text-content,
  .image-content {
    width: 100%;
  }

  #language-select {
    position: static; 
    margin-top: 1rem;
  }

  footer{
    position: static;
  }

  footer div {
    flex-direction: column;
  }

  footer ul,
  footer form {
    width: 100%;
  }

  .container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }
}
/* endregion Mobile Styles */


