#wrapper:not(.navbar) {
  height: 87vh;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

#doorShapeDiv {
  position: absolute;
  top: 101px;
  left: 321px;
  z-index: 1000;
}

#frontSwitch {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 5px !important;
  left: 810px;
}

.second {
  z-index: 1000;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 35px;
  left: 786px;
}

#mainFooter {
  width: 50% !important;
  margin: auto !important;
  /*position: absolute;*/
  display: flex;
  /*bottom: -67px;*/
}

#headerIcons {
  display: flex;
  margin: auto;
  height: 1.5em;
  width: 1.5em;
}

@media screen and (max-width: 810px) {
  body {
    overflow-y: scroll !important;
    min-height: 100%;
    height: 100%;
  }

  #middlenav {
    display: none !important;
  }

  /*
    .accordion-header{
        width: 76% !important;
    } */
  .dropdown-menu {
    /*display: flex !important;*/
    flex-direction: column !important;
  }

  #mobile-cards {
    display: block !important;
  }

  .mobile-accordion-button {
    width: 120px !important;
    margin-left: 30px;
  }

  #ConfiguratorLeft {
    z-index: 0;
    display: flex;
    flex-direction: row;
    left: 0% !important;
    width: 100%;
    padding-top: 5px !important;
    height: 300px;
    overflow-x: visible;
  }

  #CarouselVerticalNavigation {
    margin-left: 0;
    justify-content: center;
  }

  #accordion-menu {
    /*overflow-y: scroll;*/
    width: 250px;
    height: 300px;
  }

  .items__inventory {
    grid-template-columns: repeat(6, 0fr) !important;
    overflow-y: scroll;
    column-gap: 4% !important;
    row-gap: 6% !important;
    height: 130px !important;
  }
  #pricesSidebar {
    display: none !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  .content {
    border: none !important;
    /*border-bottom: 2px solid rgb(193,221,255) !important;*/
    box-shadow: 0px 1px 25px -7px rgba(0, 0, 0, 0.75);
  }

  .mainBackgroundColor {
    margin-top: 2% !important;
    display: flex !important;
    flex-direction: column !important;
    row-gap: 20px;
  }

  .mainBackgroundColor > #CarouselWrapper {
    display: flex !important;
    /*height:*/
    flex-direction: column !important;
    /*margin-top: 60px; */
  }

  #carouselExampleControls {
    height: 51vh;
  }

  .carousel-item > img {
    max-height: none !important;
    max-width: none !important;
    height: 35vh !important;
    width: 100% !important;
    box-shadow: 0px 0px 13px 0px;
  }

  .container {
    display: flex !important;
    flex-direction: column !important;
  }

  .col-md-12 p img {
    width: 100vw;
    height: 35vh;
  }

  td a img {
    width: 100vw;

    height: 39vh;
    /*height: auto;*/
  }

  h2 {
    width: 100vw;
  }

  p {
    text-align: center;
  }

  #suntour {
    width: 100%;
    min-height: 380px !important;
  }

  #SideBarWrapper > * {
    margin-top: 25px !important;
  }

  #SideBarWrapper:nth-child(2) {
    margin-bottom: 20px !important;
  }
  .mainBackgroundColor > #SideBarWrapper {
    display: flex !important;
    width: 100%;
    height: auto !important;
    position: relative !important;
    margin-top: 0 !important;
    top: 0 !important;
    margin-bottom: 10px;
  }

  #NavigationItemWrapper {
    border-radius: 16px;
    min-width: 100px !important;
    margin-bottom: 2px;
    margin-top: 2px;
    margin-left: 5px;
    margin-right: 5px;
    box-shadow: 0px 0px 5px 0px #bbbbbb;
  }

  .mainBackgroundColor > #VariantRowMobile {
    display: flex;
    width: 100%;
    box-shadow: 0px -13px 14px #00000026;
    border-radius: 24px 24px 0 0;
    height: 135px;
    z-index: 5;
  }

  #VariantColumn {
    display: none !important;
  }

  #mainFooter {
    margin-top: 5px !important;
    width: 100% !important;
  }
  .footerBackgroundColor {
    padding: 0 !important;
  }
  #footerText:nth-child(2) {
    padding: 1px !important;
  }

  #wrapper:not(.navbar) {
    height: 50vh;
    margin-top: 17%;
  }

  html {
    margin: 0;
    height: 100%;
  }

  #footerText {
    display: flex !important;
    flex-grow: 2;
  }
  #footerText:nth-child(2) {
    display: flex !important;
    flex-grow: 0;
  }
  #mainFooter {
    /*margin-top: -200px;*/
    position: absolute;
    /*bottom: -250px !important;*/
  }

  /*.row>* {
        width: 0px !important;
    } */

  #desktopNavbar {
    display: none !important;
  }

  #menu {
    position: relative;
  }

  #menu > li > a {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    width: 32vw;
    display: flex;
    flex-direction: column;
    border: 0 !important;
  }
  #mobileNavbar {
    /*display: flex !important; */
    border-style: none;
    /*position: sticky;*/
    -webkit-box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, 0.75);
    display: block !important;
    min-width: 100%;
  }
  .collapse:not(.show) {
    display: block;
  }

  .navbar-nav {
    flex-direction: row !important;
  }

  #house-svg {
    width: 100vw !important;
  }
  .mask {
    width: 100vw !important;
  }
  #subcategoryName {
    padding-top: 8px;
    padding-bottom: 13px !important;
  }

  #wrapperTour {
    /*margin-top:15%;*/
    height: unset !important;
    width: 100%;
    z-index: 0;
  }
  #StyledItemButton {
    justify-content: center !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0px 5px 10px -6px rgb(0 0 0 / 75%);
  }
  #Header {
    box-shadow: 0px -1px 15px 0px rgb(0 0 0 / 75%);
    border-radius: 24px 24px 0 0;
  }

  #VariantColumn {
    width: 100%;
  }

  .carousel-item {
    /*height: 400px !important;*/
    max-width: 100% !important;
  }

  #CarouselWrapper {
    order: 1;
    /*margin-top: unset !important;*/
    margin: 0 auto;
  }

  #VariantRowMobile {
    order: 2;
  }

  #SideBarWrapper {
    order: 3;
  }

  .panorama_image {
    z-index: 0;
    height: 66% !important;
  }

  /*#suntour {
        min-width: 100% !important;
    } */

  #tourVideo {
    display: block !important;
    position: absolute !important;
    margin: auto !important;
    left: 0;
    right: 0;
    width: 700px !important;
    height: 250px !important;
    max-height: 100% !important;
    max-width: 100% !important;
  }

  #testVideo {
    display: block !important;
  }

  #tourImage {
    height: 225px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40% !important;
    z-index: 0 !important;
    margin-top: 25%;
  }

  #VariantRowMobile {
    display: block;
    width: 100%;
    height: 200px;
    /*position: absolute;*/
    top: 400px;
  }

  #VariantColumn {
    width: 100%;
    height: 120px;
  }
  #CarouselVerticalNavigation:not(#TumbnailName) {
    overflow-y: hidden;
    flex-flow: row;
    height: 130px;
  }
  .cardsGrid {
    flex-flow: column;
  }
  .cardsGrid img {
    object-fit: contain;
    margin-top: 15px;
  }

  #VariantRowMobile > #CarouselVerticalNavigation {
    /*flex-direction: column;*/
    column-gap: 4px;
  }

  #ConfiguratorSvg {
    /*margin-top: 70px;*/
    margin-left: 0%;
    /*margin-left: 30%;*/
  }

  #SideBarWrapper {
    position: absolute;
    width: 100%;
    height: 200px;
    top: 542px;
    box-shadow: unset !important;
  }
  #SideBarWrapper > * {
    min-width: 100%;
    width: 100%;
  }

  #VariantColumn {
    display: none;
  }

  .button__block {
    position: absolute;
  }
  .accordion-button {
    width: 57% !important;
    padding: 0.6rem 1.25rem !important;
  }

  #ConfiguratorWrapper {
    display: none !important;
  }

  /* copied from header */

  .nav-link {
    padding: 0;
  }

  .nav-item {
    display: flex;
    justify-content: center;
  }

  body {
    overflow-y: hidden;
    overflow-x: hidden !important;
  }

  ul {
    padding: 0;
    list-style-type: none;
  }

  .container {
    width: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    padding: 0 !important;
  }

  .content {
    border: 1px solid #36383f;
    border-radius: 20px;
    width: 100%;
    height: 91%;
    background-color: #f5f6fa;
    /*overflow: hidden;*/
  }

  nav {
    background-color: #1e1e23;
    height: 65px;
    width: 100%;
    /*z-index: 100;*/
  }

  #menuToggle {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    top: 18px;
    column-gap: 15%;
    left: 17px;
    z-index: 100;
    width: 100px;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 51;
  }

  #menuToggle span {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 51;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: #36383f;
  }

  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #menu {
    /*position: absolute;*/
    /*padding: unset !important;*/
    width: 180px;
    padding-top: 9vh;
    padding-left: 0 !important;

    box-shadow: 0 0 10px #85888c;
    margin: -50px 0 0 -40px;
    /*padding: 50px;*/

    background-color: #f5f6fa;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 50;

    display: flex;
    flex-direction: column;
    height: 100vh;
    /* justify-content: space-between; */
    position: fixed;
    left: 7%;
  }

  #menuCross {
    left: 7%;
    /*position: fixed;*/
  }

  #menu li {
    border-top: 1px solid #bdbdbd;
    padding: 10px 0;
    transition-delay: 2s;
    /*border-top: 1px solid black;*/
    border-bottom: 1px solid black;
    box-shadow: 0px 11px 8px -11px rgba(0, 0, 0, 0.75);
    /* margin-bottom: 1vh; */
  }

  #menuToggle input:checked ~ ul {
    transform: none;
  }

  #Box {
    margin: 0 auto;
  }

  .mobile_youtube_iframe {
    width: 100%;
    height: 70% !important;
  }

  .big-layer-imgs {
    position: absolute;
    min-width: 95% !important;
  }

  .big-base-img {
    min-width: 100% !important;
  }
}

