@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap&subset=cyrillic,cyrillic-ext,latin-ext');

body {
    margin: 0;
    /*height: 100vh;
    width: 100vw;*/
    font-family: Roboto, sans-serif;
    box-sizing: border-box;
    background: #ffffff;
    background: #29292C;
}
div#logo {
    width: 100%;
    text-align: center;
    height: 20vh;
    position: fixed;
    top: 5vh;
}
div#logo img {
    height: inherit;
}
div#select-type-block,
div#select-grade-block {
    position: fixed;
    top: 32vh;
    width: 100vw;
}
.table-name {
    background: #0b800c;
    text-align: center;
    color: #fff;
    padding: 12px 10px;
    font-size: 21px;
}
.select-type-title,
.select-grade-title {
    text-align: center;
    color: #2b2b2b;
    color: #fff;
    font-size: 17px;
    padding: 25px 15px 20px;
}
.select-grade-title {
    margin-bottom: 15px;
}
.select-buttons {
    display: flex;
    justify-content: center;
}
.select-buttons div {
    padding: 10px 15px;
    width: 95px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}
div#select-grade-block .select-buttons div {
    padding: 10px 10px;
    width: 63px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}
.select-buttons div.clicked {
    opacity: .8;
    transition: .2s;
}
div#officiant {
    background: #0b800c;
    color: #fff;
    border-radius: 5px 0 0 5px;
}
div#hookah {
    background: #e2a00e;
    color: #fff;
    border-radius: 0 5px 5px 0;
}
.select-buttons div:active,
.select-buttons div:focus{
    opacity: .8;
}
div#result {
    position: fixed;
    color: #fff;
    text-align: center;
    top: 60vh;
    font-size: 17px;
    background: #0b800c;
    display: inline-block;
    margin: auto;
    width: 225px;
    left: calc((100% - 225px)/2);
    border-radius: 17px;
    padding: 5px 0px;
    display: none;
}
div#error {
    background: #F44336;
    top: 45vh;
    position: fixed;
    width: 180px;
    left: calc((100% - 180px)/2);
    text-align: center;
    color: #fff;
    padding: 6px 0;
    border-radius: 15px;
}
div#bad {
    border-radius: 0 5px 5px 0;
    background: #F44336;
}
div#middle {
    background: #e2a00e;
}
div#good {
    border-radius: 5px 0 0 5px;
    background: #0da50f;
}