/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: hsl(var(--hue), var(--sat), 40%);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.logo {
  position: absolute;
  top: 0;
  height: 50px;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height__accueil {
  height: 90vh;
}

.section__height__ateliers {
  height: 420vh;
}

.section__height__tarifs {
  height: 210vh;
}

.section__height__contact {
  height: 120vh;
}

.present__img {
  display: flex;
  margin-top: 60px;
  justify-content: space-around;
  background-color: #edc5cc;
  border: solid #cc6674 2px;
  padding-top: 2%;
  padding-bottom: 2%;
}

.present__img img {
  border: solid #cc6674 2px;
}

/*=============== HOME ===============*/

.home__container {
  border: dashed #cc6674 2px;
  margin-top: 60px;
}

.home__container div:nth-child(1) {
  display: flex;
  padding: 3%;
}

.home__container div:nth-child(1) p {
  text-align: center;
  align-self: center;
  margin-right: 4%;
}

.logo_part {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-right: 15px;
}

.logo_part img:nth-child(2) {
  margin-top: 10px;
}

.overviewImg {
  display: flex;
  flex-direction: column;
}

.overviewImg img {
  border: solid #cc6674 2px;
}

.overviewImg img:nth-child(2) {
  margin-top: 10px;
}

/* .home__container div:nth-child(2) {
  display: flex;
}

.home__container div:nth-child(2) img:nth-child(2) {
  height: 80px;
  width: 80px;
} */

.home__container p {
  font-size: 20px;
}

/*=============== ATELIERS ===============*/

hr {
  margin-top: 60px;
  margin-bottom: 60px;
  align-items: center;
}

.section__height__ateliers h2 {
  text-align: center;
}

.section__height__ateliers p {
  margin-top: 40px;
  font-size: 18px;
}

.price__services__container {
  margin: 5% auto;
  height: 300px;
  width: 600px;
  background-color: #edc5cc;
  border-radius: 20px;
  border: solid rgb(82, 96, 95) 1px;
}

.price__services__container h3 {
  text-align: center;
  padding: 3%;
  color: #edc5cc;
  background-color: #cc6674;
  border-radius: 20px 20px 0 0;
}

.string {
  display: flex;
  justify-content: space-between;
  border-bottom: solid #FFF 1px;
}

.string p {
  margin: 0;
  padding: 4%;
}

.creation__eleves {
  height: 380px;
}

/*=============== TARIFS ===============*/

.price__container {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
}

/* Pour modifier la taille des listes, modifier le height de la liste voulu */

.price__list1 {
  margin: 0 10px 0 10px;
  height: 750px;
  width: 300px;
  border-radius: 15px;
  background-color: #edc5cc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 1s ease;
}

.price__list2 {
  margin: 0 10px 0 10px;
  height: 960px;
  width: 300px;
  border-radius: 15px;
  background-color: #edc5cc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 1s ease;
}

.price__list3 {
  margin: 0 10px 0 10px;
  height: 830px;
  width: 300px;
  border-radius: 15px;
  background-color: #edc5cc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 1s ease;
}

.price__title {
  color: #edc5cc;
  font-size: 20px;
  padding: 30px 0;
  text-align: center;
  background-color: #cc6674;
  border-radius: 15px 15px 0 0;
}

.price__title__last {
  color: #edc5cc;
  font-size: 20px;
  padding: 17px 0;
  text-align: center;
  background-color: #cc6674;
  border-radius: 15px 15px 0 0;
}

.price__type__container {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: dashed 1px #FFF;
}

.price__list1:hover, .price__list2:hover, .price__list3:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.warning {
  margin-top: 80px;
  text-align: center;
}

.warning h2:nth-child(2) {
  margin-top: 15px;
}

/*=============== CONTACT ===============*/

.contact__container {
  display: flex;
  justify-content: space-between;
  margin-top: 200px;
}

.type__contact__container {
  text-align: center;
  height: 140px;
  width: 181px;
}

.type__contact__container i {
  text-shadow: 1px 0 0 #cc6674, 1px 1px 0 #cc6674, 0 1px 0 #cc6674, -1px 1px 0 #cc6674, -1px 0 0 #cc6674, -1px -1px 0 #cc6674, 0 -1px 0 #cc6674, 1px -1px 0 #cc6674;
  color: #edc5cc;
  font-size: 80px;
}

.type__contact__container .type__contact__title {
  font-size: 23px;
}

.linkTo {
  color: rgb(82, 96, 95);
}

.networks {
  display: flex;
  justify-content: space-evenly;
  margin-top: 5%;
}

.networks a {
  color: #edc5cc;
}

.networks i {
  font-size: 80px;
  text-shadow: 1px 0 0 #cc6674, 1px 1px 0 #cc6674, 0 1px 0 #cc6674, -1px 1px 0 #cc6674, -1px 0 0 #cc6674, -1px -1px 0 #cc6674, 0 -1px 0 #cc6674, 1px -1px 0 #cc6674;
}

.networks p {
  color: rgb(82, 96, 95);
  font-weight: bold;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__img {
  width: 50px;
  border-radius: 50%;
}

.nav__logo {
  color: var(--title-color);
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
  }

  .logo {
    display: none;
  }
}

.nav__list, 
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: .3s;
}

