html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    vertical-align: baseline;
    font-family:'Baloo Chettan', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
}

@font-face {
    font-family: 'Baloo Chettan';
    src: url('BalooChettan2-Regular.woff2') format('woff2'),
        url('BalooChettan2-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
    border-spacing: 0;
    width:100%;
}

h1 {
    font-size: 40px;
    margin-bottom:0px;
    font-family: 'Baloo Chettan','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 900;
    margin-top:16px;
}
p.tagline {
    margin-top:0px;
    font-size: 22px;
    margin-bottom: 2em;
    font-family: 'Baloo Chettan','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
p.contact-us-buttons {
    margin-top: 3em;
}
h2 {
    margin-top:66px;
    height: 88px;
    line-height: 88px;
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    font-family: 'Baloo Chettan','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}
h3 {
    text-align: center;
    color: #006644;
    font-family: 'Baloo Chettan','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size:20px;
    line-height: 20px;
    padding: 44px;
    padding-top:0;
    padding-bottom:22px;
    margin: 0px 40px 0px 40px;
}
p {
    margin-top:16px;
    margin-bottom:16px;
    line-height: 1.25em;
}
.region-container {
    width:100%;
    max-height: 1200px;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-content: center;
    flex-direction: column;
    flex-wrap:wrap;
    transition: all .3s ease-out;
}
.infobox {
    width: 540px;
    
    border: 0px solid #36B37E;
    border-radius: 22px;
    padding: 44px;
    padding-top:8px;
    padding-bottom: 8px;
    background-color: #006644 !important;
    width: 540px;
    min-height: 200px;
    
    flex-grow: 0;
    flex-shrink:0;
}
.price-container {
    margin:0;
}
.price-bubble-1 {
    border: 0px solid #fff;
    animation: morph 16s ease-in-out infinite alternate;
    padding:4px 8px 8px 4px;
    background-color: #36B37E !important;
}
.price-bubble-2 {
    border: 0px solid #fff;
    animation: morph 25s ease-in-out infinite alternate;
    padding:8px 4px 4px 8px;
    background-color: #57D9A3 !important;
}
.price-bubble-3 {
    border: 0px solid #fff;
    animation: morph 13s ease-in-out infinite alternate;
    padding:8px 8px 8px 8px;
    background-color: #79F2C0 !important;
}
    
.content {
    display:flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: center;
    background-color:rgba(256,256,256,0.8);
    color: white;
    flex-direction: row;
    min-height:100vh;
    align-self: center;
    flex-grow: 0;
    flex-shrink:0;
    padding-bottom: 44px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
}
#main {
    background-size:auto 100vh;
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-color:white;
    background-image:url('../img/bcg.jpeg');
    background-attachment: fixed;
    flex-direction: column;
}

#prices {
    background-size:auto 100vh;
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-color:#00875A;
    flex-direction: row;
    align-content: flex-end;
    align-items: flex-start;
    justify-items: center ;
    justify-content: center;
    flex-wrap: wrap;
    width:100%;
}
#contacts {
    background-size:auto 100vh;
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-color:#5243AA;
    background-attachment: fixed;
    min-height: 100vh;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    
}
#contacts p {
    font-weight:900;
}
.contact-content {
    margin-top:10vh;
}
.region{
    background-color: white;
    width: 540px;
    min-height: 200px;
    margin:20px;
    flex-grow: 0;
    flex-shrink:0;
    border-radius: 22px;
    color: #333;
    padding: 44px;
    padding-top: 22px;
    box-sizing: border-box;
    transition: all .3s ease-out;
}
tr {
    border-bottom: 1px solid #eee;
    height: 30px;
}
tr:hover {
    background-color:#eee;
}
tr:last-of-type {
    border-bottom: none;
}
td {
    padding-top:8px;
    padding-bottom:8px;
}
td.shift {
    width:44px;
}
td.price  {
    font-weight: 900;
    text-align: right;
    vertical-align: bottom;
    padding-left: 16px;
    white-space: nowrap;
}
span.price {
    font-weight: 900;
}
.region p {
    margin-top:8px;
    margin-bottom:8px;
}


.contact-card {
    background-color: transparent;
    animation: morph 10s  ease-in-out infinite alternate;
    padding: 66px;
    border: 0px solid #fff;
    background-color:#403294;
    z-index:10;
}
.contact-card-bubble-1{
    border: 0px solid #fff;
    padding: 8px 8px 0 0;
    animation: morph 16s ease-in-out infinite alternate;
    background-color:#6554C0;
    z-index:10;
}
.contact-card-bubble-2{
    border: 0px solid #fff;
    padding: 0 0 8px 8px;
    animation: morph 31s ease-in-out infinite alternate;
    background-color:#8777D9;
    z-index:10;
}
.contact-card-bubble-3{
    border: 0px solid #fff;
    padding: 0 8px 8px 0%;
    animation: morph 7s ease-in-out infinite alternate;
    background-color:#998DD9;
    z-index:10;
}

