/* Site Web Stage CMF Côte d'Or - 2021 - Page d'accueil */
/* FICHIER CSS COMMUN A TOUTES LES PAGES */

body {
  font-family: "Segoe UI";
  color: #342141;
  background-color: white;
  text-align: justify;
}

#navbar-logo-mobile{
  display:none;
}

.fond-transparent{
  display:none;
}

/* Menu burger
  x, y et z représentent les 3 trois du burger
  y disparaît et x et z forment une croix lorsque l'on clique sur le menu
*/



.burger {
    height: 30px;
    width: 40px;
    position: absolute;
    top: 21px;
    left: 26px;
    cursor: pointer;
    z-index: 3;
    transform: translate3d(0, 0, 300px);
    position: fixed;
}

h2 {
    color: #FBAD41;
    font: 50px "Segoe UI", sans-serif;
    margin-left: 5%;
    border-bottom: solid 5px #ED4436;
    width: auto;
    display:inline-block
}

.x,
.y,
.z {
    position: absolute;
    margin: auto;
    top: 0px; bottom: 0px;
    background: #FBAD41;
    border-radius:2px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.x,
.y,
.z {
  height: 4px;
  width: 35px;
}
.y{
  top: 22px;
}
.z{
  top: 38px;
}

.shown{
 display:contents!important;
}

.shown-inline{
 display: inline !important;
}


.collapse{
    top: 20px;
    background:#342141;
    -webkit-transition: all 70ms ease-out;
    -moz-transition: all 70ms ease-out;
    -ms-transition: all 70ms ease-out;
    -o-transition: all 70ms ease-out;
    transition: all 70ms ease-out;
}

.collapse:not(.show){
    display: inline;
}

.rotate30{
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}

.rotate150{
    -ms-transform: rotate(150deg);
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}

.rotate45{
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

.rotate135{
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

/* Barre de navigation */
.navbar{
  height: 100px;
  background:#342141;
  position: fixed;
  z-index: 5;
    transform: translate3d(0, 0, 500px);
}

.circles {
    top: -10%;
    background:#342141;
    border-radius: 50%;
    height: 11em;
    position: relative;
    width: 11em;
    margin-top: 5.5em;
}

.circle-icon {
    fill: currentColor;
    height: 50%;
    left: 50%;
    position: absolute;
    stroke: currentColor;
    stroke-width: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
}

/* Cercle du menu */
.circle{
    border-radius: 50%;
    width: 0px;
    height: 0px;
    position:absolute;
    top: 35px;
    left: 36px;
    background:#FBAD41;
    opacity:1;
    -webkit-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    z-index: 2;
    transform: translate3d(0, 0, 200px);
}

.circle.expand{
    width: 90%;
    height: 1500%;
    top: -560px;
    left: -565px;
    -webkit-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}

/* Menu */
.menu {
    height: 568px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    margin-top: 4%;
    display: none;
}

/* Premières catégories du menu */
.menu ul li {
    list-style: none;
    position:absolute;
    left:30%;
    opacity:0;
    text-align:left;
    z-index: 3;
    transform: translate3d(0, 0, 300px);
    font-size:0px;
    -webkit-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}

li > ul {
 display: none;
}

li:hover > ul{
 display:contents;
}

.menu ul li:hover ul li {
   left: 25px!important;
   top: 0px!important;
}

.menu ul li a {
    color:#EF4536!important;
    text-decoration: none!important;
    font:  40px "Segoe UI", sans-serif !important;
}

.menu ul li a:hover {
  color:#342141!important;
}

.menu li.animate{
    font-size:21px;
    opacity:1;
    -webkit-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}

.menu ul li ul {
  position: relative;
}

.menu > ul {
    top: 150%;
    position : absolute;
    left: 4%;
}
 .shown{
  display:contents!important;
}


.menu ul li {
  position : relative;
}

.menu > ul > li.animate:nth-of-type(1){
  position: relative;
    transition-delay: 0.0s;
}
.menu > ul > li.animate:nth-of-type(2){
  position: relative;
    transition-delay: 0.03s;
}
.menu > ul > li.animate:nth-of-type(3){
  position: relative;
    transition-delay: 0.06s;
}
.menu > ul > li.animate:nth-of-type(4){
  position: relative;
    transition-delay: 0.09s;
}
.menu > ul > li.animate:nth-of-type(5){
  position: relative;
    transition-delay: 0.12s;
}
.menu > ul > li.animate:nth-of-type(6){
  position: relative;
    transition-delay: 0.15s;
}
.menu > ul > li.animate:nth-of-type(7){
    position: relative;
    transition-delay: 0.18s;
}
.menu > ul > li.animate:nth-of-type(8){
    position: relative;
    transition-delay: 0.22s;
}

.menu > ul > li.animate:nth-of-type(9){
    position: relative;
    transition-delay: 0.25s;
}


.menu > ul > li.animate:nth-of-type(10){
    position: relative;
    transition-delay: 0.27s;
    padding-bottom: 10%;
}

/* Titre */
h2 {
  color: #FBAD41;
  font: bold 50px "Segoe UI", sans-serif;
  margin-left: 5%;
}


#page {
  margin-bottom: 5%;
  margin-top: 10%;
}

footer{
    background-color: #FBAD41;
    font-size: 2em;
}

/* Barre de footer */
hr{
  height:1px;
  border:none;
  color:#342141;
  background-color:#342141;
}



body button{
    background-color: rgba(251,173,65,1)!important;
    font-size: 24px!important;
    color: #EF4536!important;
    font-weight: bold!important;
    box-shadow: 5px 3px 5px #EF4536;
    color: rgba(52,33,65, 0.62);
    border-radius: 40px!important;
    padding-left: 20px!important;
    padding-right: 20px!important;
    border: none;
    margin-top: 50px!important;
    margin-bottom: 40px!important;
}


#inscription_connexion{
    position: absolute;
    left: 70%;
    bottom: -20px;
}

.menu ul li button{
    font-size: 36px!important;
}

#mon_compte{
    position: absolute;
    display: inline-block;
    vertical-align: center;
    left: 80%;
}

