/* General styles */



/*colors*/
/*
rgb(164, 159, 168) rose quartz
rgb(12, 8, 12) black
rgb(171, 200, 199)
rgb(165, 181, 191)
rgb(176, 161, 186)*/

.card svg {
    width: 50px; /* Уменьшаем ширину иконки */
    height: 50px; /* Уменьшаем высоту иконки */
    margin-right: 5px; /* Добавляем небольшой отступ между иконкой и текстом */
    transition: fill 0.3s; /* Добавляем плавный переход для изменения цвета иконки */
    fill: rgb(154, 148, 158);
}
.card:hover svg path {
    fill: darkgoldenrod;
}



.desk {

    top: 0;
    left: 0;
    justify-content: space-around; /* Adjust as needed (space-between, center, etc.) */
    align-items: center; /* Align cards vertically at the center */
    flex-wrap: nowrap;
    flex-direction: column; /* Prevent wrapping to keep them in a single row */
}

.cards {
    gap: 30px; /* Adjust the spacing between cards */
}


.button-group {
    display: flex;
    justify-content: space-around;
}

.button-card {
    cursor: url("../tarot/img/pointer-new.png"), auto;
    box-sizing: border-box;

}
.button-card.non-available{
    opacity: 0.5;
}
.button-card.non-available:hover{
    background-color: transparent !important;
}

.meaning-section {
    position: fixed;
    bottom: 0;

    width: 90%;
    background-color: rgb(164, 159, 168);
    color: rgb(12, 8, 12); /* Adjust background color and opacity */
    padding: 20px; /* Adjust padding as needed */
    z-index: 3;
}

.meaning-content {
    box-sizing: border-box;
    width: 60%; /* Adjust percentage as needed */
    margin: 0 auto;
    overflow-y: auto;
    max-height: 600px;
}


.meaning-content h2 {
    color: #201A23;
}

.meaning-section.active {
    display: block;
}

/* Style for the Close button */
.meaning-content button {
    background-color: rgb(12, 8, 12);
    color: rgb(151, 142, 159);
    padding: 10px;
    border: none;
    cursor: url("../tarot/img/pointer-new.png"), auto;
    border-radius: 5px;
    font-family: 'Didact Gothic', sans-serif;
}

.meaning-content button:hover {
    background-color: #BFF0D4;
    color: #0f0e0f;
}

.table-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}


.hidden {
    display: none;
}



/*.container, .for_login_section {*/
/*    max-width: 800px; !* Максимальная ширина колонки *!*/
/*    margin: 0 auto; !* Центрирование колонки на странице *!*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 20px; !* Внутренний отступ для колонки *!*/
/*    border-radius: 5px;*/
/*}*/



.payment-button {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure the button takes the full height of its container */
}

.tg-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.form-element input {
    width: 92%;
    max-width: 300px;
    padding: 0.5rem;
    margin: auto auto 16px;
    border-radius: 5px;
    border: 0;
}
.video-container {
    background: url("../images/table_video.webp") center center no-repeat;
    background-size: cover;
    padding: 66px;
    border-radius: 20px;
    max-width: 100%;
}


video {
    border-radius: 15px; /* Округлённые углы для видео */
}

#video_main{
    margin-top: 6px;
}
.back_for_video_how_to{
    background: url("../tarot/img/back0.gif") repeat;
    border-radius: 8px;

}
.video_how_to{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;

}

.video_container_for_how_to{
    background: url(../tarot/img/table_video.jpg) center center no-repeat;
    padding: 65px 0;
    background-size: 80%;

}
.video_all {
    width: 100%; /* Ensure the video fills the container */
    height: auto; /* Automatically adjust height to maintain aspect ratio */
    position: absolute;
    top: 0;
    left: 0;
}
.video_thumb {
    position: relative;
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
}
.video_thumb video {
    width: 50%;
    height: auto;
    border-radius: 9px;
}

.control_play svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: url("../tarot/img/pointer-new.png"), auto;
    z-index: 1; /* Ensure button appears on top of the video */
    width: 70px; /* Уменьшаем ширину иконки */
    height: 70px; /* Уменьшаем высоту иконки */

    fill: #6b6570;
}
.control_play svg:hover {
    fill: #BFF0D4;
}

