html
{
  scroll-behavior: smooth;
}

@font-face
{
  font-family: CircularStd;
  src: url(font/CircularStd-Book.otf);
}

body
{
  background: #ffffff;
  color: black;
  font-family: CircularStd;
  overflow: hidden;  /* Pas de scrollbar */
}

li
{
  display: table-cell;
  position: relative;
  padding-top: 10px;
}

button /* Ça sert à faire un soulignage jolie au hover, je l'ai pris sur StackOverflow, je sais pas commence ça marche. Bon, tant que ça fonctionne */
{
  color: #0449D5;
  background: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.15em;
  display: inline-block;
  padding: 15px 20px;
  position: relative;
  border: none;
  cursor: pointer;
}

button:after /* Ouais ça aussi */
{
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #0449D5;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

button:hover:after /* C'était dans le lot, je l'ai pris aussi */
{
  width: 100%;
  left: 0;
}

.underline /* Class du bonton clicked */
{
  font-weight:600;
  font-size:18px;
  transition: all 0.5s;
}

.classic /* Class du bonton unclicked */
{
  font-weight: normal;
  font-size: 14px;
  transition: all 0.5s;
}

footer
{
  position: absolute;
  bottom: -100%;
  right: 20px
}

#home, #evenements_menu, #presentation_menu, #contact_menu /* On cache les contenu qui ne sont pas clicked */
{
  opacity: 0;
  transition: all 0.5s;
  display: none;
}

#form
{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  width: 100%
}

input:invalid
{
  background-color: pink;
}

textarea:invalid
{
  background-color: pink;
}

input:required
{
  background-color: #FFF;
}

textarea:required
{
  background-color: #FFF;
}

@media screen and (max-device-width: 700px) /* Responsive telephone */
{
  #imgarrow
  {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transition: all 0.7s;
    cursor: pointer;
    height: 170px;
  }

  #content /* Contenu, pas de flex car elements les uns sur les autres */
  {
    opacity: 0;
    transition: all 0.5s;
    height: 100%;
  }

  .textwimg
  {
    margin: 30px 10%;
    text-align: justify;
    font-size: 30px
  }

  #content img
  {
    object-fit: contain;
    width: 100%;
    border-radius: 10px
  }

  #imgdiv
  {
    width: 80%;
    display: block;
    margin: auto;
  }

  iframe
  {
    display: block;
    margin: auto;
    width: 700px ;
    height: 400px;
  }

  h1
  {
    font-size: 70px;
    text-align: center;
    color: #022975;
    text-decoration: underline overline;
    margin-top: 50px;
    margin-bottom: 10px;
    display: block;
    font-family: scrivano, serif;
  }

  .iframediv h1
  {
    font-size: 90px;
    text-align: center;
    color: #022975;
    text-decoration: underline overline;
    margin-bottom: 50px;
    display: block;
    font-family: scrivano, serif;
  }

  #header /* bon la j'ai mis du flex, je sais pas trop pq, mais ça fait le taff */
  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  #header div
  {
    width: 80%;
    align-self: center;
    margin: 30px
  }

  #header img
  {
    object-fit: contain;
    width: 100%
  }

  .bigphrase /* span responsive */
  {
    font-size: 40px
  }

  .titre /* span responsive */
  {
    font-size: 30px;
    color: #022975;
    text-align: center;
    text-decoration: underline overline;
    display: block;
    font-family: scrivano, serif;
  }

  #form
  {
    margin-top: -50px
  }

  #form textarea
  {
    width: 500px;
    height: 70px
  }

  label
  {
    font-size: 30px
  }

  #form p
  {
    margin: 40px 50px;
    text-align: justify;
    font-size: 30px
  }

  #form form
  {
    text-align: center;
    font-size: 30px:
  }

  .input
  {
    margin-bottom: 20px;
    font-family: CircularStd;
    font-size: 30px;
    border: 1px solid grey;
  }

  option
  {
    font-family: CircularStd;
    font-size: 20px
  }

  #submit
  {
    font-family: CircularStd;
    font-size: 30px;
    width: 150px;
    height: 50px;
    border-radius: 5px;
    background-color: #022975;
    color: #FFF;
    border: none
  }

  ul
  {
    padding: 0;
    list-style: none;
    display: table;
    width: 100%;
    text-align: center;
    margin-bottom: 100px;
    padding-top: 50px
  }

  .underline /* Class du bonton clicked */
  {
    font-weight:600;
    font-size:22px;
    transition: all 0.5s;
  }

  .classic /* Class du bonton unclicked */
  {
    font-weight: normal;
    font-size: 20px;
    transition: all 0.5s;
  }
}

@media screen and (min-device-width: 700px) /* Responsive PC */
{
  #imgarrow
  {
    position: fixed;
    bottom: 10px;
    right: 50%;
    left: 48%;
    transition: all 0.7s;
    cursor: pointer;
    height: 60px;
  }

  #header
  {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #content
  {
    opacity: 0;
    transition: all 0.5s;
    justify-content: space-between;
    height: 100%;
    display: flex;
    align-items: center;
  }

  p
  {
    text-align: center;
    font-size: 20px
  }

  .textwimg
  {
    text-align: justify;
    width: 50%;
    padding: 0 100px;
    font-size: 20px
  }

  #content img
  {
    object-fit: contain;
    width: 100%;
    border-radius: 10px
  }

  #imgdiv
  {
    width: 50%;
    padding-right: 50px
  }

  iframe
  {
    display: block;
    margin: auto;
    width: 1000;
    height: 500;
    border-radius: 10px;
    overflow-y: hidden;
  }

  .iframediv h1
  {
    font-size: 4vw;
    text-align: center;
    color: #022975;
    text-decoration: underline overline;
    margin-top: -100px;
    margin-bottom: 10px;
    display: block;
    font-family: scrivano, serif;
  }

  #form h1
  {
    font-size: 4vw;
    text-align: center;
    color: #022975;
    text-decoration: underline overline;
    margin-top: -100px;
    margin-bottom: 10px;
    display: block;
    font-family: scrivano, serif;
  }

  .iframediv
  {
    display: block;
    margin: auto;
    width: 100%;
    margin-top: 100px
  }

  #header
  {
    display: flex;
    justify-content: center;
    height: 100%
  }

  #header div
  {
    width: 30%;
    margin: 30px
  }

  #header img
  {
    object-fit: contain;
    width: 100%
  }

  .bigword
  {
    font-size: 40px
  }

  .bigphrase
  {
    font-size: 30px
  }

  h1
  {
    font-size: 4vw;
    text-align: right;
    color: #022975;
    text-decoration: underline overline;
    margin-bottom: 4%;
    display: block;
    font-family: scrivano, serif;
  }

  #form p
  {
    width:60%;
    text-align: center
  }

  #form form
  {
    text-align: center;
    font-size: 20px:
  }

  #form textarea
  {
    width: 400px;
    height: 70px
  }

  .input
  {
    margin-bottom: 20px;
    font-family: CircularStd;
    font-size: 15px;
    border: 1px solid grey
  }

  #submit
  {
    font-family: CircularStd;
    font-size: 17px;
    width: 120px;
    height: 30px;
    border-radius: 5px;
    background-color: #022975;
    color: #FFF;
    border: none
  }

  ul
  {
    padding: 0;
    list-style: none;
    display: table;
    width: 60%;
    text-align: center;
  }

  .underline /* Class du bonton clicked */
  {
    font-weight:600;
    font-size:18px;
    transition: all 0.5s;
  }

  .classic /* Class du bonton unclicked */
  {
    font-weight: normal;
    font-size: 14px;
    transition: all 0.5s;
  }

  .iframediv h1
  {
    display: none;
  }
}
