

button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  color: #fff;
  font-size: 14px; }





@media (width >= 600px) {
  button {
    font-size: 14px;
	font-weight: 600;
	  color: #3a4556; } }


.sublink { margin-bottom: 6px; }
.sublink:hover { color: #dda627; }
.mainlink:hover { color: #dda627; }


:is(.navbar, .burger, .dropdowns) { width: 100%; }


@media (max-width: 600px) { .navbar, .burger, .dropdowns { 
	position: fixed;
    top: 0; } }


.navbar {
  z-index: 1;
  left: 0;
  display: flex;
  align-items: stretch;
  height: 30px;
  color: #f9f9f9; }

.burger {
  z-index: 3;
  right: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 30px;
  background-image: url("/memorials-online/images/menu.svg");
  background-repeat: no-repeat;
  background-position: center; }

body.open .burger {
  background-image: url("/memorials-online/images/close.svg"); }


@media (width >= 600px) { .burger { display: none; } }


.button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  height: 100%;
  /* opacity: 0.6; */ }

.button > img { display: none; }


@media (width >= 600px) {
	
  .button {
    padding: 0 38px 0 26px;
	white-space: nowrap; }

  .button > img {
    display: block; }
}


@media (width >= 600px) { .dropdown:hover .button { opacity: 1; } }


.dropdowns {
  left: -9999px;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d0d0e;
  opacity: 0;
  visibility: hidden;
  transition-property: opacity, visibility;
  transition-duration: 0.3s; }


@media (width < 600px) {
  body.open .dropdowns {
    opacity: 1;
    visibility: visible;
    left: 0; }
}

@media (width >= 600px) {
  .dropdowns {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    background: transparent;
    opacity: 1;
    visibility: visible; }
}

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column; }

.dropdown-menu {
  display: grid;
  margin-bottom: 28px; }


@media (width >= 600px) {
	
  .dropdown {
    height: 100%;
    flex-direction: row; }

  .dropdown-menu {
    position: absolute;
    top: 30px;
    left: 0;
    width: 180px;
    padding: 6px 24px 10px;
    margin-bottom: 0;
    place-items: start;
    background: #d4dce1bd;
    opacity: 0;
    visibility: hidden;
    translate: 0 24px;
    transition: 0.3s; }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    translate: 0 0; }
}


.dropdown-menu > button {
  color: #f9f9f9;
  opacity: 1;
  height: 40px; }


@media (width >= 500px) {
	
  .dropdown-menu > button {
    opacity: 0.6; }

  .dropdown:hover .button {
    opacity: 1; }
}

.dropdown-menu > button:hover { opacity: 1; }






