/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Cardo;
    font-size: 1em;
    font-weight: normal;
    background-color: white;
    overflow-x: hidden;
}
a.actor-link{
    word-break: break-word;
    overflow-wrap: break-word;
}
/*On actor profile, the header moves with the scroll*/
#parentHeader{
    position:fixed;
}
#flash-layer{
	z-index: 3;
	display: none;
	background-color: white;
	position: absolute;
	width: 100%;
	height: 100%;
	opacity:0;
	transition-property: opacity;
	transition-duration: 1.5s;
}
/* Header */
.header-actorprofile{
	background-color: var(--primary-bg);
    background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
    height: 10vh;
    display: grid;
    width: 100vw;
    grid-template-columns: 1fr 4fr;
    align-items: center;
    color: var(--primary-text-color);
}
.header-infancy{
    background-color: var(--infancy-bg) !important;
}
.header-actor-name{
	font-family: Montserrat;
	display: grid;
    align-self: center;
    color: var(--primary-text-color);
    font-size: clamp(1em, 5vw, 2em);
    font-weight: lighter;
    letter-spacing: 0px;
    grid-column: 2;
}
.actor-screenshot-url{
    display: none;
    font-size: clamp(0.7em, 2vw, 1.5em);
}
.header-actorprofile > a{
	display: grid;
    grid-column: 1;
}
#logo{

    max-width: 25vw;
    align-self: center;
	border-right: solid 1px white;
}

/* Content */
.content {
    padding-top: 0; /* No padding top */
    color: var(--text-reading-color);
}

/* Big Photo */
.bigPhoto {
    width: 100vw;
    height: 75vh;
    position: relative; /*helps positioning photo author name*/
    background-size: auto 75vh; 
    background-position-y: 10vh;
    background-position-x: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: black;
    
}

.safari-bigPhoto{
    background-size: auto 100%;
    background-attachment:scroll;
}
.bigPhoto-readyForFlash{
    background-position-y: 0vh;
}
.author-label{
    position: absolute;
    /*bottom: 0%;*/
    right: 0%;
    background: linear-gradient(45deg, transparent, var(--primary-bg), transparent);
    width: 100vw;
    text-align: center;
    color: var(--primary-text-color);
    font-size: 1em;
}

/* Gallery */
.gallery {
	background-image: url(../img/filmBackground.jpg);
    background-color: black;
	background-size: cover;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 0px;
    padding-top: 20px;
	padding-left: 0px;
    height: 40vw;
    background-repeat: no-repeat;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-x: scroll;
	overflow-y: hidden;
}

.thumbnail {
    width: 30vw;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 1s, background-size 1s;
    border: none;
    background-repeat: no-repeat;
    height: 30vw;
}

.thumbnail:hover {
    transform: scale(1.05);
    background-size: 120%;
}


/*preload area for lightbox gallery images*/
.preload{
	display: none;
}
/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100vw;
    max-height: 100vh;
    border: 16px solid white; /* Add white border */
    /* Removed padding-bottom property */
}

.lightbox img:before {
    content: ''; /* Extra HTML element for additional info */
    display: block;
    height: 32px;
    background-color: white;
}

.lightbox-header {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
	display: none;
}

/* Lightbox navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-bg);
    border: none;
    color: var(--primary-text-color);
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
}

.lightbox-nav.left {
    left: 10px;
}

.lightbox-nav.right {
    right: 10px;
}

.lightbox-close {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Actor Profile */
.actorProfile {
	margin: 0px;
    text-align: center;
    font-size: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*align-items: center; Unnecesary for this item, it also moves if contact form appears*/
    padding: 2vw;
    gap: 2vw;
}
/*When photographing, ,appears "www.ActorsInfo.com"*/
.screenshot-actor-name{
    text-align: center;
    color: var(--primary-text-color);
    display: grid;
    align-items: center;
    font-size: clamp(1em, 6vw, 2em);;
}
.actorProfile-for-download{
	margin: 0px;
	text-align: center;
	font-size: 2em;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
}
#urlDownloadInfo{
	background-color: var(--buttons-color);
	color: var(--primary-text-color);
	display:none;
    /*text-shadow: 0px 0px 24px darkslategrey;
	background-image:url('../img/filmBackgroundURL.png');
	background-size: cover;
	background-position: center;*/
	height: 10vh;
}
#urlDownloadInfo>h1{
	font-size: 1em;
}
.action-button{
    font-family: Montserrat;
    font-weight: normal;
    
	cursor: pointer;
    background-color: var(--buttons-color);
    height: 10vh;
   /* width: 46vw;*/
    color: white;
    font-size: 1em;
    border: none;
    display: grid;
    align-items: center;
}
.action-button:active{
	box-shadow: 2px 2px 4px black;
}
.action-button:hover{
    background-color: var(--primary-bg);
}
#sendButton{
    height: 3em;
    margin-top: 20px;

}

