*{
  --mdc-typography-font-family: 'Muli';
  --mdc-theme-primary: #1a237e;
  --mdc-theme-on-primary: #ffffff;
  --mdc-typography-body1-font-size: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

nav ul {
  padding-left: 0;
}

#site {

}

.page-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  visibility: hidden;
}

#header {
  text-align: center;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  /* background: no-repeat url("../ressources/space.jpg"; */
  background: #02062d;
  color: white;
  overflow: hidden;
  /* background-image: url("./ressources/space.jpg"); */
}

.titles h1 {
  /* line-height: 30vh; */
  margin: 0;
}

.titles h2 {
}

.titles {
  text-align: center;
  padding-top: 15vh;
}

#site-title {
  text-transform: uppercase;
  font-weight: bolder;
}

#site-title:hover {
  opacity: 0.80;
  cursor: pointer;
}

#subtitle {
  text-transform: uppercase;
  margin-left: 30px;
  margin-right: 30px;
}

#nav {
  padding: 20px 40px;

}

#social-nav {
  padding: 20px 0px;
}


#bio {
  padding: 100px 30px;

  background-image: url(../ressources/backgrounds/space.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

#contact {
  padding: 100px 30px;
  margin-bottom: -30px;
  /* margin-top: 30px; */
  background-image: url(../ressources/backgrounds/mountains.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#travaux {
  padding: 100px 30px;
  margin-top: 30px;
  background-image: url(../ressources/backgrounds/travaux.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#content, #contact-section {
  text-align: justify;
  padding: 0 80px; ;
  max-width: 800px;
  margin: 0 auto;
}

#travaux-section {
  text-align: justify;
  padding: 0 80px; ;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 30px;
  color: white;

}

.background-travaux {
  background: #282E34;
}

#footer {
  margin-top: 30px;
  padding: 20px 80px;
  background: #02062d;
  color: white;
}

.nav-list, .social-list {
  list-style-type: none;
  display: block;
  font-weight: bold;
}

.nav-selection {
  display: inline-block;
  margin: 0px 5%;
}

.hyperlink-nav  {
  text-decoration: none;
}
.hyperlink-active, .hyperlink-nav:hover {
  color: rgb(255, 255, 255) !important;
  text-decoration: underline;
}

.hyperlink-nav:visited, .hyperlink-nav:link {
  color: #ffffff;
}

.social-list {
  display: block;
}

.social-selection {
  display: inline-block;
  margin: 0px 3%;

}

.fa-linkedin-square {
  color: #0e76a8;
}

.fa-github-square {
  color: #c9c9c9;
}

.fa-twitter-square {
  color: #1DA1F2;
}

.fa-facebook-square {
  color: #3b5998;
}

.so-icon {
  width: 3.35em;
  margin-bottom: -10px;
}

.mastodon-icon {
  width: 2.4em;
  margin-bottom: -3px;
}

.expand-arrow:hover ,.fa-github-square:hover, .fa-twitter-square:hover, .fa-linkedin-square:hover, .fa-facebook-square:hover, .so-icon:hover, .mastodon-icon:hover, .expand-arrow-header:hover {
  opacity: 0.95;
  cursor: pointer;
  filter: drop-shadow(0.1rem 0.1rem 0.1rem #9e9e9e);
}

.mdc-list-divider {
  margin: 30px;
}

.presentation {
  color: white;

  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.text-transition-contact {
  color: black;

  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.text-transition-travaux {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  text-shadow: black 0.1em 0.1em 0.2em;
}

.mdc-typography--headline5 {
  text-align: center;
  text-transform: uppercase;
}

.article-title {
  margin-bottom: 0;
}

.list-title {
  margin-bottom: 1rem;
}

.list-date {
  margin: 0;
  font-weight: 600;
  color: var( --mdc-theme-primary);
}

.main-color {
  color: var( --mdc-theme-primary);
}

.ico-margin-right {
  margin-right: 30px !important;
}

.article-container {
  display: block;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.article-block {
  display:inline-block;
}

.article-img {
  width: 100%;
  height: auto;
  border-radius: 2%
}

.expand-arrow {
  /* margin-top: -20px; */
  /* width: 100px; */
  font-size: 48px;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.expand-arrow-header {
  position: absolute;
  bottom: 5px;
  font-size: 60px;
  left: 0;
  color: white;
  width: 100%;
  text-align: center;
}

.article-more {
  transition: max-height 0.3s;
  overflow: hidden;
  max-height: 0;
  padding: 0 25px;
}

.article-active {
  background-color: #f1f1f1;
}

.article{
  /* border-bottom: 0.1rem solid #f1f1f1; */
  border-radius: 5px;
  transition: background-color 0.3s ease;
  padding-top: 1px;
  margin-top: 5px;
}

#travaux-section .article {
  border-bottom: 0;
  transition: background-color 0.3s ease;
  padding-top: 1px;
  margin-top: 0px;
}

.link-arrow {
  color: white;
}


.fullwidth {
  width: 100%;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  margin: auto;
  vertical-align: middle;
}
.form-buttons {
  margin:3px;
  margin-top: -10px;
}

.fa-10x {
  font-size: 10rem;
}

/* Ecran principal pour les petits appareils */
@media only screen and (min-device-width: 320px) and (max-device-width: 992px){
  #header {
    padding: 5vh 0;
    width: 100%;
    height: 100%;
  }
  .titles h1 {
    font-size: 100px;
  }
  #nav {
    padding: 20px 40px;
    display: none;
  }
  .titles {
    text-align: center;
    padding-top: 0;
  }
  .fa-linkedin-square {
    color: #0e76a8;
    font-size: 6.5em;
  }

  .fa-github-square {
    color: #c9c9c9;
    font-size: 6.5em;
  }

  .fa-twitter-square {
    color: #1DA1F2;
    font-size: 6.5em;
  }

  .fa-facebook-square {
    color: #3b5998;
    font-size: 6.5em;
  }

  .so-icon {
    width: 7.5em;
    margin-bottom: -10px;
  }
  .mastodon-icon {
    width: 5em;
    margin-bottom: -3px;
  }
  .link-arrow {
    color: white;
    display: none;
  }
}