@media screen and (min-width: 810px) {
  #desktopNavbar {
    display: block !important;

    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
  }
  #mobileNavbar {
    display: none !important;
  }
}

.big-layer-imgs {
  position: absolute;
  max-width: 60vw;
}

.big-base-img {
  max-width: 60vw;
}
/*
@media screen and (max-width: 810px) and (orientation: landscape) {
    #ConfiguratorLeft {
        padding-top: 530px;
    }

    #wrappertour {
        max-width: none !important;
    }
    #VariantRowMobile {
        top: 465px !important;
    }
    #SideBarWrapper {
        top: 600px !important;
    }
} */

.main_img {
  width: 100%;
  /*max-height:800px;*/
  height: 85vh;
  object-fit: scale-down;
}

#mobile-cards {
  display: none;
}
/*
#suntourDiv1 {
    display: flex;
    width: 450px;
} */

/*#suntour {
    width: 100% !important;
    height: 100%;
} */

.youtube_iframe {
  width: 95%;
  height: 95%;
}

#suntour {
  /*display: flex;
    justify-content: center;*/
  width: 100%;
  min-height: 700px;
  margin: auto;
}

.iconSVG svg {
  border: 1px solid black;
  border-radius: 0px 16px 16px 0;
  max-width: 70px;
  max-height: 80px;
  width: 100px;
  height: 80px;
}

