:root {
    --primary: #450967;
    --dark: #1c1715;
    --tr-red: #45096743;
    --white: #ffffff;
    --yellow: #fabe2c;
    --subprimary: #8B7AAF;

    --text-32: 32px;
    --text-24: 24px;
    --text-18: 18px;
    --text-16: 16px;
    --text-14: 14px;

}
body,
.login-page {
    font-family: "Inter", sans-serif;
    background-color: #f7f5f5;
    color: var(--dark);
}
body {
    width: 99vw;
    overflow-x: hidden;
}
.logo {
    height: 30px;
}
nav {
    width: 100vw;
}
#main-menu {
    position: fixed;
    height: 80px;
    z-index: 99;
    display: flex;
    align-items: center;
    background-color: #252525e3;
}
#pagination nav {
    background-color: transparent;
}
.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.page-link:hover {
    background-color: #310849 !important;
    border-color: #310849 !important;
}
.page-link:active, .page-link:focus {
    box-shadow: 0 0 0 .2rem #3108493f !important;
    color: var(--white) !important;
}
#main-menu .nav .nav-item a {
    font-size: var(--text-18);
}
.sub-text {
    font-weight: bold;
    color: var(--yellow);
    margin-left: 300px;
}
#main-menu .nav .nav-item a:hover,
.nav .nav-item a {
    color: var(--white) !important;
}
#banner-block,
#banner-block .row,
#banner-block .row .col-lg-6 {
    height: 80vh;
}
#banner-block a {
    background-color: var(--yellow);
    border-radius: 10px;
    width: 200px;
    height: 40px;
    display: flex;
    justify-content: center;
}
#banner-block .h-100 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-banner {
    width: 100vw;
    height: 80vh;
    position: absolute;
    object-fit: cover;
}
#about-block .card .card-img,
#about-block .card {
    border-radius: 40px;
}
#about-block .card::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(to bottom, var(--primary), var(--yellow));
    border-radius: 43px;
    z-index: -1;
}
.svg-circle {
    border-radius: 50%;
    border: 5px solid var(--yellow);
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -2px 4px 4px rgba(0, 0, 0, 0.25);
}
.bd-placeholder-img {
    max-height: 450px;
    object-fit: cover;
}
#app-block {
    margin-top: 100px;
}
/* Text */
.large-text {
    font-size: var(--text-32);
}
.med-text {
    font-size: var(--text-24);
}
.norm-text {
    font-size: var(--text-18);
}
.sm-text {
    font-size: var(--text-16);
}
.smaller-text {
    font-size: var(--text-14);
}
.title,
h1 {
    font-size: 36px;
    font-weight: 600;
}
.subtitle,
h2 {
    font-size: var(--text-24);
    font-weight: bold;
}
.primary {
    color: var(--primary);
}
.bg-primary {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}
nav,
footer {
    background-color: #252525;
    color: var(--white);
}
a {
    color: var(--primary);
    font-weight: normal;
}
a:hover,
a:focus {
    color: var(--dark);
}
.nav .nav-item a,
.main-header .nav-link {
    color: var(--white);
    font-size: var(--text-14);
}
.nav .nav-item a:hover,
.nav .nav-item a:focus,
.nav .nav-item a:active {
    color: var(--primary);
}
.card,
.h-card {
    border-radius: 20px;
    border-width: 0;
    box-shadow: none;
}
.box-shadow {
    box-shadow: 0px 25px 35px 0px rgba(0, 0, 0, 0.05);
}
.card-header {
    color: var(--primary);
    font-size: var(--text-24);
    font-weight: bold;
    border-color: var(--primary);
}
.card-footer {
    background-color: transparent;
}
.h-card {
    border-radius: 20px;
    overflow: hidden;
}
.h-card .card-body {
    height: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 20px;
}
.card-text {
    font-weight: normal;
    font-size: var(--text-18);
}
.h-card .card-body::after {
    display: none;
}
.btn {
    border-radius: 10px;
    border-width: 0;
    padding: 10px 25px;
}
.btn-light:focus,
.btn-light:active {
    background-color: #e2e6ea !important;
}
.btn.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-light {
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: bold;
}
.btn.btn-tr-red {
    background-color: var(--tr-red);
    color: var(--white);
}
.btn.btn-tr-red:hover,
.btn.btn-tr-red:active,
.btn.btn-tr-red:focus {
    background-color: rgba(169, 27, 46, 0.5);
    color: var(--white);
}
.square-btn {
    height: 45px;
    width: 45px;
    margin: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:hover {
    background-color: #310849 !important;
}
.btn.btn-dark {
    background-color: var(--dark);
    color: var(--white);
}
.btn.btn-dark:active,
.btn.btn-dark:focus {
    background-color: #060606 !important;
    color: var(--white);
}
.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--dark);
}
.form-select {
    height: 58px;
}
.card-link:hover .card,
.h-card:hover,
.card.hover:hover {
    box-shadow: 0px 25px 35px 0px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.5s ease;
}
.img-fluid {
    background-size: cover;
    object-fit: cover;
}
.card-link:active .card,
.card-link:focus .card,
.card-link:focus .card,
.card-link:active .card .card-title,
.card-link:focus .card .card-title {
    background-color: var(--primary);
    color: var(--white);
    transition: background-color 0.5s ease;
    transition: color 0.5s ease;
}
.form-control:focus,
.form-control:active,
.form-select:focus,
.form-select:active {
    box-shadow: 0px 0px 0px 3px var(--tr-red);
    border: 1px solid var(--primary);
}
label:not(.form-check-label):not(.custom-file-label) {
    font-size: var(--text-16);
    font-weight: normal;
}
#login,
#register {
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
}
.main-sidebar,
.offcanvas {
    background-color: var(--subprimary);
    height: fit-content !important;
    min-height: 100vh !important;
    position: fixed !important;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}
