@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700&display=swap');

/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {

  /* font family */
  --ff: 'League Spartan', sans-serif;

  /* colors */
  --text-gray: hsl(240, 12%, 61%);	
  --dark-gray: hsl(0, 0%, 63%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --very-dark-gray: hsl(240, 17%, 19%);

}


/* ------------------- */
/* Reset               */
/* ------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
  transition: color 300ms ease-in-out;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  transition: color 300ms ease-in-out;
}

button,
textarea,
select {
  font: inherit;
  transition: color 300ms ease-in-out;
  cursor: pointer;
}

a {
  transition: color 300ms ease-in-out;
}

body {
  font-family: var(--ff);
  font-size: 12px;
  background-color: var(--white);

  max-width: 2000px;
    margin: 0 auto;
}


/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* cursor for all buttons */
button {
  cursor: pointer;
}

a {
  cursor: pointer;
}

/* ------------------- */
/* Utility Classes     */
/* ------------------- */

.flex {
  display: flex;
  gap: var(--gap, 1.2rem);
}


/* ------------------- */
/* Scroll container    */
/* ------------------- */

.carousel {
	max-width: 100vw
}

.scroll-container {
  padding-bottom: 1rem;
}

.scroll-section {
  position: relative;
  padding-bottom: 20px !important;	
  padding-top: 45px !important	  
}

.sec-info-cont {
  background-color: #ffffff;	
  padding: 3rem 1.5rem;
}

.sec-info-cont h1 {
  font-size: 2.2rem;
  color: var(--very-dark-gray);	
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 700;
}
.sec-info-p li {
  line-height: 1.5;
  color: var(--very-dark-gray);
  font-size: 1.125rem;
  max-width: 65ch;
}
.sec-info-cont p {
  line-height: 1.5;
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  max-width: 65ch;
}

.sec-info-cont a {
  text-decoration: none;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.8rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  transition: color 300ms ease-in-out;
}

.sec-info-cont a:hover {
  color: var(--dark-gray);
}

.sec-info-cont a img {
  transform: translateY(-20%);
  margin-left: clamp(1rem, 3vw, 4rem);
}

.img-container picture {
  height: 100%;
}

.scroll-img {
  width: 100%;
  height: 100%;
}

.img-container {
  position: relative;
}

.scroll-btns {
  position: absolute;
  z-index: 1;
  display: flex;
}

.scroll-btns button {
  border: transparent;
  background-color: var(--black);
  padding: 1rem 1.2rem;
}

.scroll-btns .scroll-img {
  background-color: var(--black);
  width: 10px;
  height: auto;
}

.scroll-btns.mobile {
  bottom: 0;
  right: 0;
}

.scroll-btns.desktop {
  display: none;
}

@media (min-width: 1000px) {
  .scroll-container {
    padding-bottom: 0rem;
  }

  .scroll-section {
    display: flex;
    height: 100%;
  }

  .img-container {
    flex: 2;
    position: static;
  }

  .sec-info-cont {
    flex: 1;
    padding: 5rem 5rem;
    position: relative;
    min-height: 33rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .sec-info-cont h1 {
    font-size: 2.5rem;
  }

  .sec-info-cont a {
    margin-bottom: 4rem;
  }

  .scroll-btns.mobile {
    display: none;
  }

  .scroll-btns.desktop {
    display: flex;
    left: 0;
    bottom: 0;
  }

  .scroll-btns button {
    padding: 1.5rem clamp(1.9rem, 2.2vw, 2.28rem);
  }
  
  .scroll-btns .scroll-img {
    width: 14px;
  }
}
#counter-div {
  display: flex;
  bottom: 0;
  position: absolute;
  z-index: 1;
  right: 5%;
}
