body {
    font-family: 'Open Sans', sans-serif;
}

#hero {
    position: relative;
    background: transparent;
    overflow: hidden;
}

#hero .container {
    position: relative;
    z-index: 1;
}


.btn {
    --x: 50%;
    --y: 50%;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(45deg, rgba(127,0,255,0.7), rgba(255,0,255,0.7), rgba(0,0,51,0.7));
    border: none;
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
    transition: box-shadow 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 12px rgba(0,31,63,1);
}

.btn::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 0;
    height: 0;
    background: radial-gradient(circle closest-side, rgba(255,255,255,0.3), transparent 80%);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

@media (min-width: 768px) {
    #hero .particles-js-canvas-el {
        position: absolute !important;
        width: 50% !important;
        height: 50% !important;
        top: 25%;
        left: 25%;
        z-index: 0;
    }
}

.card {
    background-color: rgba(255, 255, 255, 0.116);
}

/* Фоновая анимация фрактальных кубов */
#fractalCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Прикрепить футер к низу страницы */
html, body {
    margin: 0;
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
section {
    flex: 1 0 auto;
}

.list-group-item.active {
    background-color:bisque;
    border-color: bisque;
}

.card-img-top {
    padding: 30px;
}

/* Полупрозрачный светлый фон для карточек */
.bg-light-transparent {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 0.375rem; /* такой же как у bootstrap card */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #fff;
}

/* Заголовки внутри карточек */
#work-format h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1b1b1b; /* светлый сиреневатый оттенок для контраста */
}

/* Списки */
#work-format ol, #work-format ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: #000000;
}

#work-format ol li, #work-format ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
