:root {
  --tam-grey-color: #f4f5f6;
  --tam-main-color: #455086;
  --tam-hue2-color: #787ca9;
  --tam-orange-color: #ff6600;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), url('Roboto-Regular.ttf');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('MaterialIcons-Regular.woff2') format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

header {
  width: 100%;
  padding: 1rem;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: start;
}

.logo img {
  max-width: 150px;
  height: auto;
  align-items: start;
  justify-content: start;
  padding-left: 10px;
  padding-top: 10px;
}

.main-content {
  display: flex;
  flex-direction: column;
  background:
    url('BackgroundFull.svg') center/cover no-repeat,
    linear-gradient(180deg, white, var(--tam-hue2-color));
  background-blend-mode: soft-light, normal;
  flex: 1;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  padding-bottom: 40vh;
  min-height: 200px;
}

.intro-text {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

#input-field {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--tam-main-color);
  border-radius: 6px;
  min-width: 130px;
  height: 30px;
  width: 170px;
  outline: none;
  color: var(--tam-main-color);
  transition: all 0.3s ease-in-out;
}

#input-field:hover {
  transform: scale(1.02);
}

#input-field:focus {
  box-shadow: 0 0 14px 0 #455086;
}

.redirect-button {
  background-color: var(--tam-main-color);
  color: white;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.redirect-button:hover {
  background-color: var(--tam-orange-color);
}

.footer {
  color: white;
  background: var(--tam-main-color);
  letter-spacing: 0.1em;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  color: var(--tam-orange-color) !important;
}

.intro-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px solid var(--tam-main-color);
}

.tooltip:hover {
  color: var(--tam-orange-color);
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 280px;
  background-color: var(--tam-main-color);
  color: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 0.5rem;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

a.link {
  position: fixed;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--tam-orange-color);
  top: 15px;
  right: 15px;
  gap: 5px;
  font-weight: bold;
  padding: 10px;
}

a.link:hover {
  color: var(--tam-main-color);
}