.main-nav {
    background-color: rgba(256,256,256,0);
    display: flex;
    height: 66px;
    width: 100%;
    z-index:200;
    border-top: 2px solid rgba(51,51,51,0.2);
    border-bottom: 2px solid rgba(51,51,51,0.2);
    margin-top: 20px;
}
.bottom-nav {
    height: 66px;
    width:100%;
    background-color: transparent;
    position:fixed;
    z-index: 9000;
    bottom:0;
    display:flex;
    justify-content: stretch;
    border-top: 2px solid rgba(51,51,51,0.2);
    display:none;
}
.bottom-nav a {
    width: 50%;
    justify-content: center;
    align-items: center;
}
.bottom-nav a:hover, .top-nav a:hover {
    background-color:#333;
    color: #fff;
}
.top-nav {
    display:flex;
    justify-content: space-between;
    height: 66px;
    width:100%;
    background-color: transparent;
    position:fixed;
    z-index: 9000;
    top:0;
    display:none;
}

#card {
    z-index:100;
    position:absolute;
    height: 550px;
    width: 622px;
    fill:#0052CC;
    stroke-width: 0px;
    stroke:#fff;
}
.main-logo {
    width: 200px;
    height: auto;
    flex-shrink:0;
    flex-grow:0;
    background-image:url('../img/logo-ondark.png');
    background-size:200px auto;
    background-repeat:no-repeat;
}
.title-button {
    background-image:url('../img/logo-onwhite-blue-stroke.png');
    background-size:66px 66px;
    background-repeat: no-repeat;
}
.top-nav .language-button {
   width: 66px;
   background-color: #fff;
   float: right;
   border-left:2px rgba(51,51,51, 0.1) solid;
   border-bottom:2px rgba(51,51,51, 0.1) solid;
   padding:0;
   justify-content: center;
   align-items: center;

   display:none;
}
.lang-button {
    display:none;
}
.button-placeholder {
    height: 66px;
    width: 66px;
    background-image:url('../img/logo-ondark-disabled.png');
    background-size: 66px;
}
.title-button:hover, .top-nav .title-button {
    background-image:url('../img/logo-onwhite-blue-stroke.png');
    background-color: #0052CC;
}
.prices-button:hover, .bottom-nav .prices-button{
    background-color: #00875A;
    color: #fff;
}
.bottom-nav .prices-button:hover {
    background-color: #006644;
}
.contacts-button:hover, .bottom-nav .contacts-button{
    background-color: #5243AA;
    color: #fff;
}
.bottom-nav .contacts-button:hover {
    background-color: #403294;
}
#main a {
    display:flex;
    height:44px;
    width: auto;
    border: 2px solid #fff;
    color: #fff;
    align-items: center;
    justify-content: left;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    padding-left: 8px;
    padding-right: 16px;
    float:left;
    width:200px;
    margin-top:4px;
    margin-bottom: 4px;
}
#main a svg {
    fill: #fff;
    margin-right:8px;
}
#main a:hover {
    color: #0052CC;
    background-color: white;
    
}
#main a:hover svg {
    fill:#0052CC;
}
#main a:active {
    opacity:0.7;
}
#contacts svg {
    fill: white;
}
#contacts a {
    color: white;
    fill: white;
    text-decoration: none;
    padding-left: 4px;
    padding-right: 4px;
}
#contacts a:hover,
#contacts a:hover svg{
    background-color: white;
    color: #5243AA;
    fill: #5243AA;
}

nav {
    position: fixed;
    background-color: rgba(256,256,256, 0);
    border-bottom: 2px rgba(51,51,51, 0.1) solid;
    height: 66px;
    width:100%;
    z-index: 9999;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    box-sizing: border-box;
 
}
.nav-buttons{
    display: flex;
}
nav a, .bottom-nav a, .top-nav a {
    display:flex;
    border:none;
    border-radius: 0;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 16px;
    font-weight: 900;
    height: 66px;
    min-width:66px;
    color: #0052CC;
    align-items: center;
    text-decoration: none;
}

