@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: 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: 190px;
    height: 210px;
}

#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: 900px;
    height: auto;
    margin: 0 0 0 225px;
}

#gos {
    font-size: 35px;
}

#b {
    font-size: 30px;
}

table {
    border-bottom-color: rgb(128, 128, 128);
    border-collapse: collapse;
    border-left-color: rgb(128, 128, 128);
    border-right-color: rgb(128, 128, 128);
    border-top-color: rgb(128, 128, 128);
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    display: table;
    font-size: 18px;
    height: 242px;
    line-height: normal;
    table-layout: fixed;
    text-indent: 0px;
    transform: matrix(1, 0, 0, 1, 0, 0);
    transition-duration: 0s;
    transition-timing-function: cubic-bezier(0.1, 0.57, 0.1, 1);
    user-select: none;
}

tbody {
    border-bottom-color: rgb(128, 128, 128);
    border-collapse: collapse;
    border-left-color: rgb(128, 128, 128);
    border-right-color: rgb(128, 128, 128);
    border-top-color: rgba(0, 0, 0, 0.2);
    border-top-style: solid;
    border-top-width: 1px;
    color: rgb(0, 0, 0);
    display: table-row-group;
    font-size: 18px;
    height: 240px;
    line-height: normal;
    text-indent: 0px;
    user-select: none;
    vertical-align: middle;
}

tr {
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-collapse: collapse;
    border-left-color: rgb(128, 128, 128);
    border-right-color: rgb(128, 128, 128);
    border-top-color: rgba(0, 0, 0, 0.2);
    color: rgb(0, 0, 0);
    display: table-row;
    font-size: 18px;
    height: 240px;
    line-height: normal;
    text-indent: 0px;
    user-select: none;
    vertical-align: middle;
}

td {
    border-collapse: collapse;
    color: rgb(0, 0, 0);
    display: table-cell;
    font-size: 18px;
    height: 220px;
    line-height: normal;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    text-align: -webkit-left;
    text-indent: 0px;
    text-size-adjust: 100%;
    user-select: none;
    vertical-align: middle;
}

#tri {
    display: flex;
    width: 900px;
    left: 0;
}

#odin {
    display: inline-block;
    width: 290px;
    height: 350px;
    border: 1px solid silver;
    border-radius: 3px;
}

#dva {
    display: inline-block;
    width: 290px;
    height: 350px;
    border: 1px solid silver;
    left: 100px;
    margin-left: 24px;
    border-radius: 3px;
}

#tre {
    display: inline-block;
    width: 290px;
    height: 350px;
    border: 1px solid silver;
    margin-left: 24px;
    border-radius: 3px;
}

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

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

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

#in {
    display: block;
    text-decoration: underline;
    padding: 20px 20px;
}

#inp {
    display: block;
    padding: 10px 20px;
}

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

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

#cena1 {
    display: grid;
    padding: 90px 20px;
}

#cena2 {
    display: grid;
    padding: 53px 20px;
}

#cena3 {
    display: grid;
    padding: 54px 20px;
}

#cennik {
    padding-bottom: 10px;
    font-size: larger;
}

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, #close-my-modal-btn2, #close-my-modal-btn3 {
    border: none;
    background: transparent;
    padding: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#lab {
    display: block;
    padding: 0px;
    float: left;
    width: 70px;
}

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

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

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

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

#city {
    display: block;
    padding: 10px;
    float: left;
    width: 465px;
    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;
}