@font-face {
  font-family: 'comic';
  src: url('../css/font/ComicRelief-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap; 
}
@font-face {
  font-family: 'comic';
  src: url('../css/font/ComicRelief-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

body {
    background-color: #a361bd;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.bloc{
    width: 800px;
    max-width: 100%;
    text-align: center;
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

img {
    max-width: 500px;
    height: auto;
}


p{
    font-family: 'comic',  sans-serif;
    font-weight: bold;
    color: #8e107d;
    font-size: 18px;
    margin-bottom: 10px;
}

a{
    font-family: 'comic', sans-serif;
    font-weight: normal;
    text-decoration: none;
    color: #8e107d;
    font-size: 18px;
    display: block;
    background-color: #f5bbf8 ;
    border: none;
    padding: 15px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

a:hover {
    background-color: #f48fb1;
    transform: scale(1.02);
}

a:active {
    transform: scale(0.98);
}



article {
  display: none;
  padding: 20px;
  min-height: 100%;
}

.visible {
  display: block;
}

.fin p {
    font-family: 'comic', sans-serif;
    font-weight: normal;

}
