body {
  background-color: #EAE8E8;
}

html, body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
#keyboard_container{
	position: relative;
    z-index: 9999;
}
#srch{
	background: #3e45e8;
}
#srch:hover{
	background: #3e45e8;
}
#srch:active{
	background: #3e45e8;
}
.show {
  height: 100% !important;
  overflow: visible !important;
  padding: 55px !important;
  opacity: 1 !important;
}

.container {
  width: 100%;
  max-width: 1242px;
  padding: 0px 15px;
  margin: 0 auto;
}

* {
  transition: 0.3s;
}

.book-of-memory {
  background-image: url("../images/bgc.png");
  background-size: cover;
  padding: 127px 0px 245px 0px;
  height: 527px;
}

.text-section h1 {
  font-family: "Prosto One", cursive;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 96px;
  margin: 0;
  line-height: 118px;
}

.text-section > span {
  display: block;
  height: 1px;
  width: 158px;
  margin: 28px auto;
  background-color: white;
}

.text-section p {
  text-align: center;
  font-family: "Play", sans-serif;
  color: white;
  font-size: 40px;
  max-width: 658px;
  margin: 0 auto 64px;
}

.input-section {
  padding: 28px 40px;
  background-color: rgba(235, 230, 230, 0.7);
  border: 1px #C10606 solid;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 69% 28%;
  column-gap: 3%;
  max-width: 100%;
  margin: 0 auto;
}

.search {
  border: none !important;
  outline: none !important;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  padding: 0px 0px 0px 46px;
  text-transform: uppercase;
}

.search::placeholder {
  color: black;
}

.find {
  background-color: #C10606;
  border: none;
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  color: white;
  margin: 0;
  box-shadow: none;
}

.keyboard {
  background-color: black;
  border: none;
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  color: white;
  margin: 0;
  box-shadow: none;
  padding: 7.5px 0px;
}

.keyboard:hover {
  background-color: rgb(42, 42, 42);
}

#keyboard_container {
  text-align: center;
  box-sizing: border-box;
}

#keyboard {
  background-color: white;
  display: inline-block;
  padding: 0px;
  box-sizing: border-box;
  border-radius: 9px;
  height: 0;
  overflow-y: hidden;
  opacity: 0;
}

.q {
  height: 70px;
  width: 70px;
  font-size: 32px;
  font-family: "Inter", sans-serif;
}

button {
  background-color: white;
  border: 1px solid #3E45E8;
  cursor: pointer;
  font-weight: bolder;
  margin-bottom: 5px;
  border-radius: 6px;
  color: #3E45E8;
}
button#cls {
  height: 70px;
  width: 92px;
  border-radius: 37px;
}
button#cls img {
  margin-left: -3px;
}
button#srch {
  height: 70px;
  width: 92px;
  border-radius: 37px;
}
button#space {
  width: 100%;
}
button:hover {
  background-color: #FBE201;
  color: #3E45E8;
  border: none;
}
button:active {
  box-shadow: none;
}

#result {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  padding: 4px 10px;
  text-align: center;
  box-sizing: border-box;
}

#keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.heroes-title {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  padding-bottom: 14px;
  border-bottom: 5px #3E45E8 solid;
  width: max-content;
  margin-bottom: 117px;
}

.heroes {
  display: grid;
  grid-template-columns: 23% 23% 23% 23%;
  column-gap: 2.6%;
  row-gap: 48px;
  margin-bottom: 148px;
}

.hero-card {
  padding: 15px;
  background-color: white;
  width: max-content;
  max-width: 285px;
  display: flex;
  flex-direction: column;
}
.hero-card h4 {
  font-family: "Prosto One", cursive;
  max-width: 257px;
}
.hero-card a {
  font-family: "Prosto One", cursive;
  padding: 8.5px 21px;
  text-decoration: none;
  margin-left: auto;
  display: block;
  width: max-content;
  border: 1px #3E45E8 solid;
  border-radius: 6px;
  margin-top: auto;
}
.hero-card a:hover {
  color: #3E45E8;
  background-color: #FBE201;
}
.hero-card a:visited {
  color: #3E45E8;
}

.hero-grade {
  color: #3E45E8;
  margin: 9px 0px 7px 0px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}

