:root {
    /* @property --rotateX {
        syntax: '<angle>';
        initial-value: -2deg;
        inherits:false;
    } */
    --roatation: rotateX(-2deg) rotateY(0deg) rotateZ(0deg);
}
/* ----- fonts and body ----- */
@font-face {
    font-family: "Cantarell";
    src: url("/storage/fonts/Cantarell-VF.otf");
}
body {
    
    background-position:top;
    background-color: rgb(40, 39, 41);
    background-repeat:repeat-y;
    background-image: url(inspiration_images/bg.JPG);
    color: rgb(255, 255, 255);
    font-family: "Cantarell", "Nimbus Sans", sans-serif;
    font-size: 22.5px;
    position: relative;
    line-height: 1.5;
    letter-spacing: 0.029em;
    font-weight: 550;
}

:focus {
    outline:4px dashed rgb(241, 234, 234);
}

a {
    color: #efc52d;
    text-decoration: underline 2px rgb(211, 165, 85);
}
a:visited {
    color: #f18826;;
}




/* ----- navigation layout ----- */
.left-nav {
    max-height: 450px;
    align-items: center;
    min-width: 220px;
    margin-right: 22px;
    
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
   
}
@media only screen and (min-width: 880px) {
    .left-nav {
       align-items: start;
       margin-left: 11%;
       margin-top: 3em;
    }
}
@media only screen and (max-width: 880px) {
    .left-nav {
        padding-top: 20px;
        margin: 0px 14%;
    }
}
.left-nav__list {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: end;
    flex-wrap: wrap-reverse;
    margin-bottom: 0px;
}
.left-nav__block {
    background-color: #d28c78; 
    border-top: 4px dotted;
    border-bottom: 4px dotted;
    border-color: #fff;
    margin: 2px 5px 0px 4px;
    position: relative;
    /*display: flex; make ribbon appear below text, looking like an ornamental gift or cake*/
    height: 45%;
    border-radius: 5px 5px 0px 0px;
    
}


@media only screen and (max-width: 880px) {
    .left-nav__block {
        margin-right: 2px;
    }
}

.left-nav__link, .left-nav__link:visited {
    padding: 4px;
    display: block;
    color: #fefeee;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-shadow: #9e3e47 0.5px 0.5px 3px;
    transition: margin-top 1s ease-out;
    
}
.left-nav__link:hover {
    margin-top: -8px;
    
}

.left-nav__spooky-block {
    background-color:#790628;
    border-top: 4px dotted;
    border-bottom: 4px dotted;
    border-color: #ffb2da;
    margin: 2px 2px 0px 4px;
    position: relative;
    
    transition: background-color 2s, border-top 2s, border-bottom 2s, border-color 2s;
}
.left-nav__spooky-block:hover {
    background-color: black;
    border-top: 4px solid;
    border-bottom: 4px solid;
    border-color: #3EE77B;
}
.left-nav__spooky-link, .left-nav__spooky-link:visited {
    padding: 4px;
    display: block;
    color: #d7d3f5;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: color 2s;
}
.left-nav__spooky-link:hover, .left-nav__spooky-link:visited:hover {
    color: #3EE77B;
}
/*
.left-nav__item:focus {
    outline:4px solid #ff78a3;
}
*/





/* ----- header things ----- */

main {
    max-width: 70%;
    margin: 0px auto;
    padding: 40px 5% 20px 5%;
    color: rgb(255, 255, 255);
    background-color: #f49595;
    border-radius: 3px;
    font-size: 20px;
    font-weight: 600;
    background-image: url("/storage/images/roesbudtrelbgmuted.gif");
    background-repeat: repeat;
}
h1 {
    text-align: center;
    text-decoration: underline solid 2px;
    font-size: 3em;
    text-shadow: 1px 1px 5px #add3f4;
    margin-top: 10px;
}

h2 {
    color: rgb(161, 81, 104);
    text-decoration: underline 7px;
    text-underline-offset: 8px;
    text-align: center;
}
h3 {
    color: #fcfcc6;
    background-color: #ffb2da;
    text-shadow: #9e3e47 2px 2px 5px;
}
.ribbonhr {
    background: url("/storage/images/ribbonhr.png") center repeat no-repeat;
    height: 70px;
}
p {
    text-align: center;
    text-shadow: 1px 1px 5px #f4d5ad;
}
.opening_picture {
    display: flex;
}
.header_holder {
    width: 10%;
}
.camera_divider_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.camera_divider {
    background-color: #fcfcc6;
    max-width: 45%;
    margin: 0px auto;
    padding: 0px 10px;
    font-size: 19;
    font-weight: 500;
}
.camera_name {
    font-weight:100;

}
.camera_name::before {
    content: "~ ";
}
.camera_name::after {
    content: " ~";
}



.dropdown-1 {
    background-color: #ac3939;
    border-radius: 10px;
    padding: 13px;
    border: #8e0f0f 5px solid;
}

.dropdown-2 {
    background-color: #ffe0b7;
    border-radius: 10px;
    color: #fff;
    padding: 15px;
    text-shadow: 1px 1px 10px #d95b5b;
    border: #ce9077 solid 3px;
}
.p-drop {
    text-shadow: 1px 1px 19px #ea1c1c;
}


