@import url("https://fonts.googleapis.com/css2?family=Forum&display=swap");

body {
  margin: 0;
  font-family: Calibri, "Trebuchet MS", sans-serif;
}



/*
Source - https://stackoverflow.com/a/21470455
Posted by James Muspratt
Retrieved 2026-04-08, License - CC BY-SA 3.0
*/

html { 
    background: url("../imgs/background.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../imgs/background.png", sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../imgs/background.png', sizingMethod='scale')";

}


h1 {
  font-size: 54px;
}

h2 {
  font-size: 24px;
}

h1,
h2 {
  text-align: center;
  font-family: Forum;
}

p {
  font-size: 16px;
  margin: 0 auto;
  width: 90%;
  max-width: 600px;
}

/* La boîte d'inscription */
.inscription-box {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #e5e5e5e5;
  padding: 20px;
  width: 90%; 
  max-width: 400px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 5px 5px 5px #aa8a98;
}

.inscription-box > form > input:not(input[type="submit"]) {
  margin-bottom: 15px;
}

.btn-inscription {
  width: 100%;
  text-align: center;
  padding: 7px;
  background-color: #ed2f87;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-inscription:hover {
  background-color: #f363a6;
  transform: scale(1.03);
  box-shadow: 1px 2px 5px #531a35;
}

.img-diplome {
  width: 70%;
  height: 300px;
  object-fit: contain;
  display: flex;
  margin: 20px auto;
  border-radius: 20px;
}

.img-reseaux {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.container-plan-site {
  width: 100%;
  display: block;
}

.container-plan-site ul {
  margin: 0 auto;
  list-style-type: none;
  font-size: 1rem;
}

ul.plan-site__1 {
  column-count: 4;
}

ul.plan-site__1 span a {
  font-weight: bold;
  color: #57585a;
}

ul.plan-site__2 span a {
  font-weight: normal;
  color: #57585a;
}

.container-plan-site > .plan-site {
  display: flex;
  padding: 20px 5px;
  background-color: #ccc;
  margin-top: 20px;
  margin-bottom: 0;
}

footer,
footer div ul {
  display: flex;
}

footer div {
  margin: 0 auto;
  width: 50%;
}

footer div ul {
  list-style: none;
}

footer div ul li {
  padding: 0 10px;
}

footer a {
  color: #ed2f87;
  font-size: 16px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/***************** RESPONSIVE WEB DESIGN *************************/
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  .inscription-box, 
  footer, 
  footer div ul {
    flex-direction: column;
    text-align: center;
  }

  ul.plan-site__1 {
    column-count: 1;
  }

  footer div {
    width: 100%;
  }

  footer div ul li {
    padding: 10px 0;
  }

  .img-diplome {
    width: 80%;
    height: auto;
  }
}