.video_and_title {
    position: relative;
}
.video_and_title p {
    position: absolute;
    left: 90px;
    transform: translateX(-50%);
}
.control_close svg{
    width: 40px;
    height: auto;
    fill: #1b191c;
    position: absolute;
    top: 0;
    right: 0;
}
.control_close svg:hover{
    fill: #BFF0D4;
}
.wrap_for_player{
    position: absolute;
    top: 0;
    z-index: 30;
    width: 100%;
}


    @media (max-width: 768px) {

        /*.image {*/
        /*    position: relative;*/
        /*    display: flex;*/
        /*    align-items: center;*/
        /*    justify-content: center;*/
        /*}*/
        /*.button {*/
        /*    margin: 5px 0;*/
        /*    padding: 5px;*/
        /*    font-size: 15px;*/
        /*}*/
        /*.button svg {*/
        /*    width: 20px;*/
        /*    height: 20px;*/
        /*    margin: 5px;*/
        /*    vertical-align: middle;*/
        /*}*/
    }
@media (max-width: 360px) {

    /*.image {*/
    /*    position: relative;*/
    /*    display: flex;*/
    /*    align-items: center;*/
    /*    justify-content: center;*/
    /*}*/
    /*.button {*/
    /*    margin: 3px 0;*/
    /*    padding: 3px;*/
    /*    font-size: 10px;*/
    /*}*/
    /*.button svg {*/
    /*    width: 20px;*/
    /*    height: 20px;*/
    /*    margin: 5px;*/
    /*}*/
}




/* Media queries */
@media (max-width: 768px) {



    .lowersection .content {
        grid-template-columns: auto;
    }



    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .button-card {
        max-width: 100%;
        width: 100vw;
        flex-basis: 100%;
    }

    /*.image {*/
    /*    display: flex;*/
    /*    gap: 1%;*/
    /*    justify-content: center;*/
    /*}*/

    /*.image img {*/
    /*    max-width: 33%;*/
    /*}*/


    .meaning-content {
        font-size: 14px;
        padding: 10px;

    }

    .meaning-content::-webkit-scrollbar {
        width: 10px;
    }

    .meaning-content::-webkit-scrollbar-thumb {
        background-color: #888;
    }



}

@media screen and (min-width: 768px) and (max-width: 1023px) {



    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .button-card {
        max-width: 100%;
        width: 100vw;
        flex-basis: 100%;
    }

    /*.image {*/
    /*    display: flex;*/
    /*    gap: 1%;*/
    /*    justify-content: center;*/
    /*}*/

    /*.image img {*/
    /*    max-width: 33%;*/
    /*}*/


}

/* Дополнительный медиа-запрос для iPad в горизонтальном положении */
@media only screen and (max-device-width: 1024px) and (orientation: landscape) {

    .button svg {
        width: 15px;
        height: 15px;
        margin: 5px;
    }

}
.caption {
    font-size: 20px !important;
}

.loader1 {
    width: 80px;
    height: 80px;
    display: block;
    border: 1px solid grey;
    border-radius: 50px ;
    position: relative;
    box-shadow: 0px 0px darkgoldenrod inset;
    background-color: gray;
    background-image: linear-gradient(darkgoldenrod 100px, transparent 0);
    background-position: 0  20px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    box-sizing: border-box;
}
.loader1::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50% , -95%);
    border: 2px solid grey;
    border-bottom: none;
    background: gray;
    width: 15px;
    height: 35px;
}
.loader1::before {
    content: '';
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-125%);
    bottom: -4px;
    border-radius: 50%;
    position: absolute;
    width: 6px;
    height: 6px;
    z-index: 10;
    animation: bubbles 6s linear infinite;
}
@keyframes bubbles {
    0% {
        box-shadow: 4px -10px rgba(255, 0, 0, 0), 6px 0px rgba(255, 0, 0, 0), 8px -15px rgba(255, 0, 0, 0), 12px 0px rgba(255, 0, 0, 0);
    }
    20% {
        box-shadow: 4px -20px rgba(255, 0, 0, 0), 8px -10px rgba(255, 0, 0, 0), 10px -30px rgba(255, 255, 255, 0.5), 15px -5px rgba(255, 0, 0, 0);
    }
    40% {
        box-shadow: 2px -40px rgba(255, 255, 255, 0.5), 8px -30px rgba(255, 0, 0, 0.4), 8px -60px rgba(255, 255, 255, 0.5), 12px -15px rgba(255, 255, 255, 0.5);
    }
    60% {
        box-shadow: 4px -60px rgba(255, 255, 255, 0.5), 6px -50px rgba(255, 0, 0, 0.4), 10px -90px rgba(255, 255, 255, 0.5), 15px -25px rgba(255, 255, 255, 0.5);
    }
    80% {
        box-shadow: 2px -80px rgba(255, 0, 0, 0.5), 4px -70px rgba(255, 0, 0, 0.4), 8px -120px rgba(255, 0, 0, 0), 12px -35px rgba(255, 0, 0, 0.5);
    }
    100% {
        box-shadow: 4px -100px rgba(255, 0, 0, 0), 8px -90px rgba(255, 0, 0, 0), 10px -120px rgba(255, 0, 0, 0), 15px -45px rgba(255, 0, 0, 0);
    }
}

