header {
    min-height: 100vh;
    box-shadow: 0 4px 4px rgba(var(--theme-color-text), 0.25);
}

#header_home {
    min-height: 500px;
    height: 84vh;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header_home .container {
    padding: 4vw 0;
    display: flex;
    justify-content: space-between;
    align-items:start;
    height:fit-content;
}

#message_show {
    position: relative;
    bottom: 0;
    right: 0;
}

#main_info {
    
    background-color: rgba(var(--theme-color), 0.6);
    box-shadow: 0 0 4px rgba(226, 226, 226, 0.5);
    width: 45%;
    padding: 30px;
    padding-bottom: 50px;
    height: 35vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#title_main_info h2{
    text-transform: uppercase;
}

#main_info hr {
    border: 0;
    border-top: 2px solid rgb(var(--light-color));
    margin-top: 10px;
    opacity: 75%;
    width: 90%;
    margin: 10px auto 40px auto;
}

#main_info p {
    padding: 20px;
    line-height: 1.5;
    font-family: "Roboto", sans-serif;
    font-size:1.2rem;
}

.button_header {
    margin-top: 15px;
    width: fit-content;
    padding: 10px 15px;
    background-color: rgba(var(--light-color), 0.75);
    box-shadow: 0 0px 8px rgba(var(--theme-color), 0.75);
    cursor: pointer;

}

.button_header:hover {
    color: rgb(var(--theme-color));
}

#read_more,
#send_feedback {
    min-width:41%;
    margin-left: 10%;

}

#ask {
    width: fit-content;
    margin-top: 40px;
    float: right;
}

#right_home {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    height: 35vw;
}
#main_buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#interested_more {
    width: 100%;
    background-color: rgba(var(--theme-color), 0.6);
    box-shadow: 0 0 4px rgba(226, 226, 226, 0.5);
    padding: 25px;
    overflow: hidden;
    margin-top: auto; 
}

/* *****News***********Statut******* */
#news_statut_wrap {
    margin-top: 6vw;
    display: flex;
    justify-content: space-between;
    max-height:32.5vw;
    width:100%;
}

#news_home {
     width: 45%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 10px;
    justify-content: space-between;

}

.new_home {
    max-width: 70%;
    width: 70%;
    padding: 30px;
    border: 2px solid rgba(var(--theme-color), 0.8);
    background-color: rgba(var(--light-color), 0.8);
    max-height: 25vh;
    overflow: hidden;
}
.new-home p{
    max-height:50%;
    overflow:hidden;
}
.new_home:hover {
    animation: changeNew 2s forwards;
    color: #fff;
}

@keyframes changeNew {
    from {
        background: rgba(var(--light-color), 0.6);
        /* Начальный градиентный фон */
        color: #000;
    }

    to {
        background: rgba(var(--dark-color), 0.9);
        /* Конечный градиентный фон */
        color: rgb(var(--theme-color));
    }
}

.new_home p {
    padding-left: 5px;
    margin-top: 20px;
}

a.new_home:nth-child(2) {
    margin-top: -10%;
    margin-left: 10%;
}

a.new_home:nth-child(3){
    margin-top: -10%;
    margin-left: 20%;
}

.more_button {
    width: fit-content;

}

#more_news {
    position: relative;
    margin-top: 30px;
    align-self: flex-end;
}

.more_button hr {
    border: 0;
    border-top: 1px solid rgb(var(--light-color));
}

#statut_home {
    width: 45%;
    background-color: rgba(226, 226, 226, 0.5);
    padding: 30px 30px 10px 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#statut_home h3 {
    font-size: 1.2rem;
    text-align: center;
    line-height: 2;
}
.statut_text{
    width:100%;
    height:73%;
    overflow: hidden;
}
#statut_home p {
    margin-top: 20px;
}

#more_statut {
    align-self: flex-end;
    justify-self: flex-end;
}

/* **************Expertise************ */
#expertise_home {
    margin-top: 6vw;
    width: 100%;
}

#expertise_home_items_wrap {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 3vw;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 50px;

}
.expertise_home_item h1,
.expertise_home_item h2,
.expertise_home_item h3,
.expertise_home_item h4,
.expertise_home_item h5{
    font-size:1.2rem;
}
.expertise_home_item p{
    margin-bottom:5px;
    text-align:center;
}
.expertise_home_item a{
    font-size:1.2rem;
    text-decoration:underline;
    display:block;
    margin-bottom:5px;
    text-align:center;
}

.expertise_home_item {
    min-width: 28vw;
    max-width: 28vw;
    max-height: 23vw;
    height: 23vw;
    margin: 0 3.5vw;
    background-color: rgba(var(--light-color), 0.5);
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 40px 20px;
    cursor: pointer;

    background-size: cover;
    background-repeat: no-repeat;

}

@keyframes changeColorToMilitary {
    from {
        background: rgba(var(--light-color), 0.5);
    }

    to {
        background: rgb(var(--dark-color));
    }
}

@keyframes slideInExpertise {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.expertise_home_item:hover {
    align-items: center;
    padding: 40px;
    animation: changeColorToMilitary 2s forwards;

}

.expertise_home_item:hover .expertise_wrap_hover {
    border: 1px solid rgb(var(--theme-color-text));
    padding: 20px;
    align-items: center;
    text-align:center;
    height: 100%;
    width: 100%;
    animation: slideInExpertise 1s forwards;
    color: rgb(var(--theme-color));
}

.expertise_home_item p {
    font-size: 1.2rem;
}

.expertise_home_item:first-child {
    margin-left: 0;
}

.expertise_home_item:last-child {
    margin-right: 0;
}

/* ********imaged div*********** */
#imaged_div_home {
    width: 100%;
    min-height: 30vw;
    height: fit-content;
    padding: 7vw 0;
    margin: 10vw 0;
    background-color: rgba(var(--dark-color), 1);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: rgb(var(--theme-color));
}

#imaged_div_home .container {

    height: fit-content;
}

#imaged_div_home h2 {
    margin-bottom: 40px;
}
#imaged_div_home ul li{
    margin-bottom:15px;
}
#imaged_div_home p {
    margin-top: 20px;
}





.hide{
    display:none;
}