.iconSVG {
  width: 100px;
}

#svgGrid {
  display: grid;
  grid-template-rows: 60px;
  row-gap: 10%;
  /*border-right: 1px solid black;*/
  height: 600px;
  z-index: 100000;
}

#leftVideos {
  max-height: 100px;
}

.accordion-body {
  overflow-y: auto;
}

.accordion-button {
  left: -20px;
}

.color__item {
  width: 60px !important;
  height: 70px !important;
}

.item img {
  width: 60px !important;
  height: 70px !important;
}

.button__block {
  left: 0;
}

.items__inventory {
  display: grid;
  grid-template-columns: repeat(2, 0fr);
  row-gap: 7%;
  column-gap: 20%;
  /*border-right: 1px solid black;*/
  height: 640px;
  max-height: 650px;
  z-index: 100000;
}

.house1 {
  border-radius: 16px;
  mix-blend-mode: multiply;
  height: 513px;
  width: 1029px;
  left: 305px;
  display: block;
  position: relative !important;
  top: -511px;
}

#subcategoryName {
  /*position: absolute;*/
  min-height: 24px;
  margin: auto;
  align-content: center;
  text-align: center;
}

/*a:active {*/
/*    background-color: yellow !important;*/
/*    color: yellow !important;*/
/*}*/

.carousel-control-next-icon,
.carousel-control-prev-icon {
  border: 2px solid black;
  border-radius: 16px;
  height: 40%;
  width: 10%;
  background-color: white;
  color: black;
  /*padding: 14px 14px;*/
  /*!*font-size: 4px;*!*/
  cursor: pointer;
}

.carousel-control-next,
.carousel-control-prev {
  z-index: 10 !important;
  height: 40% !important;
  /*margin-top: 15%;*/
  margin-top: auto;
  margin-bottom: auto;
}