.main-sidebar .sidebar {
    position: fixed;
    width: inherit;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
}
.alert-danger {
    color: #ea868f;
    background-color: #441115;
    border: 1px solid #842029;
    border-radius: 10px;
}
.card-img-top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.login-img {
    position: fixed;
    right: 0;
    z-index: -1;
    height: 90vh;
    width: auto;
    bottom: 0;
}
.nav-sidebar {
    background-color: var(--subprimary);
    border: 0;
}
.card-title {
    font-size: var(--text-18);
    color: var(--primary);
    font-weight: bold;
}
.category-img {
    width: 150px;
    height: 150px;
    background-size: cover;
    object-fit: cover;
}
.tr-card {
    border-radius: 50px;
    background-color: var(--tr-red);
    padding: 0;
}
.tr-card .card-body {
    padding: 15px 25px;
}
.accordion {
    border-radius: 20px;
    overflow: hidden;
}
.accordion-item {
    border: none;
}
.btn-outline-primary {
    border-radius: 20px;
    border: 1px solid var(--tr-red);
}
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-check:checked + .btn > div > p {
    color: var(--white);
}
.btn-check + .btn:hover {
    border-color: var(--tr-red);
}
.btn-check + .btn:hover .category-check {
    background-color: var(--white);
}
.category-check {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    background-color: var(--white);
    border: none;
    border-radius: 20px;
}
.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
}
.list-group-item:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.list-group-item:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.btn-toggle,
.btn-toggle:hover,
.link-body-emphasis,
.link-body-emphasis:hover,
.link-body-emphasis:focus {
    color: var(--white) !important;
}
.btn-toggle {
    font-size: var(--text-16);
    font-weight: bold;
}
.btn-toggle::after {
    content: url("/images/icons/arrow-right-white.svg");
    margin: 5px;
    vertical-align: middle;
    transition: 0.35s ease;
}
.btn-toggle[aria-expanded="true"]::after {
    content: url("/images/icons/arrow-white.svg");
}
.link-body-emphasis {
    font-size: var(--text-16);
    font-weight: normal;
}
.form-check-input:checked {
    background-color: var(--white);
    border-color: var(--white);
}
.form-check-input:checked[type="checkbox"] {
    content: url("/images/icons/check-small.svg");
}
.form-check-input:focus {
    border-color: var(--white);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}
