
#pmf-start {
	background: url("../img/pmf/banner-1.webp") no-repeat center center;
	-webkit-background-size: cover;
	background-size: cover;
	background-color: #000;

	padding-top: 40px;
	padding-bottom: 60px;
}

#team {
	background: #fff;
}

.pmf {
	color: white;
	text-align: left;
}

.carousel-nav {
	margin:0px;
	margin-top: 10px;

}

.carousel-nav li {
	display: inline;
}

.carousel-nav a {
	color:black;
} 



.navbar {
	background-color: rgba(0, 0, 0, 0.5) !important;
	padding: 12px !important;
}

.navlink {
	padding-left:10px !important;
	padding-right:10px !important;
}

#home {
	min-height: 100vh;
}

#gallery-start h1 {
	margin-right:40%;
}


.header_works {
	margin-right:40%;
}

@media (min-width: 768px) {
	.container-nav {
		width: 98%;
	}
}

@media (min-width: 992px) {
	.container-nav {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.container-nav {
		width: 95%;
	}
}

#contact-start {
	text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);  
}

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%; /* 16:9*/
  position: relative;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

/* Gallery grid: photos have different heights, which breaks Bootstrap's
   float-based columns (later rows tuck into gaps instead of starting a
   clean new row). CSS grid keeps every row aligned regardless of
   individual photo height. */
#gallery .carousel-inner .item.active {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

#gallery .carousel-inner .item .gallery-item {
	float: none;
	width: auto;
}

@media (max-width: 767px) {
	#gallery .carousel-inner .item .gallery-item {
		padding: 6px;
	}
}

@media (min-width: 768px) {
	#gallery .carousel-inner .item.active {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	#gallery .carousel-inner .item.active {
		grid-template-columns: repeat(6, 1fr);
	}
}
/* Gallery thumbnails fill their grid cell (same as the old full-size images did) */
#gallery .thumbnail img {
	width: 100%;
	height: auto;
}

/* Footer name and social links */
.footer-brand {
	text-align: center;
}

/* ---------------------------------------------------------------
   Responsive fixes (phones and tablets)
   --------------------------------------------------------------- */

/* Embedded players never get wider than the screen; video embeds
   keep their 16:9 shape as they shrink. */
iframe {
	max-width: 100%;
}

#voice-over iframe[src*="youtube"],
#pmf iframe {
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Bio photo and show poster scale down on small screens */
#team img,
#pmf img {
	max-width: 100%;
	height: auto;
}

/* Keep the name on one line in the top bar on phones */
@media (max-width: 767px) {
	#navbar-title {
		font-size: 22px;
		line-height: 50px;
		white-space: nowrap;
	}

	#team img {
		margin: 0 auto 20px;
	}
}

/* Pardon My French page: the two text panels float over the banner on
   larger screens and stack under it on phones. */
.pmf-panel {
	margin-top: 25%;
}

.pmf-panel-left {
	float: left;
	width: 30%;
	height: 30%;
	margin-left: 24px;
}

.pmf-panel-right {
	float: right;
	width: 30%;
	height: 50%;
	margin-right: 24px;
}

.pmf-teaser-link {
	color: #aaaaff;
}

@media (max-width: 767px) {
	.pmf-panel,
	.pmf-panel-left,
	.pmf-panel-right {
		float: none;
		width: auto;
		height: auto;
		margin: 16px;
	}

	.pmf-panel-left {
		margin-top: 90px;
	}

	/* the page script sizes every slide in #home to the window height;
	   the text panels should just fit their text */
	.pmf-panel .item {
		height: auto !important;
	}
}
