* {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #222;
}

a {
    color: #505a89;
    text-decoration: none;
    transition: color .15s;
}

    a:hover {
        color: #5470cb;
    }

header {
    border-bottom: 1px solid #ecf4ff;
}

.header {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .header a {
        margin-left: 20px;
    }

        .header a.logo {
            position: relative;
            top: 4px;
            margin-left: 0;
            margin-right: 60px;
        }

.mobile {
    display: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 53px;
    font-weight: 900;
    color: #293763;
    padding: 30px 40% 10px 0;
}

h2 {
    font-size: 26px;
    font-weight: 500;
    color: #293763;
    padding: 5px 40% 25px 0;
}

.index_form {
    padding: 5px 60% 30px 0;
    display: flex;
}

    .index_form input {
        font-size: 18px;
        border: 1px solid #bccde7;
        background: #fcfdff;
        color: #bccde7;
        border-radius: 6px;
        box-sizing: border-box;
        width: 100%;
        padding: 8px 16px;
        transition: .15s;
        outline: none;
        margin-right: 10px;
    }

    .index_form input:focus, .index_form input:active {
        color: #293763;
        border-color: #6991ce;
    }

        .index_form input::placeholder {
            color: #bccde7;
        }

    .index_form button {
        font-style: normal;
        font-weight: 700;
        text-decoration: none;
        font-size: 16px;
        line-height: 1;
        text-align: center;
        border: none;
        border-radius: 6px;
        display: inline-block;
        padding: 18px;
        min-width: 220px;
        max-width: 100%;
        transition: .3s;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
        background-color: #ff4041;
        color: #fff;
    }

    .index_form button:hover {
        background-color: #ff5d5e;
    }

.index_result {
    color: #293763;
    margin-bottom: 20px;
}

.index_error {
    color: #bbb;
    margin-bottom: 20px;
}

.history_item {
    font-size: 18px;
    border: 1px solid #bccde7;
    background: #fcfdff;
    color: #bccde7;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 16px;
    transition: .15s;
    outline: none;
    margin: 12px;
    line-height: 32px;
    cursor: default;
}

    .history_item:hover {
        color: #293763;
        border-color: #6991ce;
    }

p {
    color: #293763;
    font-size: 18px;
    margin: 20px 0;
}

@media (max-width:1200px) {
    .mobile {
        display: initial;
    }

    .nomobile {
        display: none;
    }

    .container {
        width: initial;
        padding: 0 15px;
    }

    .js-menu > a {
        line-height: 40px;
        display: block;
        border-bottom: 1px solid #ecf4ff;
        padding: 0 15px;
    }

    h1 {
        font-size: 53px;
        font-weight: 900;
        color: #293763;
        padding: 30px 0 10px 0;
    }

    h2 {
        font-size: 26px;
        font-weight: 500;
        color: #293763;
        padding: 5px 0 25px 0;
    }

    .index_form {
        flex-direction: column;
        padding: 5px 0 30px 0;
    }

        .index_form input {
            line-height: 52px;
            margin-bottom: 16px;
            padding: 0 16px;
        }
}

