/* 
  https://graphiste.com/blog/choisir-palette-couleurs/
  primary : #EA5863
  secondary : #FE9063
  thercary : #27C7D4
  fond : #FDF0E7
*/
    
html, body{
  background-color: #EA5863;
  font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  font-style: normal;
  font-weight: 400;
  padding: 0;
  margin: 0;
}

h1{
  font-size: 2.5rem;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

p{
  margin-bottom: 25px;
  font-size: 1.2rem;
}

header, footer{
  display: block;
  height: 50px;
  width: 100%;
  background-color: #EA5863;
  color:#fff;
  padding: 0 10px;
  text-align: center;
}

main{
  padding: 140px 20px 20px 20px;
  margin: 120px 15px 15px 15px;
  text-align: center;
  background-color: #FDF0E7;
  min-height: 50vh;
  position: relative;
}

.action{
  display: flex;
  flex: 0 1 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 50%;
  flex-basis: 50%;
  margin: auto;
  justify-content: space-between;
  align-items: stretch;

}

.item-action{
  flex: 0 0 auto;
  flex-basis: 50%;
  max-width: 50%;
  padding: 0 15px;
  box-sizing : border-box;
}

.button{
  background-color: #EA5863;
  padding: 10px 15px;
  color:#fff;
  border: none;
  font-size: 1.3rem;
  text-decoration: none;
  box-sizing : border-box;
  width: 100%;
  display: block;
  
}

.button:hover{
  cursor: pointer;
}

.photo{
  position: absolute;
  background-color: #fff;
  height: 200px;
  width: 200px;
  left: 50%;
  top:-100px;
  margin-left: -100px;
  border-radius:100%;
  display: block;
  border:5px solid #fff;
  background-position: center center;
  background-size: cover;
}

@media screen and (max-width: 1300px) {
  .action{
    max-width: 80%;
    flex-basis: 80%;
  }
}

@media screen and (max-width: 1024px) {
  .action{
    max-width: 100%;
    flex-basis: 100%;
  }
}

@media screen and (max-width: 720px) {

  .action{
    flex-direction: column;
  }

  .item-action{
    flex-basis: 100%;
    max-width: 100%;
    padding: 0;
    margin: 5px 0;
  }

}

.loader {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 21px;
  display: none;
  margin: auto;
}

.loader div {
  position: absolute;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.loader div:nth-child(1) {
  left: 8px;
  animation: loader1 0.6s infinite;
}
.loader div:nth-child(2) {
  left: 8px;
  animation: loader2 0.6s infinite;
}
.loader div:nth-child(3) {
  left: 32px;
  animation: loader2 0.6s infinite;
}
.loader div:nth-child(4) {
  left: 56px;
  animation: loader3 0.6s infinite;
}
@keyframes loader1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes loader3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes loader2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}