/*
Theme Name: Balakai
Version: 0.10.6
Description: Тема для детского сада Балакай
tags: custom
Author: Shvets Ilya (mixternnik@gmail.com)
Author URI: https://t.me/mixtern
*/
@media only screen and (max-width: 800px)
{

}
body{
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    min-height: 100%;
    z-index: -3;
}
header {
    position: relative;
    display: flex;
    top: 0;
    width: 100%;
    height: 30vh;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    background-origin: border-box;
    border-color: transparent;
    background-image: linear-gradient(#d9c5af 65%, #ffffff 85%), linear-gradient(to right, rgb(200, 190, 255) 0%, rgb(222, 168, 248) 10%, rgb(168, 222, 258) 30%, rgb(189, 250, 205) 42%, rgb(244 239 144) 58%, rgb(250, 227, 189) 70%, rgb(248, 172, 171) 95%, rgb(254, 170, 212) 100%);
    background-clip: content-box, border-box;
    border-bottom-style: double;
    border-bottom-width: 5px;
}
div.header-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, white 41%, transparent 88%);
}
div.text-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    mask-image: linear-gradient(to bottom, transparent 75%, white 100%);
    background-color: white;
}
header > h1{
    display: inline-block;
    color: #2c1c69;
    vertical-align: bottom;
    font-size: calc(2vw + 2vh);
    line-height: calc(5vw + 5vh);
    filter: drop-shadow(-2px -2px 1px white) drop-shadow(2px -2px 1px white) drop-shadow(2px 2px 1px white) drop-shadow(-2px 2px 1px white);
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    width: calc(100vw - 60vh);
    height: calc(3vw + 3vh);
    text-align: center;
}

main{
    width: 70vw;
    margin: 2.5vw;
    margin-bottom: 0;
    min-height: 64vh;
    border-style: double;
    border-width: 5px;
    border-color: transparent;
    border-radius: 15px;
    background-image: linear-gradient(white, white), linear-gradient(to right, rgb(200, 190, 255) 0%, rgb(222, 168, 248) 10%, rgb(168, 222, 258) 30%, rgb(189, 250, 205) 42%, rgb(244 239 144) 58%, rgb(250, 227, 189) 70%, rgb(248, 172, 171) 95%, rgb(254, 170, 212) 100%);
    background-clip: content-box, border-box;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-origin: border-box;
    font-size: 1.8vh;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    flex: 7;
}
div.main-content{
    margin: 10px;
    width: calc(100% - 10px);
}
img#balakai-logo{
    display: inline-block;
    vertical-align: middle;
    width: 25vh;
    height: 25vh;
    margin: 2.5vh;
    filter: drop-shadow(5px 5px 10px black);
}
img#header-background{
    position: absolute;
    left: 15vw;
    top: 0;
    height: 30vh;
    width: 35vw;
    object-fit: fill;
    object-position: bottom;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, white 5%, white 95%, transparent 100%);
}
h1 {
    vertical-align: middle;
    display: inline-block;
    color: black;
    font-size: 6vh; 
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-align: center;
    width: 100%;
}
h2{
    vertical-align: middle;
    display: inline-block;
    color: black;
    font-size: 4vh; 
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-align: center;
    width: 100%;
}
ul#main-menu {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
    /* left: 75vw; */
    width: 22vw;
    height: auto;
    padding: 0;
    margin: 0;
    /* background-image: linear-gradient(to right, rgba(200, 190, 255, 0.7) 0%, rgb(167 129 185 / 80%) 10%, rgb(135 181 209 / 80%) 30%, rgb(137 179 148 / 80%) 42%, rgb(138 143 107 / 80%) 58%, rgb(165 150 126 / 70%) 70%, rgb(133 85 85 / 50%) 95%, rgb(151 92 121 / 70%) 100%); */
    display: block;
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    unicode-bidi: isolate;
    /* height: 6vh; */
    width:100%
}
li.menu-item{
    display: inline-block;
    color: black;
    text-decoration: none;
    width: 100%;
    /* height: 6vh; */
    vertical-align: middle;
    line-height: 2vh;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 90;
    /* filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.7)); */
    text-align: left;
    align-content: center;
    list-style: circle;
    /* border-bottom: 1px solid brown; */
    /* border-top: 1px solid yellow; */
}
li.menu-item a{
    color: black;
    text-decoration: none;
    width: 90%;
    height: 6vh;
    vertical-align: middle;
    font-size: 1.2vw;
    display: flex;
    align-items: center;
    justify-content: left;
    margin: 0 5%;
    border-bottom: 1px solid purple;
}
ul#main-menu > li:last-child a{
    border-bottom: none;
}
footer{
  position: fixed;
  bottom: 0;  
  width: 100vw;
  height: 3vh;
}
.rainbow{
    background: linear-gradient(to right, rgb(200, 190, 255) 0%, rgb(222, 168, 248) 10%, rgb(168, 222, 258) 30%, rgb(189, 250, 205) 42%, rgb(244 239 144) 58%, rgb(250, 227, 189) 70%, rgb(248, 172, 171) 95%, rgb(254, 170, 212) 100%)
}
ul.sub-menu {
    position: relative;
    height: 0;
    opacity:0;
    display: none;
    list-style-type: disc;
    unicode-bidi: isolate;
    width:100%;
}

li.menu-item:hover > .sub-menu {
    display: block;
    height:auto;
    opacity:1;
    transform:none;
    transition: 0.3s ease-out;
}
li.menu-item:hover > .sub-menu > li{
    height:auto;
}
nav {
    width: 70vw;
    margin: 2.5vw;
    margin-bottom: 0;
    border-style: double;
    border-width: 5px;
    border-color: transparent;
    border-radius: 15px;
    background-image: linear-gradient(white, white), linear-gradient(to right, rgb(200, 190, 255) 0%, rgb(222, 168, 248) 10%, rgb(168, 222, 258) 30%, rgb(189, 250, 205) 42%, rgb(244 239 144) 58%, rgb(250, 227, 189) 70%, rgb(248, 172, 171) 95%, rgb(254, 170, 212) 100%);
    background-clip: content-box, border-box;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-origin: border-box;
    font-size: 1.8vh;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    flex: 2;
}

.main-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
}

ul#lang {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12vw;
    height: calc(1.5vh + 1.5vw);
    text-align: left;
}

ul#lang li {
    width: 100%;
}

ul#lang a {
    border: none;
    color: darkblue;
    text-decoration: underline;
    text-decoration-thickness: 0.15vh;
    font-size: calc(0.75vw + 0.75vh);
}

ul#lang img {
    height: calc(0.5vh + 0.5vw) !important;
    width: calc(1vh + 1vw) !important;
}   
summary{
    border: double;
    border-bottom-width: 5px;
    border-color: transparent;
    padding: 10px;
    background-image: linear-gradient(white, white), linear-gradient(to right, rgb(200, 190, 255) 0%, rgb(222, 168, 248) 10%, rgb(168, 222, 258) 30%, rgb(189, 250, 205) 42%, rgb(244 239 144) 58%, rgb(250, 227, 189) 70%, rgb(248, 172, 171) 95%, rgb(254, 170, 212) 100%);
    background-clip: content-box, border-box;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-origin: border-box;
    font-size: 1.8vh;
    line-height: 2.5vh;
    outline: 10px solid white;
    outline-offset: -15px;
    border-radius: 12px;
    width: calc(100% - 24px);
    display: inline-flex;
    justify-content: center;
}
.wp-block-details summary {
    text-align: center;
}