@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
@import "../css/classicatwo.css";
@import "../css/solena.css";

body {
  max-width: 800px;
  margin: 0 auto; /* Центрируем весь контент */
  box-sizing: border-box;
    background: #525252;
}
.info-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #fd99bd;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.info-row span {
    color: white;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 1px 1px 1px #fd99bd;
}

.info-row span:last-child {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .info-row {
        flex-direction: row;
    }

    .info-row span:last-child {
        text-align: right;
        margin-top: 0;
    }
}

/* Основной блок заголовка */
.block1 {
    color: rgba(255,255,255,1);
    font-family: 'Classica Two';
    font-size: 61px;
    font-weight: 400;
    line-height: 1em;
    text-shadow: 1px 1px 1px #fd99bd;
    text-align: center;
    margin: auto;
    margin-top: 70px;
    width: 700px;
}

/* Второстепенный блок текста */
.block2 {
    color: #fd99bd;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 1px 1px 1px black;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    margin: auto;
    margin-top: 10px;
    width: 700px;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .block1 {
        margin-top: 70px;
        font-size: 50px;
        width: 100%;
    }
    .block2 {
        font-size: 14px;
        width: 100%;
    }
}

/* Контейнер карусели с анимацией плавного изменения высоты */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 90vw;
    height: auto;
    transition: height 0.5s ease-in-out;
}

/* Изображения внутри карусели */
.carousel-item img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Анимация появления нового изображения */
.carousel-item img.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.carousel-item img.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Ряд с изображениями */
.row {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Мини-карусель с миниатюрами */
.mini-carousel {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100vw;
    width: 100%;
    gap: 10px;
    padding-bottom: 10px;
}

.carousel-thumbnail {
    max-width: 100px;
    height: auto;
    flex-shrink: 0;
}

.mini-carousel img {
    width: 100px;
    height: auto;
    margin-right: 5px;
    margin-left: 5px;
    cursor: pointer;
}

/* Дополнительные стили */
.circle-container {
    display: flex;
    align-items: center;
}

.circle {
    margin-bottom: 10px;
    margin-left: 0px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fd99bd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i-letter {
    font-size: 10px;
    font-weight: bold;
    color: black;
}

.about-me {
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 28px;
    color: rgba(255,255,255,1);
    font-family: 'Quicksand', sans-serif;
    text-shadow: 1px 1px 1px #fd99bd;
}

/* Разделительная полоса */
.divider {
    height: 2px;
    width: 100%;
    background-color: #fd99bd;
    margin-bottom: 5px;
    margin-top: 5px;
    position: relative;
}

/* Стрелка вниз */
.arrow-down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid black;
}
.parent {
  display: flex;
  justify-content: flex-end; /* выравнивание по правому краю */
}

.about-me2 {
    margin-left: 10px;
    margin-top: 5px;
    font-size: 28px;
    color: #fd99bd;
    font-family:'Solena';
    text-shadow: 1px 1px 1px #fd99bd;
}

/* Рамка вокруг изображений */
img {
    border: 1px solid #fd99bd;
}

/* Блок текста */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #525252;
    background-image: radial-gradient(circle, #28292d, #28292d);
    background-size: 100% 100%;
    text-align: left;
}

/* Стили для заголовков */
.text-block2 {
    font-family: 'Classica Two';
    font-size: 30px;
    color: #fd99bd;
    text-align: left;
}

/* Блочные элементы */
.child {
    display: inline-block;
}

h1 {
    text-align: center;
}

/* Адаптация текста для мобильных */
@media (max-width: 768px) {
    .text-block {
        color: #fd99bd;
        font-family: 'Quicksand', sans-serif;
        text-shadow: 1px 1px 1px #fd99bd;
        max-width: 100%;
    }
}

/* Ссылки */
a {
    color: #fd99bd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    color: white;
    text-shadow: 1px 1px 1px #fd99bd;
}
