:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
:root {
    --background-color: #ffffff;
    --black-color: #2a2a2a;
    --white-color: #ffffff;
    --red-color: #a11a16;
    --gold-color: #fbba00;
    --blue-color: #02b5d3;
    --black-color-75: #5f5f5f;
    --red-color-75: #b95350;
}
@font-face {
    font-family: 'eUkraine'; /* Name your font family */
    src: url('/assets/e-UkraineHead-Regular.otf') format('otf');
    font-weight: normal; /* Specify font weight */
    font-style: normal;  /* Specify font style */
    font-display: swap; /* Optional: controls how the font is displayed while loading */
}

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

@media (max-width: 768px) {
    .header {
        padding-left: 5px;
    }
}

@media (max-width: 768px) {
    .header svg {
        max-width: calc(100vw - 75px);
    }
}

@media (max-width: 768px) {
    .desktop-program {
        display: none;
    }
}
@media (min-width: 769px) {
    .mobile-program {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}

img {
    object-fit: contain;
}

.header {
    position: fixed;
    top: 0;
    padding: 0 15px;
    height: 75px;
}
.footer {
    height: 115px;
}

.header,
.footer {
    color: var(--white-color);
    background-color: var(--red-color);
    left: 0;
    right: 0;
    width: 100vw;
    transition: all ease-in-out 0.3s;
    overflow-y: auto;
    z-index: 997;
}

/*.header div,*/
/*.footer div {*/
/*    display: flex;*/
/*    justify-content: space-around;*/
/*    align-items: center;*/
/*}*/

.flex-container {
    display: flex;
}

.more-bio .flex-container {
    justify-content: space-between;
}

.logo-container {
    flex-grow: 1;
    text-align: center;
}
.logo-img {
    width: 75px;
    height: 70px;
    object-fit: cover;
}

.contact-icon {
    color: #007ea7;
    display: block;
    cursor: pointer;
}
#main .contact-icon {
    margin-top: 11px;
    font-size: 48px;
    margin-left: 71px;
    position: relative;
}
#main .contact-icon .bi {
    background-color: white;
    margin-top: 0;
    width: 40px;
    height: 40px;
    border-radius: 100px;
}
#main .contact-icon .bi::before {
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
}

@media (min-width: 1000px) {
    #navmenu-mobile {
        display: none;
    }
}
@media (max-width: 1000px) {
    #navmenu {
        display: none;
    }
}

.hamburger {
    background-color: inherit;
    color: inherit;
    border: none;
    font-size: 38px;
    font-weight: bold;
}

/* Style the mobile menu */
.mobile-links {
    display: none;
    position: fixed;
    background: var(--red-color);
    color: var(--white-color);
    left: 0;
    width: 100vw;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mobile-links a {
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--white-color);
    padding-top: 10px;
    padding-bottom: 10px;
}

.mobile-links.active {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 66px);
    justify-content: space-around;
}

.navmenu {
    flex-grow: 1;
    display: flex;
    justify-content: space-evenly;
    height: 75px;
    align-items: center;

}

.navmenu a {
    text-decoration: none;
    cursor: pointer;
    color: var(--white-color);
}

.navmenu a.active {
    font-weight: bold;
    color: var(--gold-color);
}

.s-main {
    width: 100%;
    margin-top: 50px;
    /*height: 100vh;*/
    overflow: hidden;
    position: relative;
}

.main-img-container {
    min-width: calc(100vw - 15px);
    /*height: calc(100vh);*/
    background-color: var(--white-color);
}

#main-img-1 {
    min-width: 100%;
    max-width: 100%;
}
#main-img-2 {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
}
@media (max-width: 768px) {
    #main-img-1 {
        margin-left: -65px;
        min-width: calc(100% + 200px);
        max-width: calc(100% + 200px);
    }
    #main-img-2 {
        position: absolute;
        left: -65px;
        top: 0;
        right: -100px;
        bottom: 0;
        opacity: 0;
        width: calc(100% + 200px);
    }
}

.main-img {
    /*min-height: 100%;*/
    object-fit: cover;
    object-position: top;
    transition: opacity 1s ease-in-out;
}

.s-main .main-text {
    display: flex;
    align-items: center;
    position: absolute;
    top: 55%;
    left: 11%;
    color: var(--white-color);
}
@media (max-width: 1200px) {
    .s-main .main-text {
        top: 11%;
    }
}
@media (max-width: 768px) {
    .s-main .main-text {
        position: relative;
        justify-content: space-evenly;
        width: 100%;
        left: 0;
    }
}

.button {
    background-color: var(--gold-color);
    color: var(--red-color);
    border-radius: 25%;
    margin-top: 10px;
    width: 200px;
    padding: 4px 8px 5px;
    border: 1px solid #9fa3a7;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);

    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    font-weight: bold;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow:
            0 1px 0 rgba(0,0,0,.08),
            inset 0 1px 2px rgba(255,255,255,.67),
            inset 0 -1px 0 rgba(0,0,0,.14);
}

.main-program-button {
    background-color: var(--red-color);
    color: var(--white-color);
}

.collapsable-header {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.collapsable-header:before {
    content: "\F285";
    font-family: bootstrap-icons !important;
    position: absolute;
    right: 5px;
}
.collapsable-header.expanded:before {
    content: "\F282";
}

.collapsable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-out;
    padding-right: 10px;
    background-color: #fff;
}

.section {
    padding: 50px;
    color: var(--black-color);
}
@media (max-width: 768px) {
    .section {
        padding: 20px;
    }
}

