/*

Template Name: SKRN Progression
Template URI: http://progression-studios.com/skrn/
Author: Progression Studios
Author URI: https://progressionstudios.com/
Description: Media Streaming App Site Template
Version: 1.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

*/


/*  Table of Contents
01. MAIN STYLES


*/


/*
=============================================== 01. MAIN CONTAINER STYLES ===============================================
*/
body {
	background:#f9f9f9;
}

#progression-studios-landing-page-container {
	width:1200px;
	margin:40px auto 50px auto;
	background:#ffffff;
	border:1px solid rgba(0,0,0, 0.07);
	box-shadow: 0px 0px 25px rgba(0,0,0,  0.1);
	border-radius:5px;
}

/* ======== #Mobile (0px-767px) ======== */
@media only screen and (max-width: 1300px) {
	#progression-studios-landing-page-container {
		width:90%;
	}
}

header#progression-studios-landing-header {
	background-color:#3db13d;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	text-align:center;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: cover;
	background-image:url("../images/demo/landing-page-header.jpg");
	position:relative;
	overflow:hidden;
}

.pro-triangle-seperator:after,.pro-triangle-seperator:before {
    content:'';
    position:absolute;
    bottom:0px;
    width:50%;
    z-index:20;
    border-bottom:80px solid #ffffff;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(0.000001deg);}
 
.pro-triangle-seperator:before{
    right:50%;
    border-right:1000px solid transparent;
    border-left:1000px solid;}
 
.pro-triangle-seperator:after{
    left:50%;
    border-left:1000px solid transparent;
    border-right:1000px solid;
}

#progression-studios-landing-icons {
	margin-top:55px;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: 600px 313px;
	background-image:url("../images/demo/landing-page-icons.png");
	padding:116px 0px 120px 0px;
	margin-bottom:275px;
}



header#progression-studios-landing-header h1 {
	color:#ffffff;
	font-family: 'Lato', sans-serif;
	font-weight:900;
	font-size:60px;
	margin-bottom:8px;
	text-shadow: 0px 2px 28px rgba(0,0,0, 0.2);
}

header#progression-studios-landing-header h3 {
	font-weight:400;
	margin-bottom:5px;
	font-size:14px;
	text-transform:uppercase;
	color:#ffffff;
	letter-spacing:0.03em;
	text-shadow: 0px 1px 2px rgba(0,0,0, 0.1);
}

a#landing-page-dashboard-screenshot {
	display:block;
	max-width:90%;
	width:980px;
	margin:-220px auto 120px auto;
	position:relative;
	z-index:30;
}

a#landing-page-dashboard-screenshot img {
	border-radius:8px;
	box-shadow: 0px 0px 40px rgba(0,0,0,  0.15);
}


/*
=============================================== 02. CONTENT STYLES ===============================================
*/
#landing-page-container {
	padding:0px;
}

#landing-page-container h2 {
	position:relative;
	font-size:22px;
	padding-left:112px;
}

#landing-page-container h2:after {
	position:absolute;
	content:"";
	display:block;
	left:0px;
	top:15px;
	height:3px;
	width:70px;
	background:#36b938;
}


a.landing-page-screenshot {
	display:block;
	max-width:90%;
	width:980px;
	margin:45px auto 130px auto;
	position:relative;
	z-index:30;
}

a.landing-page-screenshot img {
	border-radius:8px;
	box-shadow: 0px 0px 40px rgba(0,0,0,  0.15);
}


a#landing-page-dashboard-screenshot,
a.landing-page-screenshot {
	transition-duration: 300ms; 
	transition-property: all; 
	transition-timing-function: ease-in-out;
}

a#landing-page-dashboard-screenshot:hover,
a.landing-page-screenshot:hover {
	-webkit-transform: translateY(-8px);
	transform: translateY(-8px);
}



/*
=============================================== 03. FOOTER STYLES ===============================================
*/
footer#landing-page-footer {
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: cover;
	position:relative;
	text-align:center;
	background:#dddddd;
	padding:160px 10px;
	background-image:url("../images/demo/footer-image.jpg");
}

footer#landing-page-footer h3 {
	font-size:50px;
	margin-bottom:12px;
	letter-spacing:0.01em;
}

footer#landing-page-footer h6 {
	color:rgba(0,0,0,  0.5);
	font-weight:300;
	margin-bottom:35px;
	font-size:18px;
	letter-spacing:0.02em;
}






/*
=============================================== 24. RESPONSIVE STYLES ===============================================
*/
/* ======== #DESKTOP (959px-1100px) ======== */
@media only screen and (min-width: 959px) and (max-width: 1100px) {
	
	#landing-page-container h2 {
		padding-left:90px;
	}

	#landing-page-container h2:after {
		width:60px;
	}
}

