/*
 Theme Name:   Melvin Theme
 Theme URI:    http://melvinstanly.com
 Description:  Perosnal Theme
 Author:       Melvin Stanly
 Author URI:   http://melvinstanly.com
 Template:     twentytwentyone
 Version:      1.0.0
 Text Domain:  melvintheme
*/

.aemsty{
	/*border:1px solid red !important;*/
	height: 100vh;
	width: 100%;
	background-color: #fff;
/*	background: url(https://iamworthy.in/wp-content/uploads/2024/08/grey.png) center / auto 100%;*/
}

html{
	margin-top: 0 !important;
	background-color: #fff;
}

.main-banner{
	width: 100%;
	/*height: 6rem;*/
	position: fixed;
	display: flex;
	align-items: center;
	padding: 0px 20px;
	/*bottom: 4rem;*/
	background: #e52d27;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #b31217, #e52d27);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #b31217, #e52d27); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.second-banner{
	width: 100%;
	font-size: 1.5rem;
	/*height: 4rem;*/
	position: fixed;
	display: flex;
	align-items: center;
	padding: 0px 20px;
	color: #fff;
	bottom: 0;
	background: #CAC531;  /* fallback for old browsers */
}

.gallery{
	/*height: 10rem;*/
	width: 100%;
	display: flex;
	flex-direction: row;
	overflow: hidden;
}	

.gallery-slides{
	display: flex;
	flex-direction: row;
	transform: translateX(-1200px);
	animation: move 20s linear infinite -1.5s;
}

.gallery p{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(50% 50%);
	font-size: 2rem;
}

@keyframes move {
   0% {
    transform: translatex(50%);
  }
  100% {
    transform: translateY(100%);
  }
}	
.score{
	/*height: calc(100vh - 28rem);*/
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
/*	background-image: url('./tricolor.webp');*/
	background-repeat: no-repeat;
	background-size: cover;
/*	flex-direction: row;*/
}

.score > p{
	font-size: 2.5rem;
	margin-bottom: 30px;
	color: #fff;
	/*text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;*/
	/*background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );*/
  background-image: url('./tricolor.webp');
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclipnew 2s linear infinite;
  display: inline-block;
  font-weight: bold;
  animation-direction: reverse;

}

@keyframes textclipnew {
  to {
    background-position: 200% center;
  }
}


.score-information{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}

.header{
	padding: 0px 10px;
/*	border: 2px solid red;*/
/*	height: 8rem;*/
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	position: relative;

}

.header img{
	width: 4rem;
	/*position: absolute;*/
	/*left: 10px;*/
	margin-top: 10px;
}

.header p{
	font-size: 2.5rem;
}

.score-box{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
/*	margin-right: 3rem;*/
	width: 11rem;
	height:9rem;
	border-radius: 4px;
	color: #fff;
}

.score-box p{
	font-size: 1.8rem;
	font-weight: bold;
	color: #fff;
    text-transform: capitalize;
	text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;
}

.score-box .score-card{
	/*font-size: 3rem;*/
	font-size: 2.5rem;
	font-weight: bold;
	text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;
}

