:root {
    --primary-background-color: #905AA4;
    --secondary-background-color: #AF88BD;
    --overlay-background-color: rgb(101, 64, 115 0.9);
    --primary-font-color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-background-color);
    color: var(--primary-font-color);
    font-family: 'Raleway', sans-serif;
    margin: 0px;
}

section {
    margin: 10% 0;
    width: 100%;
    max-width: 1000px;
}

section:first-of-type{
    margin-top: 20%;
}

:target {
  display: block;
  position: relative;
  top: -60px; 
  visibility: hidden;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 5% 0;
    padding: 0 10vw;
    overflow: auto;
}

.title-bold {
    font-weight: 600;
}

p {
    font-size: 1rem;
    margin: 0px;
    padding: 20px;
}

.textbox {
    background-color: var(--secondary-background-color);
    padding: 5%;
}

.textbox > p:first-child {
    padding-top: 40px;
}

.separator-right {
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 25px;
}


.separator-right::after{
    content: " ";
    background-image: linear-gradient(transparent 47%, white 47%, white 47%, transparent 53% );
}

.separator-left {
    display: grid;
    grid-template-columns: auto max-content;
    column-gap: 25px;
}

.separator-left::before{
    content: " ";
    background-image: linear-gradient(transparent 47%, white 47%, white 47%, transparent 53% );
}

.right-align {
    float: right;
}

.slideshow {
    display: none;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  .profiles-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
  }

  .profile {
      flex-grow: 1;
      max-width: 450px;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .profile img {
      max-width: 300px;
      max-height: 300px;
      margin-top: 10%;
  }

  h4 {
      margin-bottom: 0px;
  }

  .tab {
      display: flex;
      justify-content: space-evenly;
  }

  h3 {
      font-weight: 400;
      margin-bottom: 5px;
  }

  .price-section {
      margin: 0 5%;
      flex-grow: 1;
      display:flex;
      flex-direction: column;
  }

  .price-annotation {
      margin: 5%;
  }

  .tablink {
      background-color: var(--secondary-background-color);
      border: none;
      height: 6vh;
      margin-left: 0px;
      font-size: 0.75rem;
      font-family: 'Raleway', 'sans-serif';
      color: var(--primary-font-color)
  }

  .active {
      background-color: var(--primary-font-color);
      color: var(--primary-background-color);
      outline: none;
  }

  .tabcontent {
      animation: fadeEffect 1s;
  }

  @keyframes fadeEffect {
      from {opacity: 0;}
      to {opacity: 1;}
  }

  table {
      font-size: 1rem;
      width: 100%;
      border-spacing: 3vh;
      display: block;
      background-size: cover;
  }

  .price-table{
    margin-top: 10%;
  }

  #table-damen{
    background-image: url("./images/Damen.png");
  }

  #table-herren{
    background-image: url("./images/Herren.png");
  }

  #table-kinder{
    background-image: url("./images/Kinder.png");
  }

  #table-pedicure{
    background-image: url("./images/Nails-mobile.png");
}

  #table-manicure{
      background-image: url("./images/nails-mobile-2.png");
  }

  th {
      vertical-align: top;
      text-align: left;
  }

  td {
      vertical-align: top;
  }

  #table-damen td[colspan="2"]{
      text-align: center;
  }

  td.indented {
      padding-left: 3%;
  }

  #openinghours tr > td:first-child{
      text-align: right;
  }

  .textbox.centered{
      text-align: center;
  }

  .inline-flex{
      display: inline-flex;
  }

  .map-container {
      display: flex;
  }

  .phone-number{
    display: flex;
    justify-content: normal;
    margin: 5% 0% 5% 10vw;
  }

  .phone-annotation {
      margin-left: 2%;
      font-size: 1rem;
  }

  .icon {
      margin-right: 5%;
  }

  .adress-line {
      display: flex;
      justify-content: normal;
      align-items: center;
      margin: 3% 3% 0 3%;
  }

  .adress-container {
    flex-grow: 1;
  }

  a {
      color: white;
  }

  .icon {
      width: 1.4rem;
      height: 1.4rem;
  }

  #google-maps-btn {
      padding: 1% 0%;
      width: 90%;
      background-color: var(--secondary-background-color);
      border: white none 1px;
      font-family: 'Raleway', sans-serif;
      font-size: 1rem;
      display: flex;
      justify-content: normal;
      align-items: center;
  }

  #google-maps-btn img{
      width: 15%;
      height: 15%;
      margin-right: 1vw;
      margin-left: 3%;
  }

  #map {
      display: none;
      margin-right: 5%;
      flex-grow: 1;
  }

  /* Navigation */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #654073;
    width: 100%;
    z-index: 1;
    font-size: 1rem;
    display: flex;
    justify-content: flex-end;
  }
  
  nav a {
    padding: 16px;
    text-decoration: none;
    transition: all 0.5s ease;
  }
   
  nav a.active {
    background-color: white;
    color: var(--primary-background-color);
  }
  
  nav a:hover:not(.active) {
    box-shadow: 0 3px 0 white;
  }

  #burger {
      display: none;
  }
  
  
  @media screen and (max-width: 1024px) {
    nav {
        display: block;
        height: 2.5rem;
        position: fixed;
        top: 0;
        background-color: #654073;
    }

    nav a {
        text-align: center;
        display: none;
    }

    #burger {
        display: block;
        position: fixed;
        top: 10;
        right: 25;
        width: 30px;
        height: 30px;
        z-index: 3;
        opacity: 0;
    }

    .menu-wrapper {
        width: 25px;
        height: 25px;
        position: fixed;
        top: 5;
        right: 30;
    }

    .menu-wrapper .menu-icon {
        position: relative;
        top: 8;
        z-index: 2;
        height: 25px;
        width: 25px;
        display: flex;
    }

    .menu-wrapper .menu-icon > div {
        position: relative;
        width: 100%;
        height: 1px;
        background-color: white;
        display: flex;
        align-self: center;
        justify-self: center;
        transition: all 0.4s ease;
    }

    .menu-wrapper .menu-icon > div:before,
    .menu-wrapper .menu-icon > div:after {
        content: '';
        position: absolute;
        z-index: 2;
        top: -7px;
        width: 100%;
        height: 1px;
        background-color: inherit;
    }

    .menu-wrapper .menu-icon > div:after {
        top: 7px;
    }

    #burger:checked + .menu-icon > div {
        transform: rotate(135deg);
    }

    #burger:checked + .menu-icon > div:before,
    #burger:checked + .menu-icon > div:after {
        top: 0;
        transform: rotate(90deg);
    }

    nav.responsive a {
        float: none;
        display: block;
        text-align: center;
        background-color:#654073;
      }
  }

  /* General Responsiveness */
  @media screen and (min-width: 1024px){
    :root {
        font-size: 23px;
    }

    h2 {
        padding: 0 5vw;
    }

    #map {
        display: block;
    }

    :target {
        top: -100px; 
      }

    @media screen and (min-width: 768px){
        #table-damen{
            background-image: url("./images/Damen-desktop.png");
          }
    }
}


  