* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    max-width: 80em;
    margin: auto;
    background-color: #f9f9f9;
    color: #333;
}

p {
    font-size: 1.25em;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar, .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #030303;
    line-height: 1.5em;
}

.navbar-logo a, .footer-instagram a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: normal;
    color: white;
    text-decoration: none;
}

.navbar-links {
    display: block;
    flex-wrap: wrap;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    padding-left: 1rem;
    padding-right: 1rem;
    border: none;
    outline: none;
    position: relative;
}

.navbar-links a::before {
    content: "";
    position: absolute;
    left: 0em;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1em;
    background-color: white;
}

.navbar a:hover, .footer a:hover {
    color: grey;
    background-color: transparent;
    border-radius: 0;
}

.language-switcher, .language-switcher a {
/*    display: inline-block;*/
/*    margin-left: 1rem;*/
    font-size: 1rem;
    color: white;
}

.language-option {
    cursor: pointer;
    padding: 0 0.3rem;
    text-decoration: underline;
}

.language-option:hover {
    color: grey;
}


.footer {
    justify-content: space-around;
    color: white;
}

ul.social {
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0;
  font-size: 1em;
}

li.social {
    width: 15em;
    justify-content: center;
    display: flex;
    align-items: center;
}

a.social, a.social:visited{
    color: white;
    justify-content: center;
    display: flex;
    align-items: center;
}

a.social:hover{
    color: grey;
    background-color: transparent;
    border-radius: 0;
}

img.social {
  height: 0.8em;
  padding-right: 0.3em;
}


.page {
    max-width: 65em;
    margin: auto;
    padding: 1rem;
}

.block {
    margin-bottom: 2em;
}

.block h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    text-align: left;
}

.block h1::after{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    margin-top: 0.5rem;
}

.description {
    vertical-align: middle;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 1em;
}

.description img {
    margin-bottom: 0.5em;
    width: 16em;
    height: 16em;
    border-radius: 50%;
    object-fit: cover;
}

.description p {
    display: block;
    min-width: 16em;
    max-width: 26em;
    font-size: 1.25em;
    color: #333;
    text-align: justify;
}

.about-text {
    margin-top: 2em;
    text-align: justify;
}
.about-list {
    margin-top: 1em;
    padding-left: 1em;
    list-style-type: disc;
}
.description div {
    font-size: 1.2em;
}
.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #333;
    font-size: 1.25em;
    margin-bottom: 10em;
}

.contact-page h1 {
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    text-align: center;
}

.contact-method {
    width: 14em;
    height: 14em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #f7f7f7;
}

.contact-method:hover {
    transform: translateY(-10px);
}

.contact-method img {
    filter: invert(1);
    width: 3.5em;
    height: 3.5em;
    margin-bottom: 1rem;
}

.contact-method a {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}

.contact-method a:hover {
    color: #0073e6;
}
.text {
    text-align: justify;
    margin-bottom: 20px;
}


.pricing-modes {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pricing-mode {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 20em;
    text-align: left;
}

.pricing-mode h2 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}


.pricing-mode p {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    text-align: center;
    color: #d32f2f;
}

p.price {
    font-size: 26px; /* Увеличенный размер шрифта */
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    background: rgb(3, 3, 3); /* Легкий фон для выделения */
    padding: 10px;
    border-radius: 8px;
    display: block;
}

.old-price {
    font-size: 22px;
    color: #888; /* Серый цвет для перечеркнутой цены */
    text-decoration: line-through;
    margin-right: 10px;
}

.new-price {
    font-size: 28px; /* Чуть больше, чтобы выделить */
    color: #e82d2d; /* Ярко-красный цвет */
    font-weight: bold;
}



.pricing-mode ul {
    list-style-type: none;
    padding: 0;
}

.pricing-mode ul li {
    font-size: 14px;
    padding: 5px 0;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.pricing-mode ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}


.services-list {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.service-item h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: #777;
}

.lesson-modes {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.lesson-mode {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: left;
}

.lesson-mode h2 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.lesson-mode p {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    text-align: center;
}

.lesson-mode ul {
    list-style-type: none;
    padding: 0;
}

.lesson-mode ul li {
    font-size: 14px;
    padding: 5px 0;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.lesson-mode ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}


