
html {
  scroll-behavior: auto;
}

body {
    font-family: Arial;
    font-size: 20px;
    padding: 0;
    margin: 0;
}
p{margin: 0 0 10px 0;font-size:17px;}
li{font-size:17px;}
select, input, button, textarea {
    font-size: 20px;
}
button {
    cursor: pointer;
}

img {
  width: 100%; /* or max-width: 100%; */
  height: auto;

  aspect-ratio: attr(width) / attr(height);
}

select {
    padding: 5px 10px;
}
.block {display: block;}
.hidden {display: none;}
.inline-block{display: inline-block;}

.logo a {
    margin: 0 auto;
    display: table;
    text-decoration: none;
}
.logo a:hover {
    text-decoration: underline;
}

.logo a img {
    width: 100%;
}
.mini-btn {
    background: #fff;
    border: none;
    border-radius: 5px;
    padding-top: 3px;
    transition: transform 0.3s ease;
}
.mini-btn:hover {
    background: #eee;
}
.mini-btn:focus {
    transform: scale(1.1);
    outline: none;
}
body * {
-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
        box-sizing: border-box;
}
.relative {
    position: relative;
}
.editor-buttons {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.editor-stats {
	position: absolute;
	bottom: 15px;
	left: 10px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.text-center {
    text-align: center;
}
.cursor {
    cursor: pointer;
}
.hover:hover {
    opacity: 0.8;
}
.ml-0 {margin-left:0;}.ml-5 {margin-left:5px;}.ml-10 {margin-left:10px;}
.mr-0 {margin-right:0;}.mr-5 {margin-right:5px;}.mr-10 {margin-right:10px;}
.mb-0 {margin-bottom: 0px;}.mb-5 {margin-bottom: 5px;}.mb-10 {margin-bottom: 10px;}.mb-15 {margin-bottom: 15px;}.mb-30 {margin-bottom: 30px;}
.mt-0 {margin-top: 0px;}.mt-5 {margin-top: 5px;}.mt-10 {margin-top: 10px;}.mt-15 {margin-top: 15px;}.mt-30 {margin-top: 30px;}
.width100{width:100%;}
.fs-14 {
    font-size: 14px;
}
.lh-0{line-height:0;}
.flex-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-2 {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* Align items to the left */
}

.flex-2 > *:not(:last-child) {
	margin-right: 5px; /* Add gap between items */
}

.btn {
  position: relative;
  padding: 1rem 3rem;
  font-family: Lato, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: black;
  text-decoration: none;
  background-color: white;
  border: transparent;
  outline: transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  
}
.btn-gradient {
  background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
}
.btn-gradient-anim {
  animation: changeGradientAnimation 8s linear infinite;
}


@keyframes changeGradientAnimation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

ul {
    margin: 0;
    padding: 0;
    list-style: disc;
    margin-left: 25px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 20px;
    padding: 0 10px;
    margin: 5px 0 5px 0;
    background: #eee;
    border: 1px solid #ddd;
    border-left: 3px solid blue;
}

ul.simple li {
    margin-bottom: 5px;
    font-size: 15px;
}

.colors_gray1 {
    color: #5b5b5b;
}
.c-blue-1:hover {
    color: rgba(38,38,212,1);
}
.white {
    color: white;
}

.translate {
    margin-left: auto;
    margin-right: auto;
}
.translate .editor {
    width: 100%;
    min-height: 250px;
    padding: 10px;
    background: blue;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(38,38,212,1) 56%, rgba(0,212,255,1) 100%);
    color: #fff;
	-webkit-box-shadow: 0 10px 6px -6px #777;
	   -moz-box-shadow: 0 10px 6px -6px #777;
	        box-shadow: 0 10px 6px -6px #777;
    border-radius: 10px;
}
.translate .editor:hover {
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(38,38,212,1) 36%, rgba(0,212,255,1) 100%);
}
.translate select {
    max-width: 150px;
}


#source_text::placeholder {
  color: #ccc;
  opacity: 1; /* Firefox */
}


.translate #translated_text {
    background: #f9f9f9;
    border: 1px solid #ccc;
    color: #000;
}
#translate {
	padding: 2px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-family: Arial;
	font-weight: bold;
	color: #fff;
	font-size: 25px;
    z-index: 1;
    margin: 0 auto;
    border-bottom: 2px solid #00f3ff;
}

#translate:hover {

}

.swap_languages {
    background: #fff;
    border: 1px solid #bbb;
}
.swap_languages:hover {
    color: blue;
}

.langs-list li {
    display: inline-block;
}


.langs-list li a {
    display: inline-block;
    padding: 2px 5px;
    background-image: linear-gradient(25deg, #28007a, #3540a0, #3275c7, #00abef);
    color: #fff;
    text-decoration: none;
    font-size:17px;

}
.langs-list li a:hover {
    background: #000;
    color: #fff;
}
.top-line {
    height: 5px;
    background: linear-gradient(to right,#ff0000,#ff7f00,#ffff00,#00ff00,#0000ff,#4b0082,#8f00ff);
}
.bottom-line {
    height: 5px;
    background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8a95e8, #7591ef, #578df6, #2f77fe, #005eff, #0040ff, #0c00ff);
}
.footer {
    padding: 10px;
}

#preloader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (max-width: 768px) {
    html .media-max-tablet-block {
        display: block;
    }
}