*{
    scroll-behavior: smooth ; 
}

header {
    background: url("pictures/bg1.jpg");
    background-position: center;
    background-size: cover;
    min-height: 1000px;
    transition: background-image 3s;
}

.bg2 {
    background-image: url("pictures/bg2.jpg");
}

@media screen and (max-width:650px){
    header{
        min-height: 500px;
        
    }
}

nav{
    position: fixed;
    z-index: 9999;
}

section{
    padding-bottom: 4vw;
    padding-top: 4vw;
}
body.dark {
    background-color: #222;
    color: #fff;
}

body.light {
    background-color: #bec3c4;
    color: #222;
}

table {
  border-collapse: collapse;
  margin-bottom: 20px;
  width: 100%;
}
th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
th {
  background-color: #222;
  color: #fff;
  font-weight: bold;
}
.media-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.media-item {
margin: 20px;
}
video {
width: 400px;
height: 300px;
}
body {
    background-color: #fff;
    color: #333;
    transition: background-color 0.5s, color 0.5s;
}

body.night-mode {
    background-color: #333;
    color: #989595;
}

.frame {
    background-color: #f5f5f5;
    border-radius: 10px; /* Bordure arrondie diminuée pour obtenir un rectangle */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    height: 600px; /* Taille augmentée pour un grand paragraphe */
    margin: 50px auto;
    position: relative;
    width: 500px; /* Largeur augmentée pour un rectangle */
    overflow: hidden;
}
.frame:before {
    content: '';
    background-color: #fff;
    border-radius: 50%;
    height: 200%;
    left: -50%;
    position: absolute;
    top: -50%;
    transform: rotate(45deg);
    width: 200%;
    z-index: -1;
}
.frame p {
    font-size: 24px;
    line-height: 1.5;
    margin: 50px;
    text-align: justify; /* Justifier le texte pour une meilleure lisibilité */
    position: relative;
    z-index: 1;
}

.night-mode .frame {
    background-color: #222;
}

.night-mode .frame:before {
    background-color: #333;
}

.night-mode .frame p {
    color: #fff;
}

.toggle-mode {
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 30px;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    padding:  5px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
}

.night-mode .toggle-mode {
    background-color: #333;
    color: #fff;
}

td{
    font-weight: bold;
}

footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  
  .contact-artist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-list li:not(:last-child),
  .artist-list li:not(:last-child) {
    margin-right: 10px;
  }
  
  .footer-separator {
    height: 1px;
    background-color: #fff;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  .footer-text {
    text-align: center;
    font-size: 14px;
  }
  
  .footer-text::before,
  .footer-text::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 1px;
    background-color: #fff;
    margin: 0 10px;
  }
  
  .footer-text span {
    display: inline-block;
    vertical-align: middle;
  }
  
  .footer-text a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .footer-text a:hover {
    text-decoration: underline;
  }
  



li a {
    vertical-align: middle;
}
  
li a:last-child {
    margin-left: 10px;
}



.story_bord{
    box-shadow: 0 0 30px rgba(0, 150, 136, 0.5); 
    padding: 20px; 
    background-color: #1f1f1f; 
    color: white;
    box-shadow:3em;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-right: 3em; 
    margin-left: 3em;
    font-weight: bold;
    font-size: 1.3em;
}


