@font-face {
    font-family: 'MyCustomFont'; /* Название вашего шрифта */
    src: url('fonts/child/child.otf') format('opentype'); /* Путь к вашему файлу шрифта */
}

/* Здесь вы можете использовать ваш шрифт */
body {
    font-family: 'MyCustomFont', sans-serif; /* Использование вашего шрифта */
}

body, html {
    height: 100%;
    margin: 0;
}


.header {
    display: flex;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    background-image: url("assets/images/main.jpg");
    background-size: cover;
    background-position: center;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 87%;
}

.images-container {
    display: flex;
    justify-content: center;
    gap: 20%;
    width: 100%;
}

.medved-container, .party-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.party-container img {
    width: auto;
    max-height: 100%;
    will-change: transform;
    height: 30vh
}

.medved-container img {
    width: auto;
    max-height: 100%;
    will-change: transform;
    height: 50vh
}

@keyframes shakeParty {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

@keyframes shakeMedved {
    0%, 100% {
        transform: rotate(0);
    }
    25%, 75% {
        transform: rotate(7deg);
    }
    50% {
        transform: rotate(-7deg);
    }
}

#draggingImage {
    animation: shakeMedved 0.2s infinite;
}

.party-container img {
    animation: shakeParty 1s infinite;
}

@media (max-width: 768px) {
    .medved-container img, .party-container img {
        height: 30vh;
    }

    .party-container img {
        height: 20vh;
    }

    .images-container {
        gap: 20px;
        padding: 20px;
    }
}

.watercolor-frame {
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), /* Тень для глубины */ 0 0 1px 3px rgba(255, 0, 0, 0.5), /* Красный слой */ 0 0 1px 5px rgba(0, 255, 0, 0.3), /* Зелёный слой */ 0 0 1px 7px rgba(0, 0, 255, 0.4); /* Синий слой */
    border: 2px solid black; /* Основная граница */
    background: white; /* Фон, на котором будет видна рамка */
    position: relative; /* Необходимо для позиционирования потомков */
    overflow: hidden; /* Обрезка элементов, выходящих за границы */
}

/* Опционально: добавление текстуры бумаги */
.watercolor-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('path/to/your/textured-background.jpg');
    opacity: 0.5; /* Регулировка видимости текстуры */
    z-index: -1; /* Помещаем под контент */
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 8px 2px rgba(255, 255, 0, 0.7), 0 0 12px 4px rgba(255, 255, 0, 0.5), 0 0 16px 6px rgba(255, 255, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 12px 3px rgba(255, 255, 0, 0.9), 0 0 18px 6px rgba(255, 255, 0, 0.7), 0 0 24px 9px rgba(255, 255, 0, 0.5);
        transform: scale(1.25);
    }
    100% {
        box-shadow: 0 0 8px 2px rgba(255, 255, 0, 0.7), 0 0 12px 4px rgba(255, 255, 0, 0.5), 0 0 16px 6px rgba(255, 255, 0, 0.3);
        transform: scale(1);
    }
}

.buy {
    background: url("assets/images/moon.png") no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 14px 26px;
    text-decoration: none;
    animation: pulsate 3s infinite ease-in-out;
    transition: box-shadow 0.3s ease;
    font-size: 70px;
    font-weight: bold;
    color: black !important;
}

.buy a:visited {
    text-decoration: none;
}

.buy a {
    text-decoration: none;
}

.buy:hover {
    box-shadow: 0 0 15px 5px rgba(255, 255, 0, 1), 0 0 20px 7px rgba(255, 255, 0, 0.9), 0 0 25px 10px rgba(255, 255, 0, 0.8);
}


.tokenomics {
    overflow: hidden;
    position: absolute;
    max-width: 90%;
    color: white;
    font-weight: bold;
    font-size: 30px;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
    top: 32%;

}

.ticker-wrap {
    width: 100%;
    padding-left: 100%; /* Чтобы начать анимацию вне экрана */
    box-sizing: content-box;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%; /* Чтобы зациклить анимацию */
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media only screen and (max-width: 768px) {
    .ticker {
        animation-duration: 15s; /* Более быстрая анимация на мобильных устройствах */
    }
}


@media only screen and (max-width: 1100px) {
    .tokenomics {
        top: 32%;
    }
}


@media only screen and (max-width: 768px) {
    .tokenomics {
    }
}

.telegram-wrapper {
    border: 5px solid #0180ca;
    cursor: pointer;
    border-radius: 50%;

}

.telegram {
    height: 70px;
    border-radius: 50%;

}

.languages {
    position: absolute;
    left: 10%;
    color: white;
    font-size: 24px;
    font-weight: bold;
}


@media only screen and (max-width: 1100px) {
    .languages {
        display: flex;
        align-items: center;
        width: 86%;
        justify-content: space-around;
    }
}

.frame {
    position: absolute;
    bottom: 0;
    border: 5px solid #4b8f29; /* Зелёный цвет рамки */
    padding: 1em;
    background-color: #a9dfbf; /* Светло-зелёный фон */
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word; /* Перенос слов */
}

.content {
    background-color: white;
    padding: 0 15px;
    border: 1px solid #ddd; /* Светло-серая рамка для содержимого */
    word-wrap: break-word; /* Перенос слов */
    hyphens: auto; /* Автоматические переносы */
}

@media (max-width: 600px) {
    .frame {
        padding: 0.5em;
    }

    .content {
        padding: 0.5em;
    }

    .medved-container, .party-container {
        height: 40vh;
    }
}

.ca {
    position: absolute;
    top: 50%;
}

.ca-and-tg {
    display: flex;
    position: absolute;
    bottom: 2%;
    gap: 40px;
    align-items: center;
}

.ca-and-tg button {
	border-color:#0180ca;
	border-width: 3px;
}

@media (max-width: 600px) {
    .languages {
        justify-content: space-between;
    }
}

.buy-ru {
    font-size: 22px;
    padding: 51px 25px;
}

