
.main-header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  padding: 20px 15% 0 15%;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  background-color: #460c0e;
  transition: background-color 0.3s ease, padding 0.3s ease;
}
.main-header.scrolled {
  background-color: #fff;
  padding-top: 0px;
}

.logo-center img {
  height: 100px;
  transition: height 0.3s ease;
}
.main-header.scrolled .logo-center img {
  height: 70px;
}

.desktop-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  flex-direction: row-reverse;
}
.nav-left, .nav-right {
  display: flex;
  gap: 40px;
  flex-direction: row-reverse;
}
.nav-left a,
.nav-right a {
  color: white;
  text-decoration: none;
  font-weight: normal;
  font-size: 19px;
  transition: color 0.3s ease;
}
.nav-left a:hover,
.nav-right a:hover {
  color: #da184c;
}
.main-header.scrolled .nav-left a,
.main-header.scrolled .nav-right a {
  color: #da184c;
}

.mobile-nav {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.hamburger {
  cursor: pointer;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 3px;
}
.main-header.scrolled .hamburger span {
  background: #da184c;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #460c0e;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  text-align: center;
}
.mobile-menu a {
  color: white;
  padding: 20px;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

.header_top_elements {
  width: auto;
  height: 35px;
  display: table;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100000;
}
.mediaBtn {
  width: auto;
  float: left;
  z-index: 10000000 !important;
  text-align: center;
  background-color: #fff;
  border-bottom-left-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: row-reverse;
  direction: ltr;
}
.mediaBtn i {
  margin-left: 10px;
  float: left;
  color: #da184c;
}
.mediaBtn .text {
  font-size: 19px;
  float: left;
  font-weight: 700;
  color: #da184c ;
}
.main-header.scrolled .mediaBtn i,
.main-header.scrolled .mediaBtn .text {
  color: #da184c !important;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }

  .main-header {
    padding: 0 5%;
    background-color: #460c0e;
  }

  .main-header.scrolled {
    padding-top: 0px;
  }

  .logo-center img {
    height: 60px;
    margin-top: 5px;
  }
  .main-header.scrolled .logo-center img {
    height: 60px;
    margin-top: 5px;
  }

  .header_top_elements {
    left: 130px;
    top: 23px;
  }

  .mediaBtn {
    background-color: transparent;
    padding: 0px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 15px;
  }

  .main-header.scrolled .mediaBtn i,
  .main-header.scrolled .mediaBtn .text {
    color: #e7c5ce !important;
  }
}
