.navbarhome {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin: auto;
  width: fit-content;
}


.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.navbar-left,
.navbar-right {
  display: flex;
  gap: 20px;
}

.navbar-left {
  margin-right: 40px;
}

.navbar-right {
  margin-left: 40px;
}

.navbartext {
  color: #333333;
  text-decoration: none;
  font-family: Anton;
  font-weight: bolder;
  font-size: 2.39em;
  transition: color 0.5s ease;
}

.navbartext-inverted {
  color: #f1f1f1;
  text-decoration: none;
  font-family: Anton;
  font-weight: bolder;
  font-size: 2.39em;
  transition: color 0.5s ease;
}

.navbaractive {
  color: #748cab;
}

.navbartext:hover {
  color: #748cab;
}

.navbartext-inverted:hover {
  color: #748cab;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 135px;
  height: 135px;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logo-default {
  opacity: 1;
}

.logo-container:hover .logo-default {
  opacity: 0;
}

.logo-container:hover .logo-hover {
  opacity: 1;
}

.hamburger-container {
    display: none;
}

.bar-logo {
  display: none;
}

.hamburger-menu {
  display: none;
}

    @media screen and (max-width: 768px){
        main{
            margin-top: 75px;
        }

        .navbar {
            display: none;
        }

  .navbarhome {
    display: none;
  }



.hamburger-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #e9ecef;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.hamburger-bar.transparent {
  opacity: 0;
}


.hamburger {
  position: fixed;
  top: 25px;
  right: 20px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  z-index: 1002;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}


.bar {
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bar.top {
  transform: translateY(-8px);
}

.bar.middle {
  transform: translateY(0);
}

.bar.bottom {
  transform: translateY(8px);
}

.hamburger.open .top {
  transform: rotate(45deg);
}

.hamburger.open .middle {
  opacity: 0;
}

.hamburger.open .bottom {
  transform: rotate(-45deg);
}

.hamburger-menu {
    display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #e9ecef;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
    gap: 20px;
}

.hamburger-menu a {
    color: #333333;
  text-decoration: none;
  font-family: Anton;
  font-weight: bolder;
  font-size: 3em;
  transition: color 0.5s ease;

}

.hamburger-menu.open {
  opacity: 1;
  pointer-events: all;
}

.hamburger.open-icon {
  font-size: 32px;
  color: #748cab;
}

.hamburger-menu a:hover {
    color: #748cab;
}

.bar-logo {
  position: fixed;
  top: 26px;
  left: 10px;
  transform: translateY(-50%);
  z-index: 1002;
  width: 50px;
  height: 50px;
  display: block;
}

.bar-logo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}

.bar-logo .logo-default {
  opacity: 1;
}

.bar-logo .logo-hover {
  opacity: 0;
}

.bar-logo:hover .logo-default {
  opacity: 0;
}

.bar-logo:hover .logo-hover {
  opacity: 1;
}

}


