/*
=Figures
============================================= */
* {
    box-sizing: border-box;
    margin:0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    --grid-size: 30px;
    --grid-strength: 1px;
    --grid-dash: 10px;
    --grid-gap: 5px;
    --grid-color: #f1f497;
    --paper-color: #fff;
    background-color: var(--paper-color);
    background-size: var(--grid-dash) var(--grid-dash), var(--grid-size) var(--grid-size);
    background-image:
      linear-gradient(to bottom, transparent var(--grid-gap), var(--paper-color) var(--grid-gap)), 
      linear-gradient(to right, var(--grid-color) var(--grid-strength), transparent var(--grid-strength)),
      linear-gradient(to right, transparent var(--grid-gap), var(--paper-color) var(--grid-gap)),
      linear-gradient(to bottom, var(--grid-color) var(--grid-strength), transparent var(--grid-strength));
}

.download-link {
    font: normal 400 15px/1.2 "Courier Prime", serif;
}
  
a:link, a:visited {
   color:  rgb(254, 0, 161);
   text-decoration: none;
}

 a:hover, a:active {
    color: rgb(190, 227, 42);
}

header {
    position: fixed; /* remove the header element from the page flow to position it */
    top: 0; left: 0; /* align the header element with the top and left edges of the viewport */
    width: 100%; /* ensure the header element spans the entire width of the viewport */
    z-index: 10;
}

header .ins-wrapper {
    margin: 0 auto; /* use auto margins on the left + right to center the inside wrapper within the header element */
    padding-top: 30px; /* add some space between the heading + viewport's top edge */
    padding-right: 30px;
    top: 0; right: 0;
    position: absolute;
}

.heading {
    margin: 15px 20px 50px 20px;
}

h1 {
    font: normal 400 50px/1.5 "IBM Plex Mono", monospace;
}

.smalltext {
    font: normal 400 15px/1.2 "IBM Plex Mono", monospace;
    color: rgb(154, 154, 166);
    padding: 0 25px;
}

.gallery-wrapper {
    display: flow-root; 
    max-width: 1600px; 
    /* min-height: 100vh;  */
    margin: 0 auto;
    padding: 0 100px;
    /* background-image: url(../assets/images/uvunwrap.png) */
}

/* TARGETS FIGURE + IMAGE BOX */
figure {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 25%;
    margin: 5px -5px; 
    align-self: flex-start;
    /* overflow-x: auto; */
    background-color: whitesmoke;
}

.image-box1,
.image-box2,
.image-box3,
.image-box4,
.image-box5,
.image-box6,
.image-box7 {
    margin: 0;
    padding: 5px;
    position: relative;
    background-image: url(../assets/images/singlebox.png);
    background-size: 100% 100%;
    
    justify-content: center; 
    align-items: center;
    /* transform: translateX(4px); */
    z-index: 5;
    border: 1.5px dashed rgb(244, 36, 164);
    
}

/* TARGETS INDIVIDUAL IMG */
.image-box1 img,
.image-box2 img,
.image-box3 img,
.image-box4 img,
.image-box5 img,
.image-box6 img,
.image-box7 img {
    width: 100%;
    display: block;
    /* transform-origin: center; */
    background-image: none;
    transition: .25s ease-in-out;
}


.image-box1:hover img,
.image-box2:hover img,
.image-box3:hover img, 
.image-box4:hover img,
.image-box5:hover img,
.image-box6:hover img,
.image-box7:hover img{
    /* cursor: pointer; */
    background-image: url(../assets/images/starclick.png);
    background-size: 100%;
    background-repeat: no-repeat;
}


/* TARGETS INPUT + LABEL */
input {
    display: none;
}

label {
    /* background-color: lightskyblue; */
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* TARGETS DESCRIPTION BOX*/


.desc-box {
    overflow: hidden;
    max-width: 0%; 
    /* align-self: flex-start; */
    display: none;
}


input:checked ~ .desc-box {
    /* overflow: visible; */
    display: flex;
    max-width: 100%;
    background-color: rgba(237, 163, 212, 0.728);
    border: 1.5px dashed rgb(191, 245, 30);
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 15px;
    flex-wrap: nowrap;
    flex-direction: column;
    
    flex: 1 1;
}

/* STYLES CONTENTS OF IMG BOX */
.desc-box p,
.download-link {
    font: normal 400 15px/1.2 "Courier Prime", serif;
    color: rgb(0, 0, 0);
    padding: 5px 25px;
}

.download-link {
    font-style: bold;
    letter-spacing: 1px;
    transition: 0.25s ease-in;
}

.download-link:hover {
    letter-spacing: 3px;
}

.vid img {
    width:100%;
    padding: 25px;
}

/* MEDIA QUERIES */
/* small */
@media ( max-width: 576px ) {
    .figure .image-box1 { flex: 0 1 100% }
    .figure .image-box2 { flex: 0 1 100% }
}
/* medium */
@media ( min-width: 768px ) {
    .figure .image-box1 { flex: 0 1 100%; }
    .figure .image-box2 { flex: 0 1 100%; }
}
/* large */
@media ( min-width: 992px ) {
    .figure .image-box1 { flex: 0 1 33.3333%; }
    .figure .image-box2 { flex: 0 1 33.3333%; }
}

/* x-large */
@media ( min-width: 1200px ) {
    .figure .image-box1 { flex: 0 1 25%; }
    .figure .image-box2 { flex: 0 1 25%; }
}
/* xx-large */
@media ( min-width: 1400px ) {
    .figure .image-box1 { flex: 0 1 25%; }
    .figure .image-box2 { flex: 0 1 25%; }
}
