:root {
    /* Bootstrap variables

    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    */
    /* цвета */
    --regular-color: #FFF;
    --primary-color: #3e304c;
    --secondary-color: #BBADD2;

    /* размеры */
    --page-width: 100vw;
    --page-min-width: 320px;
    --header-height: 45vw;
}

/* базовые стили */
a, a:visited, a:focus, a:active, a:hover, button {
    outline:0 none !important;
    text-decoration: none !important;
}

.font-regular {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 7pt;
}

.font-primary {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 10pt;
}

.font-bold {
    font-weight: 700;
}

.font-menu {
    font-size: calc(0.7vw + 1px);
    font-weight: 700;
    color: var(--primary-color);
}

.font-color-regular {
    color: var(--regular-color);
}

.font-color-primary {
    color: var(--primary-color);
}

.font-color-secondary {
    color: var(--secondary-color);
}

.bg-color-regular {
    background-color: var(--regular-color);
}

.bg-color-primary {
    background-color: var(--primary-color);
}

.bg-color-secondary {
    background-color: var(--secondary-color);
}


/* для отладки */
.debug-light {
    border: 1px solid #fff;
}

.debug-dark {
    border: 1px solid indigo;
}

/* теги */
html {
    font-size: 100%;
}


img {
    width: 100%;
    height: auto;
    border: 1px solid var(--regular-color);
}


h1 {
    font-size: 18pt;
}

h2 {
    font-size: 16pt;
}

h3 {
    font-size: 14pt;
}

p {
    font-size: 14pt;
}

a {
    color: var(--regular-color);
}

a:hover {
    color: inherit;
}

h1 a {
    color: inherit;
}

h1 a:hover {
    text-decoration: underline !important;
}

/* классы */
.spacer {
    display: block;
    width: 100%;
    height: 1rem;
}

.spacer-small {
    display: block;
    width: 100%;
    height: 0.5rem;
}

.spacer-big {
    display: block;
    width: 100%;
    height: 2rem;
}

.thumbnail-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
}

.thumbnail {
    display: block;
    padding: 0;
    flex-basis: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.thumbnail img {
    display: block;
}

.thumbnail p {
    margin-bottom: 0;
}

.thumbnail a {
    display: block;
    margin-top: 0;
    font-size: 12px;
    font-size: 0.75rem; 
}

.thumbnail a:hover {
    text-decoration: none;
    font-weight: 700;
}

.thumbnail a.btn-buy {
    color: var(--primary-color);
    background-color: var(--regular-color);
    border: 0;
    border-radius: 0;
}

a.thumbnail:hover {
    transform: scale(1.02);
}


.page-box {
    width: var(--page-width);
    min-width: var(--page-min-width);
}

/* идентификаторы */
#header {
    background-image: url(images/header_mini.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: var(--header-height);
    position: relative;
    top: -12vw;
}

#logo {
    display: none;
}

#logo-mobile {
    display: block;
    border: 0;
    margin-top: 15px;
    transform: scale(0.9);
}

#brand {
    display: none;
}

#menu-toggle-container {
    position: relative;
    top: 2vw;
    display: block;
    z-index: 2000;   
}

#menu-toggle {
    padding: 0;
}

#menu-toggle button {
    width: auto;
    height: auto;
    background-color: var(--regular-color);
    background-size: 100% 100%;
    color: var(--primary-color);
    padding: 0;
    border: 0;
    font-size: 7vw;
}


#menu-toggle button:before { 
    content: "\2261"; /* юникод */
}

#menu-toggle button:hover { 
    color: var(--secondary-color);
}

#vertical_bar {
    display: none;
    position: absolute;
    top: 3vw;
    left: 30%;
}

#vertical_menu {
    padding: 0;
    margin: 0;
    z-index: 2000;
    background-color: var(--regular-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#vertical_menu div.item {
    padding: 5px;
    padding-left: 15px;
}

#vertical_menu div.item a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
}

#vertical_menu div.item:hover {
    text-decoration: underline !important;
}

#vertical_flag {
    padding-left: 8px;
    outline: none;
}

#vertical_flag:hover {
    cursor: pointer;
}

#blackboard {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100%;
    background-color: #000;
    opacity: 0.7;
    z-index: 1500;
    display: none;
}

#horizontal_bar {
    display: none;
}

#flag {
    outline: none;
}

#flag:hover {
    cursor: pointer;
}

.banner-wrapper {
    position: relative;
    height: 100%;
}

#banner {
    display: block;
    width: 100%;
    height: auto;
}

#banner-background {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25%;
    background-color: black;
    opacity: 0.6;
}

#banner-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25%;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    border-left: 1px solid white;
}

#banner-btn {
    display: block;
    position: absolute;
    bottom: 27%;
    left: 34%;
    width: 32%;
    height: 4.5vw;
    font-size: 2vw;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--regular-color);
    border:1px solid var(--regular-color);
    text-align: center;
    padding-top: 0.5vw;
}