/*.bi {*/
/*    margin-top: -8px;*/
/*    position: absolute;*/
/*    right: 65px;*/
/*}*/

#CardGridHeader {
  text-align: center;
  height: 30px;
  margin-bottom: 30px;
}

/*.accordion-button:not(.collapsed) {*/
/*    background-color: palevioletred !important;*/
/*}*/

#remove-second-wall-color {
  width: 145px;
  margin-bottom: 30px;
}

.card {
  display: flex;
  margin: auto;
  width: 60px;
  height: 60px;
}

#Footer {
  background-color: white;
  height: 200px;
}

#CarouselVerticalNavigation {
  margin-top: 23px;
  /*height: 850px;*/
  width: 100%;
  display: flex;
  flex-flow: column;
  flex-wrap: nowrap;
  overflow: auto;
  margin-left: 10px;
}

#ColorTab {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 40px;
  width: 80%;

  border-radius: 16px 16px 16px 16px;
  margin: auto;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.16);
  background-color: blue;
  text-align: center;
}

#StyledCard {
  padding-top: 30px;
  width: 200px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 7%;
  height: 400px;
}

#ConfiguratorLeft {
  position: absolute;
  /*width: 200px;*/
  left: 80px;
  z-index: 100000;
}

#mainContentImageVideo {
  position: absolute;
  margin: auto;
  width: 950px;
  height: 650px;
}

#wrapperTour {
  /*height: 87vh;*/
  min-height: 87vh;
  display: flex;
  flex-direction: row;
  /*height: 93vh;*/
  justify-content: space-between;
  /*border-right: 1px solid black;*/
  /*margin-top:73px;*/
}

#VariantColumn {
  min-width: 200px;
  box-shadow: 5px 0 5px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  min-height: 500px;
}

a {
  color: red;
}

#NavigationItemWrapper {
  min-height: 110px;
  width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: content-box;
}

#NavigationItemWrapper img {
  /*min-width: 100%;*/
  max-height: 91px;
  max-width: 90%;
}

#StyedListText {
  align-items: center;
  text-align: center;
}

#ThumbnailName {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  margin: 2px;
  /*color: red;*/
}

#imgDiv {
  max-height: 670px !important;
}

#imgDiv img {
  max-height: 670px !important;
  border-radius: 16px;
}

#leftImages {
  max-height: 100px;
  aspect-ratio: auto;
}

.carousel-item {
  /*height: 700px;*/
}

#VariantRowMobile {
  display: none;
}

.carousel-item img {
  /*object-fit: cover;
    max-width: 1250px;
    margin: auto;*/
  margin-right: auto;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
}

#tourImage {
  max-height: 700px;
  /*max-width: 900px;*/
  object-fit: scale-down;
  height: 100%;
}

#tourVideo {
  height: 600px;
  position: relative;
  margin: auto;
  width: 100%;
}

#svgGroup {
  position: relative;
}

#svgGroup img svg {
  position: absolute;
}

#CarouselWrapper {
  box-sizing: border-box;
  width: 75%;
  height: 100%;
}

#Titles {
  right: 0;
  left: 0;
  padding-top: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
  color: blue;
}

#Carousel {
  width: 100%;
  max-width: 1440px;
  height: 78vh;
  /*display: flex;*/
  position: absolute;
  justify-content: center;
}

#SwitchBlock {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  margin-right: 16px;
}

#Box {
  /*width: 100%;*/
  /*background-color: white;*/
  min-width: 200px;
  /*max-width: 245px;*/
}

#StyledItemButton {
  /*display: flex; */
  justify-content: end;
  padding-right: 20px;
  align-items: center;
  width: 100%;
  min-width: 200px;
  height: 50px;
  /*border: 1px solid black;*/
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.card img {
  flex-shrink: 1;
  min-width: 100%;
  min-height: 100%;
}

#StyledListText > a {
  text-decoration: none;
}

#StyledItemButton:hover {
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: white !important;
}

#Header {
  height: 40px;
  padding-top: 7px;
  justify-content: center;
  background-color: mediumpurple;
  cursor: default;
  color: black;
  text-decoration-style: solid;
  font-weight: bold;
}

#StyledListText {
  cursor: pointer;
  text-align: center;
  color: black;
  background-color: transparent !important;
}

.thead-primary {
  background-color: darkseagreen;
  border-radius: 16px 16px 0 0;
}

#SideBarWrapper {
  /*margin-top: 19px;*/
  top: 45px;
  width: 245px;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 5px rgba(0, 0, 0, 0.16);
}

