/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #1a0f91;
  text-decoration: none;

}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #999999;
  text-shadow: none;
  background-color: #ffffff;
  border: .05rem solid #fff;
}

.theone {
  padding: 10em 0;
}

/*
 * Base structure
 */

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

main {
  height: 100vh;
  overflow: hidden auto;
  scroll-behavior: smooth;
  width: 100vw;
  padding: 0;
  display: flex;
  margin: 3em 0 0;
  flex-direction: column;
}

.logo {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  align-self: flex-start;
}

.logo_icon {
  margin-right: 0.4em;

}


.masthead-brand {
  color: #4649ee;
  margin-top: 0rem;
  font-family: fantasy;
  font-size: 1.6rem;
  font-weight: 100;
}

.cover-container {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  /* padding: 2em 6.3em; */
}

h1,
h2 {
  margin: 0;
  color: #580035;
  font-family: serif;
}

.cover-heading {
  position: relative;
  text-align: center;
  font-size: 3.2rem;
  margin: 2em 0;
}

.bloc {
  line-height: 1.5;
  display: flex;
  padding: 0 0.5em;
  justify-content: space-around;
  text-align: left;
  font-size: 1.5em;
}

.d-flex-justified-arround {
  padding: 0.5em 0;
  display: flex;
  justify-content: space-between;
}

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  background-color: rgb(228 240 245);
  min-height: fit-content;
  align-items: center;
  display: inline-grid;
  max-height: 6em;
  border-bottom: 2px solid #140a7f;
  z-index: 100;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead {
  display: flex;
  justify-content: space-between;
  width: 15.5em;
  padding: 0 1em;
}

.nav-masthead .nav-link {
  font-weight: 700;
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgb(167, 154, 224);
}


.nav-masthead .active {
  position: relative;
  border: none;
  border-radius: 5px;
  color: #4142e3;
  padding: 10px 20px;
  text-align: center;
  text-shadow: none;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
}

.cover {
  padding: 0 1.5rem;
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


.mastfoot {
  color: rgb(52, 18, 201);
}

.about {
  color: #1a0f91;
  text-align: center;
  background-color: #daeac852;
  width: 100vw;
}

.titre_contact {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.divider {
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  width: 25%;
  height: 0.5px;
}


.intro {
  margin: 5rem 5em 2rem;
}

.text-white {
  font-size: 1.6rem;
  text-align: left;
  line-height: 1.8;
  padding: 0 2em;
}

svg {
  margin-right: 0.7rem;

}

.rows {
  display: flex;
  margin-top: 3rem;
  justify-content: space-around;
  align-items: center;
}

.row {
  display: flex;
  justify-content: center;
  font-size: 1.7rem;
  text-decoration: none;
  width: 30%;
}

footer {
  display: flex;
  position: relative;
  align-items: flex-end;
  justify-content: space-around;
  text-align: center;
  background-color: #daeac852;
  width: 100vw;
  padding: 3em 0 10em;
  font-weight: 600;
}

@media (max-width:700px) {
  .d-flex-justified-arround {
    flex-direction: column;
    align-items: center;
    row-gap: 1em;
  }

  .text {
    align-self: baseline;
  }

  .text-white {
    font-size: 1.6em;
    padding: 0 0.5em;
    text-align: -webkit-left;
  }

  .bloc {
    font-size: 1.3em;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0.5em;
  }

  .masthead {
    max-height: max-content;
  }

  img.logo_icon {
    padding: 0;
  }

  img:not(.logo_icon) {
    padding: 0 1em;
    height: fit-content;
    width: 75%;
    align-self: center;
  }

  .nav-masthead {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    align-self: baseline;
    height: 6em;
  }

  main {
    margin: 10em 0 0;
  }
}

@media (max-width: 1200px) {
  .about {
    height: max-content;
    width: 100%;
    padding: 8em 0 2em;
  }

  .theone {
    padding: 4vh 0;
  }

  .rows {
    flex-direction: column;
    row-gap: 2.5em;
    padding: 2em 0;
  }

  a {
    white-space: nowrap;
  }

  .intro {
    margin: 3em auto;
  }
}

@media (min-width: 1370px) {
  .page-section {
    margin-bottom: auto;
  }

}