body {
    text-align: center;
    color: #000;
    text-align: center;
    font-family: Plain, sans-serif;
    font-size: 16pt;
    font-weight: 100;
    line-height: normal;
    background-color: #deffe7;
}

img {
    padding-bottom: 1rem;
    width: 330px;
    height: 490px;
}

h1 {
    color: blue;
    font-style: italic;
    font-size: 46pt;
    margin: 0;
    padding-top: 3rem;
}

h2 {
    font-size: 26pt;
}

a {
    color: #000;
    text-decoration: none;
}

.titre_subpage h3 {
    padding-top: 5rem;
}

h4 {
    font-size: 12pt;
    margin: 0;
    /*margin-block-start: 0;
    margin-block-end: 0;*/
}

p {
    margin: 0;
    margin-top: 1rem;
    font-size: 14pt;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: blue;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    font-weight: bolder;

}

.subnav {
    display: flex;
    gap: 0.5rem;

}

main {
  padding-top: 80px; /* prevents content hiding under fixed nav */
  display: flex;
  justify-content: center;
}


.row {
  display: grid;
  grid-template-columns: 1fr; /* 1 column by default (phones) */
  gap: 1rem;
  width: 90%;
  max-width: 1000px; /* optional – limits gallery width */
  background-color: tomato; /* just for visibility */
  padding: 1rem;
  box-sizing: border-box;
}

.row img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

@media (min-width: 760px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
  }
}




/* .image {
    opacity: 1;

}

.image:hover {
    opacity: 0.2;
} */