@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
} 


header {
    width: 100%;
    height: 50px;
    background: #0075ca;
    display: block;
}

#voyti {
    color: white;
    margin-bottom: 10px;
    margin-left: 190px;
    position: relative;
}

header #voyti:hover {
    border-bottom: 1px solid white;
}

header #kontrast {
    height: 100%;
    width: 56px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 0;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, .2);
    background-clip: padding-box;
    margin-left: 10px;
    background: #0075ca;
    cursor: pointer;
    color: white;
    font-size: 120%;
}

header #kontrast:hover {
    background: #006fbe;
}

header #nayti {
    height: 100%;
    width: 56px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 0;
    border-top: 0;
    border-right: 0;
    background-clip: padding-box;
    display: block;
    background: #0075ca;
    cursor: pointer;
    color: white;
    margin-left: 1080px;
    margin-top: -50px;
}

header #nayti:hover {
    background: #006fbe;
}

#restart {
    margin-top: 30px;
    margin-left: 210px;
}

#flagi {
    margin-left: 1030px;
    margin-top: -42px;
}

#contact {
    margin-left: 800px;
    margin-top: 30px
}

#mail {
    text-decoration: underline;
}

#media {
    margin-left: 810px;
    margin-top: 50px;
}

#social {
    padding: 1%;
}

nav ul li {
    position: relative;
    float: left;
    padding: 20px;
    font-size: 16px;
    list-style-type: none;
}

nav ul li a {
    color: #0075ca;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}

nav ul li a:hover {
    border-bottom: 1px solid black;
}

nav ul li ul {
    position: absolute;
    left: 0;
    border-radius: 3px;
    display: none;
    margin-top: 21px;
    margin-left: 10px;
    box-shadow: 0 0 2px;
    z-index: 100;
    background-color: white;
}

nav ul li ul li {
    padding: 0;
}

nav ul li ul li a {
    display: block;
    border-radius: 3px;
    text-indent: 10px;
    border-bottom: 0;
    background-color: white;
    line-height: 32px;
}


nav ul li ul li a:hover {
    background: silver;
    border-bottom: 0;
}

nav ul li:hover > ul {
    display: initial;
}

#spiski {
    margin: 20px 0 0 230px;
}

#stage1 {
    width: 145px;
    height: 210px;
}

#num1 {
    width: 145px;
    height: 35px;
}

#stage2 {
    width: 210px;
    height: 70px;
}

#num2 {
    width: 210px;
    height: 35px;
}

#stage3 {
    width: 305px;
    height: 245px;
}

#num3 {
    width: 305px;
    height: 35px;
}

#stage4 {
    width: 325px;
    height: 315px;
}

#num4 {
    width: 325px;
    height: 35px;
}

#stage5 {
    width: 390px;
    height: 105px;
}

#num5 {
    width: 390px;
    height: 35px;
}

#stage6 {
    width: 110px;
    height: 105px;
}

#num6 {
    width: 110px;
    height: 35px;
}

#block {
    display: block;
    width: 1000px;
    height: auto;
    margin: 0 0 0 225px;
    z-index: 0;
}

#integr {
    font-size: 30px;
}

#CRM {
    font-size: 25px;
}

#rezume {
    display: inline-block;
    width: 110px;
    height: 36px;
    background: #0075ca;
    position: relative;
    text-align: center;
    font-size: 15px;
    line-height: 35px;
    color: white;
    border-radius: 4px;
    float: right;
    margin-top: -120px;
}

#rezume:hover {
    background: #006fbe;
}

#podrobnee {
    display: inline-block;
    width: 110px;
    height: 36px;
    background: #0075ca;
    text-align: center;
    font-size: 15px;
    line-height: 35px;
    color: white;
    border-radius: 4px;
    float: right;
    position: inherit;
}

#podrobnee:hover {
    background: #006fbe;
}

#pokupka {
    color: rgb(0, 0, 0);
    display: flex;
    flex-wrap: wrap;
    font-size: 0px;
    height: 976px;
    line-height: normal;
    margin-right: -20px;
    margin-top: 20px;
}

#assortiment {
    border-bottom-color: rgba(0, 117, 202, 0.2);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgba(0, 117, 202, 0.2);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgba(0, 117, 202, 0.2);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgba(0, 117, 202, 0.2);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    display: block;
    font-size: 18px;
    height: 284px;
    line-height: normal;
    margin-bottom: 20px;
    margin-right: 20px;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    position: relative;
    width: 299.953px;
}

#assortiment:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#nach {
    font-size: 82%;
}

#main {
    font-size: 82%;
}

#cena {
    margin: 100px 0 0 0;
    line-height: 2.5;
    font-size: 90%;
}

#cenapodrobnee {
    bottom: 20px;
    position: absolute;
    margin-left: 150px;
    width: max-content;
}

footer {
    display: block;
    width: 100%;
    height: 300px;
    background: #333;
}

#box {
    display: block;
    width: 940px;
    height: 230px;
}

#spisokfoot {
    display: block;
    width: 274px;
    height: 150px;
    margin: 100px 0 0 -550px;
}

#spisokfoot ul {
    margin: 0;
    padding: 4px;
    column-count: 2;
    display: block;
    text-align: left;
    padding-top: 30px;
}

#spisokfoot ul li {
    margin-bottom: 10px;
    list-style-type: none;
}

#spisokfoot ul li a {
    text-decoration: none;
    color: white;
}

#spisokfoot ul li a:hover {
    border-bottom: 1px solid white;
}

#phone2 {
    color: white;
    margin-left: 300px;
    margin-top: -50px;
}

#mail2 {
    color: white;
    text-decoration: none;
}

#mail2:hover {
    border-bottom: 1px solid white;
}

#media2 {
    margin: 50px 0 0 360px;
}

#social2 {
    padding: 1%;
}

#flagi2 {
    margin: -215px 0 0 600px;
}

.zakaz {
    background: #0075ca;
    color: white;
    border-radius: 5px;
    padding: 7px;
    width: 100px;
    border: 0;
    height: 36px;
}

.zakaz:hover {
    background: #006fbe;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0,0,0,.3);
    display: grid;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s visibility .4s;
}

.modal_box {
    position: relative;
    width: 600px;
    padding: 20px;
    z-index: 1;
    background-color: white;
    border-radius: 7px;
    box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, 0.7);
    transform: scale(0);
    transition: transform .8s;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal.open .modal_box {
    transform: scale(1);
}

#close-my-modal-btn {
    border: none;
    background: transparent;
    padding: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#lab {
    display: block;
    padding: 10px;
    float: left;
    width: 80px;
}

#select {
    display: block;
    padding: 10px;
    float: left;
    border-radius: 5px;
    margin: 0 0 10px;
}

#name {
    display: block;
    padding: 10px;
    float: left;
    width: 398px;
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0 0 10px;
}

#number {
    display: block;
    padding: 10px;
    float: left;
    width: 398px;
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0 0 10px;
}

#email {
    display: block;
    padding: 10px;
    float: left;
    width: 398px;
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0 0 10px;
}

#city {
    display: block;
    padding: 10px;
    float: left;
    width: 398px;
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0 0 10px;
}

#var {
    font-size: 20px;
}

#pole {
    margin: 100px;
}

#politikakonf {
    text-decoration: underline;
}

#politikakonf:hover {
    text-decoration: none;
}

#submit {
    background: #0075ca;
    border: 0;
    color: white;
    border-radius: 5px;
    padding: 7px;
    width: 600px;
    height: 36px;
}

#submit:hover {
    background: #006fbe;
}