body {
    font-size: 18px;
}
.mybutton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    width: 400px;
    height: 100px;
    background: rgb(80, 40, 100);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.75rem;
}
.mybutton:hover{
    text-decoration: none;
    filter: brightness(150%);
    color: rgb(255, 255, 255);
}
.navbar .navbar-toggler-icon {
    opacity: 1;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.bg-light {
    background-color: #502864 !important;
}
body > nav > a > img {
    width: 200px;
}
.navbar-brand {
    margin: 0;
    padding: 0;
}
.navbar.navbar-expand-lg.navbar-light.bg-light {
    padding: 0;
}
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    font-family: "Arial", "Verdana";
}

a.nav-link {
    color: #ffffff !important;
}
li.nav-item {
    padding-right: 10px;
}
li.nav-item {
    /* margin-left: 20px; */
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 30px; */
}

button > .navbar-toggler-icon {
    width: 70px;
    height: 70px !important;
}
.pol {
    width: 60%;
    min-width: 300px;
    text-align: center;
    margin: auto;
    padding: 0;
}
.line {
    background-color: rgb(80, 40, 100);
    color: #ffffff;
}

@media only screen and (max-width: 892px) {
    .navbar-nav {
        padding-left: 30px;
    }
}

.none {
    display: none;
}

.application {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0 0 0;
}
.application__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0 20px 0;
}
.application__card img {
    max-width: 400px;
    max-height: 94px;
}

/* .sert {
    max-width: 70%;
    max-height: 800px;
} */
/* .swiper-slide {
    height: 800px;
    width: 500px;
} */
.swiper-container {
    overflow: hidden;
}
.swiper-slide img {
    max-width: 100%;
    max-height: 90vh;
}
/* @media(max-width: 600px) {
    .swiper-slide img {
        width: 1100px;
        height: auto;
    }
} */

.position {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.8);
    /* background-color: black; */
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}
.position__body {
    position: relative;
}

.position__body iframe {
    width: 800px;
    height: 90vh;
}

.position__close {
    position: absolute;
    top: 31px;
    left: 31px;
    cursor: pointer;
    width: 70px;
    height: auto;
}

.position__close:hover {
    animation: 1s linear 0s normal none infinite running close;
    -webkit-animation: 1s linear 0s normal none infinite running close;
}

@keyframes close {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}





.active {
    opacity: 1;
    z-index: 1001;
    transition: all 0.8s ease-in-out;
}

.slider5,
.slider4,
.slider3,
.slider2,
.slider1,
.slider-family,
.slider0,
.slider {
    max-width: 95%;
    max-height: 800px;
}
.sert img {
    max-width: 70%;
    max-height: 800px;
}
/* @media(max-width: 600px) {
    .slider5, .slider4, .slider3, .slider2, .slider1, .slider-family, .slider0, .slider img {
        width: 1100px;
        height: auto;
    }
} */

/* Галерея */
.mygallery__images {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
}
@media screen and (max-width: 1200px) {
    .mygallery__images {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 750px) {
    .mygallery__images {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 520px) {
    .mygallery__images {
        grid-template-columns: repeat(1, 1fr);
    }
}

.mygallery__images a {
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.mygallery__images a:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.mygallery__images img {
    max-width: 200px;
    max-height: 133px;
}

/* Сабменю  */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -00%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown-menu {
    width: 200px;
    padding: 10px;
    text-align: center;
    background-color: rgb(80, 40, 100);
    z-index: 1010;
}

.dropdown-menu--link {
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    font-family: "Arial", "Verdana";
    margin: 10px 0;
}
.dropdown-menu--link a {
    color: #ffffff !important;
    border-bottom: 2px solid white;
}

.foto__menu-img img {
    max-width: 50vw;
    margin-top: 50px;
}

.foto__menu-flex {
    display: flex;
    justify-content: center;
}
.foto__menu-flex a {
    margin: 0 20px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}
@media (max-width: 1040px) {
    .foto__menu-flex a {
        margin: 0 0;
    }
}
@media (max-width: 800px) {
    .foto__menu-flex {
        flex-direction: column;
    }
}
.foto__menu-flex a:hover {
    background-color: #502864;
    transition: all 0.2s ease-in-out;
    color: white;
    text-decoration: none;
}
.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -100px;
    z-index: 1001;
    -webkit-animation: fade-in 1s linear; /* Safari 4+ */
    -moz-animation: fade-in 1s linear; /* Fx 5+ */
    -o-animation: fade-in 1s linear; /* Opera 12+ */
    animation: fade-in 1s linear; /* IE 10+, Fx 29+ */
}
.socials svg {
    width: 50px;
    height: auto;
    fill: white;
    transition: all 0.2s ease-in-out;
    margin-right: 15px;
    opacity: 0.7;
}
.socials svg:hover {
    fill: #663366;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

/* @media (min-width:320px) and (max-width: 576px) {
    .socials svg {
        width: 100px;
        margin-right: 15px;
    }
} */
@media (min-width:320px) and (max-width: 576px) {
    .nav-link {
        font-size: 50px;
    }
}



.register-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.register-button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 100px;
    background-color: rgb(80, 40, 100);
    border: 3px solid rgb(61, 33, 77);
    border-radius: 20px;
    margin: 30px auto;
    color: white;
}

.register-button:hover{
    color: white;
    text-decoration: none;
    background-color: rgb(61, 33, 77);
}

.add{
    color: white !important;
}

.popup_image{
    height: 90vh;
}