@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/* variables.css */
:root {
    --theme-color: 255,255,255;
    --theme-color-text: 0,0,0;
    --light-color: 255, 215, 0;
    --dark-color: 29, 119, 145;
}



* {
    font-family: "Roboto", sans-serif;;
    font-size: 16px;
    margin: 0;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
}
img.emoji{
    float:left;
}
body{
    overflow-x: hidden;
    background-color: rgb(var(--theme-color));
}
main {
    min-height: 20vh;
}
.hide{
    display: none;
}
.container {
    width: 90%;
    margin: 0 auto;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-size: 1.4rem;
    text-align: center;
}

h1 {
    font-size: 1.7rem;
    text-align: center;
}
ul, ol{
    margin-left:20px;
}
.wp-block-separator{
    margin: 3vw;
}
.title_wrap{
    margin: 30px 0;
}
.title_wrap hr{
    border: none;
    height: 1px;
    background: linear-gradient(to right, rgba(var(--light-color)), rgba(255, 215, 0,0));
    margin-top: 3px;
}
.title {
    display: block;
    font-weight: 400;
    background-color: rgb(var(--dark-color));
    background-image: linear-gradient(45deg, rgb(var(--dark-color)),hsla(0, 0%, 100%, 0.1), rgb(var(--dark-color))); /* Градиент */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width:fit-content;
    text-transform: uppercase;
}

button {
    background-color: transparent;
    border: none;
}

button:hover,
a:hover {
    cursor: pointer;
}

header {
    padding-top: 16vh;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#header_main {
    height: 16vh;
    background-color: rgba(var(--theme-color), 0.9);
    box-shadow: 0 4px 4px rgba(134, 134, 134, 0.5);
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
}

#header_main_inner {
    height: 100%;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

#logo {
    display: inline-flex;
    justify-content: left;
    height: 100%;
    width: 40%;
    align-items: center;
}

#logo_header {
    height: 100%;
}

#vertical_line {
    height: 90%;
    width: 1.5px;
    background-color: rgb(var(--theme-color-text));
    margin: 0 15px;
}

#logo_title {
    font-family: "e-Ukraine Medium";
    text-transform: uppercase;
    line-height: 1.5;
}

#right_header {
    display: inline-flex;
    justify-content: right;
    height: fit-content;
    max-width: 90%;
    min-width: 60%;
    align-items: center;
    align-self: flex-end;
    padding-bottom: 1%;
}


#menu_header {
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    width: 60%;
    margin: 0 30px;


}

#menu_header a {
    font-size: 1.2rem;
}

.search_icon {
    background-image: url(../img/search_b.png);
    background-repeat: no-repeat;
    background-size: contain;
    height:40px;
    width:40px;
}

.search_icon_close {
    background-repeat: no-repeat;
    background-size: contain;
    height:40px;
    width:40px;
    background-image: url(../img/search_close.png);
}


#facebook_right {
    margin-right: 40px;
    
}

#facebook_right {
    background-image: url(../img/facebook_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    height:35px;
    width:35px;
    margin-bottom:5px;
    box-sizing:border-box;
}

.menu_icon_show {
    background-image: url(../img/menu.png);
    background-repeat: no-repeat;
    background-size: contain;
    height:30px;
    width:30px;
}
#main_menu .menu_icon_hide{
    display: none;
}
.menu_icon_hide {
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-size: contain;
    height:30px;
    width:30px;
}

/* ***search main**** */
@keyframes searchInBottom {
    from {
        opacity: 0;
        /* Начальная прозрачность */
        transform: translateY(-10%);
        /* Начальное положение - за пределами экрана справа */
    }

    to {
        opacity: 1;
        /* Конечная прозрачность */
        transform: translateY(0);
        /* Конечное положение - полностью видимый на экране */
    }
}

#search_form {
    background-color: rgba(var(--theme-color-text), 0.8);
    padding: 30px 0;
    justify-content: center;
    top: 100%;
    width: 100vw;
    height: 110px;
    animation: searchInBottom 1s ease forwards;
    /* display: flex; */
    display: none;
    position: absolute;

}

#search_form button,
#search_form input {
    height: 100%;
}

#search_form button {
    width: fit-content;
    padding: 3px 30px;
    background-color: rgba(var(--light-color));
    border-left: none;
}

#search_form button:hover {
    background-color: rgba(var(--light-color));
    color: rgb(var(--theme-color));
}

#search_form input {
    width: 60%;
    border: none;
    border-right: none;
    padding-left: 3%;
}

