/* styles.css - Version austère et minimaliste */

/* Réinitialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de page sobre */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Bannière */
#banner {
    padding: 20px;
    text-align: center;
}

#banner h1 {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
}

/* Masquer l’élément "heart" pour un rendu austère */
.heart {
    display: none;
}

/* Grille de contenus sobre */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 800px;
    margin-bottom: 40px;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Bloc logo épuré */
.logo-block {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    text-align: center;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.logo-block:hover {
    background-color: #f0f0f0;
}

/* Image du logo */
.logo {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

/* Liste de liens austère */
.link-list {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    z-index: 10;
    display: none;
}

.link-list.show {
    display: block;
}

.link-list ul {
    list-style: none;
}

.link-list li {
    margin: 8px 0;
    text-align: left;
}

.link-list a {
    text-decoration: none;
    font-weight: normal;
    color: #000;
}

/* Réactivité */
@media (max-width: 768px) {
    .grid-container {
        width: 100%;
        gap: 15px;
    }
    .logo {
        max-width: 120px;
    }
    #banner h1 {
        font-size: 1.5rem;
    }
}


.wrapper {
    display: flex;
    justify-content: center;
    align-content: space-between;
    width: 100%;
    margin-bottom: 40px;
}

.wrapper a + a{
    margin-left: 30px;
}

button{
    width:200px;
    height:70px;
    background: linear-gradient(to left top, #c32c71 50%, #b33771 50%);
    border-style: none;
    color:#fff;
    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0px 1px 2px rgba(0,0,0,.2);
    text-align: center;
}

button span{
    position: absolute;
    display: block;
}

button span:nth-child(1){
    height: 3px;
    width:200px;
    top:0px;
    left:-200px;
    background: linear-gradient(to right, rgba(0,0,0,0), #f6e58d);
    animation: span1 2s linear infinite;
    animation-delay: 1s;
}
@keyframes span1 {
    0% { left:-200px; }
    100% { left:200px; }
}

button span:nth-child(2){
    height: 70px;
    width: 3px;
    top:-70px;
    right:0px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #f6e58d);
    animation: span2 2s linear infinite;
    animation-delay: 2s;
}
@keyframes span2 {
    0% { top:-70px; }
    100% { top:70px; }
}

button span:nth-child(3){
    height:3px;
    width:200px;
    right:-200px;
    bottom: 0px;
    background: linear-gradient(to left, rgba(0,0,0,0), #f6e58d);
    animation: span3 2s linear infinite;
    animation-delay: 3s;
}
@keyframes span3 {
    0% { right:-200px; }
    100% { right:200px; }
}

button span:nth-child(4){
    height:70px;
    width:3px;
    bottom:-70px;
    left:0px;
    background: linear-gradient(to top, rgba(0,0,0,0), #f6e58d);
    animation: span4 2s linear infinite;
    animation-delay: 4s;
}
@keyframes span4 {
    0% { bottom: -70px; }
    100% { bottom:70px; }
}

button:hover{
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 0px 3px 5px rgba(0,0,0,.4);
}
button:hover span{
    animation-play-state: paused;
}
