.ytp-endscreen-content {
    display: none !important;
}

#privacy-policy {
display: none;
    position: fixed;
background-color: white;
border-radius: 5px;
padding: 20px;
margin: 20px 40px;
bottom: 0;
width: 100%;
max-width: calc(1280px - 80px - 80px);
z-index: 1000;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#privacy-policy p {
margin: 0;
font-size: 14px;
}

#privacy-policy button {
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    padding-top: 7px;
cursor: pointer;
}

#privacy-policy button:hover {
background-color: rgb(230, 230, 230);
}

#privacy-policy button:focus-visible {
outline: none;
background-color: rgb(220, 220, 220);
}



/* Центрирование текста */
.str_row {
    text-align: center;
}

/* Стили блоков с более спокойными цветами */
.zam, .ped, .soc, .tech, .director {
    background-color: #D4A5A5; /* Мягкий пастельный оттенок */
    border-color: #C4B7A6; /* Спокойный цвет границы */
    color: #333;
    padding: 10px;
    display: inline-block;
    width: 200px;
    text-align: center;
    margin: 10px;
    border-radius: 10px;
}

.zam.ahr, .tech {
    background: #A5C4A5;
    border-color: #8FA896;
}

.zam.ur, .gum, .mat, .lang, .lib {
    background: #A5B8C4;
    border-color: #8F9FA6;
}

.zam.vr, .teach, .org, .psy, .sped {
    background: #C4B5A5;
    border-color: #A69788;
}

.str_bg {
    background: #EDE3D9;
    padding: 20px 10px;
    overflow: hidden;
    clear: both;
    margin: 20px 0;
    border-radius: 15px;
}

.director, .zam {
    position: relative;
    background: #B6C4A5;
    border: 3px solid #D9C8A5;
    padding: 15px;
}

.director:after, .zam:after {
    border-top-color: #B6C4A5;
}

.director:before, .zam:before {
    border-top-color: #D9C8A5;
}

/* Стили ссылок */
.str_row a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.str_row a:hover {
    color: #777;
}

/* Модальные окна */
#mask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9000;
    background-color: #000;
    display: none;
    opacity: 0.7;
    width: 100%;
    height: 100%;
}

.window {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 200px;
    display: none;
    z-index: 9999;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