#search_form input:focus {
    border: 1px solid rgb(var(--light-color));
    border-right: none;
    outline: none;
}

#search_form input:focus+button {
    border: 1px solid rgb(var(--light-color));
    border-left: none;
}

/* ****************menu ***********************/

#main_menu {
    background-color: rgba(var(--light-color), 1);
    padding: 4vh 5vw;
    color:rgb(var(--theme-color-text));
    display: none;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: end;
    animation: searchInBottom 1s ease forwards;

}

.main_menu_item {
    display: block;
    max-width: 180px;
    min-width: 100px;
    width: fit-content;
    margin: 10px 1.5vw;
    cursor: pointer;
    position: relative;
}


.main_menu_item_list p {
    display: inline-flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

.main_menu_subitems {
    margin-left: 20px;
    margin-bottom: 35px;
    display: none;
}

.main_menu_subitem {
    margin-top: 20px;
}
.main_menu_item_list:hover .main_submenu{
    display: flex;
}
.main_menu_item_list:hover img{
    transform: rotate(180deg);
}
.main_submenu{
    position: absolute;
    background-color: rgba(var(--light-color));
    box-shadow: 0 0px 4px rgba(134, 134, 134, 0.5);
    padding: 20px 40px;
    padding-right: 50px;
    width: fit-content;
    flex-direction: column;
    left: -50%;
    top:100%;
    display: none;
}
.main_submenu p{
    width: fit-content;
    margin:10px 0;
}

/* ***********message show**************** */
        
#message_show {
    width: 75px;
    height: 75px;
    background-color: rgb(var(--dark-color));
    background-image: url(../img/message.svg);
    box-shadow: 0 0 10px rgba(var(--light-color), 0.6);
    background-size: 35%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    position: fixed;
    bottom: 3vw;
    right: 3vw;
    cursor: pointer;
    z-index: 1;
}

#message_menu a {
    display: block;
    margin: 10px 0px;
}

@keyframes fadeIn {
    from {
        right: 60%;
        top: 60%;
        opacity: 0;
    }

    to {
        right: 70%;
        top: 70%;
        opacity: 1;
    }
}

@keyframes fadeIn2 {
    from {
        right: 60%;
        bottom: 60%;
        opacity: 0;
    }

    to {
        right: 70%;
        bottom: 70%;
        opacity: 1;
    }
}

#message_menu {
    width: 300px;
    position: absolute;
    height: fit-content;
    background-color: rgba(var(--theme-color), 0.99);
    box-shadow: 0 0 4px rgba(var(--theme-color-text), 0.204);
    padding: 30px;
    z-index: 0;
    cursor: default;
    display: none;
}

.message_menu_first {
    right: 70%;
    top: 70%;
    animation: fadeIn2 1s forwards;
}


.message_menu_second {
    right: 70%;
    bottom: 70%;
    animation: fadeIn2 1s forwards;
}


/* *********login*********** */
#btn_login{
    z-index: 1;
    padding: 20px 20px;
    height: fit-content;
    color:rgb(var(--theme-color));
    font-weight: 700;
    background: linear-gradient(to right, rgb(var(--light-color)),20%,rgb(var(--dark-color)));
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(var(--light-color), 0.6);

}
.btn_login_index{
    margin-top: 8vh;
    position: static;
}
.btn_login_common{
    position:fixed;
    bottom: 3vw;
    left: 3vw;
}

/* *****footer********** */
footer {
    height: 30vw;
    background-color: #e9e9e9;
    margin-top: 9vw;
    width: 100%;
    padding-bottom: 20px;
}

#top_footer_wrap {
    display: flex;
    width: fit-content;
    justify-content: space-between;
    align-items: center;
}

#top_footer_wrap img {
    height: 10vw;
}

#footer_contacts h3 {
    font-size: 1.1rem;
}

#footer_contacts a {
    display: block;
    width: fit-content;
    margin-top: 15px;
    margin-left: 20px;
}

.footer_soc_net {
    background-repeat: no-repeat;
    background-size: 30px;
    min-height: 30px;
    padding-left: 35px;
    align-content: center;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}

#footer_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-height: 15vw;
    height: fit-content;
    width: 50%;
    align-items: center;
    align-self: center;
}

#footer_menu .footer_menu_item {
    width: 30%;
    max-width: 30%;
    margin: 10px 40px;
    cursor: pointer;
}

#footer_menu .footer_menu_item hr {
    margin-top: 5px;
}
#footer_bottom{
    margin-top: 20px;
}
#footer_bottom p {
    margin-top: 20px;
    text-align: center;
}