.section-shuffle {
  margin-top: 2rem;
}
.shuffle-main-container {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0 15rem;
  height: 77rem;
}
.shuffle-header-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.shuffle-header-container h1 {
  font-size: 3rem;
  font-style: normal;
  font-weight: 260;
  line-height: 3.8rem;
  width: 50%;
  text-align: center;
  margin: 0 0 2rem 0;
}
.shuffle-header-container .toggle-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  height: 2.125rem;
}

.shuffle-header-container .toggle-switch input[type="checkbox"] {
  display: none;
}

.shuffle-header-container .toggle-switch .slider {
  width: 5.375rem;
  height: 2rem;
  border-radius: 6.25rem;
  position: relative;
  cursor: pointer;
  background-color: #28231f;
}

.shuffle-header-container .toggle-switch .slider::before {
  content: "";
  position: absolute;
  width: 1.375rem;
  height: 1.375rem;
  background-color: #fff;
  border-radius: 50%;
  top: 0.31rem;
  left: 0.35rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.5s ease-in-out;
}

.shuffle-header-container
  .toggle-switch
  input[type="checkbox"]:checked
  + .slider::before {
  transform: translateX(3.3rem);
  background-color: #f2c143;
}

.shuffle-header-container
  .toggle-switch
  input[type="checkbox"]:not(:checked)
  + .slider::before {
  transform: translateX(0);
  background-color: #fff;
}

.shuffle-header-container .toggle-switch span {
  font-weight: 480;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #bbb;
  font-style: normal;
  text-transform: uppercase;
  transition: color 0.5s ease-in-out;
}

.shuffle-header-container .toggle-switch span:first-child {
  color: #000;
}

.shuffle-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column;
  margin: 3rem 0 0 0;
}

.shuffle-image-container .images-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding-bottom: 2rem;
}
/* Variant 2 */
.images-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.project {
  display: block;
  position: relative;
  width: 100%;
  height: 55rem;
  overflow: hidden;
}
.house-image {
  position: absolute;
  width: 100%;
  height: 100%;
}
.house-image.visible {
  opacity: 1;
  z-index: 1;
}

