/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}



/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

:root{
  --margin: 1rem
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Increase line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  font-family: helvetica, sans-serif;
  font-weight: regular;
  font-size: 10px; 
  background-color: white;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-size: inherit; 
  font-weight: inherit;
  line-height: inherit;
}


/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


#openlist{
  all: unset;
  cursor: pointer;
  display: none;

;}



.main{
margin: 1.2rem var(--margin);
display: inline-block

}

.intro{
  display: inline-block;

}

a{
  color: inherit;
  text-decoration: none;
}


details{

    position: relative;

    list-style: none;
  
}

details>summary::-webkit-details-marker {
  display: none;
}

details[open] > summary {
text-decoration: underline; 

 
}

#title[open] > summary {
  text-decoration: none; 
}

summary::before {

  content: none;
}

#title[open] > summary::before {
    content: none;
}

summary:hover::before {

}

summary:hover, a:hover{
  text-decoration: underline;
  }
  

summary{
  all:unset;
  white-space: nowrap;
      cursor: pointer;
      position: relative;
      z-index:9999
}
summary::marker {
  content: "";
}


/* Safari-specific */
summary::-webkit-details-marker {
  display: none;
}

.swiper {
  position: fixed;
  top: 0;
  left: 0;
 opacity: 0;
  width:100%;
  z-index: 0;
  height: 0!important;
  overflow: hidden;
}

.swiper-wrapper{
  height:100dvh;
}

details[open] + div.swiper{
opacity: 1;
  height: 100dvh!important;
  transition: opacity 0.6s ease-out;
  -webkit-transition: opacity 0.6s ease-out;
  -moz-transition: opacity 0.6s ease-out;
  -o-transition: opacity 0.6s ease-out; 
   }


.swiper-slide{
    display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
width:100%;
height:100%;

 
}


.swiper-button-next, .swiper-button-prev{
opacity:0;  z-index: 9999;
  height: 100%;
  width: 50vw;
position: absolute;
top:0!important;
}

.swiper-button-next{
  right: 0;
  cursor:e-resize;
    }

.swiper-button-prev{
  left: 0;
  cursor:w-resize;
    }

.swiper-pagination{
  width:auto;
  left: var(--margin);
  position: fixed;
  bottom: 2rem;
  display: none;
}



img{
padding-top:1rem;   
 width: 70vw;
    height: 70vh;
    max-width: 1500px;

  object-fit: contain;
  
}

@media (max-width: 700px) {
body{
  font-size:1.7vh;
}


:root{
  --margin: 1rem
}

.main{
  margin: .8rem var(--margin)
}

.swiper-button-next, .swiper-button-prev{
  display: none;
}

nav, .intro, summary{


}
  img {

    width: 100%;
    padding: 0 var(--margin);
        padding-top: 4rem;
  }

#openlist{
  display: flex;
  width: calc(100vw - 2*var(--margin));
  justify-content: space-between;
}

details{
  pointer-events: none;}


#openlist::after{
content: "\20+"}

.closed::after{
content: "\20–"!important}

  summary{
    pointer-events: none;
  opacity: 0;
  list-style: none;
  transition: none

  }

 summary{
margin-left: var(--margin);
  }

  #title summary{
    pointer-events: auto;
  opacity: 1;
margin-left: 0;}
  

 



  .open{
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.2s ease;
  }
.swiper-pagination{
  display: block;
  }

.hidden{
  display: none;  }
}
