/* W3 Schools helped with some code */

body { 
    background-color: lightgray;
    text-align: center;
    margin-bottom: 50px;
}

.parallax { 
    padding: 0;
}

.entire-content { 
    padding: 20px;
    margin: 0 auto;
    max-width: 900px;
}

/* Mobile-first: large side margins for mobile devices */
@media (max-width: 768px) {
    .entire-content {
        padding: 15px 40px;
        margin: 0 auto;
    }
}

.course-title {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    font-size: 30px;
    overflow: auto;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 10px;
    text-align: center;
}

.course-desc {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    font-size: 18px;
    overflow: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 15px;
    margin-bottom: 50px;
}

.quad-chart-section {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
}

.quad-chart-section object {
    width: 100%;
    height: 700px;
    border: 1px solid #ddd;
}

.project-overview-link {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0;
}

.project-overview-link a {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: underline;
}

.project-overview-link a:hover {
    color: #1a252f;
}

.quad-heading {
    font-size: 24px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

.quad-text {
    font-size: 18px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.abstract-container { 
    display: flex; 
    flex-direction: column;
    gap: 30px; 
    margin: 30px 0; 
}

.abstract { 
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    text-align: justify;
}

.graphical-abstract { 
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
}

.graphical-abstract video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid #ddd;
    display: block;
    margin: 0 auto;
}

.graphical-abstract object {
    width: 100%;
    height: 350px;
    border: 1px solid #ddd;
}

.phases { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 25px; 
}

.phase, .pictures { 
    flex: 1; 
    background-color: burlywood; 
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    color: #333;
    padding: 25px; 
}

.figures { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 25px; 
    margin: 40px 0; 
}

.figure { 
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    text-align: center; 
    padding: 15px; 
}

.figure img { 
    max-width: 100%; 
    height: auto; 
    margin-bottom: 10px;
}

.discussion {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    margin: 40px 0;
    padding: 20px;
}

.poster {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 50px;
}

.poster img { 
    width: 100%; 
    height: auto; 
    margin-top: 20px;
    border-radius: 5px;
}

.poster object {
    width: 100%;
    height: 600px;
    margin-top: 20px;
    border: 1px solid #ddd;
}

.research-proposal-link {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.research-proposal-link a {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: underline;
}

.research-proposal-link a:hover {
    color: #1a252f;
}

.two-column-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.left-content {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
    text-align: justify;
}

.right-infographic {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 20px;
}

.section-title {
    font-size: 28px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 40px 0 20px 0;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}

/* Show 2 columns on larger screens */
@media (min-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-item {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
}

.graph-placeholder {
    background-color: transparent;
    border: none;
    min-height: 200px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.graph-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 300px;
}

.right-infographic img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.caption-text {
    font-size: 14px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 5px 0;
}

.single-section {
    background-color: burlywood;
    border-width: 3px;
    border-style: solid;
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
}