.pagination {
  width: max-content;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  margin-bottom: 156px;
}
.pagination a {
  background: white;
  text-transform: uppercase;
  color: black;
  font-family: "Prosto One", cursive;
  padding: 17px 25px;
  text-decoration: none;
  border-radius: 6px;
}
.pagination a:hover {
  background: #3E45E8;
  color: white;
}

footer {
  background: #272329;
  padding: 29px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
}
footer img{
	max-height: 66px;
}
footer p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #F2F2F2;
  width: max-content;
}
.hero-card h4{
	margin: 0px 0px 15px 0px;
}
@media (max-width: 1300px){
	.container{
	max-width: 1100px;
}
.show{
	padding: 23px !important;
}
#keys{
	gap: 8px;
}
.hero-card{
	max-width: 235px !important;
}
}
@media (max-width: 1140px){
	.container{
		max-width: 992px;
        }

.q {
    height: 66px;
    width: 60px;
}
.hero-card {
    max-width: 211px !important;
}
.heroes-title{
	margin-bottom: 80px !important;
}
}
@media (max-width: 1040px){
	.container{
    	max-width: 768px;
    }
    #srch, #cls{
	zoom: 0.7;
}.q{
    	width: 47px;
        height: 47px;
        font-size: 23px;
    }
	.keys{
    	gap: 6px;
    }
    .hero-card{
	max-width: 157px !important;
    padding: 10px 10px 15px 10px;
}
    .hero-grade{
	font-size: 12px;
}
 .hero-card h4{
	font-size: 14px;
}
.text-section h1 {
	font-size: 85px;
}
#keys {
    gap: 6px;
}
}
@media (max-width: 992px){
	footer{
    	zoom: 0.715;
    }
    .home footer{
    	zoom: 0.515;
    }
}
@media (max-width: 800px){
	body{
	zoom: 0.9;
}
}
@media (max-width: 768px){
	body{
	zoom: 0.8;
}
}
@media (max-width: 640px){
	body{
	zoom: 0.7;
}
}
@media (max-width: 576px){
	body{
	zoom: 0.6;
}
}
@media (max-width: 475px){
	body{
	zoom: 0.5;
}
}
/* @media (max-width: 425px){
	body{
	zoom: 0.45;
} */
@media (max-width: 425px){
.hero-card{
	max-width: 100% !important;
    width: unset;
    align-items: center;
}
.book-of-memory {
    padding: 127px 0px 245px 0px;
    height: 10px;
    background-position-x: center;
}
	footer{
    	gap: 5%;
        flex-direction: column;
        zoom: 1;
        position: unset !important;
    }
    .home footer{
    	zoom: 1;
    }
	.text-section > span {
    	width: 50%;
        margin: 10px auto;
    }
    .text-section p{
    	font-size: 18px;
        margin-bottom: 10px;
    }
	.container{
    	max-width: 100%;
        width: unset;
    }
	body{
    	zoom: 1;
    }
    #keyboard_container, .keyboard{
    	display: none;
    }
    .text-section h1{
    	font-size: 27px;
        line-height: 38px;
    }
    .heroes-title, .video h3{
    	margin-bottom: 40px !important;
        font-size: 25px !important;
    }
	.heroes {
    display: grid;
    grid-template-columns: 100%;
    column-gap: 0%;
    row-gap: 10px;
    margin-bottom: 148px;
}
.search{
	height: 50px;
    padding-left: 15px;
}
.qrcprowrapper{
	display: none;
}
.input-section {
    padding: 0;
    grid-template-columns: 100%;
}
.pre-footer{
	position: unset !important;
}
.container-single{
	padding: 0px 15px;
}
.hero-single{
	flex-direction: column;
}
.single-post{
	zoom: 1 !important;
}
.hero-single-title{
	font-size: 24px !important;
}
.hero-single img{
	width: 100% !important;
    height: 100% !important;
}
.date-single{
	font-size: 20px !important;
}
.video {
    margin-top: 80px !important;
}
.single-page{
	padding-bottom: 50px !important;
}
.container-single{
	width: unset !important;
}
.single-post{
	background-image: unset !important;
}
}
@media (min-width: 1100px){
	footer{
    	position:unset !important;
    }
}