*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4,h5 {
    margin: 0;
    padding: 0;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto
}

:root{
    --color-main: #e31e24;
    --color-light: #ededed;
    --color1: #1e252d;
    --color2: #283039;
    --color3: #ff4c00;
    --margin-top: 20px;
    --border-radius: 5px;
}

@media (min-width: 768px) {
    :root{
        --margin-top: 50px;
    }
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.075) 0 1px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

.callback {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-height: 70px;
}

section {
    padding: 30px 0;
}

.input {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    background-color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
}

.form1 {
    display: grid;
    gap: 10px;
    max-width: 400px;
    padding: 20px;
    margin: 30px auto 0 auto;
    background-color: var(--color-light);
    border-radius: var(--border-radius);
}

#ugadaika1, #ugadaika2, #ugadaika3 {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.title_big {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
}

.title_desc {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
}

.about {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: var(--margin-top);
    flex-direction: column;
}

.about_box {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: all ease-in-out .5s;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.about_box_title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    min-height: 80px;
}

.about_box.active {
    height: 300px;
}

.ugadaika {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: var(--margin-top) auto 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

.gallery img:nth-child(1){
    grid-column: 1/-1;
}

.gallery img {
    width: 100%;
    transition: .3s;
}

.gallery img:hover {
    cursor: pointer;
    opacity: .8;
}

.btn {
    background-color: var(--color-main);
    padding: 10px 20px;
    color: #fff;
    display: table;
    margin: 0 auto;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: .3s;
}

.btn_big {
    font-size: 18px;
    padding: 10px 40px;
    font-weight: bold;
}

.btn:hover {
    opacity: .8;
}

.text-center {
    text-align: center;
}

.ugadaika__title {
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.magic {
    display: grid;
    gap: 20px;
    margin-top: var(--margin-top);
}

.magic__box {
    padding: 20px;
    background-color: var(--color-light);
    display: grid;
    gap: 10px;
    border-radius: var(--border-radius);
}

.magic__box__left__in {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.magic__box__left__in__title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.teatr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.teatr_desc {
    margin: 20px 0 40px 0;
    font-size: 20px;
}

.teatr__left {
    text-align: center;
}

.teatr__left img {
    border-radius: var(--border-radius);
    max-width: 200px;
}

.teatr__right {
    display: grid;
    gap: 10px;
}

.teatr__right div {
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: var(--color-light);
    font-size: 14px;
}

.otzivi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: var(--margin-top);
}

.otzivi__box {
    height: 300px;
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.otzivi__text {
    margin-top: var(--margin-top);
    display: grid;
    gap: 5px;
    text-align: center;
}

.otzivi_desc {
    font-size: 22px;
}

.otzivi_itog {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

.social {
    display: flex;
    justify-content: space-around;
    margin: var(--margin-top) 0 0 0;
}

.social__box {
    background-color: var(--color-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main {
    height: calc(100vh - 60px);
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.main__title {
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    color: var(--color-main);
}

.main__title {
    opacity: 0;
    transform: translateY(120px);
    transition: 3s;
}

.main__title.show{
    opacity: 1;
}

.main__title.show2 {
    transform: translateY(0);
}

.main__desc {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
    color: #fff;
    opacity: 0;
    transition: 3s;
    transform: translateY(200px);
}

.main__desc2 {
    text-align: center;
    font-size: 20px;
    color: #fff;
    opacity: 0;
    transition: 3s;
    transform: translateY(200px);
}

.main__desc.show {
    opacity: 1;
    transform: translateY(0);
    /*transition-delay: 1s;*/
}

.main__desc2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .5s;
}

#video video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
}

.video-bg {
    background-color: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    opacity: .7;
}

#container-main {
    z-index: 200;
    position: relative;
    transform: translateY(-60px);
}

/*#gal1*/
#gal1 {
    opacity: 0;
    transition: 2s;
    transform: translateX(50%);
}

#gal1.show {
    opacity: 1;
}

#gal1 img:nth-child(2),
#gal1 img:nth-child(3),
#gal1 img:nth-child(4),
#gal1 img:nth-child(5),
#gal2 img:nth-child(2),
#gal2 img:nth-child(3),
#gal2 img:nth-child(4),
#gal2 img:nth-child(5){
   opacity: 0;
}

#gal1.show2, #gal2.show2 {
    transform: translateX(0);
}

