@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

:root {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-card: #252525;
  --accent-primary: #bb86fc;
  --accent-secondary: #03dac6;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: #333333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-primary);
}

.title-container {
  text-align: left;
}

.axolotl-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.axolotl-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.float-example {
  float: left;
  width: 50%;
  padding: 1rem;
}

nav {
  background-color: var(--bg-secondary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

.nav-menu {
  display: flex;
  list-style-type: none;
  justify-content: center;
  transition: all 0.3s ease;
  width: 100%;
}

.nav-menu li {
  border-right: 1px solid var(--border-color);
}

.nav-menu li:first-child {
  border-left: 1px solid var(--border-color);
}

.nav-menu li a {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-icon {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-icon.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

#columnHolder {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 0;
}

article {
  flex: 1;
  min-width: 300px;
  background-color: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

article:hover {
  transform: translateY(-5px);
}

article h2 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  border-bottom: 2px solid var(--accent-secondary);
  padding-bottom: 0.5rem;
}

article p {
  margin-bottom: 1rem;
}

article ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

.img-container {
  width: 100%;
  margin-bottom: 1.5rem;
  justify-content: center;
  align-items: center;
}

.schema,
.visualization {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.schema {
  width: 90%;
  min-height: 250px;
  max-height: 350px;
  object-fit: contain;
}

figcaption{
  text-align: center;
}

.visualization {
  width: 90%;
  min-height: 250px;
  max-height: 350px;
  object-fit: contain;
}

#sectionContent {
  background-color: var(--bg-card);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#sectionContent h3 {
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

aside {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

aside h3 {
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

footer {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

footer p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

footer a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-secondary);
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.section-header {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--accent-secondary);
}

.section-title {
  font-size: 2rem;
  color: var(--accent-primary);
  font-family: "Montserrat", sans-serif;
  text-align: center;
}
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--bg-card);
  list-style: none;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 150px;
}

.nav-menu .dropdown-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  white-space: nowrap;
}

.nav-menu .dropdown:hover .dropdown-menu,
.nav-menu .dropdown:focus-within .dropdown-menu {
  display: block;
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  nav {
    flex-wrap: wrap;
    position: relative;
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-menu {
    max-height: 500px;
    visibility: visible;
    opacity: 1;
  }

  .nav-menu li {
    border: none;
  }

  .nav-menu li a {
    padding: 1rem;
  }

  .nav-menu .dropdown-menu {
    position: static;
    background-color: var(--bg-secondary);
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
    align-items: center;
    z-index: 200;
  }
  
  nav {
    flex-wrap: wrap;
    position: relative;
    padding: 1rem 1.5rem;
  }
  
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }
  
  .nav-menu.active {
    max-height: 500px;
    visibility: visible;
    opacity: 1;
  }
  
  .nav-menu li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu li:first-child {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu li a {
    padding: 1rem;
    width: 100%;
  }
  
  #columnHolder {
    flex-direction: column;
  }
  
  article {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .title-container {
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
	#columnHolder {
		flex-wrap: wrap;
	}

	article {
		flex: 0 0 calc(50% - 1.5rem);
	}

	.nav-toggle-label {
		display: none;
	}

	.nav-menu {
		display: flex;
		position: static;
		flex-direction: row;
		max-height: none;
		visibility: visible;
		opacity: 1;
		background-color: transparent;
		box-shadow: none;
	}
}
@media (min-width: 992px) {
	#columnHolder {
		flex-wrap: wrap;
	}

	article {
		flex: 0 0 calc(33.333% - 1.5rem);
	}

	.nav-toggle-label {
		display: none;
	}

}


@media (min-width: 1200px) {
  #columnHolder {
    flex-wrap: wrap;
  }
  article {
    flex: 0 0 calc(33.333% - 1.5rem); 
  }
  
  .hamburger-menu {
    display: none;
  }
}