@import 'vars';

body {
  background: $grey;

  font-family: 'Lato', sans-serif;
  letter-spacing: 5px;
  overflow-x: hidden;
}

#lang-box {
  position: fixed;
  height: 50px;
  width: 50px;
  right: 50px;
  bottom: 50px;
  z-index: 5;
  text-align: center;
  background: green;
  line-height: 50px;
  transition: all .3s ease-out;
  &:hover #lang {
    display: block;
    opacity: 1;
    transform: translateY(0px);
  }
  #lang {
    display: none;
    opacity: 0;
    transform: translateY(-25px);
  }
}

.header {
  position: fixed;
  height: $headerHeight;
  width: 100%;

  top: 0;
  left: 0;

  background: $white;
  box-shadow: 0px 10px 47px 0px rgba(0,0,0,0.05);
  z-index: 5;

  .logo {
    position: absolute;
    left: 50px;
    height: $headerHeight;
    line-height: $headerHeight;

    font-size: 25px;
  }

  ul {
    position: absolute;
    right: 20px;

    list-style: none;
    li {
      display: inline-block;
      height: $headerHeight;
      padding: 0 10px;

      line-height: $headerHeight;

      color: $textDark;
      font-size: 12px;
      text-transform: uppercase;

      transition: all .3s;
      cursor: pointer;
    }
    li.menue-item:hover {
      color: $mainColor;
    }
  }
}

.btn {
  background: $mainColor;
  color: $white !important;
  padding: 0 25px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 10px !important;

  font-weight: 700;
  border-radius: 40px;
  margin-left: 10px;

  cursor: pointer;
  transition: all .3s ease-out !important;

  &:hover {
    background: $mainColorDark;
  }
}

.intro-container {
  position: fixed;
  top: $headerHeight;
  width: 100%;
  height: $bannerHeight;

  z-index: 0;

  background: url('../../res/pic2.jpg');
  background-position: center;
  background-size: cover;
  .intro {
    position: absolute;
    height: 200px;
    top: 50%;
    margin-top: -50px;
    left: 50%;
    width: 650px;
    margin-left: -325px;
    width: 650px;
    color: $white;
    opacity: 0.95;
    text-transform: uppercase;
    h1 {
      font-size: 50px;
      font-weight: 300;
      letter-spacing: 9px;
      line-height: 30px;
      height: 75px;
      text-align: left;
      span {
        font-weight: 700;
        font-size: 18px;
      }
    }
    p {
      margin-top: 25px;
      text-align: center;
      font-size: 15px;
      letter-spacing: 10px;
      line-height: 25px;
    }
    #wine-btn {
      position: relative;
      left: 50%;
      margin-left: -115px;
      width: 180px;
      margin-top: 25px;
      text-align: center;
    }
  }
}

.content {
  position: absolute;
  top: $bannerHeight + $headerHeight;
  background: $grey;
  width: 100%;
  height: 5000px;
  z-index: 1;
  .container {
    position: absolute;
    height: auto;
    width: 940px;
    left: 50%;
    margin-left: -470px;
    .section {
      position: relative;
      /*border-bottom: solid;
      border-bottom-width: 2px;
      border-bottom-color: $sectionBorderColor;*/
      h1 {
        position: absolute;
        height: 150px;
        width: 500px;
        text-align: center;
        line-height: 150px;
        font-size: 150px;
        letter-spacing: 9px;
        margin: 90px -100px;
        color: $mainColor;
        opacity: $headlineOp;
      }
      h2 {
        position: relative;
        top: 175px;
        opacity: 0.9;
        width: 600px;
        font-family: 'Raleway', sans-serif;
        text-transform: uppercase;
        color: $mainColor;
      }
      p {
        position: relative;
        top: 185px;
        width: 600px;

        font-size: 17px;
        letter-spacing: 3px;
        line-height: 25px;
        font-weight: 400;
        text-align: left;
        opacity: 0.95;
        color: $textLight;
        margin-bottom: 300px;
      }
    }
  }
}

#location {
  height: 500px;
  margin-top: 50px;
  border-bottom-color: $sectionBorderColor;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  svg {
    position: absolute;
    height: 450px;
    top: 75px;
    right: -600px;
    path {
      cursor: pointer;
      fill: $mainColor;
      fill-opacity: 0.7;
      transition: all .3s ease-out;
      transform-origin: center center;
      &:hover {
        fill-opacity: 0.9;
        transform: scale(1.05);
      }
    }
  }
  .info-txt {
    position: absolute;
    height: 50px;
    width: 100px;
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    font-weight: 300 !important;
    line-height: 50px;
    color: $white;
  }
  .info-txt#grinzing {
    top: 220px;
    right: 100px;
  }
  .info-txt#nussdorf {
    top: 240px;
    right: -125px;
  }
}

#cultivation {
  height: 1500px;
  border-bottom-color: $sectionBorderColor;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  .align-right {
    text-align: right;
    h2 {
      width: 600px;
      right: 0;
      margin-left: auto;
    }
    p {
      position: relative;
      text-align: right;
      margin-left: auto;
    }
  }
  .img-container {
    position: absolute;
    height: 300px;
    width: 400px;
    .img-content {
      cursor: pointer;
      position: absolute;
      opacity: 0.9;
      transition: all .2s ease-out;
      &:hover {
        opacity: 1;
        transform: scale(1.05);
      }
    }
  }
  /*#img-con-1 {
    top: 75px;
    right: -100px;
    #img-1 {
      top: 0;
      left: 0;
      height: 200px;
      width: 250px;
      background: url("../../res/pic1.jpg");
      background-position: center;
      background-size: cover;
    }
    #img-2 {
      height: 150px;
      width: 170px;
      left: 260px;
      top: 200px;
      margin-top: -150px;
      background: url("../../res/pic2.jpg");
      background-position: center;
      background-size: cover;
    }
    #img-3 {
      height: 170px;
      width: 350px;
      top: 210px;
      left: 20px;
      background: url("../../res/pic3.jpg");
      background-position: center;
      background-size: cover;
    }
  }*/
}

#wines {
  ul {
    list-style: none;
    position: absolute;
    right: 100px;
    top: 200px;
    li {
      margin: 20px;
      padding: 10px;

      font-size: 16px;
      border-left: solid;
      border-left-width: 2px;
      cursor: pointer;
      letter-spacing: 5px;
      color: $mainColor;

      transition: all .25s ease-out;
      &:hover {
        transform: translateX(4px);
        color: $mainColorDark;
      }
    }
  }
}

#sales {
  nav {
    text-align: center;
    position: absolute;
    top: 250px;
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: inline-block;
      background: #ddd;
      li {
        float: left;
        position: relative;
        width: 224px;
        height: 65px;
        line-height: 65px;
        color: $textGrey;
        cursor: pointer;
        &:hover {
          background: #d5d5d5;
        }
      }
    }
  }
  ul.sub-menue li {
    display: none;
  }
  ul.sales-list li:hover > ul.sub-menue li {
    display: block;
  }
}
