@font-face {
  font-family: my-cool-font;
  src: url(src/b/OpenSans-VariableFont_wdth,wght.ttf);
}

.info {
  margin: 5rem auto;
}

#portrait, .portrait {
  width: 40rem;
    max-width: 80%;
    
	}
html {
min-height: 100vh;
font-family: my-cool-font, serif;
}

body {
min-height: 100vh;
color: #161838;
line-height: 1.5;
text-align: center;
padding: 3rem 0;
}

h1, h3 {
font-weight: 500;
}

h1 {
margin-bottom: 10px;
}
a {
margin: 2rem;
 cursor: pointer;
 text-decoration: none;
}

.nostyle {
margin: auto;
color: black
}

a, span {
color: #00000080;
}

a:nth-child(5) {
margin-right: .5rem;
}
a:nth-child(7) {
margin-left: .5rem;
}


main {
display: flex;
flex-direction: column;
align-items: center;
}
section {
max-width: 149mm;
box-sizing: content-box;
padding: 0 4rem;
margin-top: 5rem;
margin-bottom: 3rem;
text-align: left;
}


h3 {
margin-bottom: 7px;
}
section p {
margin-top: 15px;
overflow: hidden;
text-wrap: pretty;
word-break: break-word;
}


.container {
width: fit-content;
}

main a {
display: block;
}




section:hover .overlay {
opacity: 1;
}
section:hover .negative {
opacity: 0;
}

footer {
cursor: pointer;
color: #00000050;
}
.shadow {
position: absolute;
width: calc(100% - 2rem);
height: 24mm;
top:1.42rem;
left:1rem;
box-shadow: #adadad 0 3px 5px .9rem;
}
section:hover .shadow, section:hover {
box-shadow: #ffffff20 0 0px 20px 8px
}


.slider-wrapper {
max-width: 149mm;
overflow: hidden;
scrollbar-width: none; /* Hide scrollbar Firefox */
box-shadow: #00000020 0 5px 15px 5px;
display: block;
margin-left: 0;
}

@media (max-width: 156mm) {
  .info {
    width: 112mm;
  }
.slider-wrapper {
max-width: 112mm;
}
}

@media (max-width: 119mm) {
   .info {
    width: 75mm;
  }
.slider-wrapper {
max-width: 75mm;
}
}

.slider.overlay {
border-image: url(src/b/filmblack.png) 30 round;
background: #12000099;
background-clip: padding-box;

position: absolute;
opacity: 0;
}

.slider.negative {
border-image: url(src/b/film.png) 30 round;
background: #874827;
background-clip: padding-box;
pointer-events: none;
}


.slider {
min-width: max-content;
border: 1.42rem solid black;
display: flex;
border-left: 0;
border-right: 0;
margin:0;
padding: 0 1mm;
justify-content: space-between;
gap:1mm;
overflow-x: auto;
transition: opacity .7s ease-in-out;
}

.imgContainer {
width:36mm;
max-height: 24mm;
overflow: hidden;
}

.imgContainer a {
margin: 0;
padding: 0;
}

.negative .imgContainer {
background: #c58765;
}

.overlay img, .negative img {
max-width: 36mm;
mix-blend-mode: normal;
filter:brightness(100%);
}

.slider.overlay:hover img:hover {
filter: brightness(135%);
}

.negative img {
filter: invert(100%) brightness(100%) contrast(80%);
/*transition: filter ease-in-out .5s;*/
mix-blend-mode: multiply;
}

img:hover {
cursor: pointer;
}
footer {
margin-top: 45rem;

}


.news a, .mail {
margin: 0;
padding: 0;
color: blue;
text-decoration: underline;
}
