body {
  overflow: hidden;
}
.container {
  display: flex;
  flex-direction: column;
}
.footer{
	height: 5vw;	
	padding: 0;
	box-sizing: border-box;
	display: flex;
	position: relative;
}

.top-bar1, .top-bar2 {
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 997;
}

.top-bar1 {
    background-color: #bdc5dc;
    height: 2.5vw; /* Автоматическая высота, чтобы текст всегда помещался */
    box-sizing: border-box; 
    display: flex; 
    align-items: flex-end;
    justify-content: space-between;
}

.info-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.keyword {
    margin: 0; 
    padding: 0; 
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 0.9vw; 
	cursor: pointer;
}

.contentinformation {
    margin-left: 10vh; 
	margin-right: 5vh; 
    padding: 0; 
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 0.9vw;
	cursor: pointer;
}

.pedagogy {
    margin-left: 15vh;
    padding: 0; /
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 1.5vw; 
}
.top-bar2 {
   background-color: #cad1e1;
    height: 2.5vw; 
    position: absolute; /* Позиционирование относительно родителя */
    top: 100%;
    left: 0; 
    width: 100%; 
    padding: 0; 
    display: flex; /* Используем Flexbox для выравнивания элементов */
    align-items: flex-start; /* Выравнивание текста по нижнему краю */
    justify-content: flex-start; /* Выравнивание текста по левому краю */
	flex-direction: column;
}

.theme {
    margin: 0; 
    padding: 0; 
	margin-left: 15vh;
    font-family: 'Montserrat';
    font-size: 1vw; 
}



.logo {
    height: calc(2.5vw + 2.5vw); 
    width: auto; 
    margin-left: 1vw;
    align-self: center;
	z-index: 998;
}
.tooltip {
    position: relative;
    cursor: pointer;
    display: inline-block;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 1vw; 
}

}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #f1f1f1;
    color: #000000;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%; 
    transform: translateX(-50%);
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.2s;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.popup, .popup2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Устанавливаем высоту на 80vh */
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 4000;
    overflow-y: auto; /* Добавляем вертикальную полосу прокрутки при переполнении */
}

.popup-content, .popup-content2 {
    background: white;
    padding: 5vh; 
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Montserrat';
    font-weight: normal;
    font-size: 0.9vw; 
    max-height: 60vh; /* Ограничиваем высоту содержимого */
    overflow-y: auto; /* Добавляем прокрутку для содержимого */
}

/* Стили для прокрутки */
.popup::-webkit-scrollbar {
    width: 8px; /* Ширина полосы прокрутки */
}

.popup::-webkit-scrollbar-thumb {
    background: gray; /* Цвет полосы прокрутки */
    border-radius: 4px; /* Закругление углов */
}

.popup::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* Цвет фона полосы прокрутки */
}

.popup2::-webkit-scrollbar {
    width: 8px; /* Ширина полосы прокрутки */
}

.popup2::-webkit-scrollbar-thumb {
    background: gray; /* Цвет полосы прокрутки */
    border-radius: 4px; /* Закругление углов */
}

.popup2::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* Цвет фона полосы прокрутки */
}

.close-button, .close-button2 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 1.5vw;
}


.textdownleft1, .textdownleft2, .textdownleft3, .textdownleft4,
.textdownright1, .textdownright2 {
    font-family: 'Montserrat';
    font-weight: bold;
    color: white;
    text-align: left; /* Центрируем текст внутри элементов */
}

.textdownleft1 {
    font-size: 1vw;
}

.textdownleft2 {
    font-size: 0.8vw;
}

.textdownleft3 {
    font-size: 1vw;
}

.textdownleft4 {
    font-size: 0.8vw;
}

.textdownright1 {
    font-size: 1vw;
}

.textdownright2 {
    font-size: 0.9vw;
}


.down-bar {
    background-color: #113490;
    height: 10vh;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
}


.text-container {
    display: flex;
	flex-direction: row; 
    align-items: center; 
    justify-content: center; 
	gap: 1vw;
	padding: 0 5vw;
	margin-left: 20vw;
}

.left-column{
    display: flex;
    flex-direction: column;
    align-items: left;
	margin-left: 0;
}
.middle-column {
    display: flex;
    flex-direction: column;
    align-items: left;
}
.image-column {
    display: flex;
    flex-direction: column;
    align-items: left;
}

.vertical-line {
	width: 1px;
    height: 80px; 
    background-color: white; 
    margin-right: 1vh;
        }
		
.homebtn {
    position: absolute;
    bottom: 10%; 
    left: 2%;
}


/* Медиазапрос для малых экранов и портретной ориентации*/
@media (max-width: 768px) or (orientation: portrait) {
    .keyword, .contentinformation {
        font-size: 3vw;
        text-align: right;
		margin-right: 0;
    }

    .pedagogy {
        font-size: 5vw;
        text-align: left;
		margin-left: 0;
    }

    .top-bar1 {
        height: auto;
        flex-direction: row; 
    }
	.top-bar2 {
        height: auto;

    }
	.down-bar {
        height: auto;

    }
    .info-container {
        flex-direction: column; 
    }
	.logo {
		display: none;
}
.theme {
        font-size: 3vw;
		margin-left: 0;
		text-align: left; 
}
.homebtn {
    bottom: 17%;
}
.popup-content, .popup-content2 {
    font-size: 2.75vw; 
}

.close-button, .close-button2 {
    font-size: 2.75vw;
}

    .textdownright2 {
        display: none;
    }

    .textdownleft1 {
        margin-left: 0;
		font-size: 2vw;
    }
	    .textdownleft2 {
        margin-left: 0;
		font-size: 1.75vw;
    }
	    .textdownleft3 {
        margin-left: 0;
		font-size: 2vw;
    }
	    .textdownleft4 {
        top: 10%; 
        margin-left: 0;
		font-size: 1.75vw;
    }
    .textdownright1 {
        top: 10%; 
        margin-left: 0;
		font-size: 2vw;
    }

    .vertical-line {
        top: 10%;
        margin-left: 0;
    }
	.text-container {
	gap: 1vw;
	padding: 0 4vw;
	margin-left: 0vw;
}
}