summaryrefslogtreecommitdiff
path: root/sass/components/_screenshot-container.scss
blob: f3fdf0bf8c3f2606e1ba9e3de42a113105dfb986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@use "../abstracts/" as *;

.project-screenshot {
  border-radius: $radius-text-container;
  outline: 5px solid $text-special-dark;
  outline-offset: 1.5rem;
  object-fit: scale-down;
  width: 40%;
  transition: transform 0.6s ease;

  &:hover {
    transform: scale(1.2);
    z-index: 100;
  }
}

// mobile to smaller laptop screen sizes
@media screen and (max-width: 1380px) {
  .project-screenshot {
    width: 80%;
  }
}