body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.background-image-header {
    background: url("../images/picture-backgrounds.jpg") center no-repeat;
    background-size: cover;
}

/* MAIN CONTAINER */
.container-header {
    display: flex;
    justify-content: space-between;
    height: 152px;
    padding-left: 145px;
    background-color: rgb(0,0,0, 0.7);
}

/* LOGO */
.container-header-logo {
    height: 100%;
    width: 408px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-right: 1px gray solid;
    border-left: 1px gray solid;

    cursor: pointer;
}

/* UPPER HEADER NAVIGATION */
.container-header-right {
    display: flex;
}

.container-header-navigation {
    padding-top: 18px;
}

.container-header-upper {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    margin-bottom: 18px;
}

.header-mark-city {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 5px;
    cursor: pointer;
}

.header-city {
    margin-right: 45px;

    align-self: center;
    color: #c8b17a;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: bold;

    border-bottom: 1px #c8b17a solid;
    padding-bottom: 3px;

    cursor: pointer;
}

.header-upper-number-phone {
    margin-right: 40px;

    color: white;
    font-family: sans-serif;
    font-size: 19px;

    transition: 0.3s ease;

    cursor: pointer;
}

.header-upper-number-phone:hover {
    transition: 0.3s ease;
    color: #c8b17a;
}

/* MODAL WINDOW CHANGE CITY */
.container-header-popup-change-city {
    display: grid;
    width: 240px;
    height: 0;

    position: absolute;
    right: 310px;
    top: 55px;

    overflow: hidden;
    background-color: white;

    transition: height 300ms ease;
}

.show-modal-window-change-city {
    height: 180px;
    transition: height 300ms ease;
}

.wrapper-header-popup {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.popup-header-city {
    display: flex;
    margin-bottom: 10px;
    width: fit-content;

    color: black;
    font-weight: bolder;
    font-size: 20px;
    font-family: sans-serif;
}

/* MOSCOW */
.container-header-popup-moscow-city {
    display: flex;
    width: fit-content;
    cursor: pointer;
    margin-bottom: 10px;
}

.popup-icon-moscow {
    margin-right: 10px;
}

.popup-header-moscow {
    align-self: center;

    font-family: sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #000;
    text-decoration: none;
    color: black;

    transition: border-bottom-color 0.3s, color 0.3s;
}

.container-header-popup-moscow-city:hover .popup-header-moscow {
    border-bottom-color: #c8b17a;
    color: #c8b17a;
    transition: border-bottom-color 0.3s, color 0.3s;
}

/* SAINT PETERSBURG */
.container-header-popup-saint-petersburg {
    display: flex;
    width: fit-content;
    cursor: pointer;
}

.popup-icon-saint-petersburg {
    margin-right: 10px;
}

.popup-header-saint-petersburg {
    align-self: center;

    font-family: sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #000;

    transition: border-bottom-color 0.3s, color 0.3s;
}

.container-header-popup-saint-petersburg:hover .popup-header-saint-petersburg {
    border-bottom-color: #c8b17a;
    color: #c8b17a;
    transition: border-bottom-color 0.3s, color 0.3s;
}

/* DOWN HEADER NAVIGATION */
.header-nav-text {
    display: inline-block;
    margin-right: 40px;

    color: white;
    font-size: 18px;
    font-family: sans-serif;

    transition: 0.3s ease;

    cursor: pointer;
}

.header-nav-text:hover {
    color: #c8b17a;
    transition: 0.3s ease;
}

.down-number-phone {
    display: inline-block;
    margin-right: 40px;

    color: white;
    font-size: 28px;
    font-family: sans-serif;

    transition: 0.3s ease;

    cursor: pointer;
}

.down-number-phone:hover {
    transition: 0.3s ease;
    color: #c8b17a;
}

.hover-phone {
    transition: 0.3s ease;
    color: #c8b17a;
}

/* HAMBURGER MENU */
.container-header-hamburger {
    display: flex;
    justify-content: center;
    align-items: center;

    border-left: 1px gray solid;
    height: 152px;
    width: 145px;
}

/* MENU */
.container-header-menu {
    display: flex;
    height: 51px;
    width: 100%;
    background-color: #252525;
}

.header-menu-navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;

    border-top: 1px gray solid;
    border-bottom: 1px gray solid;
}