#gal1.show3 img:nth-child(2),
#gal1.show4 img:nth-child(3),
#gal1.show5 img:nth-child(4),
#gal1.show6 img:nth-child(5),
#gal2.show3 img:nth-child(2),
#gal2.show4 img:nth-child(3),
#gal2.show5 img:nth-child(4),
#gal2.show6 img:nth-child(5){
    opacity: 1;
}

/*#gal2*/
#gal2 {
    opacity: 0;
    transition: 2s;
    transform: translateX(-50%);
}

#gal2.show {
    opacity: 1;
}

@media (max-width: 767px) {
    /*#gal1 img,*/
    /*#gal2 img,*/
    /*#gal3 img,*/
    /*#gal4 img {*/
    /*    display: none;*/
    /*}*/

    /*#gal1 img:nth-child(1),*/
    /*#gal2 img:nth-child(1),*/
    /*#gal3 img:nth-child(1),*/
    /*#gal4 img:nth-child(1){*/
    /*    display: block;*/
    /*}*/

    #gal1 img, #gal2 img, #gal3 img, #gal4 img {
        max-width: 250px;
    }
    #gal1, #gal2 , #gal3 , #gal4 {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .main__title {
        font-size: 80px;
        line-height: 80px;
    }
    .main__desc {
        font-size: 40px;
        max-width: 900px;
        margin: 40px auto;
        font-weight: 500;
    }
    .main__desc2 {
        font-size: 28px;
        max-width: 750px;
        margin: 0 auto;
    }

    section {
        padding: 50px 0;
    }
    .logo {
        max-height: 100px;
    }
    .title_big {
        font-size: 26px;
    }
    header {
        height: 100px;
    }
    .callback {
        font-size: 24px;
    }
    body {
        padding-top: 100px;
    }
    .ugadaika {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .ugadaika__title {
        margin: 30px 0;
        font-size: 24px;
    }
    .magic__box {
        grid-template-columns: 300px 1fr;
        gap: 20px;
    }
    .otzivi {
        gap: 20px;
    }
    .social__box {
        width: 100px;
        height: 100px;
    }
    .social {
        max-width: 600px;
        margin: var(--margin-top) auto 0 auto;
        gap: 20px;
    }
    .otzivi_itog {
        font-size: 28px;
    }
}
@media (min-width: 992px) {
    section {
        padding: 80px 0;
    }
    .about_box_title {
        text-align: center;
    }
    .about  {
        height: 60vh;
        flex-direction: row;
    }
    .about_box {
        width: 20%;
        height: 100%;
        display: block;
    }
    .about_box:hover {
        /*width: 300%;*/
        cursor: pointer;
        z-index: 900;
    }
    .about_box.active:hover{
        cursor: auto;
    }
    .about_box_title {
        margin: 30px 0;
        min-height: 60px;
    }
    .about_box.active {
        width: 300%;
        height: 100%;
    }
    .about_box.active .about_box_img {
        width: 200px;
    }
    .ugadaika {
        gap: 60px;
    }
    .magic__box {
        grid-template-columns: 450px 1fr;
    }
    .teatr {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 40px;
    }
    .teatr__left img {
        max-width: 100%;
    }
    .teatr__right div {
        padding: 20px;
        font-size: 16px;
    }
    .otzivi {
        gap: 40px;
    }
}

@media(min-width:1920px) {
    #video video {
        width: 100%;
    }
}

.about_box_img {
    border-radius: 50%;
    display: block;
    width: 130px;
    margin: 0 auto;
    transition: all ease-in-out .5s;
}

.about .about_box:nth-child(1){
    background-color: #5F0F40;
}

.about .about_box:nth-child(2){
    background-color: #9A031E;
}

.about .about_box:nth-child(3){
    background-color: #FB8B24;
}

.about .about_box:nth-child(4){
    background-color: #E36414;
}

.about .about_box:nth-child(5){
    background-color: #0F4C5C;
}

