html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

body {
    font-family: 'Global Monospace';
    padding: 0;
    background: #ffffff;
    color: #000000;
    transition: background 0.3s, color 0.3s;
}

    body.dark {
        background: #121212;
        color: #e6e6e6;
    }

h1 {
    margin-bottom: 1rem;
    font-size:1.4rem;
    font-weight:500;
}

.toggle-container {
    text-align: right;
    margin-bottom: 10px;
}

.toggle-btn {
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f7f7f7;
}

body.dark .toggle-btn {
    background: #333;
    border-color: #555;
    color: #e6e6e6;
}

.panel-area{
    display:block;
   justify-content:left;
}

.tabs {
    display: none;
    border-bottom: 2px solid #ddd;
    margin-bottom: 16px;
    flex-wrap: wrap;
    width: 120px;
}

.tab {
    padding: 0;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f7f7f7;
    margin-right: 4px;
    border-radius: 6px 6px 0 0;
    transition: background 0.3s;
}

    .tab.active {
        background: white;
        font-weight: 600;
        border-bottom: 2px solid white;
    }

body.dark .tab {
    background: #333;
    border-color: #555;
}

    body.dark .tab.active {
        background: #222;
        border-bottom-color: #222;
    }

.converter {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 0 8px 8px 8px;
    background: white;
    transition: background 0.3s, border-color 0.3s;
    margin-bottom:25px;
    width:100%;
}

body.dark .converter {
    background: #222;
    border-color: #555;
}

.tab a {
    text-decoration: none;
    color: #000000;
    padding: 10px 16px;
    display:block;
    width:100%;
}

body.dark .tab a {
    color: #e6e6e6;
}


.row {
    display: flex;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

label {
    display: block;
    margin-bottom: 4px;
}

select, input {
    padding: 8px;
    width: 100%;
    background: white;
    color: black;
    border: 1px solid #ccc;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

body.dark select,
body.dark input {
    background: #333;
    color: #e6e6e6;
    border-color: #555;
}

.result-box {
    padding: 8px;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 6px;
    min-height: 40px;
    display: flex;
    align-items: center;
}

body.dark .result-box {
    background: #333;
    border-color: #555;
    color: #e6e6e6;
}

button {
    padding: 10px 16px;
    cursor: pointer;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: background 0.3s, border-color 0.3s;
}

body.dark button {
    background: #333;
    border-color: #555;
    color: #e6e6e6;
}

.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    color: #000000;
}

.dark .navbar-light .navbar-brand,
.dark .navbar-light .navbar-nav .nav-link {
    color: #e6e6e6;
}

.navbar-light .navbar-brand {
    background-image: url(/images/logo-a.png);
    background-repeat: no-repeat;
    background-size: auto 60%;
    padding-left: 30px;
    background-position-y: center;
}

.hero-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adv-img img{
    max-width:120px;
    width:100%;
}

.dropdown-block{
    display:block;
    margin-bottom:15px;
}

.form-input {
    width: 100%;
    min-height: 40px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
}

.form-captcha {
    margin: 10px;
}

.form-row .drawrpallete-wrapper {
    display: flex !important;
}

.form-notes {
    color: orangered;
    margin: 10px 0;
}

.form-row {
    margin: 5px 0;
}

.form-notes, .field-validation-error {
    color: orangered;
    margin: 5px 0;
    display: block;
}

.form-text {
    width: 100%;
}

.form-input input {
    width: 100%;
    height: 36px;
}

.form-row textarea {
    width: 100%;
}

.email-message {
    font-size: 20px;
    margin: 20px 0;
}

.btn-submit {
    border: none;
    cursor: pointer;
    overflow: visible;
    display: inline-block;
    padding: 0 15px 0 15px;
    text-align: center;
    font-size: 14px;
    height: 36px;
    min-width: 135px;
    background-color: #00ACEE;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
}


@media (min-width: 768px) {
    .dropdown-block {
        display: none;
    }

    .tabs {
        display: block;
    }

    .converter {
        width: 80%;
    }

    .panel-area {
        display: flex;
    }
}