.nav-pills .nav-item .nav-link {
    color: var(--white) !important;
    font-size: var(--text-16);
    font-weight: bold;
}
#profile-tab .nav-item .nav-link,
#v-pills-profile-edit .nav-link  {
    color: var(--primary) !important;
    font-size: var(--text-16);
    font-weight: bold;
    background-color: var(--white);
}
#profile-tab .nav-item .nav-link.active,
#v-pills-profile-edit .nav-link.active {
    color: var(--white) !important;
    font-size: var(--text-16);
    font-weight: bold;
    background-color: var(--primary);
}
#v-pills-profile-edit .nav-link:first-child {
    border-radius: 20px 20px 0 0;
}
#v-pills-profile-edit .nav-link:last-child {
    border-radius: 0 0 20px 20px;
}
#profile-tab {
    display: flex;
    justify-content: center;
}
.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 92vh;
    overflow-x: hidden;
}
.ex-card {
    height: 100%;
}
.ex-card .card-img-top {
    height: 250px;
    object-fit: cover;
}
nav.breadcrumb,
.breadcrumb {
    background-color: transparent;
}
.breadcrumb {
    margin: 0;
    padding-bottom: 0;
}
.breadcrumb-item a {
    color: var(--dark);
    font-size: var(--text-18);
}
.breadcrumb-item.active a {
    color: var(--primary);
    font-size: var(--text-18);
}
.modal-content {
    border-radius: 20px;
    box-shadow: none;
}
.modal-title {
    color: var(--primary);
    font-size: var(--text-24);
    font-weight: bold;
}
.modal-header {
    border-bottom: 1px solid var(--primary);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.btn-close {
    background-image: url(/images/icons/close-circle.svg);
    padding: 0;
    height: 20px;
    width: 20px;
    background-size: 100%;
}
.btn-close.white {
    background-image: url(/images/icons/close-circle-white.svg);
    padding: 0;
    height: 30px;
    width: 30px;
    background-size: 100%;
}
.btn-close:focus,
.btn-close:active {
    box-shadow: none;
}
.card-300 {
    height: 300px;
    width: 300px;
    border-radius: 20px;
    object-fit: cover;
}
.input-group .btn {
    padding: 0 20px;
}
.custom-popover {
    border-radius: 20px;
    border-color: var(--primary);
    overflow: hidden;
    box-shadow: none;
    z-index: 1040;
}
.custom-popover .popover-header {
    background-color: var(--primary);
    color: var(--white);
}
/* .btn:focus, .btn:active {
    background-color: transparent !important;
} */
/* WebKit браузеры (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--white);
}
.novideo {
    width: 200px;
    height: 135px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    background: #f0f0f0;
    line-height: 100px;
    text-align: center;
    border-radius: 10px;
}
.break-card {
    display: flex;
    justify-content: center;
    background-color: #f4f6f9;
    color: var(--dark);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15) inset;
}
.main-header {
    margin-left: 0 !important;
    overflow-x: auto;
}
.card-img {
    border-radius: 20px;
}
#training-cards .exercise-card,
#training-cards .break-card {
    transition: width 0.5s ease, height 0.5s ease, background-color 0.5s ease;
}
#training-cards .exercise-card.active {
    background-color: var(--primary);
    color: var(--white);
    height: 40vh;
    transition: width 0.5s ease, height 0.5s ease, background-color 0.5s ease;
}
#training-cards .break-card.active {
    background-color: var(--primary);
    color: var(--white);
    height: 25vh;
    transition: width 0.5s ease, height 0.5s ease, background-color 0.5s ease;
}
#training-cards .exercise-card.active .img-fluid {
    width: 100%;
    height: 100%;
    max-height: 40vh;
}
#training-cards .exercise-card.active .exercise-video {
    /* height: 100%;
    max-height: 45vh; */
}
#training-cards .exercise-card .exercise-video {
    /* height: 100%;
    max-height: 35vh; */
}
#training-cards .exercise-card.active .clock-image::after,
#training-cards .break-card.active .clock-image::after {
    content: url(/images/icons/clock-white.svg);
    width: 40px;
    height: 45px;
}
#training-cards .break-card.active .subtitle,
#training-cards .exercise-card.active .timer {
    font-size: 64px;
    font-weight: bold;
}
#training-cards .exercise-card .clock-image,
#training-cards .break-card .clock-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
}
#training-cards .break-card .clock-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
}
#training-cards .exercise-card .clock-image::after,
#training-cards .break-card .clock-image::after {
    content: url(/images/icons/clock.svg);
    height: -webkit-fill-available;
}
.sidebar-check .light-check:not(:active),
.sidebar-check .light-check:not(:focus) {
    background-color: var(--dark) !important;
    color: var(--white) !important;
    font-weight: bold;
    font-size: var(--text-16);
    border-radius: 30px;
    padding: 10px 15px;
}
.sidebar-check .btn-check:checked + .btn,
.sidebar-check :not(.btn-check) + .btn:active,
.sidebar-check .light-check {
    font-weight: bold;
    font-size: var(--text-16);
    margin-bottom: 0;
    background-color: var(--white) !important;
    color: var(--primary) !important;
}
.light-check label {
    border-radius: 30px;
    padding: 10px 15px;
}
.offcanvas {
    width: 500px !important;
    max-height: 100vh;
}
.card-group-h {
    display: flex;
    flex-direction: column;
}
.card-group-h .card {
    border-radius: 0;
}
.card-group-h .card:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.card-group-h .card:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.card-group-h .card:not(last-child) {
    border: 2px solid var(--primary);
}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 20px 0px 0px 20px;
}
.btn-group > .btn:not(:first-child) {
    border-radius: 0px 20px 20px 0px;
}
.tooltip-trigger {
    cursor: pointer;
}
.tooltip-trigger path {
    transition: fill 0.3s ease;
}
.tooltip-trigger:hover path {
    fill: #a63e48;
    stroke: yellow;
    z-index: 99999;
    stroke-width: 5;
}
.tooltip-container {
    position: relative;
    display: inline-block;
}
.brand-text {
    padding: .5rem 1rem;
    width: 110%;
}
.tooltip {
    position: absolute;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    pointer-events: none; /* чтобы тултип не перехватывал события мыши */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
#exercise-container .h-card {
    border-radius: 0px;
}
#exercise-container .h-card:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
#exercise-container .h-card:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.exercise-video {
    width: 93%;
}
.exercise-form {
    padding-top: 10px;
}
@media (max-width: 1100px) {
    .sub-text {
        font-weight: bold;
        color: var(--yellow);
        margin-left: 0px;
    }
    .brand-text {
        padding: .5rem 1rem;
        width: 70%;
    }
    :root {
        --text-32: 32px;
        --text-24: 24px;
        --text-18: 14px;
        --text-16: 16px;
        --text-14: 14px;
    }
    .exercise-video {
        width: 100%;
    }
    #training-cards .exercise-card.active,
    #training-cards .break-card.active {
        height: auto;
    }
    #training-cards .break-card.active .subtitle,
    #training-cards .exercise-card.active .timer {
        font-size: 48px;
        font-weight: bold;
    }
    .content-wrapper > .content {
        padding: 0.5em;
    }
    .h-card .card-body {
        padding: 20px;
    }
    .category-img {
        width: 50px;
        height: 50px;
        background-size: cover;
        object-fit: cover;
    }

    .list-group-item-action .card .card-body {
        text-align: center;
        width: fit-content;
    }
    .list-group-item-action .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .card-img-top {
        max-height: 150px;
        object-fit: cover;
    }
}
@media (max-width: 768px) {
    .list-group-item-action .card .card-body {
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #training-cards .break-card.active .subtitle,
    #training-cards .exercise-card.active .timer {
        font-size: 48px;
        font-weight: bold;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background-color: #f7f5f5;
}

.page-link {
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
}

.page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-item.disabled .page-link {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.page-link:hover {
    background-color: #0056b3;
    color: #fff;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    max-height: 500px;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 1 0 auto;
    max-height: 450px;
    max-width: 33%;
}

.swiper-button-next {
    color: #450967 !important;
    margin-right: -35px;
}

.swiper-button-prev {
    color: #450967 !important;
    margin-left: -35px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input {display:none;}

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: var(--primary);
  }

  input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  .slider.round {
    border-radius: 34px;
  }

  .slider.round:before {
    border-radius: 50%;
  }
.table thead tr th {
    background: transparent;
}
textarea {
    min-height: 100px !important;
}

/* LightBox Modal */
.gallery-item {
    display: block;
}
.gallery-item img {
    transition: box-shadow 0.4s;
    background-color: var(--white);
}
.gallery-item:hover img {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}
.lightbox-modal .modal-content {
    background-color: var(--lightbox);
    border: none;
}
.lightbox-modal .modal-dialog {
    width: 100vw;
    max-width: 100vw;
}
.lightbox-modal .btn-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    filter: invert(1) grayscale(100);
    height: 30px;
    width: 30px;
}

.lightbox-modal .modal-body {
    display: flex;
    align-items: center;
    padding: 0;
}

.lightbox-modal .lightbox-content {
    width: 100%;
}

.lightbox-modal .carousel-indicators {
    margin-bottom: 0;
}

.lightbox-modal .carousel-indicators[data-bs-target] {
    background-color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-inner {
    width: 75%;
}

.lightbox-modal .carousel-item carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 2rem;
    background-color: var(--lightbox);
    color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
    width: auto;
}

.lightbox-modal .carousel-control-prev {
    left: 1.25rem;
}

.lightbox-modal .carousel-control-next {
    right: 1.25rem;
}

@media (min-width: 1400px) {
  .lightbox-modal .carousel-inner {
        max-width: 60%;
  }
}

[data-bs-theme = "dark"] .lightbox-modal carousel-control-next-icon,
[data-bs-theme = "dark"] .lightbox-modal carousel-control-prev-icon {
    filter: none;
}

.btn-fullscreen-enlarge,
.btn-fullscreen-exit {
    position: absolute;
    top: 1.25rem;
    right: 3.5rem;
    z-index: 10;
    border: 0;
    background: transparent;
    opacity: .6;
    font-size: 1.25rem;
}

.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.035em;
    fill: currentcolor;
}
.lightbox-img {
    width: 100%;
    height: 600px;
    object-fit: contain;
}
/* LightBox Modal End */

.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
}

.exercise-item {
    cursor: grab;
}

.exercise-item:active {
    cursor: grabbing;
}

.exercise-card.active .exercise-description {
    max-height: 20rem;
    overflow-y: auto;
}

@media (max-width: 576px) {
    .exercise-card.active .exercise-description {
        max-height: 10rem;
        overflow-y: auto;
    }
}

/* Стили для лайтбокса */
.lightbox {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	overflow: auto;
	animation: fadeIn 0.3s;
}

.lightbox-content {
	position: relative;
	margin: auto;
	padding: 0;
	max-width: 90%;
	max-height: 90%;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
}

.lightbox-image-container {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.lightbox-video {
	max-width: 100%;
	max-height: 80vh;
	display: block;
	border-radius: 5px;
}

.lightbox-close {
	position: absolute;
	top: -20px;
	right: -20px;
	color: #f1f1f1;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.5);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.lightbox-close:hover {
	color: #fff;
	background: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
	margin-top: 15px;
	color: white;
	font-size: 1.2em;
}

.lightbox-trigger {
	cursor: pointer;
	transition: 0.3s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}
