.mobile {
  display: none;
}

.desktop {
  display: flex;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}


header {
  box-shadow: 0px 2px 10px black;
  display:flex;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 72.1px;
  transition: top 0.3s;
  
  .sidebar {
    display: inline-flex;
    flex-basis: 160px;
    flex-direction: column;
  
    h1 {
      margin: 0;
      padding: 0.3em 0.5em;
      text-align: center;
      font-family: Tahoma, sans-serif;
      font-weight: 500;
      font-size: 40px;
    }
    
  }

  nav {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    
    .tab {
      font-family: Tahoma, sans-serif;
      font-weight: 300;
      font-size: 25px;
      text-align: center;
      align-content: center;
      text-decoration: none;
      display: inline-block;
      width: 22vw;
      border: none;
      border-radius: 12px;
      margin: 10px 0;
    }

    .tab p {
      margin: 10px 0;
    }
  }

}

.tab-page:hover {
  cursor: pointer;
}

main {
  display:flex;
  margin-top: 72px;
  flex: 1;
  flex-grow: 2;

  .sidebar {
    display: inline-flex;
    flex-direction: column;

    #scroller {
      width: inherit;
      text-align: center;
      font-family: Tahoma, sans-serif;
      font-weight: 300;
      font-size: 20px;

      p {
        align-content: center;
        height: 3em;
        width: 6em;
        margin: 50% auto;
      }
    }
  }

}

.figure {
  display: flex;
  align-items: center;
  justify-content:space-between;
  min-height: 85vh;
  margin: 20px 30px 30px 30px;
  padding: 0 50px;
  border-radius: 25px;
  
  img {
    box-sizing: border-box;
    padding: 0;
    margin: 3%;
    width: 38%;
    height: fit-content;
    max-height: 70vh;
    max-width: fit-content;
    border: solid 7px;
    border-radius: 25px;
  }

  video {
    width: 50%;
    height: fit-content;
    margin: 30px;
    border: solid 7px;
    border-radius: 25px;
  }

  #snacman-video {
    width: 450px;
    height: 492px;
    object-fit: cover;
  }

  .figure-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    min-height: 80%;
    width: 50%;
    align-content: center;
    font-family: Tahoma, sans-serif;
    margin: 0 30px;
    padding: 20px 0;
    font-size: 20px;

    img {
      width: 200px;
      border: none;
      border-radius: 0;
      margin: 10px 0;
    }

    h1 {
      font-size: 50px;
      margin-top: 0;
    }

    p, ul {
      margin: 5px 0;
      padding-left: 10px;
      line-height: 30px;
      border-left: 5px solid;
      border-radius: 3px;
      list-style: inside disc;
    }

    li {
      font-size: 18px;
      padding: 4px 0 0 0;
    }

    #snacman-link {
      border-radius: 12px;
      padding: 12px;
      width: fit-content;
      text-decoration: none;
      font-size: 22px;
      margin-top: 12px;

    }

  }
}

.figure.right {
  flex-direction: row-reverse;
  
  .figure-text {
    text-align: right;
    
    p, ul {
      padding-right: 10px;
      border-right: 5px solid;
      border-left: none;
      list-style: inside disc;
    }
  }
}

figure.bottom {
  margin-bottom: 20px;
}

figure.buttons {
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 20px 30px 30px 30px;
  height: fit-content;
  border-radius: 25px;

  button {
    width: 50px;
    margin: 0;
    padding: 0 10px;
    border: none;
    font-size: 40px;
  }

  button.next-left {
    border-radius: 25px 0 0 25px;
  }

  button.next-right {
    border-radius: 0 25px 25px 0;
  }
}

figure.with-buttons, figure.with-buttons.right {
  border-radius: 0;
  margin: 0;
  padding: 0;
}

footer {
  display:flex;
  box-shadow: 0px -2px 10px black;
  min-height: 72px;

  .sidebar {
    display: inline-flex;
    flex-basis: 160px;
    flex-direction: column;
  
    h1 {
      margin: 0;
      padding: 0;
      height: 10px;
      text-align: center;
      font-family: Tahoma, sans-serif;
      font-weight: 800;
      font-size: 40px;
      -webkit-text-stroke: #000000 1.5px;
    }
  }
}

/* Smaller Desktop Breakpoint */
@media all and (max-width: 1025px) {
  .figure, .figure.right {
    flex-direction: column;
    
    img, video, .figure-text {
      width: 90%;
      min-height: fit-content;
    }
  }

  header nav .tab {
    font-size: 22px;
  }

  .figure #snacman-video {
    width: 333px;
    height: 370px;
    object-fit: cover;
  }

  .figure .figure-text a img {
    width: 200px;
  }

}

@media all and (max-width: 690px) {

  .figure, .figure.right{
    padding: 0 20px;
  }
  .figure #snacman-video {
    width: 222px;
    height: 246px;
    object-fit: cover;
  }

}


@media all and (max-width: 540px) {

  .mobile {
    display: flex;
  }

  .desktop {
    display: none;
  }

  #scrollbar {
    display: none;
  }

  header .sidebar {
    flex-basis: 100px;
  }

  .figure {
    flex-direction: column;
    margin: 10px;
    padding: 0;
    border-radius: 25px;
    
    img {
      box-sizing: border-box;
      padding: 0;
      margin: 3%;
      width: 90%;
      height: fit-content;
    }

    video {
      width: 50%;
      height: fit-content;
      margin: 30px;
    }

    .figure-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 90%;
      font-size: 20px;

      h1 {
        font-size: 40px;
      }

      img {
        border: none;
        border-radius: 0;
        margin: 10px 0;
      }
    }
  }

  .figure.right {
    .figure-text {
      text-align: left;
      
      p, ul {
        padding-left: 10px;
        border-left: 5px solid;
        border-right: none;
      }
    }
  }

  figure.buttons {
    margin: 10px;
    padding: 0;
    border-radius: 25px;
  }

  .dropdown {
    width: 100%;
    display: flex;
    flex-grow: 1;
  }
  
  .dropdown-button {
    width: 100%;
    border: none;
    font-family: Tahoma, sans-serif;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
    align-content: center;
    text-decoration: none;
  }
  
  .dropdown-list {
    width: inherit;
    display: none;
    position: absolute;
    left: 0;
    margin-top: 72.1px;
  
    a {
      border-top: 2px solid;
      text-align: center;
      height: 72px;
      font-family: Tahoma, sans-serif;
      font-weight: 300;
      font-size: 25px;
      text-align: center;
      align-content: center;
      text-decoration: none;
    }
  }
  
  .show-dropdown {
    display: flex;
    flex-direction: column;
  }
}