body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  background-color: #f4f4f4;
  font-family: "Montserrat", sans-serif;
}

.center-container {
  text-align: center;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  max-width : 450px;
}

.logo {
  width: 200px; /* Adjust the size as needed */
}

.subscribe-text {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom:0px;
}

.subscribe-form {
  margin-top: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


button {
    font-family: "Montserrat", sans-serif;
    margin-top: 38px;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #22559c;
    line-height: 38px;
    border: 2px solid #22559c;
    background: linear-gradient(to right, #11998e, #38ef7d);
    color: #000;
    padding: 0 29px;
    border-radius: 21px;
    font-weight: bold;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* background-image: none; */
    border: 0;
}

button:hover,button:active,button:focus{
    color : #FFF !important;
    border : 1px solid #c0bfbf !important;
}

.background {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  background-size: cover;
  background-position: center center;
  background-image: url("../img/bg.jpeg");
}

.background:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    103deg,
    #07090a 3%,
    rgba(7, 9, 10, 0.80) 20%
  );
}

.form__group {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
  width: 80%;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 1.1rem;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}
.form__field::placeholder {
  color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
  font-size: 1.2rem;
  cursor: text;
  top: 21px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #9b9b9b;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #11998e, #38ef7d);
  border-image-slice: 1;
}
.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #11998e;
  font-weight: 700;
}

/* reset input */
.form__field:required,
.form__field:invalid {
  box-shadow: none;
}

.messages{
  width : 100%;
}

.label-error{
  margin-top: 7px;
  display: none;
  position: relative !important;
  color: #e96c6c !important;
}

.label-success{
  margin-top: 16px;
  display: none;
  position: relative !important;
  color: #77da9c !important;
}

.loader-container{
  display: none;
  justify-content: center;
  margin-top: 38px;
}

.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
  display:flex;
  
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FFF;
  animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
  100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

