body {
    color: #333;
    background-color: #fff;
}

.header,
.footer {
    background-color: #007bff;
    /* Bleu */
    color: #fff;
}

.home_bloc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 5%;
    width: 90%;
}

.home_bloc_left {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home_bloc_right {
    width: 30%;
    vertical-align: middle; 
}
.bloc_home_img{
    width: 100%;
    max-width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 14px 6px rgb(115 115 115 / 24%);
}
.bloc_home_img{
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-5px);
    }

    100% {
        transform: translatey(0px);
    }
}
.form_home{
    width: 100%;
    margin-top: 20px;
}

.form_home_input_container{
    display: flex;
    flex-direction: row;
    justify-content : space-between;
    align-items: center;
    width: 100%;
}
#home_email_input{
    width: 70%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid gray;
    padding-left: 10px;
}
#home_email_input:focus{
    outline: none;
}

input[type=submit] {
    background-color: #1b934e;
    /* Orange */
    border: none;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 10px;
    width: 25%;
}


.hp_top{
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/img/top_img_resto.jpg');
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.hp_top h1 {
    font-size: 5rem;
    color: #fff;
    margin: 20px 0;
}
.second_hp{
    margin: 10% auto!important;
}
.btn_decouvrir{
    background-color: #27AE60;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
}
.btn_decouvrir:hover{
    background-color: #1b934e;
}
.icone_title{
    width: 50px;
    height: 50px;
    display: block;
    margin-right: 20px;
}
.second_hp h2{
    display: flex;
    align-items: center;
    
}

.newsletter_bloc{
    background-color: #27AE60;
    color: #fff;
    padding: 5% 0!important;
    margin: 50px auto;
}
.newsletter_bloc h2{
    color: #fff;
    margin: 20px auto;
}
.newsletter_bloc p{
    color: #fff;
    margin-bottom: 40px;
}
.newsletter_bloc input{
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 10px 20px;
    width: 70%;
    outline: none;
}
.newsletter_bloc button{
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 10px 20px;
    background-color: #fff;
    color: #27AE60;
}
.newsletter_bloc button:hover{
    background-color: #1b934e;
}
.hp_top_title{
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    opacity: 0.7;
}
.hp_top_logo{
    width: 200px; 
    height: 200px;
    opacity: 0.7;
}
.hp_top_paragraphe{
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.7;
    text-align: center;
}



@media screen and (max-width: 768px) {
    .home_bloc {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 5%;
        width: 90%;
    }

    .home_bloc_left {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 5% 0%;
    }

    .home_bloc_right {
        display: none;
    }
    .form_home{
        width: 100%;
        margin-top: 20px;
    }
    
    .form_home_input_container{
        display: flex;
        flex-direction: column;
        justify-content : space-between;
        align-items: center;
        width: 100%;
        row-gap: 20px;
    }
    #home_email_input{
        width: 100%;
        height: 50px;
        border-radius: 10px;
        border: 1px solid gray;
        padding-left: 10px;
    }
    #home_email_input:focus{
        outline: none;
    }
   
    input[type=submit] {
        background-color: #27AE60;
        /* Orange */
        border: none;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 10px;
        width: 100%;
    }
}
