@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	background: #EFEFEF;
}

/* width */
body::-webkit-scrollbar {
  width: 3px;
  background: #EFEFEF;
}

/* Track */
body::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* Handle */
body::-webkit-scrollbar-thumb {
  background: blue;
}

a {
	text-decoration: none;
}

#scroll_top {
	width: 50px;
	height: 50px;
	border-radius: 6px;
	position: fixed;
	right: 5px;
	bottom: 10px;
	display: flex;
	z-index: 66;
	cursor: pointer;
	background: #2c3e50;
	color: #ecf0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	transform: rotate(-90deg);
	display: none;
}

.sticky {
	width: 100%;
	position: sticky;
	top: 0;
	background-color: #800FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 0;
	flex-direction: column;
	z-index: 99;
}

#txt {
	height: 40px;
	width: 1000px;
	outline: none;
	border: none;
	max-width: calc(100% - 15px);
	font-size: 18px;
	padding: 6px;
	background: #fff;
}

main {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

main h2 {
	width: 75%;
	font-size: 25px;
	text-align: left;
	padding-left: 20px;
	margin-bottom: 10px;
	font-weight: 10;
	text-transform: capitalize;
	color: blue;
}

#normal {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.fancy_text {
    background: #fff;
    font-size: 23px;
    width: 75%;
    margin: 7px 0;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.3);
    max-width: calc(100% - 10px);
    color: #222;
    position: relative;
    padding: 20px 10px;
    overflow-x: hidden;
}

.new_txtbox {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 40px 0;
}

.new_txtbox h2 {
	color: #111;
	box-shadow: 0 3px 10px rgba(0,0,0,0.3);
	background: #fff;
	padding: 6px 10px;
}

.copied:after {
	content: 'copied';
	position: absolute;
	right: 5px;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 20px;
	background: blue;
	color: #fff;
}

.fancy_text::-webkit-scrollbar {
	display: none;
}

.fancy_text:hover {
	box-shadow: 0 3px 25px rgba(0,0,0,0.3);
} 

#load {
	width: calc(100% - 16px);
	text-align: center;
	padding: 5px;
	font-size: 25px;
	margin: 10px auto;
	cursor: pointer;
	color: blue;
	border-radius: 6px;
	border: 1px solid blue;
	width: 250px;
}

#load:hover {
	background: blue;
	color: #fff;
}

.other_tools {
	width: calc(100% - 15px);
	padding: 10px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	background: #d35400;
	margin: 10px auto;
	border-radius: 10px;
	box-shadow: 0 0 10px 3px rgba(0,0,0,0.3);
}

.other_tools a {
	color: #fff;
	font-size: 25px;
	padding: 5px 10px;
	background: #3AA567;
	margin: 5px;
	border-radius: 6px;
}

.other_tools a:hover {
	text-decoration: underline;
}

.range {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 0;
	font-size: 20px;
}

input[type=range] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 160px;
  margin-left: 10px;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  
  background: blue;
  border-radius: 1.3px;
  
}
input[type=range]::-webkit-slider-thumb {
  
  border: none;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #B52CFC;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
  max-width: 85%;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: blue;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: blue;
  border-radius: 1.3px;
}
input[type=range]::-moz-range-thumb {
  
  border: none;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #B52CFC;
  cursor: pointer;
  max-width: 85%;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #2a6495;
  
  border-radius: 2.6px;
  
}
input[type=range]::-ms-fill-upper {
  background: blue;
  
  border-radius: 2.6px;
  
}
input[type=range]::-ms-thumb {
  
  border: none;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #B52CFC;
  cursor: pointer;
  max-width: 85%;
}
input[type=range]:focus::-ms-fill-lower {
  background: blue;
}
input[type=range]:focus::-ms-fill-upper {
  background: blue;
}

.content {
	width: 100%;
	background: #333;
	padding: 10px 0;
}

.content h1 {
	text-align: center;
	font-size: 24px;
	color: #f2f2f2;
	letter-spacing: .7px;
}

.content h2 {
	font-size: 25px;
	font-weight: 500;
	color: silver;
}

.content p {
	font-size: 21px;
	font-weight: lighter;
	color: #fff;
}

.content h2, p {
	padding-left: 10px;
	line-height: 30px;
}

.content img {
	display: flex;
	margin: 0 auto;
	width: 700px;
	max-width: calc(100% - 10px);
}

.content * {
	margin: 15px 0;
	letter-spacing: .7px;
}

/*all media querys*/
@media (max-width: 1000px) {
	.fancy_text, .recent_text {
		width: calc(100% - 15px);
	}

	main h2 {
		width: calc(100% - 15px);
	}
}

@media (max-width: 800px) {
	.fancy_text, .recent_text {
		font-size: 25px;
	}
}

@media (max-width: 500px) {
	.fancy_text, .recent_text {
		font-size: 22px;
	}
}

@media (max-width: 280px) {

	.range {
		font-size: 16px;
	}

	main h2 {
		font-size: 23px;
	}
}

@media (max-width: 250px) {

	.range {
		font-size: 14px;
	}
}