html,body {margin: 0;padding: 0}
a,p,h1,label,#error-email {font-family: "Candara",serif;cursor: default;}
h1{text-align: center}
span {font-family: "Verdana",serif;cursor: default;}
a {color:white;text-decoration: none;cursor: pointer;}
a:hover{text-decoration: underline}
.header {width: 100%;height: 4em;top: 0;left: 0;right:0;z-index: 2;position: fixed;transition: background 1s;background-size: 0;background-image: linear-gradient(to right, rgb(23, 23, 87) 0%, rgb(42, 110, 149) 60%);background-repeat: no-repeat;background-position: top;}
.third_block_right div {max-width: 0;transition: max-width 1s;}
.menu {display: flex;float: right;height: 100%;align-items: center;margin-right: 1em; }
.header div:first-child{float: left;}
.header div{float: right;margin: 0 10px;}
.header img{height: 3.3em;}
.header a,#error-email {font-size: 1.2em;}
.first_block, .second_block, .fourth_block, .fifth_block, .six_block, .third_block {width: 100%;}
.first_block {background: url(/images/first_block.jpg) no-repeat center center;background-size: 100%;text-shadow: -12px 12px 30px rgba(0, 0, 0, 1), 0 0 20px #000000;color: #b9fbf1;display: flex;align-items: center;justify-content: center;}
.first_block span{margin: 7% 0;font-size: 3em;text-align: center;display: block;}
.second_block {background: url(/images/second_block2.png) no-repeat;background-size: 100%;background-position-y: bottom;}
.second_block_content {display: grid;grid-template-columns: 1fr 1fr}
.second_block:before, .six_block:before{height: 1px;width: 2.5em;margin-left: 49%;content: " ";position: absolute;margin-top: 2.5em;background: blue;}
.second_block span{margin: 0 5%;display: block;font-size: 1em;}
.second_block div {width: 100%;margin: 0.5em 0;}
.second_block .div-div{text-align: center;display: inline-block;}
.second_block .div-div span{font-weight: bold;font-size: 2em;}
.third_block {background: url(/images/third_block.jpg);color: white;box-shadow: 0 0 15px 11px grey;}
.third_block_content{display: grid;grid-template-columns: 2fr 1fr;position: relative;}
.third_block:before, .fifth_block:before{height: 1px;width: 2.5em;margin-left: 49%;content: " ";position: absolute;margin-top: 3.5em;background: white;}
.third_block h1 {margin: 0;padding: 1%;}
.third_block_left {display: inline-block;margin-right: 1%;}
.third_block_left div{margin: 2em 0;}
.third_block_left img {position: absolute}
.third_block_right {height:95%;}
.third_block_right img{max-width: 95%;max-height: 95%;box-shadow: 0 0 20px 4px black;}
.circle2{background: url(/images/circle2.png) no-repeat 50%;display: inline;color: black;font-size: 1.5em;background-size: 70%;padding: 0 0.5em;margin: 0 .5em 0 5%;}
.circle{background: url(/images/circle.png) no-repeat 50%;font-size: 3.5em;color: white;padding: 4% 0 5% 0;background-size: 20%;transition: background 2s, color 1s;}
.circle:hover{background-size: 0;color: grey;}
.fourth_block {text-align: center;}
.fourth_block_content{display: grid;grid-template-columns: 1fr 1fr 1fr;min-height: 17em;grid-gap: 25px;margin-left: 1%;margin-right: 1%;}
.fourth_block:before{height: 1px;width: 3em;margin-left: -2em;content: " ";position: absolute;margin-top: 2.5em;background: blue;}
.fourth_block img {box-shadow: 0 0 10px 1px black;height: 0;transition: height 1s;width: 100%;}
.by-picture {position: relative;display: inline;}
a:last-child .by-picture:hover:before{display: none;}
a:last-child .by-picture:hover:after{display: block;content: "";position: absolute;cursor:pointer;z-index: 1;bottom: 4em;left: 0;right: 0;background: url(/images/size_up.png) no-repeat center center;height: 9em;}
a .by-picture:hover:before {display: block;content: "";position: absolute;cursor:pointer;z-index: 1;bottom: 4em;left: 0;right: 0;background: url(/images/size_up.png) no-repeat center center;height: 9em;}
a .by-picture:hover .image {opacity: 0.8;}
.button_fourth{margin: 2em 0 2em;}
.button_fourth a{background: linear-gradient(to top, #0d2d95 0%, #436989 100%);padding: 0.3em 2em;font-weight: bold;border-radius: 10px;font-size: x-large;}
.fifth_block {color:white;background: url(/images/fifth_block.jpg) no-repeat;background-size: cover;}
.fifth_block h1{padding-top: 0.5em;}
.fifth_block p{font-size: 1.5em;padding-left: 5%}
.fifth_block_left {width: 75%;display: inline-block}
.fifth_block_right {width: 20%;float: right;display: flex;align-items: center;justify-content: center;height: 15%;margin-right: 5%}
.fifth_block_right a{padding: 0.3em 1em;font-weight: bold;border:1px solid white; border-radius: 10px;font-size: x-large; background: white;color: #091856;}
.six_block {background: url(/images/second_block2.png) no-repeat;background-size: 100%;background-position-y: 100%;padding-bottom: 2em;}
.six_block input, textarea{border-radius: 10px;border: 1px solid;text-align: right;padding: 5px;}
.six_block textarea{max-width: 90%;min-width: 90%;min-height: 8em;max-height: 8em;}
.six_block p, .six_block a, .six_block label, .six_block input, .six_block textarea {font-size: x-large;}
.six_block label{display: block;}
.six_block_left {width: 50%;display: inline-block;text-align: right;}
.six_block_left a{border: 1px solid;background-image: linear-gradient(to top, #0d2d95 0%, #436989 100%);border-radius: 10px;padding: 0.3em 2em; font-weight: bold;}
.six_block_left div:first-child{text-align: center;margin: 0}
.six_block_left div{ margin: 1em 10% 1em 0;}
.six_block_right {width: 50%;float: right; padding-top: 5%; }
.six_block_right p {padding-left: 4em;}
.six_block_right img{height: 1em;position: absolute;margin-left: -4em;}
.right_menu{position: fixed;top: 35%;right: 1%;}
.right_menu p {display: none;background: url(/images/right_point_hover.png) no-repeat 50%; margin: 5px 0 0 0; background-size: 100%;right: 3em;position: absolute;font-size: 1.2em;width: 6em;text-align: center;}
.right_menu a:hover{background-size: 80%;}
.right_menu a{color: black;display: block; background: url(/images/right_point.png) no-repeat center center;width: 2em;height: 1.5em;margin: 0.5em;transition-property: background, margin;transition-duration: 1s;background-size: 60%;}
/*.right_menu a:hover {background: url(/images/right_point_main_hover.png) no-repeat;margin: -3px 5px 3px -5px;}*/
.callback{display: none;position: fixed;bottom: 40%;left: 35%;border: 1px solid darkblue;background: #555353e0;padding: 1em;text-align: center;font-size: x-large;border-radius: 10px;}
.close {width: 1em;height: 1em;background: url(/images/close.png) no-repeat;background-size: 100%;position: absolute;z-index: 2;margin-left: -.2em;margin-top: -0.8em;}
.callback p {color: white;margin: 0}
.close:hover {background: url(/images/close_hover.png) no-repeat; background-size: 100%}
.callback button{background-image: linear-gradient(to top, #091e64 37%, #436989 100%);color: white;border: 1px transparent;font-size: x-large;padding: .2em 1em;border-radius: 5px;}
#error-email{display: none;color:red;margin-left: -10em;margin-top: .7em;}
.pb{width: 100%;display: inline-block;overflow: hidden;margin-bottom: 1em;}
.pb .left{width: 30%;overflow: initial;}
.pb .left img{width: 91%;height: 76%;}
.pb .right{ overflow: initial; width: 60%;vertical-align: top;}
.pb .right img{width: 45%;}
.pb a{display: inline;}
.pb .by-picture{margin-right: 0}
