@import url("front.css");

body{
    background-image: url('../Images/front/Maquette_mob.png');
    background-size: cover;
    background-position: center;
}

/* Mobile First */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero {
    display: flex;
    justify-content: flex-end;
    width: 80%;
}

.hero-content {
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 150px 20px;
    height: auto;
    padding: 2rem;        /* ← manquait */
    white-space: normal; 
    word-break: break-word;
}
.form-control{
    max-width: auto;
}
#subscriber_email{
    border-radius: 5px 0 0 5px;
}
#subscriber_submit{
    border-radius: 0 5px 5px 0;
    border-color: #E3DD84;
    background-color: #E3DD84;
    font-family: "Krona One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;

}
#subscriber_submit::hover{
    border-color: #b6b16a;
    background-color: #E3DD84;
}
/* TAB */
@media screen and (width >= 768px){
    body{
        background-image: url('../Images/front/FrontHomeBackground.png');  
    }
    .hero-content {
        margin: 150px 50px;
    }
}

/* DESK */
@media screen and (width >= 992px){
    .hero-content {
        margin: 150px 80px;
    }
}