details {
    max-width: 70%;
    overflow: hidden; /* Keep this line to prevent an odd blue outline around the element in Safari. */
}

summary {
    display: block;
}

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

.dropdown__details {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.dropdown__details:hover {
    cursor: pointer;
}

.dropdown__details::before {
    content: url("/storage/icons/Pointer/PointerP2-64.png");
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    transition: rotate 200ms 400ms ease-out;
  }

.dropdown__content {
    box-sizing: border-box;
    max-width: 72.5%;
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    border: 2px solid transparent;
    transition: max-height 400ms ease-out, border 400ms, background-color 400ms, 400ms linear;
    margin: 0px 5px
  }

details[open] + .dropdown__content {
    max-height: 1500px; /* Set a max-height value enough to show all the content */
    background-color: #ac3939;
    border-radius: 10px;
    padding: 13px;
    border: #8e0f0f 5px solid;
    transition: max-height 400ms ease-out, border 0ms linear;
}

details[open] .dropdown__details::before {
    rotate: 90deg;
    transition: rotate 200ms ease-out;
}
#dropdown-1::before {
    content: url("/storage/icons/Pointer/PointerP1-64.png")
}
#dropdown-1:focus {
    outline: dashed 4px rgb(142, 71, 25);
}

@media screen (prefers-reduced-motion:no-preference) 
{
    @keyframes wiggle-3d{
        
}
}



/* ----- pictures ----- */
.picture__holder {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 260px;
    border: 3px solid #603c46;
    z-index: 6;
    position: relative;
    border-radius: 17px;
}

.soft_friendpic {
    width: auto;
    height: auto;
    max-width: 100%;
}
#pic__silly__right {
    float: right;
    margin-right: 7%;
    rotate: 10deg;

}
.picture-section-1 > a:has(.picture__holder) {
    transform-style: preserve-3d;
    position: relative;
    
    display: flex;
    perspective: 5cm;
}
/* @property --roatation {
    inherits: false;
    syntax: "<angle>"+;
    initial-value: -2deg 0deg 0deg;
} */
a:has(.picture__holder) {
    transform-style: preserve-3d;
    position: relative;
    display: flex;
    
    --shadow-deviation:  translateX(-2px) translateY(7px) var(--roatation)  skewX(0deg) skewY(0deg);
    > * {
        /* position: absolute; */
        
    }
    > div {
        background-color: rgba(255, 255, 255, 0.486);
    transform-style: preserve-3d;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    position: absolute;
    box-shadow: 0px 0px 20px 15px rgba(255, 255, 255, 0.486);
    transform: scaleX(1) scaleY(1) scaleZ(0.5) rotateX(-2deg) rotateY(0deg) rotateZ(0deg) translateX(0px) translateY(10px) translateZ(-17px) skewX(0deg) skewY(0deg);
    z-index: 4;
    
    }
    .picture__holder {
        transition: transform 0.3s, border-radius 0.3s;
    transform-style: preserve-3d;
    
        /* filter: drop-shadow(2px 2px 4px black); */
        /* --roatation: rotateX(2deg) rotateY(0deg) rotateZ(-7deg); */
      transform: scaleX(1) scaleY(1) scaleZ(1) var(--roatation) translateX(-14px) translateY(-11px) translateZ(7px) skewX(0deg) skewY(0deg);
      &:hover {
        transform-style: ;
        border-radius: 2px;
        transform: scale(1.5) var(--shadow-deviation) translateZ(50px) !important;
      }
}
    .img-container {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        /* overflow: hidden; */
        
        &::after {
        position: absolute;
         bottom: -2px;
         width: 100%;
         border-radius: 17px;
         box-shadow: 2px 3px 30px 10px inset rgba(0, 0, 0, 0.19), 2px 3px 10px 1px rgba(0, 0, 0, 0.19);;
         content: "";
         height: 100%;
         box-sizing: border-box;
         left: 0;
         z-index: 5;
         /* z values are strange so that it doesnt clip with 
         image on mouse hover. surely noscript doesnt break this */
         transform: scaleX(0.95) scaleY(0.9) scaleZ(0.5) var(--shadow-deviation) translateZ(calc(10px, 5vw, 50px) );
         /* no pointer events so can use the Z transform as a highlight */
         pointer-events: none;
        }
    }
}

.picture-section-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));;
    gap: 2em;
    justify-items: center;
    justify-content: space-evenly;
    transform-style: preserve-3d;
    & * {
        transform-style: preserve-3d;
        box-sizing: content-box;
    }
    & > * {
        display: block;
        transform: translate3d(-70vw, 0, 100vmin) rotateX(-24deg) rotateY(-24deg) rotateX(90deg) translate3d(0, 0, calc((var(--depth) + var(--stack-height)) * -1)) rotate(0deg) perspective(75em);
        
    }
    position: relative;
}


@media only screen and (max-width: 780px) {
    .picture__holder {
        border: 0px;
    }
    main {
        max-width: none;
    }
    .picture-section-1 {
        gap: 6px;
    }
}
