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

@font-face {
  font-family: inter;
  src: url("../assets/Inter-VariableFont_opsz\,wght.ttf");
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background-image: url(../assets/blurry-gradient-haikei.png);
  background-repeat: no-repeat;
  background-size: 300%;
}

.phone {
  width: 375px;
  height: 650px;
  border-radius: 45px;
  background-color: black;
  padding: 12px;
  box-shadow: 0 20px 40px 0px black;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  gap: 10px;
}

.logo {
  height: 40px;
  display: block;
}

/* icons bij de header */
.icon-link {
  text-decoration: none;
}

.material-symbols-outlined {
  color: black;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  transition: 0.5s;
}
.material-symbols-outlined:visited {
  color: black;
}

.material-symbols-outlined:hover {
  color: rgb(203, 16, 16);
  font-variation-settings: "FILL" 1;
}

.stories {
  padding: 15px 15px;
  display: flex;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: flex-start;
  touch-action: pan-x;
}

.stories::-webkit-scrollbar {
  height: 8px;
}

.stories::-webkit-scrollbar-track {
  background: white;
  border-radius: 4px;
}

.stories::-webkit-scrollbar-thumb {
  background: lightgray;
  border-radius: 4px;
}

.stories::-webkit-scrollbar-thumb:hover {
  background: lightgray;
}

@media (max-width: 500px) {
  .stories::-webkit-scrollbar {
    display: none;
  }
}

.gradient {
  background: #fcaf3c;
  background: linear-gradient(
    45deg,
    rgba(252, 175, 60, 1) 0%,
    rgba(250, 11, 95, 1) 71%,
    rgba(252, 175, 60, 1) 100%
  );
  border-radius: 100%;
  width: 95px;
  position: relative;
  aspect-ratio: 1/1;
  padding: 3px;
}

.story {
  flex: 0 0 auto;
  text-align: center;
  width: 72px;
}

.story img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 100%;
  object-fit: cover;
  object-position: center center;
  /* top:2px;
  left:2px; */
  aspect-ratio: 1/1;
}
.story p {
  margin-top: 6px;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: inter;
}

.posts {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 2em;
}

.slider {
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-marker-group: after;
  margin-block-end: 3em;

  &::scroll-marker-group {
    /* Space the markers apart */
    display: flex;
    gap: 10px;

    /* Anchor it horizontally */
    justify-content: center;
  }
  .post::scroll-marker {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid black;
  }

  .post::scroll-marker:target-current {
    background: rgb(250 25 91);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .slider {
    scroll-behavior: smooth;
  }
}

.slider::-webkit-scrollbar {
  height: 8px;
}

.slider::-webkit-scrollbar-track {
  background: white;
  border-radius: 4px;
}

.slider::-webkit-scrollbar-thumb {
  background: lightgrey;
  border-radius: 4px;
}

.slider.stories::-webkit-scrollbar-thumb:hover {
  background: lightgray;
}

.slider::-webkit-scrollbar {
  display: none;
}

.post {
  min-width: 100%;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex: 0 0 100%;
  scroll-snap-align: center;
  font-family: inter;
}

.post img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.locatie {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: black;
  font-family: inter;
}

@media (max-width: 500px) {
  body {
    padding: 0;
  }
  .phone {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  .phone::before {
    display: none;
  }
  .screen {
    border-radius: 0;
    height: 100vh;
  }
  .header {
    padding-left: 14px;
    padding-right: 14px;
  }
  .stories {
    padding-left: 14px;
    padding-right: 14px;
  }
  .post {
    padding-left: 14px;
    padding-right: 14px;
  }
}