/*
          RESPONSIVE
*/

/* Middle Size PC */

#seConnecter{
    font-size: 30px!important;
    margin-left: 3rem!important;
}

.navbar{
    justify-content: center;
}

@media screen and (max-width: 995px)
{
    .navbar{
        justify-content: left;
    }
}

@media screen and (max-width: 1765px) {
    #inscription_connexion{
        left: 65%;
    }
}

@media screen and (max-width: 1498px) {
    #inscription_connexion{
        left: 60%;
    }
}

@media screen and (max-width: 1440px) {
  #presentation {
    font: 35px "Segoe UI", sans-serif;
  }

  #presentation h1 {
    font: bold 55px "Segoe UI", sans-serif;
  }
  #logo{
    margin-bottom: -1%;
  }
  #logo img {
    height : 60%;
  }

  footer img{
    width: 5%;
  }
}

@media screen and (max-width: 1370px) {
  .underline{
    width: 12%;
  }

    #inscription_connexion{
        left: 55%;
    }

    #mon_compte {
        left: 75%;
    }

}

@media screen and (max-height: 850px) {
    footer img{
      width: 8%;
    }
}

@media screen and (max-width: 1250px) {
  #page{
    margin-top: 170px;
  }
}


/* Phones */

@media screen and (max-width: 1035px) {
    #mon_compte{
        display: none;
    }
   #inscription_connexion{
        display: none;
    }

    li > ul{
        display:contents!important;
    }
    .burger {
        top: 21px;
        left: 85%;
    }
    .circle.expand{
        width: 4000%;
        height: 4000%;
        top: -1550%;
    }
    #layer {
      background-color: rgba(52, 33, 65, 0.7);
      color:#FBAD41;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 98%;
}
  #navbar-logo-mobile{
    display:block;
  }
  .navbar{
    height: 110px;
  }
  .menu > ul{
    top: 50%;
    left: -10%;
  }
  .circles{
    display: none;
  }
  #page{
    margin-top: 150px;
  }
  button{

  }
}

@media screen and (max-width: 700px) {
  .menu ul li ul li {
     left: 10px !important;
     top: 0px;
  }
  .underline{
    width:19%;
  }
    .menu ul li button{
        font-size: 28px!important;
    }
    #seConnecter{
        font-size: 24px!important;
        margin-left: 2.5rem!important;
    }

}

@media screen and (max-width: 600px) {
  .underline{
    width:24%;
  }
  footer{
      margin-top: 50px;
    }
}

@media screen and (max-width: 480px) {

  .underline{
    width:29%;
  }
}

@media screen and (max-width: 370px) {

  .underline{
    width:35%;
  }
  .justify-content-center h4{
    font-size:20px;
  }
  .menu ul {
    left:-20%;
  }
  .menu ul li a{
    font-size: 30px!important;
  }
}
@media screen and (max-width: 335px) {

  .underline{
    width:44%;
  }
}

@media screen and (max-width: 260px) {

  .underline{
    width:53%;
  }
}

@media screen and (max-width: 540px) {
    footer img{
      width: 14%;
    }
    footer{
      font-size:18px;
    }
    .menu > ul{
      top: 50%;
      left: -15%;
    }
    .menu ul li a {
    font-size: 30px!important;
    }
}

@media screen and (max-width: 380px) {
    .menu ul li a{
      font-size: 30px!important;
    }
    .menu ul {
      left:-20%;
    }
}

@media screen and (max-width: 320px) {
    footer img{
        width: 14%;
    }
    footer{
        font-size:18px;
    }
    .menu > ul{
        top: 50%;
        left: -20%;
    }
    .menu ul li a {
        font-size: 20px!important;
    }
    .menu ul li button{
        font-size: 25px!important;
    }
}



@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Light"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Semilight"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.ttf) format("truetype");
    font-weight: 200;
}

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Semibold"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf) format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Bold"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.ttf) format("truetype");
    font-weight: 700;
}