.score-card {
  animation: blinker 3s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.header p{
	 text-transform: uppercase;
  /*background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );*/
  background-image: url('./tricolor.webp');
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 8s linear infinite;
  display: inline-block;
  font-weight: bold;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.main-banner-content {
	font-size: 2rem;
	color: #fff;
	font-weight: bold;
  	/*animation: 5s anim-lineUp ease-out infinite;*/
}
@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

.flash {
	position: absolute;
	top: -33px;
	left: 0px;
	/*width: 5rem;*/
	padding: 0px 20px;
	background: #e52d27;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #b31217, #e52d27);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #b31217, #e52d27); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	color: #fff;
}

.flash-content{
	animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.emerald .score-card{
	background-color: #25be69;
}

.topaz .score-card{
	background-color: #fff33f ;
}

.sapphire .score-card{
	background-color: #258dbe;
}

.ruby .score-card{
	background-color: #ff3f43;
}

.emerald p{
	color: #25be69;
}

.topaz p{
	color: #fff33f ;
}

.sapphire p{
	color: #258dbe;
}

.ruby p{
	color: #ff3f43;
}

.header .score-card{
	height: 20%;
}

.gallery{
/*	height: 18%;*/
}

.score{
	height: 67%; /*Height set to 40% when using 18% from gallery*/
}

.main-banner{
	height: 15%;
}

.second-banner{
	height: 7%;
}

.gallery {
	animation: move 2s linear infinite -1.5s;
}
@keyframes move {
  to {
    right: 100%;
    transform: translate(0);
  }
}

.aems-home-left,
.aems-home-right{
	width: 17%;
/*	border: 1px solid red;*/
	height: 100%;
}

.aems-home-main{
	width: 100%;
/*	border: 1px solid blue;*/
	height: 75%;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: wrap;
}

.aems-home-main h2{
	text-align: center;
	width: 100%;
	margin-top: -30pxpx;
	color: transparent; 
		
		/* define the gradient you want to clip to the text */
		background-image: linear-gradient(
			to right,
			blue, yellow, red, green
		);
		
		/* say that the background should clip to the text instead of the bounding-box */
		background-clip: text;
		
		/* apply a blend-mode to the entire element to blend it with the body background */
		mix-blend-mode: color-dodge;
		font-weight: bold;
}

.aems-home-score-panel{
/*	height: 100%;*/
  width: 40%;
/*  border: 3px solid green;*/
  display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 45px;
}

.aems-home-score-panel .score-box{
	/*width: 70% !important;*/
	width: 80% !important;
	height: 5rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background-color: #EEEEEE;
}

.aems-home-score-panel .aems-score-right{
	padding: 0 0 0 5%;
}

.aems-home-score-panel .aems-score-left{
	padding: 0 5% 0 0;
}

.aems-home-score-panel .score-box .score-card{
	  /*width: 33%;*/
    width: 36%;
    text-align: center;
    line-height: 200%;
    vertical-align: middle;
}

.aems-home-main img{
	width: auto;
  height: 50%;
}

.aems-home-sidebar{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	height: 100%;
}

.aems-home-sidebar img{
	width: 50%;
}

/*Score Banner*/
.aems-score-banner{
	width: 60%;
	height: 25%;
	position: relative;
	margin: 0 auto;
  margin-top: -5px;
}

.aems-score-banner img{
	width: 100%;
	height: 100%;
}

.aems-score-banner p{
	width: 100%;
	position: absolute;
	top: 3%;
/*	left: 20%;*/
	color: #fff;
	font-weight: bold;
	letter-spacing: 12px;
	text-align: center;
	font-size: 2rem;
}

.second-banner marquee p{
	display: inline-block;
/*	border: 1px solid;*/
	margin: 0;
	height: 100%;
	padding: 0px 20px;
  border-radius: 4px;
}

.second-banner marquee p img{
	height: 100%;
	width: auto;
}

.second-banner marquee p .dashicons{
	margin-right: 7px;
  vertical-align: middle;
  font-size: 1.5rem;
  line-height: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.second-banner marquee p.aems-event-banner-name{
	padding: 0 10px;
	font-weight: bold;
	margin-left: 30px;
    margin-right: 20px;
	background: linear-gradient(to right, #b31217, #e52d27);
}

.second-banner marquee p.aems-prize-first{
	background-color: #FFD700;
	font-weight: bold;
	margin-right: 15px;
}

.second-banner marquee p.aems-prize-second{
	background-color: #D3D3D3;
	font-weight: bold;
	margin-right: 15px;
}

.second-banner marquee p.aems-prize-third{
	background-color: #CD7F32;
	font-weight: bold;
	margin-right: 15px;
}

/* 3 column score section */
.aems-divison-3.aems-home-main{
	flex-direction: column;
  height: 75%;
/*  border: 1px solid blue;*/
}

.aems-divison-3 .aems-left,
.aems-divison-3 .aems-right{
	width: 15%;
  display: flex;
  align-items: center;
  flex-direction: column;
  /*gap : 9%;*/
  gap : 15%;
  margin-top: -140px;
}

.aems-divison-3 .aems-center{
	width: 70%;
  height: 100%;
/*  border: 1px solid red;*/
display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 15px;
    padding-right: 15px;
}

.aems-divison-3 .aems-left img,
.aems-divison-3 .aems-right img{
	width: 83% !important;
}

.aemsty-confetti{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.7;
	background-size: cover;
	background-repeat: no-repeat;
}

.main-banner-content{
	width: 100%;
}

.main-banner-content p{
	display: inline-block;
}

.main-banner-content .dashicons{
	    margin-left: 20px;
    vertical-align: inherit;
    margin-right: 20px;
}

.main-banner-content {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.scrolling-text {
  display: flex;
  animation: scrollText 30s linear infinite; /* Adjust duration as needed */
  animation-iteration-count: infinite
}



@keyframes scrollText {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(0%); /* Adjust based on content width and duplication */
  }
}



@media screen and (min-width: 2000px) {
    .score{
        height: 65% !important;
    }
}