body {
  overflow: hidden;
}

a {
  width: fit-content !important;
  margin: 0 auto;
}

.wrapper {
  height: 100%;
  /* overflow-y: hidden; */
  overflow-x: hidden;
  perspective: 7px !important;
  width: 100%;
}

/* HALF SECTIONS */
.half-section {
  height: 100%;
  width: 100%;
}

.half-article {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  width: 100%;
  height: 100%;
}

.img-half-display-con {
  width: 100%;
  /* height: 100%; */
  margin-bottom: 0;
  padding-bottom: 0;
}

.flavours-description-con {
  padding-bottom: 0;
}

.flavours-description-con {
  padding-bottom: 0;
  margin-bottom: 0;
}

.col-1 {
  grid-column: 1;
  align-items: flex-end !important;
  padding-right: 100px;
  order: 1;
}

.col-2 {
  grid-column: 2;
  padding-left: 100px;
  order: 2;
  align-items: left !important;
}

.img-col-1 {
  grid-column: 1;
  order: 1;
  width: 100%;
}

.img-col-2 {
  order: 2;
  grid-column: 2;
  width: 100%;
}

.img-half-display-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.half-description-con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.half-description-content {
  display: flex;
  width: 380px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.half-content-heading {
  text-align: center;
  text-transform: uppercase;
  color: var(--black);
  line-height: 35px;
  font-weight: bold;
}

.half-content-subheading {
  color: var(--black);
  font-family: var(--font-cursive);
  text-transform: initial;
}

.half-content-description {
  text-align: center;
  margin-top: 50px;
  color: var(--black);
  margin-bottom: 50px;
}

a > .half-content-btn {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.half-content-btn {
  margin: 50px auto 0 auto;
}

.center-text-div,
.hero-center-text-div {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%; /* CHANGE THIS FOR Y VALUE OF IT'S POSITION IN CONTAINER */
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
}

.center-text-heading,
.hero-center-text-heading {
  font-weight: bold;
  margin: 25px 0;
  letter-spacing: 20px;
}

.center-text-span {
  font-size: 35px; /* BIGGER SPAN FONT SIZE */
}

/* PARALLAX */
.parallax-section {
  height: 550px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-10px) scale(2);
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
}

.background,
.foreground {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.parallax-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.parallax-article {
  height: 100%;
  width: 100%;
  position: relative;
}

/* BUTTONS */
.menu-btn {
  width: 180px;
  height: 50px;
  border: 3px solid var(--white);
  color: var(--white);
  background: transparent;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 auto;
  cursor: pointer;
}

.menu-btn > a {
  color: var(--white);
}

.black-menu-btn {
  border: 3px solid var(--black);
  color: var(--black);
}

.black-menu-btn > a {
  color: var(--black);
}

.menu-btn:hover {
  background: var(--black);
  color: var(--white);
  border: none;
  transition: all 500ms ease;
}

/* HERO SECTION */
.hero-section {
  height: calc(100vh - 135px); /* MINUS THE NAV BAR HEIGHT */
  background: var(--yellow);
  position: relative;
}

.hero-description-con {
  top: 65%;
}

.ice-cream-hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* SLIDESHOW */
.slideshow-heading {
  text-align: center;
  margin-top: 40px;
  color: var(--black);
}
.slider {
  height: auto;
}

.container {
  width: 100%;
  background: var(--white);
  padding-top: 5px;
  margin: auto;
}

.slideshow-heading {
  margin-bottom: 20px;
  text-transform: uppercase;
}

.slide-img {
  width: 100%;
  height: 430px;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.slide-img:hover {
  box-shadow: 0 0 0 300px rgba(0, 0, 0, 0.32) inset;
}

.control-btn {
  position: absolute;
  z-index: 600;
  background: none;
  border: none;
  top: 50%;
  cursor: pointer;
  transform: translate(0, -50%);
}

.previous {
  left: 20px;
}

.next {
  right: 20px;
}

.slide-img a {
  text-align: center;
  text-decoration: none;
  transition: 0.8s;
  opacity: 0;
  color: var(--white);
  font-size: 20px;
}

.slide-img:hover a {
  opacity: 1;
  transform: scale(1);
}

/* SLIDESHOW MODAL */
.slider-modal {
  background: rgba(0, 0, 0, 0.32);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.slider-wrapper {
  position: relative;
}

.slider-modal-sub-con {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
}

.container-modal {
  width: 50%;
  height: 50%;
}

.controls-modal {
  display: block !important;
  z-index: 1000;
}

.slider-wrapper-modal {
  width: 100%;
  height: 100%;
}

.my-slider-modal {
  /* SIZE OF MODAL */
  width: 75%;
  height: 65%;
  position: relative;
}

.swiper-slide {
  width: 100% !important;
}

.my-slider-modal-slide {
  width: 100%;
  height: 100%;
  display: none;
  grid-template-columns: 65% 35%;
  grid-template-rows: 1fr;
}

.previous-modal {
  left: -40px;
  color: var(--white);
}

.next-modal {
  color: var(--white);
  right: -40px;
}

.slideshow-img {
  background-image: url('/projects/icecreamProject/images/Slideshow/slideshowImg1.jpg');
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  grid-column: 1;
  grid-row: 1;
}

.slideshow-description {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
  background: var(--white) !important;
  height: 100%;
}

.main-description-con {
  grid-column: 2;
  grid-row: 1;
  margin-top: 80px;
}

.close-slider-modal-btn {
  display: none;
}

.top-description {
  display: flex;
  align-items: center;
  height: auto;
  padding: 20px;
  width: 100%;
  color: var(--black);
  border-bottom: 1px solid grey;
}

.profile-img {
  width: 40px;
  height: 40px;
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 50%;
  background: rgb(216, 216, 216);
}

.top-description > p {
  color: var(--black);
}
.top-description > p > span {
  font-size: 14px;
  color: var(--grey);
}

.main-description {
  margin-top: 20px;
  font-size: 12px;
  color: var(--black);
  letter-spacing: 0.1px;
  margin-left: 25px;
}

.description-weeks {
  margin-top: 10px;
  color: var(--black);
  font-size: 12px;
  margin-left: 20px;
}

.img {
  display: flex;
  justify-content: center;
}

.close-modal-btn {
  position: absolute;
  top: calc(20px + 10px);
  right: 20px;
  padding: 0;
  margin: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 35px;
  display: flex;
  background: var(--transparent);
  border: none;
  line-height: 0;
}

.close-slider-modal-btn {
  color: var(--black);
  text-align: right;

  font-size: var(--35px);
}

.slider-gallery {
  display: none;
  background: var(--white);
  padding-top: 20px;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.slider-gallery-con {
  width: 100%;
  display: grid;
  grid-gap: 3px;
  grid-template-columns: repeat(2, 1fr);
}

.load-more-images-btn {
  width: 200px;
  height: 60px;
  border: 1px solid var(--black);
  margin: 50px;
  text-align: center;
  background: none;
  color: var(--black);
  padding: 10px;
}

.slider-gallery-con > img {
  width: 100%;
}

@media only screen and (min-width: 1024px) {
  .ice-cream-hero-img {
    height: 80%;
  }
  .center-text-heading {
    font-size: var(--64px);
  }
}

@media only screen and (min-width: 801px) and (max-width: 1023px) {
  .ice-cream-hero-img {
    height: 80%;
  }

  .hero-main-span {
    font-size: var(--35px);
  }

  .center-text-heading {
    font-size: var(--64px);
  }

  .hero-description-con {
    top: 50%;
  }
}

/* MEDIA QUERIES */
@media only screen and (min-width: 320px) and (max-width: 800px) {
  .half-article {
    display: flex;
    align-items: center;
    height: fit-content !important;
    flex-direction: column;
    grid-template-columns: unset;
  }

  .half-description-content {
    width: 400px;
  }

  .ice-cream-hero-img {
    height: 80%;
  }

  .half-description-con {
    order: 1;
    padding: 0;
    padding: 40px 0;
  }

  .half-content-description {
    width: 70%;
    margin: 50px auto;
  }

  .half-content-heading {
    font-size: var(--35px);
  }

  .img-half-display-con {
    order: 2;
    padding: 0;
    height: fit-content;
  }

  .center-text-heading {
    font-size: var(--50px);
  }

  .img-half-display-img {
    margin-bottom: -10px;
  }

  .parallax-con {
    transform-style: unset !important;
    height: 520px !important;
  }

  .background {
    height: fit-content;
    margin-top: 75px;
    object-fit: contain !important;
  }

  .half-section {
    height: fit-content;
  }

  .parallax-ice-cream {
    height: 400px !important;
  }

  .foreground-parallax-bkg {
    object-fit: cover !important;
  }

  .parallax-ice-cream-background {
    object-fit: cover !important;
    height: 100% !important;
  }

  .parallax-blue {
    background: var(--aqua);
  }

  .parallax-pink {
    background: var(--pink);
  }

  .center-text-div {
    height: 100%;
    width: 100%;
    padding: 20px 0 40px 0;
  }

  .center-text-heading {
    flex: 1;
    margin-top: 0px;
    letter-spacing: unset;
    font-size: var(--50px);
    width: 100%;
  }

  .hero-description-con {
    top: 50%;
  }

  .hero-center-text-heading {
    flex: unset !important;
    font-size: var(--64px);
    width: 80%;
    text-align: center;
    margin: 20px auto 50px auto;
  }

  .desserts-description-con {
    order: 2 !important;
  }

  .desserts-half-img-display-con {
    order: 1 !important;
  }

  .half-content-subheading {
    font-size: var(--30px);
  }

  .hero-article {
    height: 100%;
  }

  .slider-gallery {
    display: flex;
  }

  .slider {
    display: none;
  }

  .slider-modal {
    background: rgba(0, 0, 0, 0.32);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
  }

  .slider-wrapper {
    position: relative;
  }

  .slider-modal-sub-con {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .container-modal {
    width: 50%;
    height: 50%;
  }

  .controls-modal {
    /* display: none !important; */
    z-index: 1000;
  }

  .slider-wrapper-modal {
    width: 100%;
    height: 100%;
  }

  .my-slider-modal {
    /* SIZE OF MODAL */
    width: 100%;
    height: 100%;
    position: unset;
  }

  .my-slider-modal-slide {
    width: 100%;
    height: 100%;
    display: grid !important;
    grid-template-columns: 100%;
    grid-template-rows: 15% 60% 25%;
  }

  .previous-modal {
    left: -40px;
    color: var(--white);
  }

  .next-modal {
    color: var(--white);
    right: -40px;
  }

  .profile-img {
    display: none !important;
  }

  .slideshow-img {
    background-image: url('/projects/icecreamProject/images/Slideshow/slideshowImg1.jpg');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    order: 2;
    grid-column: 1;
    grid-row: 2;
  }

  .main-description-con {
    grid-column: 1;
    background: var(--white);
    grid-row: 3;
    margin-top: 0;
  }

  .main-description-con > p {
    color: var(--grey);
    font-size: var(--14px);
  }

  .slideshow-description {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    background: var(--white) !important;
    height: 100%;
  }

  /* .controls-modal {
    display: none;
  } */

  .close-slider-modal-btn {
    display: block;
    margin-left: auto;
    width: fit-content;
  }

  .top-description {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 20px;
    width: 100%;
    color: var(--black);
    border-bottom: 1px solid grey;
  }

  .profile-img {
    width: 40px;
    height: 40px;
    color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 50%;
    background: rgb(216, 216, 216);
  }

  .top-description > p {
    color: var(--black);
  }
  .top-description > p > span {
    font-size: 14px;
    color: var(--grey);
  }

  .main-description {
    margin-top: 20px;
    font-size: 12px;
    color: var(--black);
    letter-spacing: 0.1px;
    margin-left: 25px;
  }

  .description-weeks {
    margin-top: 10px;
    color: var(--black);
    font-size: 12px;
    margin-left: 20px;
  }

  .img {
    margin-left: auto;
  }

  .close-modal-btn {
    position: absolute;
    top: calc(20px + 10px);
    right: 20px;
    padding: 0;
    margin: 0;
    color: var(--white);
    cursor: pointer;
    font-size: 35px;
    display: flex;
    background: var(--transparent);
    border: none;
    line-height: 0;
  }
}

@media only screen and (min-width: 801px) and (max-width: 1000px) {
  .col-1 {
    padding-right: 20px !important;
  }
  .col-2 {
    padding-left: 20px !important;
  }
  .img {
    margin-left: auto;
  }

  .my-slider-modal-slide {
    grid-template-columns: 55% 45%;
  }
}

@media only screen and (min-width: 1400px) {
  .my-slider-modal {
    width: 65%;
  }
}

@media only screen and (min-width: 1000px) {
  .img {
    margin-left: auto;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1100px) {
  .profile-img {
    display: none;
  }
}

@media only screen and (min-width: 500px) and (max-width: 800px) {
  .half-description-content {
    width: 500px;
  }
}