@font-face {
  font-family: nunito;
  src: url(fonts/NUNITO-SANS/NunitoSans-Light.ttf);
  font-weight: bold;
}

@font-face {
  font-family: nunito-bold;
  src: url(fonts/NUNITO-SANS/NunitoSans-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: 1797;
  src: url(fonts/1797/1797-ITALIC.otf);
  font-weight: bold;
}

* {
    font-family: nunito;
    color: #0F0E0E;
}

body {
    margin: 20px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2em;   
    padding: 2em;
}

footer {
    padding: 2em;   
}

ul li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

a.link {
    font-style: italic;
    text-decoration: underline;
}

a.link:hover {
    color: #FF0BFF;
}

header {
    display: flex;
    flex-direction: column;
}

table {
    margin : 0em;
}

table caption {
    text-align: left;
    font-weight: bold;
}

table *> td {
    padding: 1em 1em 1em 0;
}

span.list-item {
    font-size: 1.5em;
}

#banner {
    display: flex;
    flex-direction: row;
    padding-bottom: 1em;
    border-bottom: 1px solid #FF0BFF;
    gap: 1em;
}

#footer {
    border-top: 1px solid #FF0BFF;
    padding: 1em 0;
}

#banner *> #logo {
    width: 100px;
    height: auto;
    margin-left: -10px;
    float: left;
}

#banner *> hgroup {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#banner *> h1 {
    margin: 0;
    font-size: 3em;
}

#menu {
    display: flex;
    flex-direction: row;
    gap: 1em;
    border-bottom: 1px solid #0F0E0E;
}

#logo-menu {
    display: none;
}

#menu.float {
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 0;
    left: 0;
    padding-left: 1em;
    background-color: white;
    box-shadow: 0px 5px 15px #0F0E0E;
    border-bottom: 0px;
}

#menu.float > #logo-menu {
    display: inline-block;
    width: 70px;
}

#menu nav ul {
    height: 100%;
    margin-top: 1em;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#menu nav ul li {
    margin-right: 1em;
}

#menu nav ul li a {
  text-overflow: ellipsis;
    white-space: nowrap;
}

#menu nav ul li a:hover {
    color: #FF0BFF;
}

article.page {
    margin-bottom: 3em;
}

article.page > section {
    margin-bottom: 3em;
}

h2.article-title {
    border-bottom: 1px dotted #FF0BFF;
    font-family: nunito-bold;
}

article.page > section > h3 {
    border-bottom: 1px dotted #0F0E0E;
}

#address {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

ul.section-list {
    padding: 0em;
}

ul.section-list li{
    margin: 0em 0em 1em 0em;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

img#affiche {
    width: 100%;
    max-width: 600px;
}

@media screen and (max-device-width: 600px) {
    /* Styles for devices with a maximum width of 600 pixels */
    
    #banner *> h1 {
        margin: 0;
        font-size: 2em;
    }

    #address {
        flex-direction: column;
    }
    
    #menu.float {
        padding-bottom: 1em;
    }
}
