@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap');

/*SIGNUP*/
@media screen and (max-width: 1280px)
{
main{
    width: auto;
    min-width: 250px;
    zoom: 1;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;
}
}
@media (min-width: 1280px)
{
main{
    width: 30%;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;
}
}

input{
    display: block;
    width: 100%;
    height: 30px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid lightgrey;
}
.genre{
    display: flex; 
}

.genre input{
    height: 10px; 
    width: 5%;
    margin-bottom: 30px;
}

#birthday{
    width: 40%;
}

.nationality{
    display: grid;
    margin-bottom: 20px; 
    width: 30%;
}
.nationality select{
     margin-top: 5px;
    height: 30px;
}

#description{
    height: 120px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
}

.page{
    display: none;
}
#password_confirmation{
    margin-bottom: 20px;

}


header{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.page-num{
    color: #fb406c;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    background-color: white;
}

.active{
    color: white;
    background-color: #fb406c;
}

.field-password{
    position: relative;
}
.showpassword, .hidepassword{
    position: absolute;
    top: 27px;
    right: 10px;
}.showpassword svg, .hidepassword svg{
    width: 30px;
}.hidepassword{
    display: none;
}

/*@media screen and (max-width: 1280px)
{
 button{
  padding: 0.5em 0.8em;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  background-color: #fd696d;
  color: black;
}
}
@media (min-width: 1280px)
{
 button{
  padding: 0.5em 0.8em;
  font-size: 0.9rem;
  cursor: pointer;
  width: 30%;
  background-color: #fd696d;
  color: black;
}
}
@media screen and (max-width: 1280px)
{
.alreadymember{
  margin-top: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  color: black;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
}
@media (min-width: 1280px)
{
.alreadymember{
  margin-left: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  color: black;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
}*/


/*LOGIN V2*/

body{
    background-color: #007BE5;
}

.login-container{
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.login-container h1{
   color: white;
   font-family: 'Raleway';
   font-size: 32px;
}


.login{
    padding: 0px 50px 0px 50px;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    background-color: #f2f6f8;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
    @media (min-width: 974px)
{
   .login{
    width: 35%;
} 
}
   @media screen and (max-width: 974px)
{
   .login{
    width: 55%;
} 
}
 @media screen and (max-width: 674px)
{
   .login{
    width: 75%;
} 
}

.login .connexion{
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.login .connexion h1{
    color: #004b78;
   font-size: 24px;
}

.login em{
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
    padding: 8px 4px 8px 8px;
    border: 1px solid transparent;
    border-color: #cc0000;
    margin-bottom: 30px;
    border-width: 2px;
    border-radius: 4px;
    color: #004b78;
}

.login i{
    margin-right: 6px;
    color: #cc0000;
}

.login label{
    color: #004b78;
    font-size: 15px;
}

.login input{
    box-sizing: border-box;
    padding: 0.5px 30px 0.5px 10px;
    border-radius: 4px;
    width: 100%;
    height: 35px;
    font-size: 14px;
    font-family: 'Raleway';
    margin-bottom: 25px;
    margin-top: 6px;
    border: 1px solid rgba(0,0,0,0.4);
}

.login-password label{
    color: #004b78;
    font-size: 15px;
}
.login-password input{
    box-sizing: border-box;
    padding: 0.5px 30px 0.5px 10px;
    border-radius: 4px;
    width: 100%;
    height: 35px;
    font-size: 1em;
    margin-bottom: 6px;
    margin-top: 6px;
    border: 1px solid rgba(0,0,0,0.4);
}

.login-password a{
    color: #004b78;
    margin-bottom: 60px;
    cursor: pointer;
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.login-btn{
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin-top: 25px;
}

.login-btn button{
    border: 1px solid transparent;
    font-family: 'Raleway';
    box-shadow: 0 2px 4px 0 rgb(0 75 120 / 40%);
    padding: 0.5em 0.8em;
    font-size: 0.9em;
    cursor: pointer;
    width: 40%;
    background-color: #007BE5;
    color: white;
    border-radius: 4px;
}

.login-btn a{
    cursor: pointer;
    color: #004b78;
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.login-btn p{
    color: #004b78;
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.genre{
    display: flex; 
}

.genre input{
    height: 10px; 
    width: 5%;
    margin-bottom: 30px;
}
.prev, .next{
    border: 1px solid transparent;
    font-family: 'Raleway';
    box-shadow: 0 2px 4px 0 rgb(0 75 120 / 40%);
    padding: 0.5em 0.8em;
    font-size: 0.9em;
    cursor: pointer;
    width: 30%;
    background-color: #007BE5;
    color: white;
    border-radius: 4px;
    margin-bottom: 20px;
}
.submit{
    border: 1px solid transparent;
    font-family: 'Raleway';
    box-shadow: 0 2px 4px 0 rgb(0 75 120 / 40%);
    padding: 0.5em 0.8em;
    font-size: 0.9em;
    cursor: pointer;
    width: 30%;
    background-color: #FB406C;
    color: white;
    border-radius: 4px;
}
#pp{
    width: 100%;
    height: fit-content;
    padding: 0;
    border: none;
    margin: 10px 0 10px 0;
}
.pp{
    margin: 20px 0 25px 0;
}

.login .g-recaptcha{
    margin-top: 20px;
}

.iconcaptcha-widget {
    margin-top: 20px !important;
}




/*LOGIN*/
/*@media screen and (max-width: 1280px)
{
    .login{
    width: auto;
    min-width: 250px;
    zoom: 1;
    border: 1px solid lightgrey;
    padding: 20px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
    }

@media (min-width: 1280px)
{
.login{
    width: 20%;
    border: 1px solid lightgrey;
    padding: 20px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

}
}


.connexion{
    margin-bottom: 20px;
}
@media screen and (max-width: 1280px)
{
.log-btn{
  padding: 0.5em 0.8em;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  background-color: #fd696d;
  color: black;
  margin-top: 35px;
}
}
@media (min-width: 1280px)
{
.log-btn{
  padding: 0.5em 0.8em;
  font-size: 0.9rem;
  cursor: pointer;
  width: 30%;
  background-color: #fd696d;
  color: black;
  margin-top: 35px;
}
}
@media screen and (max-width: 1280px)
{
.login-btn a{
  margin-top: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  color: black;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
}
@media (min-width: 1280px)
{
.login-btn a{
  margin-left: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  color: black;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
}
#login-password{
    margin-bottom: 0px;

}
.login-password a{
  margin-bottom: 60px;
  font-size: 0.9rem;
  cursor: pointer;
  color: black;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}*/

/*CONTACT*/
@media screen and (max-width: 1280px)
{
.contact-form{
    width: auto;
    min-width: 300px;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;

}
}
@media (min-width: 1280px)
{
.contact-form{
    width: 50%;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;

}
}
#contact-message{
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
    height: 200px;

}
/*CONTACT SUCCESS*/
@media screen and (max-width: 1280px)
{
.contact-success{
    width: auto;
    min-width: 300px;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;

}
}
@media (min-width: 1280px)
{
.contact-success{
    width: 30%;
    border: 1px solid lightgrey;
    padding: 35px 35px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    background-color: #F8F8F8;
    color: black;

}
}
/*ACCUEIL*/
body{
    margin: 0px;
}
.h-full{
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    vertical-align: middle;
    height: calc(var(--vh, 1vh) * 100);
}
.object-cover{
    object-fit: cover;
}

.accueil{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /*background-color: #fff;*/
}

@media (max-width: 768px) {
.accueil-title{
    font-family: 'Raleway', sans-serif;
    font-size: 9vw;
}
.accueil-title h1{
    margin-bottom: 0px;
    /*color: #545454;*/
}
.accueil-subtitle{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}
.accueil-subtitle h2{
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
    font-size: 12vw;
    /*color: #545454;*/
}
.accueil-description{
    margin-bottom: 70px;

}
.accueil-description p{
    font-family: 'Montserrat', sans-serif;
  font-size: 5vw;
    margin-top: 15px;
    /*color: #545454;*/
}
.accueil-btn-log{
  cursor: pointer;
  background-color: #fd696d;
  padding: 1.2em 2.8em;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
    font-weight: normal;
  border-radius: 3em;
  text-decoration: none;
  width: 100%;
}
}

@media (min-width: 768px) {
.accueil-title{
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
}
.accueil-title h1{
    margin-bottom: 0px;
    /*color: #545454;*/
}
.accueil-subtitle{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}
.accueil-subtitle h2{
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
    font-size: 3.7rem;
    /*color: #545454;*/
}
.accueil-description{
    margin-bottom: 70px;

}
.accueil-description p{
    font-family: 'Montserrat', sans-serif;
  font-size: 18px;
    margin-top: 15px;
    /*color: #545454;*/
}
.accueil-btn-log{
  cursor: pointer;
  background-color: #fd696d;
  padding: 1.2em 2.8em;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
    font-weight: normal;
  border-radius: 3em;
  text-decoration: none;
  width: 100%;
}
}
/* Form prayer */
.form_prayer{
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
#file{
  height: auto;
}
.prayer_description{
  height: 35px;
}
.pub-notif{
  display: flex;
}
.send_notif{
  height: 20px;
  width: 30%;
  margin: 0px;
}
.pub-btn{
  display: flex;
  gap: 20px;
  margin-top: 15px;
}
.pub-btn input{
  width: 30%;
}
.pub-btn button{
  width: 30%;
  margin: 5px 0px 15px 0px;
  border: 1px solid lightgrey;
}


/* Settings */
.setting-container, .about-container, .cookies-container{
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.push-notif-section, .about-section, .msg-section, .cookies-section{
    font-family: 'Montserrat', sans-serif;
    padding: 0px 50px 0px 50px;
    border-radius: 6px;
    background-color: #f2f6f8;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.msg-tog-section{
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}
    @media (min-width: 974px)
{
   .push-notif-section, .about-section, .msg-section .cookies-section{
    width: 35%;
} 
}
   @media screen and (max-width: 974px)
{
   .push-notif-section, .about-section, .msg-section .cookies-section{
    width: 55%;
} 
}
 @media screen and (max-width: 674px)
{
   .push-notif-section, .about-section, .msg-section .cookies-section{
    width: 75%;
} 
}
.push-title, .about-title, .msg-title, .cookies-title{
  font-family: 'Raleway', sans-serif;
  margin: 25px 0px 8px 0px;
  font-size: 24px;
}
.push-desc, .about-desc, .msg-desc, .cookies-desc{
    font-size: 16px;
    margin-bottom: 20px;
}
.push-allow, .cookies-btn{
    text-align: center;
    margin-bottom: 20px;
}
.push-allow button{
    border: 1px solid transparent;
    font-family: 'Raleway';
    box-shadow: 0 2px 4px 0 rgb(0 75 120 / 40%);
    padding: 0.5em 0.8em;
    font-size: 0.9em;
    cursor: pointer;
    width: 30%;
    color: white;
    border-radius: 4px;
    margin: 12px 12px;
}
.cookies-btn a{
    border: 1px solid transparent;
    font-family: 'Raleway';
    box-shadow: 0 2px 4px 0 rgb(0 75 120 / 40%);
    padding: 0.5em 0.8em;
    font-size: 0.9em;
    cursor: pointer;
    width: 30%;
    color: white;
    border-radius: 4px;
    margin: 12px 12px;
    background:rgb(3, 228, 3);
    text-decoration: none;
}
.cookies-btn a:last-child{
    background:#fb406c;
}
#send-push-button{
    background-color: #007BE5;
}

/* Styles pour le bouton de type "switch" */
  .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 20px;
  }

  .switch input {
    display: none;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .msg-section input:checked + .slider {
    background-color: #2196F3;
  }

  .msg-section input:checked + .slider:before {
    transform: translateX(20px);
  }