.shuffle-button-container {
  position: absolute;
  top: 21.7rem;
  width: 7rem;
  height: 7rem;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.5s ease-in-out;
}
.shuffle-button-container .button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shuffle-button-container .button img {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

.shuffle-button-container .button span {
  color: #28231f;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.00625rem;
  letter-spacing: 0.00875rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-family: "VELUX Transform Variable", sans-serif;
}

.shuffle-footer {
  padding: 1.25rem;
  width: 100%;
  display: flex;
  justify-content: center;
  /* position: absolute; */
  /* bottom: 6rem; */
}
.shuffle-footer .project-button {
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: #f6f4f1;
  color: #8c8884;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.00625rem;
  letter-spacing: 0.00875rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-family: "VELUX Transform Variable", sans-serif;
  transition: background-color 600ms ease-out, color 600ms ease-out;
}

.shuffle-footer .project-button.active {
  background-color: #ffffff;
  color: #28231f;
  /* font-size: 0.875rem; */
  font-style: normal;
  font-weight: 600;
  line-height: 1.00625rem;
  letter-spacing: 0.00875rem;
  font-family: "VELUX Transform Variable", sans-serif;
  text-transform: uppercase;
}
@media (max-width: 2450px) {
  .project {
    height: 50rem !important;
  }
  .shuffle-button-container {
    top: 19.7rem;
    width: 6rem;
    height: 6rem;
  }
  .shuffle-button-container .button img {
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.775rem;
  }
}
@media (max-width: 2280px) {
  .shuffle-main-container {
    height: 74rem;
  }
  .project {
    height: 47rem !important;
  }
  .shuffle-button-container {
    top: 18.7rem;
    width: 6rem;
    height: 6rem;
  }
  .shuffle-button-container .button img {
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.775rem;
  }
}
@media (max-width: 2100px) {
  .shuffle-main-container {
    height: 68rem;
  }
  .project {
    height: 42rem !important;
  }
  .shuffle-button-container {
    top: 16.7rem;
    width: 6rem;
    height: 6rem;
  }
  .shuffle-button-container .button img {
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.775rem;
  }
}
@media (max-width: 1920px) {
  .shuffle-main-container {
    height: 64.5rem;
  }
  .project {
    height: 37rem !important;
  }
  .shuffle-button-container {
    top: 14.7rem;
    width: 6rem;
    height: 6rem;
  }
  .shuffle-button-container .button img {
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.775rem;
  }
}
@media (max-width: 1440px) {
  .shuffle-main-container {
    width: 100%;
    padding: 0 0rem;
    height: 64.5rem;
  }
  .project {
    height: 37rem;
  }
  .shuffle-button-container {
    top: 12.7rem;
    width: 7rem;
    height: 7rem;
  }
}
@media (max-width: 1300px) {
  .project {
    height: 33rem !important;
  }
  .shuffle-button-container {
    top: 11.7rem;
    width: 6rem;
    height: 6rem;
  }
  .shuffle-button-container .button img {
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.775rem;
  }
}
@media (max-width: 1100px) {
  .project {
    height: 28rem !important;
  }
  .shuffle-button-container {
    top: 9.7rem;
    width: 5.5rem;
    height: 5.5rem;
  }
  .shuffle-button-container .button img {
    width: 1.2rem !important;
    height: 1.2rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.7rem;
  }
  .shuffle-main-container {
    height: 57.5rem;
  }
}
@media (max-width: 1000px) {
  .shuffle-header-container h1
  {
    width: 80%;
  }
  .project {
    height: 27rem !important;
  }
  .shuffle-button-container {
    top: 8.7rem;
    width: 5rem;
    height: 5rem;
  }
  .shuffle-button-container .button img {
    width: 0.9rem !important;
    height: 0.9rem !important;
  }
  .shuffle-main-container {
    height: 53.5rem;
  }
}
@media (max-width: 900px) {
  .project {
    height: 24rem !important;
  }
  .shuffle-button-container {
    top: 7.7rem;
    width: 4.5rem;
    height: 4.5rem;
  }
  .shuffle-button-container .button img {
    width: 0.8rem !important;
    height: 0.8rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.6rem;
  }
  .shuffle-main-container {
    height: 49.5rem;
  }
}
@media (max-width: 800px) {
  .project {
    height: 21rem !important;
  }
  .shuffle-header-container h1
  {
    width: 70%;
    font-size: 2rem !important;
    line-height: 2.8rem;
  }
  .shuffle-button-container {
    top: 6.5rem;
    width: 4.25rem;
    height: 4.25rem;
  }
  .shuffle-button-container .button img {
    width: 0.8rem !important;
    height: 0.8rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.6rem;
  }
  .shuffle-main-container {
    height: 43.5rem;
  }
}
@media (max-width: 700px) {
  .shuffle-button-container {
    top: 6.25rem;
    width: 3.75rem;
    height: 3.75rem;
  }
  .shuffle-header-container h1
  {
    width: 80%;
  }
  .project {
    height: 19rem !important;
  }
  .shuffle-button-container .button img {
    width: 0.8rem !important;
    height: 0.8rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.5rem;
    margin-top: 0.25rem;
  }
  .shuffle-main-container {
    height: 40.5rem;
  }
}
@media (max-width: 600px) {
  .shuffle-button-container {
    top: 5rem;
    width: 3rem;
    height: 3rem;
  }
  .shuffle-header-container h1
  {
    width: 90%;
  }
  .project {
    height: 16rem !important;
  }
  .shuffle-button-container .button img {
    width: 0.7rem !important;
    height: 0.7rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.5rem;
    margin-top: 0.2rem;
  }
  .shuffle-main-container {
    height: 38.5rem;
  }
}
@media (max-width: 500px) {
  .shuffle-button-container {
    top: 4rem;
    width: 3.25rem;
    height: 3.25rem;
  }
  .shuffle-header-container h1
  {
    width: 90%;
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .project {
    height: 14rem !important;
  }
  .shuffle-footer .project-button {
    border: none;
    padding: 0.8rem 1.25rem;
    cursor: pointer;
    background: #f6f4f1;
    color: #8c8884;
    font-size: 0.75rem;
  }
  .shuffle-button-container .button img {
    width: 0.6rem !important;
    height: 0.6rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.45rem;
    margin-top: 0.2rem;
  }
  .shuffle-main-container {
    height: 34.5rem;
  }
}
@media (max-width: 450px) {
  .shuffle-button-container {
    top: 3.5rem;
    width: 3.75rem;
    height: 3.75rem;
  }
  .shuffle-header-container h1
  {
    width: 90%;
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .project {
    height: 13rem !important;
  }
  .shuffle-button-container .button img {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.625rem;
    margin-top: 0.1rem;
  }
  .shuffle-main-container {
    height: 32.5rem;
  }
}
@media (max-width: 400px) {
  .shuffle-button-container {
    top: 3rem;
    width: 3.75rem;
    height: 3.75rem;
  }
  .shuffle-header-container h1
  {
    width: 70%;
    font-size: 1.3rem;
    line-height: 2rem;
  }
  .shuffle-header-container h1 {
    font-size: 1.3rem !important;
    font-style: normal;
    font-weight: 360;
    line-height: 130%;
  }
  .shuffle-footer .project-button {
    border: none;
    padding: 0.675rem 1rem;
    cursor: pointer;
    background: #f6f4f1;
    color: #8c8884;
    font-size: 0.65rem;
  }
  .project {
    height: 12rem !important;
  }
  .shuffle-button-container .button img {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }

  .shuffle-button-container .button span {
    color: #28231f;
    text-align: center;
    font-size: 0.625rem;
    margin-top: 0.1rem;
  }
  .shuffle-main-container {
    height: 30.5rem;
  }
}
@media (max-width: 380px){
  .shuffle-footer .project-button {
    border: none;
    padding: 0.675rem 1rem;
    cursor: pointer;
    background: #f6f4f1;
    color: #8c8884;
    font-size: 0.7rem;
    font-weight: 480;
  }
  .shuffle-button-container {
    top: 2rem;
  }
}

@media (max-width: 400px){
  .shuffle-footer .project-button {
    border: none;
    padding: 0.6rem .9rem;
    cursor: pointer;
    background: #f6f4f1;
    color: #8c8884;
    font-size: 0.6rem;
    font-weight: 480;
  }
  .shuffle-button-container {
    top: 2rem;
  }
}