table {
  border-collapse: collapse;
  border-radius: 30px;
  border-style: hidden; /* hide standard table (collapsed) border */
  box-shadow: 0 0 0 0px #666; /* this draws the table border  */
}

.picker {
  border-radius: 16px;
  display: flex;
  /*width: 100px;*/
  justify-self: center;
  margin: auto;
}

thead {
  border-collapse: collapse;
  border-radius: 30px;
}

#pricesSidebar {
  border-radius: 16px;
  position: absolute;
  right: 0px;
  top: 200px;
  max-height: 500px;
  width: 13%;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 5px rgba(0, 0, 0, 0.16);
}

.color__item button {
  border-radius: 15px;
  height: 70px !important;
  width: 60px !important;
}

.color__item button img {
  box-sizing: border-box;
  object-fit: cover;
  height: 60px !important;
  width: 40px !important;
}

.sidebarButton a {
  text-decoration: none;
}

#SideBarWrapper link {
  text-decoration: none;
}

#MainColumn {
  display: flex;
  max-height: 870px;
  flex-direction: column;
  align-items: center;
}

#MainName {
  text-align: center;
  margin-top: -50px;
  color: yellow;
}

/*
.navbar {
    background-color: rgb(227, 226, 222) !important;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px,
    rgba(0, 0, 0, 0.14) 0px 3px 4px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
} */

.navbar-brand2 {
  position: relative;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
}

#navbarLast {
  /* position: absolute;
    right: 40px; */
}

.navbar-text {
  /*position: absolute;*/
  /*right: 10px;*/
}

.navbar-text-private {
  /*position: absolute;*/
  color: red;
  font-weight: bold;
  /*right: 60px;*/
  text-align: center;
  vertical-align: middle;
}

.navbar-light .navbar-nav .nav-link {
  display: flex;
  justify-content: center;
  /*color: red !important;*/
}

.navbar-collapse {
  display: flex;
  justify-content: center;
}

#StyledBox {
  width: auto;
  /*min-height: 26vh;*/
  height: auto;
  display: flex;
  flex-wrap: wrap;
}

#StyledCard {
  /*background-color: rgba(255, 255, 255, 1);*/
  border-radius: 4px;
}

#LogoImg {
  cursor: pointer;
}

#ConfiguratorWrapper {
  display: inline-grid;
  /*margin-top: 40px;*/
  justify-items: left;
  grid-template-columns: 80px;
  row-gap: 6.5em;
  height: 10px;
  border-right: 1px solid lightgray;
  z-index: 1;
}

#Content {
  position: absolute;
  left: 130px;
}

#ConfiguratorStyledCard {
  border-radius: 0px 10px 10px 0px;
  padding: 0;
  margin: 0;
  height: 60px;
  width: 60px;
  box-sizing: border-box;
  background-color: white;
  font-weight: 700;
  border: 0 solid black;
  box-shadow: 0px 2px 10px 0px black;
  cursor: pointer;
  line-height: 1;
  color: red;
}

#StyledText {
  margin-top: 5px;
  color: lawngreen;
  text-align: center;
}

#ConfiguratorStyledCard img {
  padding: 5px;
  object-fit: cover;
  max-height: 100%;
  max-width: 100%;
}

.toggle {
  --width: 80px;
  --height: calc(var(--width) / 3);

  position: relative;
  display: inline-block;
  width: var(--width);
  height: var(--height);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: var(--height);
  cursor: pointer;
}

.toggle input {
  display: none;
}

.toggle .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--height);
  background-color: #ccc;
  transition: all 0.4s ease-in-out;
}

.toggle .slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--height));
  height: calc(var(--height));
  border-radius: calc(var(--height) / 2);
  background-color: #fff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease-in-out;
}

.toggle input:checked + .slider {
  background-color: #2196f3;
}

.toggle input:checked + .slider::before {
  transform: translateX(calc(var(--width) - var(--height)));
}

.toggle .labels {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 12px;
  font-family: sans-serif;
  transition: all 0.4s ease-in-out;
}

.toggle .labels::after {
  content: attr(data-off);
  position: absolute;
  right: 5px;
  color: #4d4d4d;
  opacity: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease-in-out;
}

.toggle .labels::before {
  content: attr(data-on);
  position: absolute;
  left: 5px;
  color: #ffffff;
  opacity: 0;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease-in-out;
}

.toggle input:checked ~ .labels::after {
  opacity: 0;
}

.toggle input:checked ~ .labels::before {
  opacity: 1;
}
