@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');

:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: 'Roboto', sans-serif;
  color: white;
  --color-btn: #013710;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  display: grid;
  background-color: rgb(196, 196, 207);
  background-size: cover;
  place-items: center;
}

a {
  text-decoration: none;
  color: white;
}

a :hover :active {
  color: white;
  text-shadow: 0.1em 0.1em 0.2em rgb(225, 219, 197);

}
#background-video {
      height: 100vh;
      width: 100vw;
      object-fit: cover;
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      z-index: -1;
    }

main{
  display: grid;
  gap: 1rem;
  z-index: 999;
}
header {
  /*grid-column: 1 / 5;*/
  margin-top: 1vh;
  text-shadow: 0.1em 0.1em 0.2em black;
  color: #f1f1f1;
  text-align: center;
  z-index: 3;
  height: auto;
  margin: auto;
  margin-bottom: 2vw;
  
}

.page-content {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  gap: 1rem;
  padding: 1rem;
  max-width: 3000px;
  margin: 0 auto;
  top: 0vh;
  font-family: var(--font-sans);
  z-index: 100;
border-radius: 15px;
}
.card{
  border-radius: 15px;
}
/*
@media (min-width: 300px) {
 .page-content {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  max-width: 400px;
  margin: 0 auto;
  font-family: var(--font-sans);
  z-index: 100;
}
}


  header {
    grid-column: 1 / 3;
  }

  .page-content {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(2, 1fr);

  }

  .card {
    height: 100%;
  }
}
*/

@media (min-width: 800px) {
  header {
    grid-column: 1 / 2;
  }

  .page-content {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(1, 1fr);
    top: 0;
  }

  .card {
    height: 100%;
  }

}

.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  height: auto;
  text-align: center;
  color: white;
  background-color: rgba(245, 245, 245, 0);
  box-shadow:0.1em 0.1em 0.5em black;
}


.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 0 30%;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;

}

.card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}

.content>*+* {
  margin-top: 1rem;
}

.title {
  font-size:1.0em;
  text-shadow: 0.1em 0.1em 0.2em black;
  line-height: 1.0;
  font-weight:lighter;
}

.copy {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: bold;
  font-style: italic;
  text-shadow: 0.1em 0.1em 0.2em black;
  line-height: 1.35;

}


.lettres {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  letter-spacing: 0.2em;
}

.lettres-comment {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  font-weight: lighter;
  letter-spacing: 0.2em;
}
.lettres-comment a:hover{
  color:#dc7609;
}
.footerperso {
  display: block;
  padding: 5%;
  background-color: #333;
}

.expos,
.legal,
.bio {
  font-size: 1.1em;
  margin-left: 5%;
  max-width: 50%;
  color: white;
}
.publi {
  font-size: 1.1em;
  margin-left: 5%;
  max-width: 50%;
  color: #888;
}
.expos a {
  text-decoration: underline;
}

.legal a {
  text-decoration: underline;
}

.bio a {
  text-decoration: underline;
}

iframe {
  padding: 10px;
  border: 0px solid lightgray;
  width: 100%; 
}