@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don’t have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --primary-color: #1e3a8a;
  --primary-hover: #1e40af;
  --accent-color: #2d383a;
  --accent-hover: #485a5e;
  --bg-color: #f1f1f1;
  --bg-secondary: #f9f9f9;
  --bg-tertiary: #f5f5f5;
  --text-color: #2d383a;
  --text-secondary: #e5e5e5;
  --text-muted: #666;
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
  --footer-bg: #111;
  --cta-bg: #1a1a1a;
  --container-max-width: 70rem;
  --container-width: 90%;
  --section-spacing: clamp(2rem, 0.9437rem + 4.507vw, 5rem);
  --card-padding: 1.5rem 2rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #2d383a;
    --primary-hover: #60a5fa;
    --accent-color: #ef626c;
    --accent-hover: #ee7d85;
    --bg-color: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #262626;
    --text-color: #e5e5e5;
    --text-secondary: var(--primary-color);
    --text-muted: #737373;
    --border-color: #333;
    --card-bg: #1a1a1a;
    --footer-bg: #000;
    --cta-bg: #000;
  }
}
body {
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent-color);
  font-size: 1.4rem;
  text-decoration: none;
}
a p {
  font-size: 1rem;
}
a:hover {
  color: var(--accent-hover);
}
a:hover p {
  color: var(--text-muted);
}

p a {
  color: inherit;
  opacity: 0.5;
  font-size: 1rem;
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1em;
}

.container {
  margin: 0 auto;
  max-width: var(--container-max-width);
  width: var(--container-width);
}

section {
  padding: var(--section-spacing) 0;
}

p {
  color: var(--text-color);
}

.accent-text {
  color: var(--accent-color);
}

.btn--primary {
  display: inline-block;
  padding: 1em 2em;
  text-decoration: none;
  background-color: var(--accent-color);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.btn--primary:hover {
  background-color: var(--accent-hover);
}

header {
  position: relative;
}
header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  max-height: 4rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}
header .logo__company-name {
  font-size: 2rem;
  font-weight: 900;
}
header .logo svg {
  height: 4rem;
  width: auto;
}

footer {
  text-align: center;
}

.projects__list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
.projects__list li {
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.project-screenshot {
  max-height: 375px;
  overflow: hidden;
  width: auto;
}
.project-screenshot img {
  width: 100%;
  height: auto;
}

@media (min-width: 48rem) {
  .projects__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
  }
}