.mail_form {
  --border-color: var(--pokpok-color-white);
  --text-color: var(--pokpok-color-blue);
}
.yellow .mail_form {
  --border-color: var(--pokpok-color-blue);
  --text-color: var(--pokpok-color-white);
}
.mail_form.alt {
  --border-color: var(--pokpok-color-blue);
}

.mail_form > div {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
  max-width: 100%;
}

.mail_form.success > div {
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--pokpok-font-semilight);
}
.mail_form.success > div:after {
  content: 'Thank you!';
}
.mail_form.success > div * {
  display: none;
}

.mail_form.error[data-error]:after {
  content: attr(data-error);
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--pokpok-font-semilight);
  color: var(--pokpok-color-yellow);
  display: block;
  margin-top: -15px;
}
.yellow .mail_form.error[data-error]:after {
  color: var(--pokpok-color-red);
}

.mail_form input {
  font: inherit;
  font-family: var(--pokpok-font-semilight);
  font-size: 1.2rem;
  border-radius: 100px;
  padding: 8px 3.5em 8px 20px;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--border-color);
  color: var(--border-color);
  background: transparent;
  transition: box-shadow .15s;
  -webkit-appearance: none;
}
.mail_form input::placeholder {
  color: var(--border-color);
  opacity: 1;
}
.mail_form input:focus {
  box-shadow: 0 0 0 5px rgba(255,255,255,.4);
  outline: none;
}
.yellow .mail_form input:focus {
  box-shadow: 0 0 0 5px rgba(41,162,222,.4);
}

.mail_form button {
  position: absolute;
  top: .4em;
  bottom: .4em;
  right: .4em;
  font: inherit;
  font-family: var(--pokpok-font-semilight);
  font-size: 1.2rem;
  color: inherit;
  background: var(--border-color);
  border: 0;
  color: var(--text-color);
  padding: 0 .7em;
  cursor: pointer;
  border-radius: 100px;
  line-height: 1em;
}
.mail_form button:focus {
  outline: none;
  text-decoration: underline;
}
.mail_form button:disabled {
  opacity: .7;
  cursor: wait;
}
.mail_form button img {
  height: 1em;
  padding: 0 .3em;
}

.mail_form.alt button {
  background: none;
  color: var(--text-color);
  padding: 0;
  transition: transform .2s;
}
.mail_form.alt.error[data-error]:after {
  color: var(--pokpok-color-red);
}
.mail_form.alt button:focus {
  transform: scale(1.2);
}

footer .mail_form > div {
  margin-top: 5px;
}
footer .mail_form.alt input {
  font-family: var(--pokpok-font-light);
  font-size: 1rem;
  padding: 8px 2em 8px 20px;
  width: 230px;
  border: 1px solid var(--border-color);
}
footer .mail_form.alt.error[data-error]:after {
  font-size: 1rem;
}


.bigsocial a {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  background: var(--pokpok-color-black);
  border-radius: 100px;
  align-items: center;
  justify-content: center;
  margin: 0 .2rem;
  outline: none;
  transition: box-shadow .15s;
}
.bigsocial a:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,0,0,.3);
}
.bigsocial a img {
  height: 1.2rem;
  width: 1.2rem;
}

.android_newsletter {
  --border-color: #a0adb3;
}

.android_newsletter input::-webkit-input-placeholder {
  text-align: center;
}

.android_newsletter input {
  width: 380px;
  text-align: center;
}

.android_newsletter.error[data-error]::after{
  color: var(--pokpok-color-red);
}

/*.android_newsletter button {
  background: none;
}*/

@media(min-width: 600px){
  .android_newsletter button {
    display: none;  
  }

  .android_newsletter input {
    padding: 8px 20px 8px 20px;
  }
}
