@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'ZTGatha-AltBold';
  src: url('fonts/ZTGatha-AltBold.ttf') format('truetype'),
       url('fonts/ZTGatha-AltBold.otf') format('opentype'); 
  font-weight: bold;
  font-style: normal;
}

:root {
  --textcolor: #353849;
  --drupal-navy: #12285F;
  --drupal-blue: #009CDE;
  --drupal-purple: #CCBAF4;
  --drupa-light-blue: #CCEDF9;
  --drupal-yellow: #FFC423;
  --drupal-white: #FFFFFF;
  --drupal-rec: #F46351;
  font-size: 100%;
  --minx: calc(82vh - 20px) / 5;
  --miny: calc(100vw - 40px) / 5;
  --squaresize: min(var(--minx), var(--miny));
  --cardwidth: calc((5 * var(--squaresize)) + 20px);
}

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

html,
body {
  line-height: 1.4;
  background-image: linear-gradient(90deg, #162c63 0%, #22a5e5 100%);
  font-family: 'Nato Sans', sans-serif;
}

/* Body intro */
.intro-body {
  background-image: linear-gradient(90deg, #162c63 0%, #22a5e5 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  font-family: 'Noto Sans', sans-serif;
  text-align: center;
}

/* Container */
.intro-container {
  background: var(--drupal-white);
  padding: 2rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--drupa-light-blue) 10px 10px 0px -3px, var(--drupal-navy) 10px 10px;
  border: 3px solid var(--drupal-navy);
  max-width:640px;
  width: 90%;
}

/* Logo */
.intro-logo-wrapper {
  margin-bottom: 1rem;
}

.intro-logo svg {
  max-width: 80px;
  max-height: 80px;
  margin-bottom: 1rem;
}

/* Title */
.intro-title {
  font-family: 'ZTGatha-AltBold', sans-serif;
  color: var(--drupal-navy);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Buttons container */
.intro-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Buttons style */
.intro-button {
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  border: 3px solid var(--drupal-navy);
  transition: all 0.3s ease;
}

.intro-button--primary {
  background: var(--drupal-navy);
  color: var(--drupal-white);
}
.intro-button--primary:hover {
  background: var(--drupal-white);
  color: var(--drupal-navy);
}

.intro-button--secondary {
  background: var(--drupal-white);
  color: var(--drupal-navy);
}
.intro-button--secondary:hover {
  background: var(--drupal-navy);
  color: var(--drupal-white);
}

/* Footer */

.intro-footer {
  background-color: var(--drupal-navy);
  color: white;
  text-align: center;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  font-size: 0.7rem;

  @media (min-width: 768px) {
    font-size: 0.9rem;
  }
}

.intro-footer a {
  color: var(--drupa-light-blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: bold;
  transition: all 0.2s ease-out;

  &:hover, &:active {
    color: var(--drupal-blue);
  }

  &:focus {
    outline: var(--drupal-blue) solid 3px;
    outline-offset: 4px;
  }

}
