@font-face {
  font-family: BoutiqueScript;
  src: url("/fonts/BoutiqueScript.ttf");
}
:root {
  --circle: 924px;
  --nav-left: -250px;
  --footer-primary: #003f19;
  --footer-secondary: #ffffff;
}

html,
body {
  height: 100%;
  margin: 0px;
}
body {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto max-content;
  font-family: Helvetica;
  --loading: none;
}
img {
  max-width: 100%;
  box-sizing: border-box;
}
#content {
  background-image: url(./imgs/bg.png);
  background-position: bottom center;
  background-size: cover;
  height: 100%;
  display: grid;
  grid-template-rows: max-content auto max-content;
}
.header {
  width: 450px;
  margin: 0 auto;
  padding: 16px;
  padding-top: 50px;
}
.unifasipe {
  max-width: 250px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 50px;
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.25);
  height: 100%;
  width: 100%;
  display: var(--loading);
  justify-content: center;
  align-items: center;
}
a,
a:link,
a:active,
a:visited {
  color: inherit;
  text-decoration: inherit;
}

/* ##### REGISTER && DONATION ##### */
.register {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 20px 60px;
}

form {
  display: grid;
  grid-auto-flow: row;
  gap: 15px;
  min-width: 300px;
}
.banner {
  max-height: 350px;
}
.input-group,
.textarea-group {
  display: flex;
  flex-direction: column;
}
.input-group > div {
  display: flex;
  justify-content: space-around;
}
input[type="text"],
input[type="tel"],
textarea {
  border-radius: 4px;
  border: none;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

textarea {
  height: 120px;
}
.input-group,
.input-group,
.textarea-group {
  color: white;
}
.input-group > label,
.input-group > span,
.textarea-group label {
  padding-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}
.radio-group {
  display: flex;
  align-items: center;
}
.radio-group > div {
  display: flex;
  align-items: center;
}
.radio-group label {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}
input[type="radio"] {
  margin: 0;
  margin-right: 4px;
}
submit-async {
  color: white;
  padding: 8px 16px;
  background: #003f19;
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
}
submit-async:hover {
  background: #00752f;
}

/* ### FOOTER ### */
footer {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
}
footer img {
  height: 56px;
  filter: grayscale(1);
}

footer .copy {
  padding-left: 65px;
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--footer-primary);
  color: var(--footer-secondary);
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 960px) {
  body {
    grid-template-rows: auto 180px;
  }
  header {
    display: grid;
    max-height: 200px;
    gap: 10px;
    grid-auto-flow: row;
    grid-auto-rows: 100px;
  }
  header img {
    margin: 0 auto;
  }

  .register {
    grid-auto-flow: row;
    margin: 0 auto;
  }

  footer {
    grid-template-columns: auto;
    grid-template-rows: 90px 90px;
  }
  footer img {
    margin: 0 auto;
  }
  footer .copy {
    text-align: center;
    padding-left: 0px;
  }
}

@media screen and (min-width: 960.001px) {
  body {
    grid-template-rows: auto 90px;
  }
  footer img {
    padding: 17px 35px 17px calc(50vw - 650px);
    background: white;
  }
}
