/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

body {
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
}

.main-content {
    display: flex;
    flex-direction: row; /* Change to column layout for mobile and tablet */
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.hero-section {
    position: relative;
    background-image: url('https://images.pexels.com/photos/5384623/pexels-photo-5384623.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: white;
}

/* Add an overlay to darken the background */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha (last value) for the darkness level */
}


.project-title {
	position: relative;
    font-size: 48px;
    font-weight: bold;
    color: white;
    z-index: 1;
}

.project-content {
    flex: 2;
    font-size: 18px;
    line-height: 1.5;
    min-width: 200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    
}

/* Your existing CSS styles... */

.sidebar {
    width: 300px;
    max-height: 800px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333; /* Dark text color */
	text-align: center;
}

.project-list {
    list-style: none;
    padding: 10px;
	margin: 0;
}

.project-list li {
	font-weight: 900;
	margin: 0;
    margin-bottom: 10px;
    padding: 10px;
    background-color: orange; /* White background color for list items */
    border-radius: 5px; /* Rounded corners for list items */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

.project-list a {
    color: white; /* Dark text color */
    text-decoration: none;
    display: block;
}

/* Style the active project item */
.project-list .active {
    background-color: #ABD68D; /* Blue background color for active item */
}

.project-list .active a {
    color: white; /* White text color for active item */
}

.project-list .active:hover{
	background-color: #9bd175;
	color: white;
}

.project-list a:hover{
	color: white;
}


@media (max-width: 768px) {
    /* Apply this CSS for tablet (and smaller) screens */
    .main-content {
        flex-direction: column; /* Change to column layout for tablet */
    }

    .sidebar {
        width: 100%; /* Make the sidebar full width for tablet */
        margin-top: 20px; /* Add some space between project content and sidebar */
    }
}

@media (max-width: 576px) {
    /* Apply this CSS for mobile screens */
    .main-content {
        flex-direction: column; /* Change to column layout for mobile */
    }

    .sidebar {
        width: 100%; /* Make the sidebar full width for mobile */
        margin-top: 20px; /* Add some space between project content and sidebar */
    }
}