.header-menu-text-first {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    color: white;
    font-size: 20px;
    font-weight: 600;
    font-family: sans-serif;

    transition: 0.3s ease;

    cursor: pointer;
}

.header-divider {
    border: 1px gray solid;
}

.container-header-menu-text-prefix {
    display: flex;
}

.header-menu-text-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    font-weight: bolder;
    color: white;
    font-size: 23px;

    transition: 0.3s ease;

    cursor: pointer;
}

.header-menu-text {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 18px;
    color: white;
    font-family: sans-serif;

    transition: 0.3s ease;
}

.header-square {
    padding-bottom: 10px;
    font-size: 10px;
}

.header-menu-text-last {
    margin-right: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;

    color: white;
    font-size: 20px;
    font-weight: 600;
    font-family: sans-serif;

    transition: 0.3s ease;

    cursor: pointer;
}

.header-menu-text-first:hover {
    color: #c8b17a;
    transition: 0.3s ease;
}

.header-menu-text-last:hover {
    color: #c8b17a;
    transition: 0.3s ease;
}

.header-menu-text-prefix:hover {
    color: #c8b17a;
    transition: 0.3s ease;
}

.header-menu-text-prefix:hover .header-menu-text {
    color: #c8b17a;
    transition: 0.3s ease;
}

.header-menu-text-prefix:hover .header-square {
    color: #c8b17a;
    transition: 0.3s ease;
}

/* CONTAINER PHONE ADAPTATION */
.container-menu-header-number-phone {
    display: none;
}

/* MODAL WINDOW CHOOSE NUMBER PHONE */
.background-header {
    visibility: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.open-background-header {
    visibility: visible;
    opacity: 1;
}

.container-choose-number-phone-header {
    opacity: 0;
    visibility: hidden;
    width: 500px;
    height: 135px;
    background-color: #333333;
    border-radius: 10px;

    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    margin-left: auto;
    margin-right: auto;

    transform: translateY(-30%);
    transition: 300ms ease;
}

.show-modal-window-choose-number-phone {
    visibility: visible;
    transform: translateY(0);
    transition: 300ms ease;
    opacity: 1;
}

.choose-number-phone-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.number-phone-modal-window {
    font-size: 18px;
    color: white;
    font-family: sans-serif;

    cursor: pointer;
}

/* CONTENT */
.container-main-page-header {
    display: flex;
    justify-content: space-between;

    margin-right: 145px;
    padding-left: 145px;

    border-top: 1px gray solid;
    border-right: 1px gray solid;
}

.container-main-page-header-content {
    display: flex;

    width: 810px;
    height: 810px;
    background-color: rgba(0, 0, 0, 0.7);

    border-right: 1px gray solid;
    border-left: 1px gray solid;
}

.main-page-header-content {
    width: 100%;
    padding: 114px 80px 150px 100px;

    color: white;
    font-size: 65px;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 0.15em;
}

.border-bottom-main-page-header-content {
    padding-top: 90px;
    margin-bottom: 60px;
    width: 150px;

    border-bottom: 3px solid #c8b197;
}

.main-page-header-text {
    font-size: 30px;
    font-family: sans-serif;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    line-height: 40px;
}

.container-btn-main-page-header {
    margin-top: 80px;
    width: 500px;
    height: 80px;

    border: 3px solid #c8b197;

    cursor: pointer;
}

.btn-main-page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    font-family: sans-serif;
    font-size: 30px;

    transition: 0.3s ease;
}

.container-btn-main-page-header:hover .btn-main-page-header {
    color: #c8b17a;
    transition: 0.3s ease;
}