nav a:hover {
    color: #fff;
    background-color: rgba(51, 51, 51, 0.5);
}
nav a:active {
    color: #fff;
    background-color: #333 !important;
}
.main-region{
    display:flex;
    width:700px;
    padding-left: 44px;
    padding-right: 66px;
    padding-top: 66px;
    padding-bottom: 66px;
    align-self: center;
    z-index:200;
    border-radius: 61% 39% 47% 53% / 36% 48% 52% 64%;
    background-color:#0052CC;
    animation: morph 10s ease-in-out infinite alternate;
    transform-origin: 20% 20%;
    transition: all 1s ease-out;
}
.back-bubble-1 {
    background-color:#00875A;
    animation: morph 17s ease-in-out infinite alternate;
    padding: 16px 0 0 16px;
}
.back-bubble-2 {
    background-color:#5243AA;
    animation: morph 38s ease-in-out infinite alternate;
    padding: 0px 16px 16px 0;
}


@keyframes morph {
    0% {
      border-radius: 61% 39% 47% 53% / 36% 48% 52% 64%;  }
    50% {
      border-radius: 39% 61% 32% 68% / 63% 52% 48% 37% ;  }
    100% {
        border-radius: 57% 43% 57% 43% / 26% 38% 62% 74%  ;  }
       }
       @keyframes spin {
        to {
          transform: rotate(1turn); } }
       @keyframes morph-2 {
        0% {
            border-radius: 22px 22px 22px 22px / 22px 22px 22px 22px;  }

          100% {
              border-radius: 20% 40% 80% 43% / 40% 60% 20% 57%  ;  }
       }

@media (min-aspect-ratio: 16/9){
    .content{
        background-size:100vw auto !important;
    }
}
/*narrow*/
@media screen and (min-width:0px) and (max-width:640px) {
    .region-container {
        max-height: initial;
        width: 100%;
    }
    .price-bubble-1, .price-bubble-2, .price-bubble-3 {
       border: none;
       animation:none;
       background-color:transparent;
       margin:0;
       padding:0;
    }
    
    .button-placeholder{
        background-image:none;
    }
     
    #main a {
        margin: 4px;
        width:100%;
    }
    .region, .infobox {
        margin:0px;
        margin-left: 0px;
        margin-right:0px;
        width:auto;
        border-radius:0;
        border-color: transparent ;
        padding: 20px;
    }
    .infobox {
        background-color:#00875A !important;
    }
    svg#card {
        display:none;
    }
    #main {
        background-color:#0052CC;
        background-image: none;
    }
    .main-region {
        flex-flow: column;
        flex-direction: column;
        align-items: center;
        margin: 0px;
        width:auto;
        transition: all 1s ease-out;
        border-radius:0;
        animation:none;
        padding-right:22px;
        padding-left:22px;
    }
    .back-bubble-1, .back-bubble-2{
        animation:none;
        border-radius:0;
        padding:0;
        transition: all 1s ease-out;
    }
    h1 {
        text-align:center;
    }
    p.tagline {
        text-align:center;
    }
    h2 {
        padding-left:72px;
        padding-right:72px;
        margin-top:0;
        margin-bottom: 0px;
        line-height:1.25em;
        height:auto;
        min-height: 66px;
        display: flex;
        align-items:center;
        overflow:visible;
    }
    .main-logo {
        height: 200px;
    }
    nav {
        display: none;
    }
    .top-nav, .bottom-nav {
        display: flex;
    }
    #prices {
        padding-bottom: 66px;
    }

    @supports(padding: max(0px)) {
        .post {
            height: 88px;
            padding-bottom: max(22px, env(safe-area-inset-bottom));
        }
    }
}
/*normal*/
@media screen and (min-width:641px) and (max-width:1200px) {
    .region-container {
        max-height: initial;
        width: 100%;
        
        align-items: center;
        align-content: center;
    }
    nav {
        background-color:#fff !important;
    }
    .region, .infobox {
        width: 640px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .price-bubble-1{
        padding: 2px 16px 0 0;
    }
    .price-bubble-2{
        padding: 0 2px 2px 16px;
    }
    .price-bubble-3{
        padding: 0 2px 2px 0px;
    }
}
/*normal*/
@media screen and (min-width:1201px) and (max-width:1910px) {

    .region-container {
        max-height: 1800px;
        width: 100%;
        justify-items: flex-start;
        justify-content: flex-start;
    }
}
/*full*/
@media screen and (min-width:1910px){
    nav {
        justify-content: center;
    }
    .region-container {
        max-height: 1300px;
        width: 100%;
        justify-items: flex-start;
        justify-content: flex-start;
    }
    .region-container {
        justify-items: flex-start;
        justify-content: flex-start;
    }
}