.button-around-card {

        display: inline-block;
    cursor: url("../tarot/img/pointer-new.png"), auto;

        background-color: rgba(47, 47, 47, 0.2);
        color: #DAE7E0;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.5s ease, color 0.5s ease;
        box-sizing: border-box;
}
.button-around-card1:hover {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    color: black;

}

.image-card img{
    border-radius: 1.05em;
    width: auto;

}
.card{
    background-color: #333333;
}

@media (min-width: 768px) and (max-width: 991px) {
    .row {
        flex-wrap: wrap !important; /* Гарантирует перенос */
    }
    .col-md-6 {
        flex: 0 0 100% !important; /* Каждая колонка будет занимать 100% ширины на экранах 768px-991px */
        max-width: 100% !important;
    }
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container {
    position: relative;
    display: inline-block;
}

.wrap_context_button {
    position: absolute;
    top: 50%; /* Можно настроить по своему */
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование кнопок */
    text-align: center;
    z-index: 1;
}

.btn-auto-fit {

    font-size: calc(1.3rem - 0.2vw); /* Автоматическая регулировка размера текста */
    display: flex;
    align-items: center; /* Центрирование текста вертикально */
    justify-content: center; /* Центрирование текста горизонтально */

}


@media (max-width: 768px) {
    .video-container{
        padding: 49px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .video-container{
        padding: 90px;
    }
}
@media (max-width: 768px) {
    .btn-auto-fit {
        font-size: 14px; /* Уменьшаем размер шрифта */
        padding: 5px 10px; /* Уменьшаем внутренние отступы */
    }
}
.img-3-cards:hover{
    background: url(../tarot/img/3cards_under.png);
    background-size: contain;
}
.img-1-card:hover{
    background: url(../tarot/img/1-card-under.png);
    background-size: contain;
}
.img-1-card{
    margin-top: 20px;
}
.swiper {
    width: 100vw;
    height: 200px;
    overflow: hidden;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}


.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

#home-section{
    min-height: calc(100vh - 200px);
}


.fade-in {
    animation: fadeIn 2s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.back-for-video-section{
    background-color: rgba(47, 47, 47, 0.2);
    color: #DAE7E0;
    border-radius: 20px;
    transition: background-color 0.5s ease, color 0.5s ease;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;

}
@keyframes slow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.img-1-card, .img-3-cards{
    animation: slow-bounce 2s infinite ease-in-out;
}
.swiper-pagination-bullet-active {
    background-color: rgb(151, 142, 159) !important;
    transform: scale(1.2);
}
.social-media-large svg{
    height: 50px;
    fill: #d0e3d2;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.social-media-large svg:hover{
    fill: darkgoldenrod;
    transform: scale(1.5);
}
.card-frame{
    background-size: contain !important;
    background: url('../tarot/img/frame-offer.png') no-repeat center;
    aspect-ratio: 400/623;
    padding-bottom: 1.1rem !important;

}
.toggle {
    background: #333333;
    color: rgb(164, 159, 168);
    padding: 70px;
    border-radius: 5px;

}


.img-valk{
    animation: slow-bounce 2s infinite ease-in-out;
}

.rune-btn {

    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 2px 4px 6px rgb(21, 20, 20);
    border-radius: 20px;
}
.rune-btn-in-description {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 2px 4px 6px rgb(21, 20, 20);
    border-radius: 20px;
}
.rune-btn-in-description:hover {

    transform: translateY(-2px);
}

.rune-btn:hover {
    cursor: url("../tarot/img/pointer-new.png"), auto;
    border-color: mintcream;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .img-valk {
        width: 50%;
    }
}
.rune-container {

    background-color: black;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 30px;

}
.text-back {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    background-color: rgba(42, 42, 42, 0.24);
    border-radius: 30px;
    position: relative;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desc-text {
    font-family: "Dalec", "Diphylleia", "Kurale", sans-serif;
    color: #c0c0c0;
    text-align: center;
}

.decor {
    background-image: url("../runes/img/decor.png");
    width: 100%;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    margin-top: -56px;
}
.prediction-box {
    border-radius: 30px;
    width: 100%;
    background-color: rgba(42, 42, 42, 0.6);
    color: #fff;
    padding: 20px;
    overflow-y: auto;
    text-align: center;
}