@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #444343;
    --text-blue: #056eac;
    --text-green: #83ba5b;
    --warning: #e75050;
    --border: #e5e3e3;
    --placeholder: #d6d4d4;
    --bg-yellow: #fffddb;
}

html {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
}

body {
    margin: 0;
}

#nojavascript {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    text-align: center;
    font-size: 30px;
    color: var(--warning);
    line-height: 120%;
}

#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#top {
    position: fixed;
    background-color: white;
    width: 100%;
    z-index: 10;
    height: 60px;
    border-bottom: 1px solid var(--border);
}

#logo {
    position: fixed;
    top: 10px;
    left: 22px;
}

#name {
    position: fixed;
    top: 18px;
    left: 75px;
    font-size: 18px;
    font-weight: bold;
}

#totraxed {
    position: fixed;
    top: 18px;
    left: 250px;
    font-size: 14px;
    padding: 0 10px;
    color: var(--text-blue);
}

#totraxed:hover {
    cursor: pointer;
    background-color: #f2f2f2;
    color: var(--text);
    border-radius: 5px;
}

#search_results_block {
    position: fixed;
    top: 18px;
    right: 42%;
    font-size: 80%;
    color: #9c9b9b;
}

#search {
    position: fixed;
    top: 2px;
    right: 10px;
    background-image: url('../images/magnify.svg');
    background-position: 4px 4px;
    background-repeat: no-repeat;
    background-size: 25px;
    padding-left: 40px;
}

input[type=text] {
    font-family: 'Montserrat', sans-serif;
    width: 40%;
    border-radius: 7px;
    border: 1px solid var(--border);
    padding: 6px;
    font-size: 17px;
    margin-top: 10px;
    color: #8b8a8a;
    outline: none;
    transition-duration: 1s;
}

input[type=text]:focus,
textarea:focus {
    outline: none;
    border: 1px solid #f0ec1f;
    background-color: var(--bg-yellow);
    transition-duration: 1s;
}

::-webkit-input-placeholder {
    /* Edge */
    color: var(--placeholder);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--placeholder);
}

::placeholder {
    color: var(--placeholder);
}

.search-highlight {
    background-color: #ffef60;
}

.plus {
    border-bottom: 3px dotted #ed5c46;
    border-top: 3px dotted #ed5c46;
}

#sidebar {
    width: 300px;
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: scroll;
    background-color: #fafafa;
    border-right: 1px solid var(--border);
}

#content {
    margin-left: 300px;
    margin-top: 60px;
    padding: 0 40px 20px 40px;
    max-width: 900px;
}

.sidebar {
    font-size: 15px;
    line-height: 120%;
    padding: 15px 0 15px 15px;
    color: var(--text-blue);
    border-radius: 20px;
    margin: 10px;
}

.sidebar:hover {
    background-color: #f2f2f2;
    cursor: pointer;
    color: var(--text);
}

.inview {
    background-color: #a8db84;
    color: white;
    border-radius: 20px;
    transition-duration: .3s;
    margin-right: 0;
    border-radius: 20px 0 0 20px;
}

.inview:hover {
    background-color: #99cb75;
    color: white;
}

.block {
    border-bottom: 1px solid #eeecec;
    padding: 30px 0;
}

h1 {
    font-size: 50px;
    line-height: 120%;
}

h2 {
    font-size: 24px;
    line-height: 120%;
    margin: 40px 0 12px 0;
}

p {
    padding: 15px 0;
    line-height: 180%;
}

ul {
    list-style: circle;
    margin: 0 0 20px 40px;
}

ol {
    margin: 0 0 20px 40px;
}

li {
    margin-bottom: 10px;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.info {
    color: var(--text-green);
}

#bottom {
    text-align: center;
    padding: 20px 20px 0 20px;
}

.bottom {
    font-size: 15px;
    color: #c3c1c1;
    padding: 0 30px;
}

.siteitem {
    font-weight: bold;
    color: #cf4747;
}

.link {
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: var(--text-blue);
    background-color: #f2f2f2;
    padding: 0 8px;
    border-radius: 5px;
    border: 1px solid #a0d8ed;
}

.link:hover {
    background-color: #d9ecf0;
    border-radius: 5px 5px 0 0;
}

.link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 250ms ease-in;
}

.link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.example {
    background-color: #fffddb;
    border: 1px solid #e6e354;
    border-radius: 5px;
    font-size: 15px;
    padding: 10px;
}

.mini,
.loading,
.found {
    padding: 5px 20px;
    border-radius: 10px;
    background-color: #1da9fa;
    font-size: 16px;
    color: white;
    display: inline;
}

.mini:hover {
    cursor: pointer;
    background-color: #0483cc;
}

.loading {
    background-color: #cbc9c9;
    cursor: not-allowed;
}

.found {
    background-color: #99cb75;
}

.off {
    display: none;
}

.draw-container {
    margin: 10px 0 30px 0;
}

.limited {
    margin: 20px 0 0 0;
}

.draw {
    display: inline;
    background-color: #54a34a;
    border-radius: 5px;
    padding: 3px 15px;
    text-align: center;
    color: white;
}

@media only screen and (max-width: 750px) {
    h1 {
        font-size: 40px;
        line-height: 110%;
    }

    h2 {
        font-size: 30px;
        line-height: 110%;
    }

    #logo {
        left: 15px;
    }

    #name {
        left: 65px;
        font-size: 15px;
    }

    #totraxed {
        display: none;
    }

    #sidebar {
        display: none;
    }

    #content {
        margin-left: 0;
        position: relative;
        padding: 0 15px 0 15px;
    }

    #bottom {
        padding-bottom: 20px;
    }

    .bottom {
        display: block;
        padding: 5px;
    }

    #search_section {
        display: none;
    }
}