#press-release p {
    font-size: 14pt;
}

#press-release hr {
    border-color: var(--regular-color);
    margin: 0;
}

#press-release a {
    font-size: 12pt;
}

#promo-video {
    border: 1px solid var(--regular-color);
}

#main {
    min-height: calc(95vh - var(--header-height) * 2);
}

#notice {
    display: flex;
}

#notice img {
    border: 0;
    width: 50%;
    height: 100%;
}

#notice p {
    width: 50%;
    height: 40%;
    font-size: 16pt;
    align-self: center;
}

#notice-more {
    font-size: 16pt;
    width: 50%;
    margin: 0 auto;
}

/* Футер */
#footer {
    background-image: url(images/header_mini.svg);
    background-size: cover;
    background-repeat: no-repeat;
    height: var(--header-height);
    transform: scale(1, -1);
}

#footer-reverse {
    transform: scale(1, -1);
}

#socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#socials .item img {
    width: 11vw;
    padding: 0.5vw;
    border: none;
}

#socials .item img:hover {
    transform: scale(1.1);
}


#contacts {
    width: 100%;
    font-size: 4vw;
    text-align: center;
    margin-top: 2vw;
}

#footer-links-bar {
    background-color: var(--regular-color);
    color: var(--primary-color);
    padding: 12px 0;
}

#footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 24px;
    text-align: center;
}

#footer-links a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

#footer-links a:hover {
    text-decoration: underline;
}

#copyright {
    background-color: var(--regular-color);
    border-top: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* history.html */
.history-text-block {
    padding: 0; 
}

.history-image-block {
    margin-bottom: 15px;
    padding: 0;
}

/* .history-text {
    font-size: 14pt;
} */

/* biography.html */
/* .biography-text {
    font-size: 14pt;
} */

/* pagination */
ul.pagination li.page-item a.page-link {
    font-size: 12pt;
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
}

ul.pagination li.disabled a.page-link {
    opacity: 0.7;
}

ul.pagination li.active a.page-link {
    background-color: var(--primary-color);
    border-color: var(--regular-color);
    color: var(--regular-color);
}

/* upcomings */
.row-event {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-left: 0px;
    padding-right: 0px;
    border: 1px solid var(--regular-color);
}


.row-event div div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.row-event h2 {
    font-size: 2.3vw;
}

.row-event .event-date {
    line-height: 150%;
}

.row-event .event-btn {
    color: var(--primary-color);
    background-color: var(--regular-color);
    border: 0;
    border-radius: 0;
    font-weight: 700;
    font-size: 2vw;
    width: 100%;
    align-self: center;
}

.row-event .event-btn:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

.row-event .event-title {
    line-height: 150%;
}

.row-event .event-title:hover {
    text-decoration: underline;
}

.row-event .event-logo {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px; 
}

/* event */
.btn-buy {
    width: 100%;
    color: var(--primary-color);
    background-color: var(--regular-color);
    border: 0;
    border-radius: 0;
}

.btn-buy:hover {
    background: var(--regular-color);
    color: var(--primary-color);
    font-weight: 700;
}

.upcoming-affiche-box {
    background-image: url(images/magnifier.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.video {
    border: 1px solid var(--regular-color);
}

.audio audio {
    width: 100%;
}


/* figure.article {
    border: 1px solid var(--regular-color);
    padding: 5px;
} */

/* figure h2 {
    font-size: 12pt;
}

figure.article p {
    font-size: 12pt;
} */

/* photo */
.photo-box {
    background-color: var(--regular-color);
    color: var(--primary-color);
    padding: 15px;
}

.photo-item {
    padding: 15px;
}

.photo-item:hover {
    transform: scale(1.05);
    transition: all .3s ease-in-out;
}

/* education */
.bio-box {
    background-color: var(--regular-color);
}

.bio-photo {
    margin-top: 10px;
}

.bio-photo img {
    display: block;
}

.bio-photo h3 {
    text-align: center;
    color: var(--primary-color);
}

.bio-text {
    margin-top: 10px;
    color: var(--primary-color);
}



/* support */
.support-wrapper {
    position: relative;
    height: 100%;
}

#support-banner {
    display: block;
    width: 100%;
    height: auto;
    border: none;
}

#support-background {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background-color: black;
    opacity: 0.6;
}

#support-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
}

#support-title {
    position: absolute;
    top: 15%;
    width: 100%;
    text-align: center;
    font-size: 2vw;
    font-weight: 700;
    color: var(--regular-color);
}

#support-btn {
    display: block;
    position: absolute;
    bottom: 15%;
    left: 34%;
    width: 32%;
    height: 4.5vw;
    font-size: 2vw;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--regular-color);
    border:1px solid var(--regular-color);
}

.partner {
    display: block;
}

.partner img {
    width: 100%;
    height: auto;
}

.partner p {
    text-align: center;
    font-size: 16pt;
    font-weight: 700;
}

