@import url('https://fonts.googleapis.com/css2?family=Amarante&family=Quicksand:wght@300;400;500;600;700&display=swap');

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #191B26;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.3em;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

h1 {
  font-family: 'Amarante', cursive;
  font-weight: 400;
  font-size: 1.5em;
  margin: 0;
}

h2 {
  font-family: 'Amarante', cursive;
  font-weight: 400;
  font-size: 2em;
}

.App-header {
  background-color: #282c34;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.Button {
  border: solid 2px white;
  border-radius: .6rem;
  padding: .3rem 1rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  column-gap: .6em;
}


.HeadSection {
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

section {
  min-height: 100vh;

  -webkit-background-size: cover;
  /* pour anciens Chrome et Safari */
  background-size: cover;
  /* version standardisée */

  padding: 0 25%;
}

section>h2 {
  text-align: center;
}

.Flex {
  display: flex;

  flex-direction: row;
  column-gap: 10em;
  row-gap: 2em;
}

section>div {
  flex: 1
}


img {
  max-height: 80vh;
  max-width: 50vh;
}

.PresentationSection {
  background-image: url('img/background1.png');
}

.PresentationSection>div>p {
  font-family: 'Amarante', cursive;
}

.FlashcardsSection {
  background-image: url('img/background2.png');
}

.MemoriconSection {
  background-image: url('img/background3.png');

  flex-direction: column;
}

.CTASection {
  min-height: 50vh;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 0 35%;
}



@media screen and (max-width: 1180px) {
  section {
    padding: 0 10%;
    column-gap: 6em;
  }

  .CTASection {
    padding: 0 15%;
  }
}

@media screen and (max-width: 890px) {
  section {
    padding: 15%;
    flex-wrap: wrap;
  }

  .Flex {
    display: flex;
    flex-direction: column;

  }

  img {
    max-height: 80vh;
    max-width: 100%;
  }

  p {
    text-align: center;
  }

  .HeadSection {
    padding-top: 5em;
  }
}

.credit {
  font-size: 0.6em;
  text-align: center;
}

a {
  text-decoration: none;
  color: white
}

.Navbar {
  background-color: #191B26;
  position: fixed;
  top: 0;
  width: 100%;

  padding: 1.5em 25%;
}

@media screen and (max-width: 1180px) {
  section {
    padding: 1.5em 5%;
  }
}

@media screen and (max-width: 890px) {
  section {
    padding: 1.5em 15%;
  }
}