
/* Gallery Page Typography
===========================================*/

h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 200;
    text-transform: capitalize;    
    color: var(--drk-text-clr);	
}

.mobile {
    display: none;
}

.img-title {
    font-weight: 300;
    text-wrap: balance;
}

.year {
    font-weight: 100;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

hr {
    border-top: 1px solid #ccc;
    width: 90%;
}




/* Top Bar Links
===========================================*/

.album-topbar {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: var(--border-clr); 
    width: 100%;
    margin-top: var(--header-height);
    padding: 2rem 0 2rem 0;
    height: max-content;
}

.topbar-container {
    max-width: 1600px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.album-nav {
    margin-left: 1.5rem;
}

.album-nav a {
    color: var(--bg-clr);
    font-size: 1.2rem;
    font-weight: initial;
}

.album-nav span {
    color: var(--accent-clr);
    font-size: 1.2rem; 
    padding: 0 0.5rem;
}

.album-nav a:hover {
    color: var(--accent-clr);
    font-size: 1.2rem;
}

/* Image Area
===========================================*/

.image-area {
    background-color: var(--primary-clr);
}

.mobile-header {
    text-align: center;
    display: none;
    padding-top: 1.5em;
}

.image-area-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2.5rem;
}


.project-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;  
}


/* Main Image
===========================================*/

.project-img {
	display: block;
    width: 100%;
	text-align: center;
}

.project-img a {
    cursor: url(../images/zoom.png), auto;
}

.project-img img {
    display: block;
    margin: 0 auto;
	max-width: 96%;
	max-height: 96%;
	border: 1px solid var(--shadow-clr);
    overflow: hidden;
    width: calc(100% - 60px);
}	

.project-img figcaption {
    padding: 1em 0 2em 0;
}

.project-img figcaption::before {
    content: '';
	background: url(../images/up-arrow2.svg);
	background-size: 1.2em;
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 0.3em;
	width: 1em;
	height: 1em;
	line-height: 0;
	display: inline-block;
}

/* Video Container
===========================================*/

.video-container {
    position: relative;
    width: calc(100% - 60px);
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Info Box
===========================================*/


.project-info-box {
    background-color: var(--bg-clr);
    padding: 1.5rem 2rem;
    width: 100%;
    border-radius: 1rem;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-info, .social-share {
    padding: 1rem 0;
}

.project-info a {
   font-weight: initial;
   color: var(--link-clr);
}

.artists-comment {
	position: relative;
	margin: 3.5em 0;
	padding: 1rem 1.5em;
}

.artists-comment::before{
	content: '';
	position: absolute;
	background: url(../images/start-quote.svg);
	background-size: 1.2em;
	background-size: contain;
	background-repeat: no-repeat;
	top: -2.3em;
	left: 0;
	width: 3em;
	height: 3em;
}

.artists-comment::after{
	content: '';
	position: absolute;
	background: url(../images/end-quote.svg);
	background-size: 1.2em;
	background-size: contain;
	background-repeat: no-repeat;
	bottom: -3.5em;
	right: 0;
	width: 3em;
	height: 3em;
}


/* Share Buttons
===========================================*/

.social-share {
    padding: 0.5rem 0 1.2rem 0;
    display: flex;
    justify-content: flex-start;
}


/* Prev/Next Project
===========================================*/

.project-nav-buttons {
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
}

.project-nav-buttons.prev {
    right: 1rem;
}

.project-nav-buttons.next {
    left: 1rem;
}

.project-nav-buttons img {
	width: 30px;
	opacity: .5;
	transition: opacity 300ms ease-in-out;
}

.project-nav-buttons img:hover {
	opacity: 1;
}

.project-nav-buttons a[href="#"] {
	opacity: 0;
	pointer-events: none;
}

/* fade-in
===========================================*/

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 500ms ease-in, transform 700ms ease-in;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


/*Animations
===========================================*/

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*Media Queries
=======================================================================================================================================*/

@media only screen and (max-width: 1200px) {

    .mobile {
        display: block;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1.2rem;
    }
    
    .image-area-container {
        grid-template-columns: 1fr;
    }

    .mobile-header {
        display: block;
        
    }

    .mobile-header h1 {
        text-wrap: balance;
    }

    .project-info-box {
        margin-top: 1.5rem;
    }

    .img-title {
        display: none;
        text-wrap: balance;
    }

    .year {
        display: none;
    }

    .social-share {
        justify-content: center;
    }

    .project-nav-buttons.prev {
        right: 0.5rem;
    }
    
    .project-nav-buttons.next {
        left: 0.5rem;
    }

}


@media only screen and (max-width: 768px) {

    .album-nav {
        margin-left: 0;
    }
    
    .topbar-container {
        justify-content: center;
        align-items: center;
    }

    .project-info {
        text-align: center;
    }

    .mobile span {
        display: none;
    }
}


