/* HERO STARTPAGE */
.paralympics-startpage-hero {
   height: 400px;
   display: flex;
   align-items: flex-end;
   padding: 4rem;
   background-repeat: no-repeat!important;
   background-position: center center!important;
   background-size: cover!important;
   background-color: lightgray!important;
   
}

.paralympics-startpage-textfield {
   transform: skew(-20deg);
   fill: rgba(0, 60, 113, 0.50);
   backdrop-filter: blur(8px);
   padding: 0.5rem 1rem;
   background: rgba(0, 60, 113, 0.5);
   max-width: 60%;
   width: fit-content;
}

.paralympics-startpage-textfield h1 {
   color: #FFF;
   font-size: 2.5rem;
   font-style: italic;
   font-weight: bold;
   margin-bottom: 0;
   transform: skew(20deg);
   text-align: center;
}

/*HERO TEXT MOBILE*/
@media screen and (max-width: 769px) {
   .paralympics-startpage-textfield h1 {
      font-size: 1.625rem;
   }
   .paralympics-startpage-hero  {
      max-height: 250px;
      padding: 1rem;
   }
  
}

/*STARTPAGE GRID - MOVE UP SO IT GOES UP INTO HEROBANNER*/
@media screen and (min-width: 991px) {
   .sp-pl-startpage-grid {
   	margin-top: -230px;
	}
}


@media only screen and (max-width: 1110px) {
   .hero-banner-wrapper-startpage {
      margin-left: 0;
   }

   .paralympics-startpage-textfield {
      max-width: 60%;
   }
    .paralympics-game-textfield {
      max-width: 80% !important;
   }
}

@media only screen and (max-width: 991px) {
   .paralympics-startpage-textfield {
      max-width: 100%;
   }
   
   .paralympics-startpage-hero {
      padding: 2rem;
   }
   
}

/*COUNTDOWN*/
.sp-pl-countdown-wrapper-layout {
   display: flex;
   justify-content: flex-end;
}

@media screen and (max-width: 991px) {
   .sp-pl-countdown-wrapper-layout {
      justify-content: unset;
      display: unset;
      margin-top: 2rem;
	}
}


@media screen and (max-width: 991px) {
   .countdown-wrapper {
      max-width: unset;
      margin-top: 2rem;
	}
   
   .countdown-wrapper img {
      width: 100px !important;
      height: 100px !important;
   }
}

@media screen and (max-width: 769px) {
	.countdown-wrapper span {
   	font-size: 1.375rem;
	}
   
   .countdown-wrapper  {
   	flex-direction: row;
      gap: 1.5rem;
	}
}


.countdown-wrapper {
   position: relative;
   transition: 200ms ease-in-out;
   padding: 2rem;
}

.countdown-wrapper a {
   padding-bottom: 0;
}

.countdown-wrapper a:after {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
}

.countdown-wrapper:hover{
   transform: scale(1.05);
   transition: 200ms ease-in-out;
}

.countdown-wrapper span {
   color: var(--env-element-primary-background-color);
}

.countdown-wrapper img {
   width: 160px;
   height: 150px;
   object-fit: cover;
}


/*NEDAN BARA FÖR TEST*/
.skew-test a:after {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
}

.skewed-background {
  display: inline-block;
  position: relative;
  padding: 10px;
}

.skew-text {
  position: relative;
  z-index: 2;
  margin: 0!important;
  display: inline-block;
}

.skewed-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 100%;
  height: 100%;
  background-color: #3498db;
  transform-origin: bottom right;
  transform: skewX(-20deg);
  z-index: 1;
}

/*hero till gamesida*/
.paralympics-game-imgfield {
   display: flex;
   justify-content: center;
   gap: 3.375rem;
}

@media only screen and (max-width: 991px) {
	.paralympics-game-imgfield img {
		display: none;
	}
}

.paralympics-game-imgfield img {
   width: 220px;
   height: 295px;
   object-fit: cover;
}

.paralympics-game-hero {
  height: 400px;
  display: flex;
  align-items: center;
  padding: 4rem;
  background-repeat: no-repeat!important;
  background-position: center center!important;
  background-size: cover!important;
  background-color: lightgray!important;
}

.hero-banner-wrapper-game {
   display: flex;
   justify-content: center;
}

.paralympics-game-textfield {
   transform: skew(-20deg);
   fill: rgba(0, 60, 113, 0.50);
   backdrop-filter: blur(8px);
   padding: 0.5rem 1rem;
   background: rgba(0, 60, 113, 0.5);
   max-width: 40%;
   width: fit-content;
}

.paralympics-game-textfield h1 {
   color: #FFF;
   font-size: 2.5rem;
   font-style: italic;
   font-weight: bold;
   margin-bottom: 0;
   transform: skew(20deg);
   text-align: center;
}


@media only screen and (max-width: 990px) {
	.paralympics-game-hero {
   	 padding: 2rem !important;
 	}
   
   .paralympics-game-textfield {
      max-width: 90% !important;
   }
}


@media only screen and (max-width: 769px) {
    .paralympics-game-textfield h1 {
      font-size: 1.5rem !important;
   }
     
   .paralympics-game-hero  {
      max-height: 250px;
      padding: 1rem;
   }
   
   .paralympics-game-textfield {
      max-width: 60%;
   }
}
