html {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@supports (background-image: url('/assets/background.webp')) {
  html {
    background-image: url('/assets/background.webp');
  }
}

@supports not (background-image: url('/assets/background.webp')) {
  html {
    background-image: url('/assets/background.jpeg');
  }
}

body {
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

main {
  flex: 1;
  padding: 2rem;
}

main header {
  display: flex;
  flex-direction: column;
  text-align: center;
}

main header img {
  margin: auto;
  height: 42px;
  width: 154px;
}

main header h1 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.03125rem;
  line-height: 3.5rem;
  margin: 2.5rem 0 0;
}

main header p {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01563rem;
  line-height: 130%;
  margin: 1rem 0 0;
  text-align: left;
}

main article {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

main article section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

main article a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(106, 117, 144, 0.20);
  border-radius: 8px;
  display: flex;
  flex: 1;
  gap: 1rem;
  min-height: 3.5rem;
  min-width: 15rem;
  padding: 0 1rem;
  text-decoration: none;
}

main article .flag {
  height: 20px;
  width: 28px;
}

main article .icon {
  margin-left: auto;
  height: 32px;
  width: 32px;
}

main article span {
  color: #23308E;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07813rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

footer {
  background: linear-gradient(0deg, rgba(35, 48, 142, 0.05) 0%, rgba(35, 48, 142, 0.05) 100%), #FFF;
  color: rgba(68, 75, 92, 0.70);
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  justify-content: center;
  min-height: 3.75rem;
  letter-spacing: 0.00625rem;
  line-height: 1.125rem; 
  padding-left: 4rem;
}

@media (min-width: 1280px) {
  main{
    padding: 6rem;
    width: 40%;
  }

  main header img {
    height: 72px;
    width: 264px;
  }

  main header h1 {
    font-size: 42px;
    font-weight: 700;
  }
  
  main header p {
    font-size: 20px;
  }

  main article {
    gap: 2rem;
  }
  
  main article section {
    gap: 2rem;
  }

  main article a {
    min-width: 0;
  }
}
