/* Responsive CSS Example */
* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0 auto;
    text-decoration: none;
    text-align: center;
}

body {
    text-align: center;
    max-width: 980px;
    padding: 5px;
}

h1, h2, h3, h4, h5, h6 {
    padding: 10px 5px;
    color: red;
    font-size: medium;
    text-transform: capitalize;
}

h6 {
    color: darkred
}

.logo {
    display: block;
    text-align: center;
}

hr {
    border: none;
    margin: 10px;
    flex-grow: 1;
    clear: both;
}

.navbar {
    margin: 5px auto;
    clear: both;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
}

.navbar li {
    display: inline-block;
    margin: 1px;
    width: calc(100vw /4);
}

.navbar a {
    flex-grow: 1;
    color: white;
    text-decoration: none;
    display: block;
    line-height: 45px;
    background-color: black;
}

.navbar a:hover {
    background: red;
}

main {
    margin-top: 10px;
    clear: both;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

main h1 {
    color: black;
    text-shadow: none;
    font-size: large;
    text-align: start;
    padding: 10px 10px 5px 10px;
}

main p {
    padding: 10px;
    text-align: justify;
    text-transform: none;
}

main ul {
    margin-top: 10px;
    list-style: decimal-leading-zero;
    align-items: stretch;
}

main ul li {
    padding: 5px 0;
    text-transform: none;
    text-align: left;
}

.result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.result span {
    padding: 10px 0;
    width: 100%;
    background: darkslategray;
}

.result span h1 {
    font-size: x-large;
    flex: auto;
    color: yellow;
    text-shadow: 0px 0px 2px #000;
}

.result p {
    color: aliceblue;
}

p.r {
    font-size: xx-large;
    font-weight: bold;
    color: aqua;
    text-shadow: 0px 0px 2px #000;

}

.magic {
    background: darkgrey;
    padding: 10px;
}

.magic button {
    margin: 5px;
    font-size: xx-large;
    border-radius: 15px;
    text-shadow: 1px 1px 2px #464646ff;
}

button {
    background: darkred;
    color: white;
}

.btn p {
    display: flex;
    flex-wrap: wrap;
    margin: 5px auto;
}

.btn p a {
    flex: auto;
    text-transform: capitalize;
    margin: 1px;
    line-height: 32px;
    padding: 7px 15px;
    background: crimson;
    color: cornsilk;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.btn p a:hover {
    background: black;
}

input[type=number],
input[type=tel],
input[type=password],
input[type=text],
input[type=time] {
    display: flex;
    text-transform: none;
    flex-direction: column;
    color: #000;
    background: lightgray;
    font-size: x-large;
    font-weight: 700;
    padding: 7px 10px;
    margin: 5px auto;
    text-transform: none;
}

input[type=number] {
    background: black;
    color: white;
    cursor: none;
}

input[type=number]::placeholder {
    color: white
}

input[type=button],
button,
input[type=submit] {
    color: #fff;
    font-size: large;
    padding: 10px 20px;
    margin: 1px;
    margin-top: 15px;
    background: black;
}

input[type="search"] {
    margin: 10px auto;
    padding: 8px 12px;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 16px;
    background: lightgoldenrodyellow;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease-in-out;
}

input[type="search"]:focus {
    border-color: #007bff;
    /* Highlight border on focus */
    outline: none;
    /* Remove default outline */
}

.search {
    background: blue;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background-size: contain;
    cursor: pointer;
    opacity: 0.7;
}

input[type="search"]::-webkit-search-cancel-button:hover {
    opacity: 1;
}

textarea {
    display: flex;
    width: 96%;
    color: #000;
    font-size: x-large;
    text-transform: capitalize;
    background: lightyellow
}

.chart td {
    width: calc(100%/13);
}

.chart tr:nth-child(2n),
tr:nth-child(2n) {
    background-color: #493434;
    font-weight: bold;
}

.chart tr:nth-child(odd),
tr:nth-child(odd) {
    background-color: #3d343d;
    font-weight: bold;
}

.chart td:first-child,
.chart tr:first-child,
.chart tbody>tr:first-child>td {
    background: darkslateblue;
    word-wrap: break-word;
    padding: 6px 0;
    font-size: smaller;
}

.chart tr:hover {
    background: brown
}

.chart td:hover {
    background: #00f
}

table,
tbody {
    width: 100%;
    background: black;
}

table a {
    display: block;
    padding: 10px 2px;
    font-size: x-large;
    color: white;
}

.rbox td,
table,
td,
th {
    color: #fff;
    word-wrap: break-word
}

.red {
    background: red;
    color: white;
    line-height: 45px;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}