@font-face {
    font-family: Sans;
    src: url(../assets/DM_Sans/DMSans-VariableFont_opsz\,wght.ttf);
}

/* General Reset */
html {
    scrollbar-width: thin;
    scroll-behavior: smooth;
    /* change to auto to give js full controll over scrolling effects */
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

body {
    background: #FFF;
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    height: 70vh;
    padding: 3rem 2rem;
}
.slide {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 5px;
}
.slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: brightness(70%);
}
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    display: grid;
    place-items: center;
}
.overlay h4 {
    width: fit-content;
    font-family: "Sans";
    font-size: 14px;
    font-weight: 500;
    color: #111;
    background: #d9d9d9;
    padding: 10px 30px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 1rem;
    user-select: none;
}
.overlay h2 {
    width: 80%;
    font-family: "Sans", sans-serif;
    font-size: 8vh;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1.2px;
    color: white;
    /* color: var(--color-primary); */
    text-transform: capitalize;
    margin-bottom: 3rem;
    text-align: center;
}
.overlay p {
    width: 50%;
    font-family: "inter", sans-serif;
    font-size: 14px;
    text-align: center;
    color: white;
    text-transform: capitalize;
}

/* Main Content */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

main section {
  margin-bottom: 2rem;
}

main h2 {
  font-size: 1.5rem;
  color: #111;
  margin-bottom: 0.5rem;
  font-family: Sans;
}

main p {
    font-family: "Inter", sans-serif;
}

main ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

main ul li {
  margin-bottom: 0.5rem;
  font-family: "Inter", sans-serif;
}

/* CTA Section */
#cta {
  width: 80%;
  background-color: #111;
  text-align: center;
  padding: 2rem;
  border-radius: 2px;
  margin: auto;
}

#cta h3 {
  font-size: 1.4rem;
  font-family: Sans;
  color: white;
}

#cta p {
    color: white;
    font-family: "Inter", sans-serif;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #2ecc71;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-family: Sans;
}
