h1,
h3,
p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #384454;
}

body {
    background-color: #D4D3DC;
    text-align: center;
}

a {
    color: #317AC1;
    font-weight: bold;
}

a:hover {
    color: #E1A624;
    text-decoration: none;
}

h1 {
    border-bottom: #E1A624 dashed 5px;
    padding: 10px;
    font-size: 3em;
}

#linkbox {
    border: #384454 solid 3px;
    border-radius: 20px;
    width: 400px;
    height: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

#linkbox2 {
    border: #384454 solid 3px;
    border-radius: 20px;
    width: 400px;
    height: 200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

#linkbox3 {
    border: #384454 solid 3px;
    border-radius: 20px;
    width: 400px;
    height: 67px;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.two {
    border-radius: 15px 15px 15px 15px;
    order: solid #384454 1px;
    color: #384454;
}

#imagediv {
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
}

img {
    height: 100px;
}

button {
    height: 75px;
    background: #E1A624;
    border: solid #384454 1px;
    color: #384454;
    font-weight: bold;
    transition: background-color 150ms ease, transform 120ms ease, box-shadow 120ms ease;
    position: relative;
    overflow: hidden;
}

.haut {
    border-radius: 15px 15px 0 0;
    border: solid #384454 1px;
    color: #384454;
}

.bas {
    border-radius: 0 0 15px 15px;
    border: solid #384454 1px;
    color: #384454;
}

button:hover {
    background-color: #d79e21;
    border: dotted #384454 2px;
}

/* couleur plus foncée et animation à l'appui */
button:active {
    background-color: #c88f1f;
    /* jaune un peu plus foncé */
    transform: translateY(2px) scale(0.995);
    box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.15);
    animation: button-press 200ms ease;
}

/* animation pour l'effet d'appui (inset shadow progressif) */
@keyframes button-press {
    0% {
        box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.15);
    }
}

/* amélioration de l'accessibilité au clavier */
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 122, 193, 0.15);
}