@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/*
	Dimension by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/


img.featured {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
    margin-bottom: 50px;
}
/* Project Detail Page Styles */

/* Project Images */
.project-detail img {
    max-width: 100% ; /* Ensuring image is responsive */
    max-height: 400px;
    margin: 0 auto 20px; /* Space below each image */
    border-radius: 4px; /* Slightly rounded corners for the images */
    display: block; /* Remove default inline display */
}

/* Container for the project detail */
.project-detail {
    max-width: 50%; /* Adjust the width as needed */
    margin: auto;
    padding: 0;
    /* background: #f9f9f9; */
    /* color: #333; */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* subtle shadow for depth */
}

/* Project Title */
.project-detail h1 {
    font-size: 2em; /* Large font size for the main title */
    margin-bottom: 20px; /* Space below the title */
    color: #ffffff;
    text-align: center; /* Center aligning the title */
}
/* Subsections / Headings inside the detail */
.project-detail h2 {
    font-size: 1.5em;
    margin-top: 50px; /* Space above each subsection */
    margin-bottom: 15px; /* Space below each subsection */
    color: #34495e;
}

.project-detail h3 {
    font-size: 1.5em;
    margin-top: 40px; /* Space above each subsection */
    margin-bottom: 10px; /* Space below each subsection */
    color: #b1b6ba;
}

.project-detail h4 {
    font-size: 1em;
    margin-top: 20px; /* Space above each subsection */
    margin-bottom: 0px; /* Space below each subsection */
    color: rgb(126, 128, 129);
}


.project-detail h5 { /* Headings below the img */
    font-size: 0.8em;
    margin-top: -10px; /* Space above each subsection */
    margin-bottom: 20px; /* Space below each subsection */
    text-align: center;
    /* color: #34495e; */
}




/* Project Description */
.project-detail p {
    font-size: 1em; /* Standard font size for readability */
    line-height: 1.6; /* Slightly more line height for readability */
    margin-bottom: 15px; /* Space between paragraphs */
    text-align: justify;
}

/* Project Metadata (like date, category, etc.) */
.project-metadata {
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #ddd; /* Separating metadata */
    font-style: italic; /* Italicize metadata */
}

/* Links and Buttons */
.project-detail a.button {
    display: inline-block;
    background: #3498db; /* Button color */
    color: white; /* Text color */
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from links */
    margin-top: 20px; /* Space above the button */
}

.project-detail a.button:hover {
    background: #2980b9; /* Darker background on hover */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .project-detail {
        padding: 15px;
    }

    .project-detail h1 {
        font-size: 1.75em;
    }

    .project-detail h2 {
        font-size: 1.25em;
    }
}

/* Button */

.back-button {
    -moz-transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border-radius: 100%;
}

.back-button a {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    background-position: center;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    text-decoration: none;
}

.back-button a:hover {
    background-color: rgba(255, 255, 255, 0.075); /* Slightly darker shade for hover effect */
}

.back-button a:active {
    background-color: rgba(255, 255, 255, 0.075); /* Even darker for click effect */
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 66%; /* Aspect Ratio 16:9 */
    overflow: hidden;
}

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


