
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

html {
  font-size: 62.5%;
}

body {
  font-size: 1.8rem;
  font-family: 'Roboto', sans-serif;
  color: #00001c;
  background-color: #f5d4ff;
}

a {
  color: #b85031;
  text-decoration: none;
}

table {
  border-spacing: 0px;
}
td {
  padding: 3px;
}
tbody>tr>:nth-child(1){
font-weight: bold;
}
header {
  background: #eb953e;
  height: 180px;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: #00001c;
  margin: 1em 0 0.5em;
  line-height: 1.2;
}

/* Styles spécifiques */
h1 {
  font-size: 3.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  font-size: 2.6rem;
  font-weight: 600;
  border-bottom: 2px solid #b85031;
  padding-bottom: 0.2em;
}

h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #b85031;
}

h4 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

h5 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #444;
}

h6 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  font-style: italic;
}

.container {
      display: flex;
      flex-wrap: wrap;
    }

    .image-float {
      flex: 1 1 50%;
      max-width: 50%;
    }

    .image-float img {
      width: 100%;
      height: auto;
      display: block;
    }

    .texte-float {
      flex: 1 1 50%;
      max-width: 50%;
      padding: 20px;
      box-sizing: border-box;
    }

    /* Adaptation mobile */
    @media (max-width: 768px) {
      .image-float, .texte-float {
        max-width: 100%;
        flex: 1 1 100%;
      }
    }

@media only screen and (min-width: 1024px) {
  header {
    height: 200px;
  }
  header h1 {
    font-size: 3rem;
  }
}

main {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main p {
  line-height: 1.6;
  margin: 2em 0;
    text-align: justify;
}

@media only screen and (min-width: 1024px) {
  main p {
    font-size: 1.8rem;
  }
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 1) url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .9;
}

.cd-top:hover {
  background-color: #df1900;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}
