  @import 'fonts/stylesheet.css';

  *{
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .small{
    display:none;
    transition: all 0.5s ease;
  }

  .destkop{
    display:flex;
    transition: all 0.5s ease;
  }


  body{
    margin:0;
    font-family: "directrice", sans-serif;
  }


  h1, h2, h3{
    font-weight: normal;
  }

  a{
    color: #000; 
    text-decoration: underline;
  }

  a:hover{
    color: rgb(255, 84, 153);
  }

  header{
    /*height: 40px; */
    background: #FFF; 
    position: fixed; 
    top: 0; 
    left: 0; 
    right:0; 
    z-index: 100;
    padding: 15px; 
    border-bottom: 1px solid #000; 
    display: flex;
  }

  .header-right{
    display:flex;
    justify-content: flex-end;
    width: 40%;
    margin-right: 5px;
  }

  header h1{
    font-weight: normal;
    font-size: 1.2em;
    margin: 0;
    width: 60%;
  }

  header h1 a{
    text-decoration:none;
    font-size: 1.3em;
  }

  main{
    padding: 100px;
  }

  main h1{
    text-align: center; 
    margin-bottom: 50px;
    padding-bottom: 20px;
  }



  .calendrier {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    grid-auto-rows: 130px;
    grid-gap: 50px;
    row-gap: 80px;
  }

/*  .calendrier::before {
    content: '';
    width: 0;
    padding-bottom: 100%;
    grid-row: 1 / 1;
    grid-column: 1 / 1;
  }*/

  .jour{
    height: 100%;
    background: rgb(100,100,100);
    text-align: center; 
    padding: 10px;
    position: relative
  }

  .jour p{
    font-size: 20px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .jour-wrapper.surprise.active .jour{
    background: #FFF;
    border: 6px solid rgb(255, 84, 153);
  }

  .jour-wrapper.surprise.active .daynumber{
    background: rgb(255, 84, 153);
  }

  .daynumber{
    text-align:center;
    border: 3px solid rgb(100,100,100);
    width: 50px;
    padding: 5px 10px;
    margin: auto;
    margin-top: -3px;
  }

  .jour-wrapper.active .daynumber{
    border: 3px solid rgb(255, 84, 153);
  }


  .jour-wrapper{
    pointer-events: none;
  }

  .jour-wrapper.active .jour{
    background: rgb(255, 84, 153);
  }

  .jour-wrapper.active{
    cursor: pointer;
    pointer-events: auto;
  }


  .credits, .infos{
    font-size: 1.5em;
    margin-left: 15px; 
    cursor: pointer; 
    padding-top: 0.3em;
  }

  .credits:hover, .infos:hover{
    color: rgb(255, 84, 153);
  }

  .credits-window h2{
    margin-bottom:0px;
    margin-top: 30px;
  }

  .infos-window, .credits-window{
    position: fixed;
    z-index: 1000; 
    background: rgba(255, 84, 153, 0.5);
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    display: none;
  }

  .infos-window.is-active, .credits-window.is-active{
    display:block;
  }

  .infos-window-inner, .credits-window-inner{
    position: absolute;
    width: 50%;
    background: #FFF; 
    border: 1px solid #000; 
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; 
    min-width: 280px; 
  }

  .infos-window-inner h2, .credits-window-inner h2{
    margin-top: 0;
    margin-bottom: 30px; 
    font-size: 1.5em;
  }

  .infos-window-inner p{
    font-size: 1.2em;
    line-height: 1.3;
  }

  .close-window{
    position: absolute;
    right: 10px; 
    top: 10px;
    font-size: 1.5em;
    cursor: pointer;
  }

  .preview{
    position: fixed; 
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 200;
    display: none;
  }

  .preview .close-window{
    background:rgb(255, 84, 153);
    font-size: 40px;
    width: 55px;
    height: 55px;
    text-align: center;
  }

  .preview .youtube-link{
    background:rgb(255, 84, 153);
    font-size: 1em;
    position: absolute;
    bottom: 50px;
    right: 50px;
    padding: 10px;
  }

  .preview .youtube-link a{
    text-decoration: none;
  }

  .preview .youtube-link a:hover{
    color:#000;
  }

  .preview #iframe-youtube{
    position: absolute; 
    bottom: 50px;
    right: 50px;
    background:rgb(255, 84, 153);
    padding: 10px;
  }

  .bigimage{
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    /*background-image: url('images/2021-10.jpg');*/
  }

  .panel-body{
    width: 40%;
    background: #FFF;
    border: 4px solid rgb(255, 84, 153);
    padding: 20px;
    min-width: 400px;
    font-size: 20px;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }

  .panel-body h2{
    margin: 0;
  }

  .panel-body.jour-excep{
    display: none;
  }

  .form-group {
    margin: 20px 0;
  }

  .form-group label, .form-group input{
    display: block;
    width: 50%;
    min-width: 200px;
    font-size: 20px;
    font-family: "directrice", sans-serif;
  }

  .form-group button{
    background: rgb(255, 84, 153);
    border:none; 
    font-size: 16px;
    padding: 10px;
    margin-top: 15px;
    cursor: pointer;
    width: auto;
    font-family: "directrice", sans-serif;
  }

  .form-group button:hover{
    background: #000;
    color: #FFF; 
  }

  .close-form{
    position: absolute;
    right: 10px; 
    top: 10px;
    font-size: 1.5em;
    cursor: pointer;

  }

  .too-late-text, .success_message{
    background: rgb(255, 84, 153);
    text-align: center; 
    padding: 10px;
    position: absolute;
    transform: rotate(-10deg);
    transform-origin: 0 0;
    bottom: 0;
  }

  .success_message{
    position: relative;
    left: -10px;
  }



@media (min-width: 800px) and (max-width: 1000px) {
  .infos-window-inner, .credits-window-inner{
    width: 70%;
  }

}

@media (min-width: 320px) and (max-width: 800px) {
  .small{
    display: flex;
    transition: all 0.5s ease;
  }
  .destkop{
    display:none;
    transition: all 0.5s ease;
  }

  header{
    /*height: 30px;*/
    padding:15px 10px; 
  }

  header h1{
    padding-top: 5px;
  }

  .infos-window-inner, .credits-window-inner{
    width: 100%;
    overflow: scroll;
    position: absolute; 
    top: 0;
    left: 0;
    transform: none; 
    height: 100vh; 
  }

  .panel-body{
    width: 100%;
    top: 0;
    left: 0;
    transform: none;
    overflow: scroll;
    height: 100vh; 
    min-width: 100%;
  }


}



