html {
    scroll-behavior: smooth;
}

ol > li {
    margin: 5px 0;
}

li::marker {
/*    content: '';*/
    display: none;
}

li:has(a) {
    text-decoration: underline;
}

ol > li:has(a) {
    list-style: none;
   text-decoration: underline;
}

li:has(a) {
    list-style: none;
    text-decoration: underline;
}

ol> li:has(a)::marker{
    content: '';
    display: none;
}

.img-logo {
    display: flex;
    justify-self: center;
}

nav li {
    color: #3498db;
}

body {
    font-family: verdana, Arial, sans-serif;
    font-style: normal;
    line-height: 1.6;
	font-size: 0.9em;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ececec36;
}

#body-content {
    border: 1px solid lightgrey;
    padding: 50px;
    height: 70vh;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f0f0f0;
    -ms-overflow-style: scrollbar;
    background-color: white;
}

#body-content::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
}

#body-content::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #b0b0b0;
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

#body-content {
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f0f0f0;
}

#body-content {
    -ms-overflow-style: scrollbar;
}

#body-content::after {
    content: '';
    display: block;
    height: 1px;
    margin-bottom: calc(60vh + 1px);
}

.dropdown-div {
    display: grid;
    grid-template-columns: 150px auto 150px;
    align-items: flex-end;
    margin-bottom: 1vh;
}

.dropdown-div button {
    float: right;
}

.logo {
    display: flex;
    flex-direction: row;
    max-width: 100px;
    justify-self: center;
    margin-bottom: 20px;
}

/* Input Field */
input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #007BFF;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select {
  position: relative;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007BFF"%3E%3Cpath d="M7 10l5 5 5-5H7z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

select:hover {
  border-color: #0056b3;
}

h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 30px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

blockquote {
    border-left: 4px solid #eee;
    padding-left: 15px;
    color: #666;
    margin: 0 0 1em;
}

code {
    font-family: 'Consolas', monospace;
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

#google_translate_element {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 20px !important;
}

.goog-te-gadget-simple {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 16px !important;
    padding: 8px 14px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.goog-te-gadget-simple:hover {
    border-color: #bdbdbd !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #333 !important;
    text-decoration: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    border-left: none !important;
    font-family: Arial, sans-serif !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:hover {
    text-decoration: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

#\:0\.targetLanguage > span > a > span:nth-child(3) {
    display: none !important;
}

#\:0\.targetLanguage > span > a > span:nth-child(5) {
    margin-left: 5px !important;
}

table.signals { table-layout: fixed; }
table.signals b, table.signals i { color: #cc0000; }
table.signals td { text-align: center; vertical-align: top; }

@media screen and (max-width: 500px) {
    .logo {
        max-width: 50px;
    }

    select {
        font-size: 12px;
    }

    button {
        font-size: 12px;
        padding: 12px 10px;
    }

    .dropdown-div {
        grid-template-columns: 130px auto 130px;
        margin-bottom: 2vh;
    }
}

@media screen and (max-width: 400px)
{
    .dropdown-div {
        margin-bottom: 2vh;
    }
}

@media screen and (max-height: 900px)  and (min-width: 500px) {
    .dropdown-div {
        margin-bottom: 2vh;
    }

    #body-content {
        height: 65vh;
    }
}

@media screen and (max-height: 780px) and (min-width: 500px) {

    #body-content {
        height: 55vh;
    }
}

@media screen and (max-height: 580px) {
    .dropdown-div {
        margin-bottom: 20vh;
    }

    #body-content {
        height: 45vh;
    }
}