.section#main {
    padding: 0;
    z-index: 100;
}
.section h2 {
    color: var(--red-color);
    margin-top: 25px;
    margin-bottom: 25px;
    font-family: 'eUkraine', sans-serif;
}
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .section .flex-container {
        flex-direction: column;
    }
}

html:not(.no-js) .one-page [data-aos^=fade][data-aos^=fade] {
    opacity: 1;
}

html:not(.no-js) .one-page [data-aos=fade-up] {
    transform: none;
}

.one-page .section {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100vh - 75px);
    overflow: auto;
}

.one-page section {
    transition: opacity 1s ease;
    opacity: 1;
}
.one-page section:not(.active) {
    opacity: 0;
    z-index: -1;
    display: none;
}


.section#motivation {
    background-color: var(--red-color);
}
.section#motivation h2 {
    color: var(--white-color);
}
.section#motivation .box {
    background-color: var(--white-color);
    color: var(--black-color);
}
.section#motivation .box h4 {
    color: var(--red-color);
}

.section:nth-child(2n+1) {
    background: var(--black-color);
    color: var(--white-color);
}

.section:nth-child(2n+1) h2 {
    color: var(--gold-color);
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box-container .box {
    background-color: var(--red-color-75);
    min-width: 22%;
    max-width: 22%;
    padding: 10px 20px 10px 20px;
    margin-bottom: 30px;
    border-radius: 20px;
    text-align: justify;
}

.box-container .box h4 {
    padding-bottom: 5px;
}

.box-container .box ul {
    margin-left: -15px;
}

.box-container .box.box-2 {
    min-width: 46%;
    max-width: 46%;
}

.box-container .box.box-3 {
    min-width: 30%;
    max-width: 30%;
}
@media (max-width: 768px) {
    .box-container .box {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

.section:nth-child(2n+1) .box-container .box {
    background-color: var(--black-color-75);
}

.box-container .box h1,
.box-container .box h2,
.box-container .box h3,
.box-container .box h4,
.box-container .box h5,
.box-container .box h6 {
    text-align: center;
}

.box-container .box img {
    max-width: 100%;
}

.section#experience {
    color: var(--white-color);
}
.section#experience .exp-header {
    align-items: center;
}
.section#experience .exp-icon {
    background-color: var(--red-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.carousel {
    margin-bottom: 5px;
    width: 300px;
    overflow: hidden;
    position: relative;
}

.carousel-button {
    position: absolute;
    top: calc(50% - 20px);
    height: 40px;
    width: 40px;
    border-radius: 40px;
    background-color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
}
.carousel-left {
    left: 10px;
    display: none;
}
.carousel-right {
    right: 10px;
}

.carousel .carousel-content {
    width: 100%;
    display: flex;
    transition: margin-left ease 1s;
    margin-left: 0;
}

.carousel .carousel-content img {
    width: 100%;
}

.section#program {
    background-color: var(--red-color);
}
.section#program h2 {
    color: var(--white-color);
}
.section#program .box {
    background-color: var(--white-color);
    color: var(--black-color);
}
.section#program .box h4 {
    color: var(--red-color);
}

.download-button {
    font-size: 24px;
    padding: 10px;
}


#gallery .gallery-content {
    position: relative;
    overflow: hidden;
}

#gallery .gallery-content img {
    transition: 0.3s;
}

#gallery .gallery-content .gallery-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
}

#gallery .gallery-content .gallery-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 400;
    color: #ffffff;
    display: inline-block;
}

#gallery .gallery-content .gallery-info p {
    position: absolute;
    bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

#gallery .gallery-content .gallery-info .preview-link,
#gallery .gallery-content .gallery-info .details-link {
    position: absolute;
    left: calc(50% - 24px);
    font-size: 42px;
    top: calc(50% - 24px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
}

#gallery .gallery-content .gallery-info .details-link {
    left: 50%;
    font-size: 34px;
    line-height: 0;
}

#gallery .gallery-content:hover .gallery-info {
    opacity: 1;
}

#gallery .gallery-content:hover img {
    transform: scale(1.1);
}

.glightbox-clean .gslide-description {
    max-width: initial !important;
    max-height: 33vh !important;
    overflow: auto;
}


.section#faq .faq-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.section#faq h2 {
    color: var(--gold-color);
}
.section#faq .faq-item {
    width: 48%;
    background-color: var(--white-color);
    color: var(--black-color);
    padding: 10px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .section#faq .faq-item {
        width: 100%;
    }
}
.section#faq .faq-item .collapsable-header {
    font-size: 18px;
    font-weight: bold;
}

.header-contact .contact-icon {
    color: var(--white-color);
    padding: 5px;
    font-size: 36px;
}

.section#contact {
    background-color: var(--red-color);
}

.section#contact .container {
    color: var(--white-color);
    padding: 10px;
}

.section#contact .contact-item {
    display: flex;
    align-items: center;
}

.section#contact .contact-item .contact-icon {
    margin-right: 10px;
    color: var(--white-color);
    font-size: 42px;
}

.video-list.flex-container {
    padding-left: 0;
}
@media (min-width: 769px) {
    .video-list:not(.flex-container) {
        padding-top: 0;
    }
}

.video-list {
    padding: 10px;
    flex-grow: 1;
    align-items: center;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-preview {
    max-height: 100px;
    max-width: 200px;
    cursor: pointer;
}

.selected-video {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid #ab0019;
    transition: all 0.3s ease;
}