/* Minimalist design, active link */
/* .active-link::before{
  content: '';
  position: absolute;
  bottom: -.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 50%;
} */

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/*=============== POP UP ===============*/

.pop-up {
  position: fixed;
  margin-left: -478px;
  left: 50%;
  bottom: 5%;
  background-color: #edc5cc;
  border: solid #cc6674 3px;
  border-radius: 10px;
}

.pop-up i {
  position: absolute;
  top: -17px;
  right: -16px;
  font-size: 28px;
  color: red;
  background-color: #edc5cc;
  border: solid #cc6674 3px;
  border-radius: 100%;
}

.pop-up h3 {
  text-align: center;
  width: 950px;
  padding: 1% 5%;
  color: rgb(65, 73, 73);
}

.pop-up h3 br {
  display: none;
}

.pop-up h3 b:nth-child(1) {
  text-decoration: underline;
}

.pop-up h3 b {
  color: #000000;
  text-decoration: none;
}

@keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@keyframes fadeInDown {
  from {
      transform: translate3d(0,0,0)
  }

  to {
      transform: translate3d(0,40px,0);
      opacity: 0
  }
}

@-webkit-keyframes fadeInDown {
  from {
      transform: translate3d(0,0,0)
  }

  to {
      transform: translate3d(0,40px,0);
      opacity: 0
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
  opacity: 0
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}

.animatedFadeInDown {
  opacity: 1;
}

.fadeInDown {
  opacity: 1;
  animation-name: fadeInDown;
  -webkit-animation-name: fadeInDown;
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 1200px) {
  .overviewImg {
    display: none;
  }

  .section__height__ateliers {
    height: 380vh;
  }

  .price__services__container {
    margin: 5% auto;
    height: 300px;
    width: 350px;
    background-color: #edc5cc;
    border-radius: 20px;
    border: solid rgb(82, 96, 95) 1px;
  }

  .creation__eleves {
    height: 120px;
  }

  .section__height__tarifs {
    height: 450vh;
  }

  .price__container {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 60px;
  }

  .price__list2 {
    margin-top: 30px;
  }

  .price__list3 {
    margin-top: 30px;
  }
  
  .section__height__contact {
    height: 150vh;
  }

  .contact__container {
    align-items: center;
    flex-direction: column;
    margin-top: 90px;
  }

  .networks {
    display: flex;
    justify-content: space-evenly;
    margin-top: 10%;
  }

  .pop-up {
    position: fixed;
    margin-left: -39%;
    left: 50%;
    bottom: 10%;
    background-color: #edc5cc;
    border: solid #cc6674 3px;
    border-radius: 10px;
  }

  .pop-up i {
    position: absolute;
    top: -17px;
    right: -16px;
    font-size: 28px;
    color: red;
    background-color: #edc5cc;
    border: solid #cc6674 3px;
    border-radius: 100%;
  }
  
  .pop-up h3 {
    text-align: center;
    width: 300px;
    /* padding: 1% 5%; */
    color: rgb(65, 73, 73);
  }
  
  .pop-up h3 b:nth-child(1) {
    text-decoration: underline;
  }
  
  .pop-up h3 b {
    color: #000000;
    text-decoration: none;
  }
}

@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: var(--first-color);
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    width: 4px;
    height: 4px;
    background-color: var(--first-color);
    border-radius: 50%;
  }

  /* Minimalist design */
  /* .active-link::before{
      bottom: -.75rem;
  } */
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}
