@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai:wght@300;400&family=Lora:ital@1&display=swap');

body, html {
  font-family:'Hind Madurai', sans-serif;
  font-size: 16px;
  color: #505050;
  margin: 0;
}
/*Header-menu*/
header, .bg-custom {
  background-color: black;
  color: #BEBEBE;
  justify-content: center;
}

.logo-titre {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #BEBEBE;
 }

.logo-haut {
  display: flex;
  align-items:flex-end;
}

.logo {
  margin: 0.5rem;
  font-size: 1.6rem;
}

.logo-bas {
  padding: 0.5rem;
}  

.bg-custom {
  background-color: black;
  font-size: 1rem;
  margin-bottom: 1px;
}

.bg-dropdown-custom {
  background-color: #7B2231;
  font-size: 0.9rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

li.nav-item {
  padding-left: 10px;
  padding-right: 10px;
}
/*Fin header-menu*/
/*Titres*/
h1 {
  background-color: black;
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  text-align: center;
  color :white;
  padding :20px;
  margin: 0;
}

h2 {
  font-size: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

h4 { 
  font-family: 'Lora', serif;
  font-size: 1rem;
}
/*Fin titres*/

main {
  background-color: #E6E6E9;
}

.custom-flex-inline {
  display: flex;
  padding: 20px;
  background-color: white;
}

.custom-flex-column {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: white;
}

p {
  padding-left: 10px;
  padding-right: 10px;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: #9999A1;
}


/*grid*/
.custom-grid-container {
  display: grid;
  grid-template-columns: 50% 50%;
  margin: 0;
}

.grid-item {
  display: flex;
  flex-direction: column;
  padding: 10px 0 10px 0;
  text-align: center;
}

.residence, .rencontres  {
  background-color: #8A5E69;
  color: white;
}

.contact, .cours {
  background-color:#9999A1;
  color: white;
}

.fadeInLeft-loaded .fadeInLeft [class*="fadeInLeft-"] {
  opacity: 0;
  transform: translateY(30px);
}

.fadeInLeft-loaded [class*="fadeInLeft"]{
  transition: 1s cubic-bezier(.5, 0, 0, 1);
}

/* On ajoute du délai */
.fadeInLeft-loaded .fadeInLeft-2 {
  transition-delay: .1s;
}

.fadeInLeft-loaded .fadeInLeft-3 {
  transition-delay: .2s;
}

.fadeInLeft-loaded .fadeInLeft-4 {
  transition-delay: .3s;
}
/*fin grid*/
/*Responsive*/
.responsive {
  width: 100%;
  height: auto;
}
.photo-vertical, .photo-horizontal, .responsive, .item-images {
  display: none;
}
    /*Au delà de 768px*/
@media screen and (min-width: 768px) {
  .responsive, .item-images,.photo-horizontal, .photo-vertical {
    display: flex;
  }
  .photo-vertical {
    width: 200px;
    height: 300px;
  }
  .photo-horizontal {
    width: 250px;
    height: 170px;
  }
  .grid-item {
    justify-content: center;
    padding: 0;
  }
  section.custom-flex-column, section.custom-flex-inline {
    margin-left: 50px;
    margin-right: 50px;
  }
  .logo-titre {
    margin-left: 5rem;
    margin-right: 5rem;
  }
  .content-right {
    padding-left: 15px;
  }
  .content-left {
    padding-right: 15px;
  }
}
    /*Au delà de 1182px*/
@media screen and (min-width: 1182px) {
  section.custom-flex-column, section.custom-flex-inline, .row {
    max-width: 1090px;
    margin: auto;
  }
}
/*Fin responsive*/
/*Formulaire de contact*/
.form {
  background: #fff;
  box-shadow: 0 30px 50px 0 rgba(148, 90, 105, 0.4);
  border-radius: 5px;
  max-width: 480px;
  margin: 0 auto 50px auto;
  padding-top: 5px;
  padding-bottom: 5px;
  left: 0;
  right: 0;
  border-top: 5px solid #7B2231;
  animation: bounce 1.5s infinite;
}

.form:hover {
  animation: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.name, .subject, .email {
  background-color: #ebebeb;
}

.name:hover, .subject:hover, .email:hover {
  border-bottom: 5px solid #7B2231;
  height: 30px;
  width: 380px;
  transition: ease 0.5s;
}

.message {
  background-color: #ebebeb;
  overflow: hidden;
  height: 10rem;
}

.message:hover {
  border-bottom: 5px solid #7B2231;
  height: 12em;
  width: 380px;
  transition: ease 0.5s;
}

.formEntry {
  display: block;
  margin: 30px auto;
  min-width: 300px;
  padding: 10px;
  border-radius: 2px;
  border: none;
  transition: all 0.5s ease 0s;
}

.submit {
  display: block;
  margin: 10px auto;
  min-width: 150px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  transition: all 0.5s ease 0s;
  color: white;
  background-color: #7B2231;
  font-size: 15px;
  font-weight: bold;
}

.submit:hover {
  box-shadow: 15px 15px 15px 5px rgba(78, 72, 77, 0.219);
  transform: translateY(-3px);
  width: 200px;
  color: #9999A1;
}

@keyframes bounce {
  0% {
  transform: translate(0, 4px);
  }
  50% {
  transform: translate(0, 8px);
  }
}
/*fin formulaire de contact*/
/*footer*/
    /* retour haut de page*/
.btn-up {
  color: #7B2231;
  position: fixed;
  bottom: 100px;
  right: 10px;
}
    /*Fin retour haut de page*/

footer {
  background-color: black;
}

section.nav-loc {
  background-color: black;
  color: #BEBEBE;
  text-align: center;
  padding: 10px;
  list-style: none;
  font-size: 0.9rem;
}

footer ul li {
  margin-left: 15px;
  margin-right: 15px;
  display: inline;
}

footer a {
  color: white;
}

footer a:hover {
  text-decoration: underline;
  color: #7B2231;
}
/*fin footer*/