/* Actor Info */
.actorInfo {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.infoRow {
    padding: 10px;
   /* border-bottom: 1px solid #ccc;*/
}
.white-space{
    white-space: pre-line;
}

/* Footer */
footer {
    background-color: var(--primary-bg);
    color: var(--primary-text-color);
    text-align: center;
    padding: 10px 0;
}
/*reel row should have multiple reels capacity*/
#reelVideos{
		display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: 10vh 1fr 10vh;
        align-items: center;
        text-align: center;
		color: var(--primary-text-color);
		background-color: var(--text-bg);
}
#reelVideos > h2{
    color: var(--text-reading-color);
	grid-column: 2;
	grid-row: 1;
}
.reel-video{
	display:grid;
	width: 100vw;
	grid-row: 2;
	grid-column: 2;
}
.if-photo-and-no-reel{
	color:white;
	grid-row: 2;
	grid-column: 2;
	font-weight: normal;
}
.slate-video{
    display:grid;
    max-width:80%;
    height:auto;
}
/******* starts Contact Request Form*******/
#contactRequest{
    padding: 10px;
	display: grid;
	grid-template-columns: 1fr;
	border: none;
	box-shadow: 6px 6px 19px cadetblue;
	display: none;
	text-align: center;
	max-width: 95vw;
	overflow: hidden;
	grid-column: 1/3;
}
.dropdown-menu{
	grid-template-columns: 1fr;
	grid-column: 1;
	grid-row: 2;
    gap: 0px;
    width: 90vw;
    box-shadow: 6px 6px 19px var(--buttons-bg);
	display:none;
}
#message{
    max-width: 90vw;
}
.contact-text{
	font-weight: normal;
	text-align: left;
	font-size: 1.2em;
	border: none;
}
.contact-label{
	font-weight: bold;
	text-align: left;
	border: none;
	color: grey;
	font-size: 1em;
	
}

/******* ends Contact Request Form*******/


@media (min-width: 600px) {
	.gallery{
		padding-top: 29px;
	}
}
@media (min-width: 651px) {
	.gallery{
		padding-top: 32px;
	}
}
@media (min-width: 730px) {
	.gallery{
		padding-top: 35px;
	}
}
@media (min-width: 768px) {
	.gallery{
		padding-top: 38px;
	}
}
@media (min-width: 850px) {
	.gallery{
		padding-top: 41px;
	}
}
@media (min-width: 920px) {
	.gallery{
		padding-top: 45px;
	}
}

/*if is safari on iphone (not a tablet or 1024px)*/
.safari-gallery{
    padding-top: 38px;
}

/******* media querys *******/
@media (min-width: 600px) and (max-width: 1023px) {
    
    /*header*/
    .header-actor-name{
       
    }
    .author-label{
        width: 100vw;
    }
    #logo{
        max-width: 19vw;
    }
    .header-actor-name{
        font-size: 2em;
    }
}
/* Media query for desktop screens */
@media (min-width: 1024px) {

	.header-actorprofile{
		height: 15vh;
		grid-template-columns: 1fr 6fr;
		align-items: center;
	}
	.header-actorprofile > a{
		display: grid;
		grid-column: 1;		
	}
	#logo{
		max-width: 13vw;
		border-right: solid 1px white;
	}
	.header-actor-name{
        font-weight: normal;
        letter-spacing: 0px;
        grid-column: 2;
	}
	.content{
		overflow: hidden;
	}
	.author-label{
	    bottom:0%;
        width: 100vw;
    }
	.gallery{
		padding-top: 24px;
		padding-left: 0px;
		height: 35vh;
		width: 100vw;
	}
	.thumbnail{
		width: 26vw;
		height: 27vh;
		background-position-y: center;
		background-position-x: center;
	}
	
    /* bigPhoto changes for desktop */
    .bigPhoto {
        height: 94vh;
        background-size: auto 75vh;
        background-position-y: 20vh;
		background-position-x: center;
    }
    .bigPhoto-readyForFlash{
    background-position-y: 0vh;
    background-size: cover;
    }
	#urlDownloadInfo{
		height: 25vh;
	}
	
	.actorInfo {
		grid-template-columns: 1fr 1fr;
	}
	
	#contactRequest{
	    grid-column: 2/3;
    }
    .action-button{
        width: unset;
    }
	
	/*reel row should have multiple reels capacity*/
	#reelVideos{
		display: grid;
		grid-template-columns: 1fr 2fr 1fr;
	}
	.reel-video{
		grid-column: 2;
		width: 50vw;
	}
	
	/*likely ipad pro (1024px wide screen)*/
        .safari-header-actorprofile{
        		height: 10vh;
        		grid-template-columns: 1fr 7fr;
        	}
        }
        .safari-bigPhoto{
            background-position-y: 10vh;
        }
        .safari-gallery{
            padding-top: 54px;
        }
    /*likely ipad pro (1024px wide screen)*/

}

@media (min-width: 1600px) {
 .gallery{
  padding-top:33px;
 }
}
@media (min-width: 2048px) {
 .gallery{
  padding-top:43px;
 }
}
@media (min-width: 2560px) {
 .gallery{
  padding-top:55px;
 }
}