html {
  scroll-behavior: smooth;
}

body {
  background-color: #f7e7c914;
  transition: background-color 0.5s ease;
  margin-right: 0;
  margin-top: 0;
}

.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

html, body {
  margin: 0;
  padding: 0;
  background: transparent;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-icon:hover {
  cursor: pointer;
}

.bar {
  background-color: #f7e7c9;
  height: 4px;
  width: 100%;
  border-radius: 2px;
}

.menu-links {
  position: absolute;
  top: 40px;
  right: 0;
  border-radius: 5px;
  padding: 0px;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.textStyle {
  color: #f7e7c9;
  text-decoration: none;
  font-size: 1.5rem;
  visibility: hidden;
  opacity: 0;
}

.textStyle.visible,
.iconStyle.visible {
  display: inline-block;
  opacity: 1;
  visibility: visible;
}

.sidebarLink.visible {
  width: 200px;
}

.sidebarLink {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 50px;
  height: 80px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.iconStyle {
  height: 50px;
  max-width: 50px;
  object-fit: cover;
  object-position: center;
  margin-right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: transform 0.3s ease;
}

@media (max-width: 787px) {
  body {
    width: 100%;
  }
}