.support-text {
    font-size: 20pt;
    font-weight: 700;
    text-align: center;
}

/* contacts */
.contacts-text {
    font-size: 12pt;
}

/* legal pages (privacy, terms, documents) */
.legal-text p,
.legal-text li {
    font-size: 12pt;
    line-height: 1.5;
}

.legal-text h2 {
    font-size: 16pt;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.legal-text ul {
    padding-left: 1.5em;
}

.contacts-send {
    width: 150px;
    background-color: var(--regular-color);
    color: var(--primary-color);
}

.contacts-send:hover {
    transform: scale(1.05);
    transition: all .3s ease-in-out;
}

/* Малые девайсы (мобильные, >= 576px) */
@media (min-width: 576px) {
}



/* Средние девайсы (планшеты, >= 768px) */
@media (min-width: 768px) {
    :root {
        --header-height: 16.15vw;
    }

    #header {
        background-image: url(images/header.svg);
        top: -45px;
    }

    #logo {
        display: block;
        border: 0;
        margin-top: 15px;
        position: relative;
        top: -0.5vw;
        transform: scale(0.6);
    }

    #brand {
        display: block;
        position: absolute;
        top: calc(30px + 2vw);
        left: 25%;
    }
    
    #brand p {
        color: var(--primary-color);
        padding-left: 1vw;
        margin: 0;
        font-weight: 700;
        font-size: 1.5vw;
    }

    #logo-mobile {
        display: none;
    }

    #menu-toggle {
        position: relative;
        right: -3.5vw;
    }

    #menu-toggle-container {
        top: 0.2vw; 
    }

    #menu-toggle button {
        font-size: 3vw;
    }  

    .thumbnail-box {
        justify-content: space-between; 
    }
    
    .thumbnail {
        flex-basis: 32%;
        margin-top: 0;
        margin-bottom: 0;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .thumbnail-title {
        width: 70%;
        flex-grow: 1;
    }

    /* Футер */
    #footer {
        background-image: url(images/header.svg);
    }

    #socials {
        justify-content: flex-start;
        position: relative;
    }
    
    #socials .item img {
        width: 4vw;
        padding: 0 0.5vw 0 0;
        margin-top: 1vw;
    }
    
    #contacts {
        font-size: 2vw;
        margin-top: 0.5vw;
        margin-left: 0;
        text-align: left;
    }

    #footer-links a {
        font-size: 16px;
    }

    /* upcomings */
    .row-event {
        justify-content: space-between;
        padding-left: 30px;
        padding-right: 30px;
    }    

    .row-event h2 {
        font-size: 1.5vw;
    }

    .row-event .event-btn {
        width: 80%;
        font-size: 10pt;
    } 
    
    /* event */
    .upcoming-affiche:hover {
        opacity: 0.4;
        cursor: pointer;
    }

    .event-affiche {
        float: left;
        width: 240px;
        height: 360px;
        margin-right: 15px;
    }
}

/* Большие девайсы (десктопы, >= 992px) */
@media (min-width: 992px) {
    :root {
        --page-width: 60vw;
        --header-height: 9.7vw;
    }

    .page-box {
        margin: 0 auto;
    }


    #logo {
        transform: scale(0.7);
    }

    #brand {
        top: calc(20px + 1.7vw);
    }
    
    #brand p {
        font-size: 0.9vw;
    }

    #menu-toggle button {
        display: none;
    }

    #vertical_bar {
        visibility: hidden;
        display: none;
    }

    #horizontal_bar {
        position: relative;
        top: 5px;
        display: block;
        z-index: 2000;
    }

    #menu {
        padding: 0; 
    }
    
    #menu ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        margin-left: 1vw;
    }
    
    #menu ul li {
        padding: 0;
        margin: 0;
        list-style-type: none;
    }
    
    #menu ul li a {
        float: left;
        text-decoration: none;
        color: var(--primary-color);
        font-size: 0.7vw;
        font-weight: 700;
    }
    
    #menu ul li a:hover {
        color: var(--secondary-color);
    }

    #menu ul li a:active {
        color: var(--secondary-color);
    }

    #banner-btn {
        font-size: 1vw;
        height: 2.5vw;
    }

    #banner-btn:hover {
        opacity: 0.6;
        cursor: pointer;
    }   

    /* Футер */
    
    #socials .item img {
        width: 3vw;
    }
    
    #contacts {
        font-size: 1vw;
    }

    /* Upcomings */
    .row-event h2 {
        font-size: 1vw;
    }
    
    .row-event .event-btn {
        width: 80%;
        font-size: 0.9vw;
    }

    /* Support */
    #support-title {
        font-size: 1vw;
    }

    #support-btn {
        font-size: 1vw;
        height: 2.5vw;
    }

    #support-btn:hover {
        opacity: 0.6;
        cursor: pointer;
    }
}

/* Экстрабольшие девайсы (большие десктопы, >= 1200px) */
@media (min-width: 1200px) {
}