* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF; 
    color: #333;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #8A2BE2; /* Фиолетовый цвет */
    color: white; /* Белый текст */
    width: 100%;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-top: 30px;
}

.text {
    width: 60%; 
    line-height: 1.8; 
    font-size: 18px;  
    text-align: left; 
}

.highlight {
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.image-display {
    width: 50%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: none;
    position: relative;
}

.image-display img {
    max-width: 100%;
    width: 300px;
    height: auto;
    display: none;
    position: absolute;
}

#image8:target {
    display: block;
}

.next-page {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding: 10px;
}

.next-page p {
    font-size: 20px; 
}

.next-page .highlight {
    font-weight: bold;
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.next-page .highlight:hover {
    text-decoration: underline;
}

.back-link {
    color: #007BFF; 
    text-decoration: none;
    font-size: 18px;
}

.back-link:hover {
    text-decoration: underline;
}
