*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    color: #333;
}

body,
html {
    min-width: 320px;
}
body,
html {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 150%;
    color: #333;
}

a {
    color: #5d8aff;
    text-decoration: none;
    transition: color 0.3s;

&:hover {
     color: #264bb0;
 }
}

h1, .h1 {
    font-size: 24px;
    line-height: normal;
    margin-bottom: 10px;
}
h2, .h2 {
    font-size: 20px;
    line-height: normal;
    margin-bottom: 10px;
}
h3 {
    font-size: 18px;
    line-height: normal;
    margin-bottom: 10px;
}
ul, ol {
    padding-left: 20px;
    margin-bottom: 10px;
}
p {
    margin-bottom: 10px;
}
.menu {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.menu a {
    padding: 2px 0;
    display: block;
    line-height: 1;
}
.menu a.active {
    font-weight: bold;
    border-bottom: 1px solid #999;
    color: #333;
}
.container {
    max-width: 920px;
    margin: 0 auto;
}
input[type=text] {
    display: block;
    height: 40px;
    width: 100%;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #999999;
}
button {
    display: block;
    background: #80aaea;
    border-radius: 5px;
    padding: 3px 10px;
    cursor: pointer;
    height: 40px;
    border: none;
    font-size: 14px;
    color: #fff;
    width: 200px;
}
select {
    display: block;
    height: 40px;
    width: 200px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #999999;
}


.form {
    display: flex;
    gap:10px;
}
.input {
    position: relative;
    width: calc(100% - 210px);
}
.input.dig {
    width: calc(100% - 420px);
}
#convert {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80aaea;
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    height: 34px;
    font-size: 14px;
    color: #fff;
    position: absolute;
    right: 3px;
    top: 3px;
}
#whoisResult, #digResult {
    margin-top: 40px;
    margin-bottom: 60px;
    overflow-x: auto;
}
table {
    border-collapse: collapse;
    border: 1px solid #999999;
    width: 100%;
}
th {
    border: 1px solid #999999;
    padding: 2px 5px;
    text-align: left;
}
td {
    border: 1px solid #999999;
    padding: 2px 5px;
    font-size: 12px;
}

@media (max-width: 960px) {
    .container {
        margin: 0 20px;
    }
    .form {
        flex-direction: column;
    }
    .input, .input.dig, select, button {
        width: 100%;
    }
}
