#kn-modal h2, #kn-modal h3, #kn-modal p {
    font-family: "Mukta", sans-serif;
}

#kn-modal h2 {
    margin-bottom: 0px;
}

#kn-modal {
    width: 700px;
    height: auto;
    max-height: 90%;
    padding: 30px 50px;
    background: #FFFFFF;
    z-index: 9999;
    display: none; /* Important pour que la modale ne s'affiche pas au chargement */
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    visibility: hidden;
    opacity: 0;
    transform: translate(0px, 150px);
    overflow: auto;
}

#kn-modal p:first-of-type {
    margin: 20px 30px;
    text-align: center;
}

#kn-modal.active {
    transition: 0.6s;
    visibility: visible;
    opacity: 1;
    transform: translate(0px, 0px);
}

#kn-modal .modale-link-button {
    display: block;
    text-align: center;
}

#kn-modal .wp-image-388 {
    margin-top: 15px;
}

#kn-modal-wrapper {
    background-color: #00000090;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

#kn-modal-wrapper.blur {
    backdrop-filter: blur(7px);
    animation: modalFadeIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#kn-modal #close-modal-button {
    font-size: 15px;
    line-height: 14px;
    padding: 17px 0px;
    border-radius: 4px;
    min-height: inherit;
    font-family: "Mukta", sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    width: auto;
    outline: none;
    float: right;
    border: none;
    background: #50a0f0;
    color: #fff;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    transition: All 0.4s ease-in-out;
    -webkit-transition: All 0.4s ease-in-out;
    -moz-transition: All 0.4s ease-in-out;
    -o-transition: All 0.4s ease-in-out;
    -ms-transition: All 0.4s ease-in-out;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#kn-modal #close-modal-button:hover {
    background: #141c2d;
}

#kn-modal #close-icon {
    position: absolute;
    width: 25px;
    height: 25px;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

#kn-modal .lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90vw;
  }
  
  #kn-modal .line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    overflow: hidden;
  }
  
  #kn-modal .line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
    animation: drop 4s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
  }
  
  @keyframes drop {
    0% {
      top: -50%;
    }
    100% {
      top: 110%;
    }
  }
  