:host,:root {
    --pico-primary-background: #358331 !important;
    --pico-border-color: #358311 !important;
    --pico-primary: #358331 !important;
}

main.container {
    margin-top: 30px;
    max-width: 950px;
}

div.language-select {
    text-align: right;
    margin-right: 10px;
}

div.language-select a {
    display: inline-block;
}

div.language-select a:not(:last-child) {
    margin-right: 20px;
}

div.language-select a.active {
    font-weight: bold;
}

div.next {
    float: right;
}

div.next button {
    background-color: #C33135 !important;
    color: white;
}

div.copy-buttons {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    column-gap: 1.5%;
    row-gap: 1.5%;
}

p.explanation {
    background-color: #eee;
    border: solid;
    border-width: 1px;
    border-color: black;
    padding: 10px;
    margin-top: 20px;
}

@media(max-width: 600px) {
    div.copy-buttons {
        grid-template-columns: 48% 48%;
        column-gap: 2%;
        row-gap: 2%;
    }
}

@media(max-width: 600px) {
    div.copy-buttons {
        grid-template-columns: 1fr;
        column-gap: 2%;
        row-gap: 2%;
    }
}

button.big {
    font-size: 2rem;
}

footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.8rem;
}

button[data-action=reset] {
    background-color: #C33135;
    font-size: 0.8rem;
    color: white;
}

div.center {
    text-align: center;
}

div.loading {
    position: fixed;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
}

div.email-contents {
    margin-top: 50px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    padding: 10px;
}

/* Got this loader from https://loading.io/css/
 * it is licensed CC 0
 */
.lds-heart,
.lds-heart div,
.lds-heart div:after,
.lds-heart div:before {
  box-sizing: border-box;
}
.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}
.lds-heart div {
  top: 28px;
  left: 28px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: currentColor;
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: currentColor;
}
.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}
.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}
@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}
