*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
}
body { min-height: 100vh; }
.hidden { display: none; }
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-family: sans-serif;
  color: var(--bs-dark);
}
h2 {
  color: #0d6efd;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.hidden { display: none; }
  h2 {
    font-size: 1.2em;
    padding-bottom: .2em;
  }
  .top-bg {
    position: relative;
    overflow: hidden;
    background-color: rgba(255,255,255,.4);
    min-height: 676px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-img {
    width: 90%;
  }

  .bg-img {
    display: none;
  }
  .flag-box {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 1em;
    right: 1em;
    width: 8em;
  }
  .nav {
    display: inline-flex;
    justify-content: center;
  }
  .nav ul {
    list-style: none;
  }
  .nav li {
    float: left;
  }
  .nav a {
    text-decoration: none;
    margin-left: .5em;
    color: var(--bs-blue);
    font-size: 1.1em;
  }

  .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    /* border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 0 .3em rgba(0,0,0,.25); */
    width: 90vw;
  }
  .card-text {
    display: flex;
    justify-content: centers;
    align-items: center;
    font-size: 1em;
  }
  .card-img {
    display: none;
  }

  .cookie-banner {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 0;
    right: 0;
    bottom: 1em;
    padding: 1em;
    background-color: var(--bs-gray-dark);
    border-radius: 5px;
    color: var(--bs-light);
    margin-left: auto;
    margin-right: auto;
  }
  .cookie-close {
    background-color: var(--bs-blue);
    color: var(--bs-light);
    outline: none;
    border: 1px solid #f8f9fa;
    border-radius: 3px;
    padding: .2em .4em;
  }
  .contact-box {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .form-input {
    padding: .5em;
    margin: .5em;
    width: 27em;
  }
  .form-submit {
    width: 27em;
    background-color: var(--bs-blue);
    color: var(--bs-light);
    outline: none;
    border: 2px solid #212529;
    border-radius: 5px;
    padding: 1em;
    margin: .5em;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20em;
    margin-top: 1em;
    background-color: rgba(13, 110, 253, 1);
  }
  .fbox {
    margin: 1em;
    color: var(--bs-light);
  }
  .thank-you-box {
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .form-errors {
    display: flex;
    color: var(--bs-red);
  }
  .about-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1em;
  }
  .about-heading {
    padding: 1em;
  }
  .about-paragraph {
    padding: 1em;
  }
}/* ------------- END extra small -------------------- */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) {
.hidden { display: none; }
  h2 {
    font-size: 1.2em;
    padding-bottom: .2em;
  }
  .top-bg {
    position: relative;
    overflow: hidden;
    background-color: rgba(255,255,255,.4);
    min-height: 676px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-img {
    width: 90%;
  }

  .bg-img {
    display: none;
  }
  .flag-box {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 1em;
    right: 1em;
    width: 8em;
  }
  .nav {
    display: inline-flex;
    justify-content: center;
  }
  .nav ul {
    list-style: none;
  }
  .nav li {
    float: left;
  }
  .nav a {
    text-decoration: none;
    margin-left: .5em;
    color: var(--bs-blue);
    font-size: 1.1em;
  }

  .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    /* border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 0 .3em rgba(0,0,0,.25); */
    width: 90vw;
  }
  .card-text {
    display: flex;
    justify-content: centers;
    align-items: center;
    font-size: 1em;
    line-height: 1.5em;
  }
  .card-img {
    display: none;
  }

  .cookie-banner {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 0;
    right: 0;
    bottom: 1em;
    padding: 1em;
    background-color: var(--bs-gray-dark);
    border-radius: 5px;
    color: var(--bs-light);
    margin-left: auto;
    margin-right: auto;
  }
  .cookie-close {
    background-color: var(--bs-blue);
    color: var(--bs-light);
    outline: none;
    border: 1px solid #f8f9fa;
    border-radius: 3px;
    padding: .2em .4em;
  }
  .contact-box {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .form-input {
    padding: .5em;
    margin: .5em;
    width: 27em;
  }
  .form-submit {
    width: 27em;
    background-color: var(--bs-blue);
    color: var(--bs-light);
    outline: none;
    border: 2px solid #212529;
    border-radius: 5px;
    padding: 1em;
    margin: .5em;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20em;
    margin-top: 1em;
    background-color: rgba(13, 110, 253, 1);
  }
  .fbox {
    margin: 1em;
    color: var(--bs-light);
  }
  .thank-you-box {
    height: 300px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .form-errors {
    display: flex;
    color: var(--bs-red);
  }
  .about-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1em;
  }
  .about-heading {
    padding: 1em;
  }
  .about-paragraph {
    padding: 1em;
    line-height: 1.5em;
  }
} /* --------------- END small ---------------------- */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.hidden { display: none; }
  .top-bg {
    position: relative;
    overflow: hidden;
    background-color: rgba(255,255,255,.4);
    min-height: 676px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .flag-box {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 1em;
    right: 1em;
    width: 8em;
  }
  .bg-img {
    display: inline;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
  }
  .logo-img {
    background-color: white; /* this */
    width: 412px;
  }
  .nav {
    display: inline-flex;
    padding-top: 1em; /* this */
    justify-content: center;
  }
  .nav ul {
    list-style: none;
  }
  .nav li {
    float: left;
  }
  .nav a {
    text-decoration: none;
    margin-right: 1em; /* this */
    color: var(--bs-blue);
    font-size: 1.5em; /* this */
  }
  .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 0 .3em rgba(0,0,0,.25);
    width: 90vw;
  }
  .card-text {
    display: flex;
    justify-content: centers;
    align-items: center;
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 1em;
  }
  .card-img {
    display: none;
  }
  .contact-box {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .form-input {
    padding: .5em;
    margin: .5em;
    width: 40em;
  }
  .form-submit {
    width: 40em;
    background-color: var(--bs-blue);
    color: var(--bs-light);
    outline: none;
    border: 2px solid #212529;
    border-radius: 5px;
    padding: 1em;
    margin: .5em;
  }

  .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 20em;
    margin-top: 1em;
    background-color: rgba(13, 110, 253, 1);
  }
  .fbox {
    margin: 1em;
    color: var(--bs-light);
  }
  .thank-you-box {
    height: 300px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .form-errors {
    display: flex;
    color: var(--bs-red);
  }
  .about-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1em;
  }
  .about-heading {
    padding: 1em;
  }
  .about-paragraph {
    padding: 1em;
    line-height: 1.5em;
    font-size: 1.2em;
  }
} /* --------------END medium ------------------- */

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .hidden { display: none; }
  .h2 {
    font-size: 2em;
  }
  .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 0 .3em rgba(0,0,0,.25);
    width: 90vw;
  }
  .card-text {
    display: flex;
    justify-content: centers;
    align-items: center;
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 1em;
  }
  .card-img {
    display: inline;
    padding: .2em;
  }
  .thank-you-box {
    height: 300px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .form-errors {
    display: flex;
    color: var(--bs-red);
  }
  .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 20em;
    margin-top: 1em;
    background-color: rgba(13, 110, 253, 1);
  }
  .fbox {
    margin: 1em;
    color: var(--bs-light);
  }
  .about-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 1em;
  }
  .about-heading {
    padding: 1em;
    font-size: 3em;
  }
  .about-paragraph {
    padding: 1em;
    line-height: 1.5em;
    font-size: 1.2em;
    max-width: 60em;
  }
} /* --------------END Large ---------------------- */
