/* ===== CENTER WHEN THE MAX-WIDTH OF HOME_SECTION IS REACHED ===== */
.center_home {
    min-width: 960px;
}

.center_home>div {
    margin-left: auto;
    margin-right: auto;
}

#comfort_notice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: auto;
    font-size: 17px;
    text-align: center;
    max-width: 620px;
    margin-bottom: 60px;
}

.ground_message_phone {
    display: flex;
    justify-content: center;
}

/* ===== POSITION HOME_SECTION AND ITS CHILDREN +
            SPECIFIC HEIGHT BEFORE "LOCATION" SECTION ===== */
.home_section {
    margin-top: -99px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100vh;
    max-width: 2000px;
    min-height: 910px;
}

/* ===== STYLING OF HOME_MESSAGE ===== */
#home_message {
    margin-top: 10%;
    animation: inandout 10s infinite, floating 10s infinite;
}

#small_home {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 300;
}

#big_home {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    font-weight: 500;
}

/* ===== STYLING OF OFFICE_NUMBER ===== */
.home_call_office {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 60%;
    width: 100%;
}

#phone_number {
    padding-left: 10px;
}

#phone_number>a {
    text-decoration: none;
    font-size: 25px;
    color: rgb(30, 30, 30);
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
}

#phone_number:hover {
    text-decoration: underline;
}

#home_phone {
    padding: 15px;
    padding-bottom: 12px;
    background: rgba(0, 153, 51, 0.9);
    border-radius: 50%;
    filter: brightness(100%);
    transition: filter 0.5s;
    animation: inandout 10s infinite;
}

#home_phone>img {
    height: 19px;
    filter: invert(100%);
}

#home_phone:hover {
    filter: brightness(130%);
    transition: filter 0.5s;
}

/* ===== HOME_ADRESS ===== */
.home_adress {
    padding-top: 2%;
    text-align: center;
    padding-left: 3%;
}

.home_adress>a {
    text-decoration: none;
    font-size: 20px;
    color: rgb(30, 30, 30);
    font-family: 'Oswald', sans-serif;
}

.home_adress>a:hover {
    text-decoration: underline;
}

/* ===== STYLING OF HOME_IMAGE ===== */


#image_office img {
    position: relative;
    margin-top: 0;
    height: 700px;
    border-radius: 120px;
    opacity: 0.8;
    transition: opacity 0.5s;
}

#image_office img:hover {
    opacity: 0.9;
    transition: opacity 0.5s;
}

/* ===== ANIMATION "FADE IN AND OUT" OF HOME_MESSAGE ===== */
@keyframes inandout {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }

    75% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* ===== ANIMATION "FLOATING" OF HOME_MESSAGE ===== */
@keyframes floating {
    0% {
        transform: translate(0%, 0%);
    }

    50% {
        transform: translate(0%, 10%);
    }

    100% {
        transform: translate(0%, 0%);
    }
}