/* ======== #Tablet (768px-959px) ======== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	#landing-page-container h2 {
		padding-left:60px;
	}

	#landing-page-container h2:after {
		width:40px;
	}
	
	#progression-studios-landing-page-container {
		width:96%;
		margin-bottom:30px;
	}
	
	
	footer#landing-page-footer h3 {
		font-size:36px;
		margin-bottom:10px;
	}

	footer#landing-page-footer h6 {
		margin-bottom:30px;
		font-size:15px;
	}
	

}

/* ======== #Mobile (0px-767px) ======== */
@media only screen and (max-width: 767px) {
	
	
	#progression-studios-landing-icons {
		margin-top:50px;
		margin-bottom:170px;
		padding-top:120px;
	}
	
	
	header#progression-studios-landing-header h1 {
		font-size:50px;
	}

	header#progression-studios-landing-header h3 {
		font-size:13px;
		letter-spacing:0.02em;	
	}
	
	a#landing-page-dashboard-screenshot {
		margin:-120px auto 120px auto;
	}
	
	
	#landing-page-container h2 {
		padding-left:60px;
		font-size:18px;
	}

	#landing-page-container h2:after {
		width:40px;
		top:10px;
	}
	
	
	#progression-studios-landing-page-container {
		width:100%;
		margin-bottom:0px;
	}

	
	footer#landing-page-footer h3 {
		font-size:30px;
		margin-bottom:10px;
	}

	footer#landing-page-footer h6 {
		margin-bottom:25px;
		font-size:14px;
	}
	
	.btn.btn-lg {
		padding:12px 20px;
		font-size:13px;
	}
	
	
}


/* ======== picture pop out (improved) ======== */
.char-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  z-index:999999;
  padding:24px;
  justify-content:center;
  align-items:center;
}

/* Card */
.char-card{
  width:min(980px, 96vw);
  max-height:min(86vh, 760px);
  background:#111;
  border-radius:18px;
  position:relative;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.08);
  display:grid;
  grid-template-columns: 1.1fr 0.9fr; /* image | bio */
}

/* Close button */
.char-close{
  position:absolute;
  top:12px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  font-size:28px;
  line-height:0;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  cursor:pointer;
  z-index:2;
}

/* Image side */
.char-img{
  width:100%;
  height:100%;
  max-height:86vh;
  object-fit:contain;
  background: radial-gradient(closest-side, rgba(255,255,255,.06), rgba(0,0,0,0));
  padding:22px;
}

/* Text side */
.char-name,
.char-bio{
  padding:0 22px;
}

.char-name{
  margin:22px 0 10px;
  color:#fff;
  font-size:26px;
  font-weight:700;
}

.char-bio{
  margin:0 0 22px;
  color:rgba(255,255,255,.85);
  font-size:16px;
  line-height:1.6;
  overflow:auto;
  max-height:calc(86vh - 90px); /* lets bio scroll if long */
}

/* Mobile: stack */
@media (max-width: 820px){
  .char-modal{ padding:14px; }

  .char-card{
    grid-template-columns: 1fr;
    max-height:92vh;
  }

  .char-img{
    max-height:52vh;
    padding:14px;
  }

  .char-name{ font-size:22px; margin:14px 0 8px; }
  .char-bio{ font-size:15px; max-height:calc(92vh - 52vh - 90px); }
}

/* ======== JamDown/Skrn Theme Modal (Light Card) ======== */

.char-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(30, 33, 36, .55);   /* softer overlay */
  z-index:999999;
  padding:24px;
  justify-content:center;
  align-items:center;
  backdrop-filter: blur(3px);
}

/* light card like your site tiles */
.char-card{
  width:min(980px, 96vw);
  max-height:min(86vh, 760px);
  background:#ffffff;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  box-shadow:0 18px 60px rgba(0,0,0,.22);
  border:1px solid rgba(0,0,0,.08);

  display:grid;
  grid-template-columns: 1fr 1fr; /* image | text */
}

/* left panel */
.char-img{
  width:100%;
  height:100%;
  max-height:min(86vh, 760px);
  object-fit:contain;
  background:#f3f5f7;              /* matches light UI */
  padding:18px;
}

/* right panel */
.char-info{
  padding:20px 22px;
  display:flex;
  flex-direction:column;
}

/* typography to match (Montserrat/Lato are already loaded) */
.char-name{
  font-family: "Montserrat", sans-serif;
  font-weight:700;
  font-size:26px;
  margin:2px 0 10px;
  color:#1c1f23;
}

/* green accent underline like your ratings/buttons */
.char-name::after{
  content:"";
  display:block;
  width:56px;
  height:4px;
  background:#42b740; /* your theme green */
  border-radius:4px;
  margin-top:10px;
}

.char-bio{
  font-family: "Lato", sans-serif;
  font-size:16px;
  line-height:1.6;
  color:#495057;
  margin:14px 0 0;
  overflow:auto;
  padding-right:6px;
}

/* close button: clean + theme */
.char-close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#1c1f23;
  font-size:26px;
  line-height:0;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.char-close:hover{
  background:#f3f5f7;
}

/* mobile stack like your responsive grid */
@media (max-width: 820px){
  .char-modal{ padding:14px; }
  .char-card{ grid-template-columns:1fr; max-height:92vh; }
  .char-img{ max-height:46vh; }
  .char-name{ font-size:22px; }
  .char-bio{ font-size:15px; }
}
/* Remove grey edge entirely */
.char-card{
  border: none !important;
}

/* Optional: make overlay darker so no grey halo shows */
.char-modal{
  background: rgba(0,0,0,0.6) !important;
}
/* Remove gray frame around image */
.char-img{
  background: transparent !important;
  padding: 0 !important;
}

