/** MetaInfo
 *  Author of the reissue: Diller(Кутман)
 *  Date of change: 19.05.2025
 */

body {
    margin: 0;
    padding: 0;
    background-color: #222;
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1000px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#page-space {
    height: 100vh;
    width: 100vw;
}

#main-page {
    width: 100%;
    height: 100%;
}

#info-page {
    display: flex;
    flex-direction: column;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    height: 100%;
}

#info-page-images {
    display: flex;
    flex-direction: column;

    width: 150px;
    height: 100%;
}

#info-page-images img {
    object-fit: cover;
    background-position: center;
    margin: 10px 10px 0px 10px;

    max-height: 100px;
}

#info-page-video {
    display: none;
    position: fixed;
    height: 250px;
    bottom: 10px;
    left: 10px;
}

#map {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#main {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

#left-div {
    display: flex;
    width: 20vw;

    align-items: center;
}

#logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;

    width: 75px;
    height: 160px;
}

#logos img {
    margin: 15px;
}

#center-div {
    display: flex;
    flex-grow: 1;

    justify-content: center;
    align-items: start;
}

#title {
    display: flex;
    z-index: 2;

    width: 600px;
    height: 80px;

    justify-content: center;
    align-items: center;
}

#title p {
    margin: 0;
    /* color: aliceblue */
    font-size: 38px;
}

#right-div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;

    width: 20vw;

}

#time-select {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    z-index: 2;
    background-color: rgba(99, 99, 99, 0);

    width: 150px;
    height: 250px;
}

#time-select button {
    background-color: rgba(99, 99, 99, 0.8);
    border: 0;
    height: 10%;
}

#time-select button:hover {
    background-color: #666;
}

#time-select button.selected {
    background-color: #666;
}

#legend {
    display: flex;
    flex-direction: column;
    z-index: 2;

    margin-bottom: 20px;
    width: 170px;
    height: 230px;
}

#legend div {
    display: flex;
    flex-direction: row;
}

#legend div p {
    display: flex;
    justify-content: center;
    margin: 13px;
    
    width: 80%;
}


#legend div img {
    height: 26px;
    margin: 10px;
}

.common {
    background-color: rgba(99, 99, 99, 0.8);
    border-radius: 10px;
    opacity: 0.9;
    margin: 10px;
}

/* Main End */

#popup {
    flex-direction: column;

    background-color: rgba(6, 6, 6, 0.8);
    border-radius: 10px;
    z-index: 2;

    width: 220px;
    height: 100px;
}

#popup-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#popup-title {
    display: flex;
    margin: 10px 0px 0px 10px;
    justify-content: center;
    color: aliceblue;
    font-size: x-large;
}

#popup-close {
    position: relative;
    right: 5px;
    top: 5px;
    right: 10px;
    width: 20px;
}

#popup-content {
    margin: 10px;
    color: aliceblue;
    font-size: medium;
}

/* Slider Start */

#slider-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
}

.side {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 10%;
    min-width: 150px;
    z-index: 10;
    cursor: pointer;
}

.side img {
    height: 65px;
}

#center {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

#slider {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    height: 100%;
    width: 80vw;
    flex-shrink: 0;
    object-fit: contain;
}

#to-info-page {
    position: absolute;
    left: 10px;
    bottom: 10px;

    height: 100px;
    z-index: 100;
}

/* Slider End */