@font-face {
    font-family: 'Lucida Sans';
    src: local('Lucida Sans'), url('Lucida Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Impact';
    src: local('Impact'), url('impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }


body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    
}

h1{
    margin: 0px 20px;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

.menu-button, nav .popup-button {
    width: 50px;
    min-width: 50px;
    height: 50px;
    background-color: #555;
    color: #fff;
    
}

nav .popup-button {
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.menu-button {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10%;
}

.menu-button:hover, nav .popup-button:hover {
    background-color: #444;
}

main {
    flex: 1;
}

footer {
    box-shadow: 0px -2px 5px #00000022;
    padding: 10px 5px;
    display: flex;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    overflow-x: auto;
}

footer > div {
    margin: auto;
}

footer > div:only-child {
    margin-right: 15%;
    margin-left: auto;
}

footer .popup-button, footer .action-button {
    border: none;
    border-radius: 10px;
    min-width: 50px;
    min-height: 50px;
    margin: 0 5px;
    cursor: pointer;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    position: relative;
    display: flex;
    align-items: center;
}

#chatButton img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#chatButton div {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}

.popupBackground {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #ffffff80;
    flex-direction: column;
    align-items: center;
    justify-content: start;

}

.popupActif {
    display: flex !important;
}

.popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    max-height: calc(100vh - 90px);
    padding: 0 20px;
    margin: 80px 10px 0 10px;
    overflow-y: auto;
    text-align: justify;
    color: white;
    font-size: 18px;
    background-color: #333;
    border-radius: 30px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.popup h2 {
    text-align: center;
}

.popup p a {
    color:#cdd8ff;
}

#popupChat, #popupSondage {
    width: 100%;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.buttonInPopup {
    border: none;
    padding: 10px;
    margin: 20px;
    background-color: #555;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}


/* pour le footer d'autres pages que le calendrier */


.resetButton {
    transform: translate(-23px, 0);
    margin-right: -20px;
}

#boutonSondage {
    width: 64px;
}

#boutonSondage img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#boutonSondage div {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.censored {
    text-decoration: line-through;
  }