Programming Language Course Template
/* Global Styles */
:root {
--primary-color: #3498db;
--secondary-color: #2c3e50;
--accent-color: #e74c3c;
--light-bg: #f9f9f9;
--dark-bg: #2c3e50;
--text-color: #333;
--light-text: #fff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
line-height: 1.6;
color: var(--text-color);
background-color: var(--light-bg);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
section {
padding: 50px 0;
border-bottom: 1px solid #eee;
}
h1, h2, h3, h4 {
margin-bottom: 20px;
color: var(--secondary-color);
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
p {
margin-bottom: 15px;
}
ul {
list-style-type: none;
margin-bottom: 20px;
}
li {
margin-bottom: 10px;
position: relative;
padding-left: 30px;
}
li:before {
content: "✓";
color: var(--primary-color);
position: absolute;
left: 0;
font-weight: bold;
}
.btn {
display: inline-block;
background-color: var(--primary-color);
color: white;
padding: 12px 30px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
margin-right: 15px;
margin-bottom: 15px;
}
.btn:hover {
background-color: #2980b9;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn.secondary {
background-color: white;
color: var(--primary-color);
border: 2px solid var(--primary-color);
}
.btn.secondary:hover {
background-color: var(--primary-color);
color: white;
}
/* Specific Section Styles */
header {
background-color: var(--dark-bg);
color: var(--light-text);
padding: 100px 0 50px;
position: relative;
}
header::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
background: linear-gradient(to bottom right, transparent 49%, var(--light-bg) 50%);
}
.course-info {
display: flex;
gap: 30px;
flex-wrap: wrap;
margin-top: 30px;
margin-bottom: 30px;
}
.info-item {
flex: 1;
min-width: 250px;
background: rgba(255,255,255,0.1);
padding: 20px;
border-radius: 10px;
backdrop-filter: blur(5px);
}
.info-item h4 {
color: var(--light-text);
margin-bottom: 10px;
}
.learning-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}
.learning-item {
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.learning-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.learning-item h3 {
display: flex;
align-items: center;
gap: 10px;
}
.learning-item h3 svg {
color: var(--primary-color);
}
.curriculum-module {
background-color: white;
border-radius: 10px;
overflow: hidden;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.module-header {
background-color: var(--primary-color);
color: white;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.module-content {
padding: 20px;
display: none;
}
.module-content.active {
display: block;
}
.lesson {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.lesson:last-child {
border-bottom: none;
}
.lesson-icon {
margin-right: 10px;
color: var(--primary-color);
}
.projects {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.project-card {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.project-image {
height: 200px;
background-color: #ddd;
display: flex;
align-items: center;
justify-content: center;
color: #999;
}
.project-info {
padding: 20px;
}
.instructor {
display: flex;
gap: 40px;
margin-top: 40px;
align-items: center;
flex-wrap: wrap;
}
.instructor-image {
width: 200px;
height: 200px;
border-radius: 50%;
background-color: #ddd;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: #999;
}
.instructor-bio {
flex: 1;
min-width: 300px;
}
.faq-item {
background-color: white;
border-radius: 10px;
padding: 0;
margin-bottom: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.faq-question {
padding: 20px;
background-color: white;
font-weight: bold;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-answer {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.active {
padding: 0 20px 20px;
max-height: 300px;
}
.cta {
background-color: var(--dark-bg);
color: var(--light-text);
text-align: center;
border-bottom: none;
}
.language-icons {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
margin: 20px 0;
}
.language-icon {
width: 100px;
height: 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: white;
border-radius: 10px;
padding: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
cursor: pointer;
transition: all 0.3s ease;
}
.language-icon:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.language-icon img {
width: 50px;
height: 50px;
margin-bottom: 10px;
}
.diagram {
max-width: 100%;
height: auto;
margin: 20px 0;
background-color: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
.instructor {
flex-direction: column;
gap: 20px;
}
.instructor-image {
width: 150px;
height: 150px;
}
header {
padding: 50px 0 30px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
}
What You'll Learn
By the end of this comprehensive Go course, you'll have mastered:
Core Fundamentals
Master the syntax, data structures, and core concepts of Go programming. Build a solid foundation for more advanced topics.
Problem-Solving Skills
Develop algorithmic thinking and learn how to break down complex problems into manageable solutions using Go.
Best Practices
Learn industry-standard coding conventions, design patterns, and best practices specific to Go development.