@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html, body {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(100% 100% at 50% 10%, rgb(54, 39, 82) 0%, rgb(16, 16, 49) 70%);
    overflow-x: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    margin: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 0 10px rgba(17, 20, 45, 0.6),
        0 0 20px rgba(17, 20, 45, 0.4),
        0 0 30px rgba(23, 25, 50, 0.2),
        0 0 40px rgba(23, 25, 50, 0.1);
    padding:32px;
    transition: transform 0.25s ease; 
}

.account {
    margin: 16px;
    padding: 24px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 
        0 0 10px rgba(185, 141, 21, 0.6),
        0 0 20px rgba(185, 141, 21, 0.4),
        0 0 30px rgba(185, 141, 21, 0.2),
        0 0 40px rgba(185, 141, 21, 0.1);
}

.account p{
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: rgb(236, 222, 27);
    text-decoration: none;
    border-radius: 6px;
    font-family: "Nunito", Arial, sans-serif;
    transition: transform 0.25s ease; 
    min-width: 256px;
    text-align: center;
}

.notify-div {
    min-height: 128px;
    display: flex;             /* active Flexbox */
    justify-content: center;   /* centre horizontalement */
    align-items: center;       /* centre verticalement */
}

.notify {
    padding: 0;
    margin: 4px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Nunito", Arial, sans-serif;
    transition: transform 0.25s ease; 
    min-width: 256px;
    text-align: center;
}

.btn {
    padding: 12px 24px;
    font-size: 16px;
    background: rgb(173, 14, 14);
    box-shadow: 
        0 0 10px rgba(173, 14, 14, 0.6),
        0 0 20px rgba(173, 14, 14, 0.4),
        0 0 30px rgba(173, 14, 14, 0.2),
        0 0 40px rgba(173, 14, 14, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Nunito", Arial, sans-serif;
    transition: transform 0.25s ease; 
    min-width: 256px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin:8px;
}
  
.btn:hover {
    transform: scale(1.025);
}

.btn-register {
    padding: 12px 24px;
    font-size: 16px;
    background: rgb(185, 141, 21);
    box-shadow: 
        0 0 10px rgba(185, 141, 21, 0.6),
        0 0 20px rgba(185, 141, 21, 0.4),
        0 0 30px rgba(185, 141, 21, 0.2),
        0 0 40px rgba(185, 141, 21, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Nunito", Arial, sans-serif;
    transition: transform 0.25s ease; 
    min-width: 256px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin:8px;
}
  
.btn-register:hover {
    transform: scale(1.025);
}

.btn-connect {
    padding: 12px 24px;
    font-size: 18px;
    background: rgb(6, 102, 65);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Nunito", Arial, sans-serif;
    transition: transform 0.25s ease; 
    min-width: 256px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin:8px;

    box-shadow: 0 0 10px rgba(6, 102, 65, 0.6),
                0 0 20px rgba(6, 102, 65, 0.4),
                0 0 30px rgba(6, 102, 65, 0.2),
                0 0 40px rgba(6, 102, 65, 0.1);

    /* Animation de pulse */
    animation: pulseShadow 0.5s infinite alternate;
}

@keyframes pulseShadow {
    0% {
        box-shadow: 0 0 10px rgba(6, 102, 65, 0.6),
                    0 0 20px rgba(6, 102, 65, 0.4),
                    0 0 30px rgba(6, 102, 65, 0.2),
                    0 0 40px rgba(6, 102, 65, 0.1);
    }
    100% {
        box-shadow: 0 0 15px rgba(6, 102, 65, 0.8),
                    0 0 25px rgba(6, 102, 65, 0.6),
                    0 0 35px rgba(6, 102, 65, 0.4),
                    0 0 45px rgba(6, 102, 65, 0.2);
    }
}

.btn-connect:hover {
    transform: scale(1.025);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: none;
    justify-content: center;
    align-items: center;
}

.countdown-svg {
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 12;
}

.countdown-circle {
    fill: none;
    stroke: rgb(236, 222, 27);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 439.82;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    font-size: 28px;
    font-weight: bold;
    color: white;
    font-family: "Nunito", Arial, sans-serif;
}