* {
    box-sizing: border-box;
}

#main-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

#sct-foot-i {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding-bottom: 0vh;
}

.flex-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
}

#button-row {
    flex-direction: row;
    padding: 2%;
}

.flex-column {
    flex-grow: 1;
}

#centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
#column-center,
#column-center-signup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5vh;
    align-items: center;
}
#column-center-signup {
    gap: 0.2vh;
}

#main-title,
#main-title-2 {
    width: auto;      
    max-width: 50vh;     
    height: auto;
    align-self: center;  

}
#main-title-2 {
    transition: transform 0.2s;
}
#main-title-2:hover {
	transform: scale(1.05);
}

#sct-foot {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding-bottom: 2.5vh;
}

.container {
    margin: 0 auto;
}

#cnt-foot {
    padding: 10px;
}

#font-foot {
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    color: #222;
    font-size: 2vh;
    justify-content: center;
    display: flex;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 30vh;
    border-radius: 2vh;
    background-color: #222;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    height: 9vh;
    font-size: 3.6vh;
    border: none;
    margin-bottom: 1vh;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.button-link:hover {
    background-color: #444;
    transform: scale(1.05);
}

/* ——————  ÉTAT DÉSACTIVÉ  —————— */
.button-link.disabled {
    background: repeating-linear-gradient(
        45deg,
        #999,
        #999 10px,
        #888 10px,
        #888 20px
    ); 
    color: #eee;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none; 
    position: relative;
}

.button-link.disabled .soon {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.3em; 
    text-transform: uppercase;
    padding: 0.3em 0.6em;
    border-radius: 0.5em;
    margin-left: 0.4em;
    position: absolute;
    top: 1vh;
    left: 1vh;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 2.5vh;
    align-items: center;
}

#login {
    width: 25vh;
    height: 7vh;
    font-size: 3vh;
    margin-top: 1vh;
}

.input-field {
    width: 30vh;
    height: 6vh;
    font-size: 2.5vh;
    padding: 0 1vh;
    border: 1px solid #ccc;
    border-radius: 1vh;
    font-family: Verdana, Geneva, sans-serif;
}

#copyright-phone {
	display: none;
}

/* from square to 8/13 aspect ratio */
@media (max-aspect-ratio: 1/1) and (min-aspect-ratio: 8/13) {
    #button-row {
        flex: 0 0 auto;
    }

    #font-foot {
        gap: 3vw;
    }

    #main-title,
    #main-title-2 {
        width: 50vw; 
        height: auto;
    }

    #column-center {
        gap: 2.5vw;
    }

    #login-form {
        gap: 2.5vw;
    }

    #login {
        width: 25vw;
        height: 7vw;
        font-size: 3vw;
        margin-top: 1vw;
    }

    .button-link {
        width: 30vw;
        height: 9vw;
        font-size: 3.6vw;
        margin-bottom: 1vw;
        border-radius: 2vw;
    }

    .input-field {
        width: 30vw;
        height: 6vw;
        font-size: 2.5vw;
        padding: 0 1vw;
        border-radius: 1vw;
    }
}

/* after 8/13 aspect ratio */
@media (max-aspect-ratio: 8/13) {
    #button-row {
        flex-direction: column;
        gap: 4vw;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 10%;
        margin-left: 0px;
    }

    #main-title,
    #main-title-2 {
        width: 70vw;
        height: auto;
    }

    #column-center {
        gap: 7vw;
    }

    #font-foot {
		font-size: 4vw;
	}

    #login-form {
        gap: 6vw;
    }

    #login {
        width: 45vw;
        height: 12vw;
        font-size: 5vw;
        margin-top: 1vw;
    }

    .button-link {
        width: 50vw;
        height: 15vw;
        font-size: 6vw;
        margin-bottom: 1vw;
        border-radius: 3vw;
    }

    .input-field {
        width: 50vw;
        height: 10vw;
        font-size: 4vw;
        padding: 0 1vw;
        border-radius: 1.5vw;
    }
    #copyright {
		display: none;
	}
	#copyright-phone {
		display: flex;
	}
}