html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: flex;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: Signika;
  line-height: 1.4;
  margin: 0;
  padding: 0 10%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #ede8f5;
  color: #333;
}

.navbar {
  display: flex;
  width: 100%;
  padding: 0 10px;
  border-radius: 10px;
}

.navbar ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 20px;
  width: 100%;
}

.list-logo {
  margin-right: auto;
}

.navbar li:not(.list-logo) img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.navbar .list-logo img {
  width: 55px;
  height: auto;
  margin-top: 5px;
}

.navbar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.navbar a:not(.list-logo a) {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
}

.navbar a:hover {
  opacity: 0.8;
}

header {
  display: flex;
  flex-direction: column;
  margin-top: 150px;
}

h1 {
  font-size: 60px;
  margin-bottom: 30px;
  letter-spacing: 7px;
  position: relative;
}

.intro-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease-out, transform 2s ease-out;
  will-change: opacity, transform;
}

.intro-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.header-paragraph {
  font-weight: 10;
  font-size: 24px;
  letter-spacing: 3px;
}

.header-paragraph {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.header-paragraph.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 1440px;
  margin-top: 200px;
}

.gallery-image {
  display: flex;
  flex-direction: column;
}

/* First column images - align left edge */
.gallery-image:nth-child(odd) {
  align-items: flex-start; /* Left-align odd items */
}

/* Second column images - align right edge */
.gallery-image:nth-child(even) {
  align-items: flex-end; /* Right-align even items */
}

.gallery-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-caption {
  width: 100%;
  max-width: 350px;
  font-size: 40px;
  display: flex;
  justify-content: flex-start;
  font-size: 36px;
  letter-spacing: 3px;
  margin: 80px 0px 80px 60px;
}

.gallery-image:hover img {
  transform: scale(1.02);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 100;
  margin-top: 250px;
}

.footer-list {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.footer li:first-child {
  margin-right: auto;
}

.footer li:not(.list-logo) img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer ul {
  display: flex;
  width: 100%;
}

.footer a:hover {
  opacity: 0.8;
}

@media (max-width: 430px) {
  body {
    padding: 0 20px;
    max-width: 100%;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }

  .navbar ul {
    align-items: center;
    gap: 10px;
  }

  header {
    align-items: center;
    text-align: center;
    margin-top: 100px;
  }

  h1 {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .header-paragraph {
    font-size: 18px;
    letter-spacing: 2px;
    padding: 0 10px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 100px;
  }

  .gallery-image {
    align-items: center !important;
  }

  .gallery-caption {
    justify-content: center;
    font-size: 24px;
    text-align: center;
    width: 100%;
    margin-right: 60px;
  }

  footer {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-list {
    align-items: center;
    gap: 10px;
  }
}
