body,
html {
  height: calc(100% - 2em);
  margin: 0;
  font-family: "Montserrat";
  font-weight: bold;
}

body {
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main {
  background-color: #fff;
  background-image: url("/Assets/toile_blanche.jpg");
  /*background-position: top 20px;*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1em 1.4em 0 1.4em;
  height: 100%;
  position: relative;
}

h4 {
  text-align: center;
  font-size: 1.5em;
  color: #fff;
  background-color: #f7002a;
  margin: 0;
  padding: 25px 0;
  text-transform: uppercase;
  color: transparent;
  border-bottom: solid #000 3px;
  border-top: solid #000 3px;
}

main ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

main ul li {
  border: 4px;
  border-style: solid;
  border-color: #000;
  border-radius: 5px;
  display: inline-block;
  margin: 5px 15%;
  transition-duration: 0.3s;
  transition-property: transform;
}

main ul li:hover {
  transform: scale(1.05);
}

.cta {
  display: block;
  text-decoration: none;
  font-size: 0.9em;
  text-align: center;
  color: #000;
  padding: 8px 15px;
}

#donate_button {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
}

#donate_button div {
  display: inline-block;
  background-color: #f7002a;
  padding: 5px 15px;
  border-radius: 15px;
}

#donate_button a {
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  margin: 0;
  transition-duration: 0.2s;
  transition-property: color;
}

#donate_button a:hover {
  color: #000;
}

#donate_button a b {
  font-weight: normal;
}

#center_logo {
  position: relative;
  width: 60%;
  left: 20%;
  margin-top: 5%;
  padding: 0 0 5% 0;
}

.cours_demo {
  background-color: #fff;
  width: 90%;
  text-decoration: none;
  list-style: none;
  margin: 50px 5%;
}

.cours_demo p {
  text-align: justify;
  text-justify: inter-word;
}

#showcase a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  border-radius: 15px;
  background-color: #f7002a;
  padding: 15px;
  transition-duration: 0.3s;
  transition-property: transform;
}

#showcase a:hover {
  transform: scale(1.05);
}

.cours_demo div {
  margin: auto 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

#showcase {
  display: grid;
  grid-template-columns: auto;
  padding: 0 10%;
  margin: 40px 0;
}

#showcase img {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
}

#showcase h2 {
  font-weight: 600;
  text-align: center;
}

#showcase h3 {
  font-weight: 400;
}

#showcase p {
  font-weight: 300;
}

#next-arrow {
  position: absolute;
  display: block;
  bottom: 5%;
  cursor: pointer;
  width: calc(100% - 2.8em);
  text-align: center;
  transition: 0.2s ease;
  transition-property: transform;
}

#next-arrow i {
  color: #000;
  text-decoration: none;
  font-size: 40px;
}

#next-arrow:hover {
  transform: translateY(3px);
}

main #main_msg {
  position: absolute;
  top: 10%;
  left: 5%;
  border: solid #000 5px;
  display: none;
  background: #fff;
}

main #main_msg h4 {
  color: #fff;
  font-size: 15px;
  padding: 15px 0;
}

main #main_msg img {
  height: 400px;
}

@media only screen and (min-width: 730px) {
  #center_logo {
    width: 20%;
    left: 40%;
    padding: 0;
  }

  main ul li {
    margin: 5px 5px;
  }

  .cta {
    font-size: 1.1em;
  }

  #donate_button a {
    font-size: 17px;
    padding: 7px 25px;
  }

  #showcase {
    grid-template-columns: auto auto auto;
  }

  main #main_msg {
    display: block;
  }
}

@media only screen and (max-width: 500px) {
  #donate-button div {
    max-width: 250px;
  }

  #donate_button a b {
    display: block;
    opacity: 0;
    height: 0px;
  }
}
