@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital@1&family=Open+Sans:wght@300&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

:root,
body {
  background: #0d0d0d;
  height: 100%;
  width: 100%;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.piano {
    display: flex;
    width: 90%; /* Updated to 90% */
    max-width: 1100px; /* Added max-width */
    height: 50%;
    margin: 0 auto;
    background: #eff0f3;
    border-radius: 50px;
    border: 3px solid #2a2a2a;
    overflow: hidden;
  }

  .key {
    height: 100%;
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    transition: all 0.3s;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
  }

  .border {
    border-right: 1.5px solid #2a2a2a;
  }

  .key .image {
    height: 55%;
    align-self: flex-end;
    filter: drop-shadow(0.8rem 0.05rem rgb(217, 55, 110, 0.8));
    transition: all 0.2s;
  }

  .active .image {
    transform: translate(1rem, 1rem);
    filter: drop-shadow(0.01rem 0.01rem rgb(217, 55, 110, 0.8));
  }

  .active .note {
    color: #d9376e;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #d9376e, 0 0 40px #d9376e,
      0 0 50px #d9376e, 0 0 60px #d9376e, 0 0 70px #d9376e;
  }

  .active {
    background-color: #ff8e3c;
}

.text {
    display: flex;
    justify-self: center;
    flex-direction: column;
    padding-top: 1.4em;
  }

  .note {
    font-family: "Archivo", sans-serif;
    color: #ff8e3c;
    font-size: 2.7em;
    text-align: center;
    text-shadow: 0.05em 0.07em #d9376e;
  }

  .action {
    font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.15em;
}

.action img {
    height: 1.4rem;
  position: relative;
  top: 0.4em;
  box-shadow: 0rem 0.2rem 0rem 0.1rem #0d0d0d;
  border-radius: 30%;
}

/* Media Query for smaller screens */
@media (max-width: 968px) {
    .piano {
      width: 100%;
      border-radius: 25px;
    }
    .note {
      font-size: 1.5em;
    }
    .action {
      font-size: 1em;
      margin: 0 auto;
      text-align: center;
    }
    .key .image {
      height: 40%;
    }
    .action img {
      height: 1rem;
    }
  }

  /* Media Query for even smaller screens */
@media (max-width: 480px) {
    .piano {
      width: 100%;
      height: 35%;
    }
    .key .image {
      height: 30%;
    }
  }

.credit {
    margin-top: 20px;
    color: black;
    text-align: center;
}

#credit-text {
    color: black;
}

#credit-link {
    text-decoration: none; /* Remove underline by default */
    color: black;
}

#credit-link:hover {
    text-decoration: underline; /* Add underline on hover */
}


body {
    background-color: white;
    margin: 0;
    font-family: Arial, sans-serif;
}

#main-header-container {
    background-color: GREY;
    padding: 10px 0;
}

nav {
    display: flex;
    align-items: center; /* Ensure items are aligned vertically */
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap;
}

.header-icon,
.site-search,
.header-options {
    display: flex;
    align-items: center;
}

.header-icon {
    flex: 1; /* Adjust based on your layout preference */
}

.icon-logo {
    width: 100px;
    height: auto;
    border-radius: 50%;
    padding-left: 10px;
}

.site-search {
    flex: 3; /* Adjust based on your layout preference */
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.icon-search {
    width: 24px;
    height: 24px;
    margin-right: 8px; /* Add some spacing between the icon and input */
}

.site-search input {
    flex: 1;
    padding: 5px;
}

.header-options {
    display: flex;
    gap: 20px;
    flex: 2; /* Adjust based on your layout preference */
    justify-content: flex-end;
}

.icon-login,
.icon-shopping-cart,
.icon-favourites {
    width: 24px;
    height: 24px;
}

.signin-option,
.minicart-link,
.header-favourites {
    display: flex;
    align-items: center;
    padding-right: 10px;
}

#sub-nav {
    background-color: lightblue;
}

.sub-nav-container {
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 10px 20px;
}

.nav-links-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-links-list li {
    margin-right: 20px;
}

.nav-links-list li:last-child {
    margin-right: 0;
}

.nav-links-list li a {
    text-decoration: none; /* Remove underline from link */
}

.nav-links-list li a:hover {
    text-decoration: underline; /* Add underline on hover */
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #f1f1f1;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.menu-container.open {
    transform: translateX(0);
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 10px 0;
}

.menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.menu a:hover {
    background-color: #ddd;
}

.menu-toggle {
    display: none;
}

@media (max-width: 760px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        background-color: #333;
        color: #fff;
        padding: 10px;
        border: none;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .menu-container {
        display: none;
    }

    .main-nav {
        display: flex;
        justify-content: center; /* Center the content horizontally */
        align-items: center; /* Center the content vertically */
        padding: 10px 20px; /* Adjusted padding */
    }
}

.medlemmar {
    list-style: none;
}

.medlemmar_text {
    text-align: center;
}

.footer-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #333;
    color: white;
    padding: 20px;
}

.footer-section {
    margin: 10px;
    min-width: 200px;
    display: block;
}

.section-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.section-list {
    list-style-type: none;
    padding: 0;
}

.section-list li {
    margin-bottom: 8px;
}

.section-list li a {
    color: white;
    text-decoration: none;
}

.section-list li a:hover {
    text-decoration: underline;
}

.join-now-link {
    display: block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
    background-color: #444;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

.join-now-link:hover {
    background-color: #555;
}

.social-media {
    background-color: #444;
    color: white;
    padding: 20px;
    text-align: center;
}

.social-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links li {
    display: inline;
}

.social-links li a {
    color: white;
    text-decoration: none;
}

.social-links li a img {
    width: 30px;
    height: 30px;
}

.copyright {
    margin-top: 20px;
}

.company-logo img {
    width: 100px;
    margin-top: 20px;
}

* {
    box-sizing: border-box;
}

.ProduktList {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 10px;
    justify-content: center;
}

.ProduktList > li {
    overflow: hidden;
    width: 150px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ProduktList > li > img {
    height: 100%;
    aspect-ratio: 1/1;
}

.ProduktList-1 {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ProduktList-1 img {
    height: auto;
}

.StyleProdukt-tag {
    position: absolute;
    bottom: 50px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}

.image-container-2{
    position: relative;
    width: 150px;
    height: 150px;
}

.image-container-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag,
.description {
    position: absolute;
    left: 1;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
}

.price-tag {
    bottom: 50px;
}

.description {
    bottom: 10px;
}

.header-options a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.header-options .icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px; /* Adjust spacing between icon and text */
}

.header-options img {
    width: 24px;
    height: 24px;
}


/* Center the image and text */
#support-img {
    display: block;
    margin: 20px auto; /* Center the image horizontally */
}

.center-text {
    text-align: center;
}

/* Style for the "Talk to us" button */
.button-link {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 20px auto; /* Center the button horizontally */
}
