@charset "utf-8";

@font-face {
  font-family: 'Upheaval';
  src: url('fonts/upheavtt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Upheaval', 'Segoe UI', sans-serif;
  color: #464646;
  background-color: #6ED8FF;
  background-image: url("img/CAMOGUARD_Fond.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.Contenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: 40px 20px;
  text-align: center;
}

.title {
  margin-bottom: 20px;
  width: 100%;
}

.title img {
  max-width: 560px;
  width: 90%;
  height: auto;
}

.Text1 {
  font-size: 2rem;
  margin: 10px 0 20px 0;
  cursor: pointer;
  z-index: 4;
  position: relative;
  transition: transform 0.1s;
}

.Camoeuf {
  margin: 10px 0;
  max-width: 300px;
  z-index: 3;
}

.Camoeuf img {
  width: 100%;
  height: auto;
}

.Parchemin {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  z-index: 2;
  max-width: 600px;
  width: 95%;
}

.Parchemin img {
  display: block;
  width: 100%;
  height: auto;
}

.Text2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #464646;
  font-family: 'Helvetica', sans-serif;
  text-decoration: none;
  width: 90%;
  font-size: 1.2rem;
}

.Text2:hover {
  text-decoration: underline;
}

.footer {
  width: 100%;
  line-height: 0;
}

.footer img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .Text1 {
    font-size: 38px;
  }

  .Text2 {
    font-size: 24px;
  }
}