.portfolio-curtain-overlay {
    display:none;
}

.portfolio-curtain-container {
    position:fixed; z-index:11;
    top:0; bottom:0; width:100%; height:100%;
    right:-100%;
    transition:right .3s;
    -webkit-overflow-scrolling: touch;
}

.portfolio-project-info {
    background-color:white;
    padding:50px 50px;
}

.portfolio-curtain {
    position:absolute;
    top:0; left:50px; right:0; bottom:0;
    overflow-y:auto;
}

@media (min-width: 768px) {
    .portfolio-curtain-overlay {
        position:fixed; z-index:10;
        top:0; right:0; bottom:0; left:0;
        background-color:rgba(0, 0, 0, 0.5);
        opacity:0; display:block; visibility:hidden;
        transition:opacity .3s;
    }
}

.portfolio-project-info .back-link {
    margin-bottom:20px;
}

.portfolio-project-info h2 {
    margin-top:0; margin-bottom:20px;
    font-size: 50px; font-weight: 300; line-height: 56px;
}
.portfolio-project-info h3 {
    margin-top:50px;
}

.portfolio-project-info .year {
    padding:0 10px; line-height:28px; margin-top:6px;
    color:white; font-weight:300; letter-spacing:0.5px;
    background-color:purple;
    position: absolute; top: 10px; right: 13px;
}

@media (max-width: 767px) {
    .portfolio-curtain-container { transition:right .2s; }
    .portfolio-curtain { left:0; }
    .portfolio-project-info { padding:20px 20px; }
    .portfolio-project-info h2 {
		font-size: 30px; line-height: 36px;
	}
}
@media (min-width: 768px) {
    .portfolio-project-info .year {
        float:right; position:static; top:0; right:0;
    }
    .portfolio-project-info h2 {
        padding-right: 60px;
    }
}


.portfolio-project-info .loader {
    position: absolute; display:block;
    top: 50%; left:50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);

    width:64px; height:64px;
}

.portfolio-project-info section {
    margin:30px -20px;
    padding:20px;
}
.portfolio-project-info section.bottom-stick {
    margin-bottom:-30px;
}
.portfolio-project-info section:last-child {
    margin-bottom:-20px;
}
@media (min-width: 768px) {
    .portfolio-project-info section {
        margin-left:-50px; margin-right:-50px;
        padding-left:50px; padding-right:50px;
    }
    .portfolio-project-info section:last-child {
        margin-bottom:-50px;
    }
}

.portfolio-project-info section.project-contact {
    text-align:center;
    padding:25px;
}
.portfolio-project-info section.project-contact h3 {
    font-size:25px; font-weight:400;
    margin:0; line-height: 1.3;
}
@media (min-width: 768px) {
    .portfolio-project-info section.project-contact { padding:70px; padding-bottom:60px; }
    .portfolio-project-info section.project-contact h3 { font-size:40px; }
}
.portfolio-project-info section.project-contact a {
    font-size:18px; line-height:36px;
    transition:border .3s ease-out;
    border-bottom:2px transparent solid;
    white-space: pre;
}
.portfolio-project-info section.project-contact a:before {
    content: '\A';
}
.portfolio-project-info section.project-contact a:hover,
.portfolio-project-info section.project-contact a:visited,
.portfolio-project-info section.project-contact a:focus {
    text-decoration:none;
}
.portfolio-project-info section.project-contact a:hover {
    border-bottom:2px white solid;
}

.portfolio-project-info .project-about h3 {
	margin-top: 20px;
}
.portfolio-project-info .project-about h4 {
	margin-top: 10px;
}
