*, ::after, ::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Unistra A", Arial, sans-serif;
  line-height: 1.22222;
  font-size: 1.125rem;
  background-color: #8CC152;
}

.fond {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url(../img/fond.svg) no-repeat center / cover;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
}

.castors {
  width: 40%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-left: 2%;
}

.castor-face {
  width: 400px;
  max-width: 100%;
}

.castor-dos {
  width: 400px;
  max-width: 100%;
}

main {
  width: 40%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media (max-width: 1200px) {
  main {
    width: 60%;
  }
}

@media (max-width: 640px) {

  .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .castors {
    order: 2;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    padding: 0 30px;
  }

  main {
    width: 80%;
    margin: 0 auto;
  }
}

.error {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding-top: 3rem;
}

.text {
  background: white;
}

h1 {
  color: #FFFFFF;
  text-align: center;
  font-size: 12.5rem;
  margin: 0;
  line-height: 0.4;
}

.text {
  padding: 2rem;
  width: calc(100% - 60px);
  max-width: 600px;
  background-color: #FFFFFF;
  text-align: center;
  color: #0F21C0;
}

@media (max-width: 640px) {
  .text {
    width: 100%;
  }
}

.btn {
  background-color: #8059E3;
  border: none;
  padding: 15px 60px;
  color: white;
  margin-top: 10px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

.btn:hover {
  background-color: #5323CD;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

#signature {
  margin-top: 2rem;
  margin-bottom: 1rem;
}