/* Reset + Global Styles */
* {
    font-family: 'Inter', sans-serif;    
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    color: black;
    line-height: 1.8;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    text-align: center;
}

/* Layout Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.navbar ul {
    font-family: 'Inter', sans-serif;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 20px;
}

.navbar li a {
    font-family: 'Inter', sans-serif;  
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 10px;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar li a:hover,
.navbar li a:focus {
    color: greenyellow;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

a {
  color: black;
}

a:hover {
  color: greenyellow;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius:10px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

ul ul {
  list-style-type: circle;
  padding-left: 20px;  
}

ul li {
  margin-bottom: 0.5em;
}

/* Visitor Counter Section */
.visitor-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
}

/* Sections */

.welcome-section {
  max-width: 350px;
  align-items: center;
  margin: 40px auto;
  padding: 30px;
}

.welcome-section h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 36px;
}

.welcome-section p {
  margin-bottom: 20px;
  line-height: 28px;
  font-size: 20px;
  font-weight: 300;
}

.about-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
}

.about-section h1 {
  text-align: center;
}

.about-section h2,h3,h4 {
  text-align: left;
  font-weight: 500;  
  margin-top: 20px;
}

.about-section p {
  margin-bottom: 10px;
  line-height: 28px;
}

.projects-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  line-height: 28px;
}

.projects-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.projects-section h3,h4 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.projects-section p {
  margin-bottom: 20px;
}

.cloudresumechallenge-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  line-height: 28px;
}

.cloudresumechallenge-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.cloudresumechallenge-section h3,h4 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.cloudresumechallenge-section p {
  margin-bottom: 20px;
}

.netlab-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  line-height: 28px;
}

.netlab-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.netlab-section p {
  margin-bottom: 20px;
}

.homeserver-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  line-height: 28px;
}

.homeserver-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.homeserver-section h3,h4 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.homeserver-section p {
  margin-bottom: 20px;
}

.cloudinfra-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  line-height: 28px;
}

.cloudinfra-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.cloudinfra-section p {
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
    text-align: center;    
    margin-top: 60px;
    font-size: 0.9rem;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .navbar ul {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .welcome-section,
    .visitor-counter {
        padding: 20px;
    }
}
