@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

.content-section {
  display: none;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background: url('images/background2.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}


.NavigationBar {
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, black, transparent);
  background: black;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  
  padding: 10px 0;
}


.NavigationBar__Container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}


.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}


.nav-links li {
  margin: 0 20px;
}


.nav-links button {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: 'Lora', serif;
  text-shadow: none;
  font-weight: 300;
  letter-spacing: 2px;
  display: inline-block;
  top: -10px;
}


.nav-links button::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #fff;
  transition: width 0.3s ease, left 0.3s ease;
}
/* Hover and active state styling for buttons */
.nav-links button:hover::before, .nav-links button.active::before {
  width: 100%;
  left: 0;
  text-decoration: dotted;
}

/* Additional styles for the active state of buttons */
.nav-links button.active {
  
  text-decoration: dotted;
}

/* LinkedIn logo styling */
.nav-links img {
  width: 20px;
  height: auto;
  cursor: pointer;
  padding: 10px 20px;
  position: relative;
  top: -10px;
  z-index: 1;
  background-color: black;
}

/* Main content styling */
#main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  color: white;
  font-size: 24px;
  transition: opacity 0.5s ease-in-out; 
  opacity: 1; 

  padding-top: 60px;
}

/* Heading styles within the main content */
#main-content h2 {
  font-size: 50px;
  margin: 0.5em 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  
}

/* Paragraph styles within the main content */
#main-content div {
  font-size: 20px;
  font-family: 'Lora', serif;
  text-shadow: none;

}

/* Additional heading styles */
h2 {
  font-size: 50px;
  font-family: 'Lora', serif;
  text-shadow: none;
  margin-top: 0;
}

/* Footer styling */
.footer {
  background: #e0e0e0;
  padding: 20px;
  text-align: center;
  max-width: 100%;

}

/* Footer text styling */
.footer b {
  margin: 5px 0;
  font-size: 20px;
  color: #000;
  font-family: 'Lora', serif;
  text-shadow: none;
}
.footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #000;
  font-family: 'Lora', serif;
  text-shadow: none;
}

/* --- Responsive tweaks --- */
@media (max-width: 1024px) {
  #main-content h2 { font-size: 42px; }
  #main-content div { font-size: 18px; }
  .nav-links li { margin: 0 12px; }
}

@media (max-width: 768px) {
  body { background-attachment: scroll; }
  .nav-links { justify-content: flex-start; overflow-x: auto; white-space: nowrap; padding: 0 10px; }
  .nav-links li { margin: 0 8px; }
  .nav-links button { font-size: 14px; padding: 8px 10px; top: 0; }
  .nav-links img { padding: 6px 10px; top: 0; }
  #main-content h2 { font-size: 34px; }
  #main-content div { font-size: 16px; }
  .footer b { font-size: 18px; }
  .footer p { font-size: 12px; }
}

@media (max-width: 420px) {
  .nav-links button { font-size: 12px; padding: 6px 8px; }
  #main-content h2 { font-size: 28px; }
  #main-content div { font-size: 15px; }
}

img { max-width: 100%; height: auto; }
