body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #e0e5ec;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Padding global pour éviter les débordements */
    box-sizing: border-box;
}

h1 {
    font-weight: 700;
    color: #4a5668;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Réduit l'espacement des lettres */
    margin: 0;
    padding: 20px 15px; /* Plus de padding pour sécurité */
    width: 100%; /* Prend toute la largeur du container */
    max-width: calc(100vw - 30px); /* 15px de chaque côté */
    box-sizing: border-box;
    text-align: center;
    overflow: hidden; /* Cache le débordement */
}

.card {
    background-color: #e0e5ec;
    border-radius: 20px;
    padding: 40px;
  	margin: 10dvw;
    box-shadow: 9px 9px 16px #a3b1c6, -9px -9px 16px #ffffff;
    max-width: 500px;
    width: 80%;
}

h2 {
    font-size: 1.8rem;
    color: #4a5668;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: #5a677b;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e5ec;
    box-shadow: 7px 7px 14px #a3b1c6, -7px -7px 14px #ffffff;
    color: #4a5668;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    box-shadow: inset 7px 7px 14px #a3b1c6, inset -7px -7px 14px #ffffff;
    color: #337ab7;
}

.social-icon:active {
    box-shadow: inset 9px 9px 16px #a3b1c6, inset -9px -9px 16px #ffffff;
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 30px;
        width: 90%;
    }

    /* Enlever le font-size fixe pour laisser le JS gérer le redimensionnement */
    /* h1 {
        font-size: 10vw;
    } */

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
