* {box-sizing: border-box;} 

body { 
  font-style:normal;
  background-color:black;
  	background-image: url("jemboren_bg.jpg");
  background-size:100% auto;
  background-attachment:fixed;
  margin: 0;
  font-size:18px;
  
}

/* not sure if this is doing anything */
table {
  caption-side: bottom;
  border-collapse: collapse;
}


.header {
  overflow: hidden;
  padding: 20px 10px;
}

.header a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight:bold;
  line-height: 20px;
  border-radius: 60px;
  
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a.active {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}

.header a:hover {
  background-color: rgba(55,26,135,.4);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.header-right {
  float: right;
}

.h4 {
  color: purple;
}

.bodyheader{
  margin: auto;
  padding-left: 250px;
  padding-right: 250px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.bodybodybody{
  width:2200px;
  max-width:100%;
  margin:auto;
  padding-left:250px;
  padding-right:250px
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  width:2500px;
  max-width:100%;
  box-sizing:border-box;
  margin:auto;
  padding-left:250px;
  padding-right:250px;
  text-align:center;
  align-items: center;
}

.wrapper>div:hover {
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.wrapper > div {
  min-width: 500px;
  font-size: 4vh;
  color: white;
  background: ;
  margin: 1px;
  padding: 1px;
  border-radius: 3px;
  flex: 1;
  flex-wrap: wrap;
}
.wrapper .wrapper > div {
  background: pink;
  color: hotpink;
  }

/*FLEXBOX DYNAMIC SIDE-BY-SIDE/ COLUMN STYLE FOR ABOUT SECTION*/
.sidebyside {
  display: flex;
  justify-content: center;
}

.sidebytext {
  max-width: 50%;
}

/* Grid Gallery */

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-content: start;
  gap: 25px;
}

.grid-gallery img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;     /* Crop to fit */
  cursor: pointer;
}

/* Grid Portfolio (larger tiles)*/

.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  justify-content: start;
  gap: 25px;
}

.grid-portfolio img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;     /* Crop to fit */
  cursor: pointer;
  filter: brightness(70%);
}

        .caption {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            text-shadow: 2px 2px 10px black;
            text-shadow: 0.1em 0 black, 0 0.1em black, -0.1em 0 black, 0 -0.1em black, -0.1em -0.1em black, -0.1em 0.1em black, 0.1em -0.1em black, 0.1em 0.1em black;
            display: inline;
        }

/* Grid Item */

.grid-item{
  position: relative;
  overflow: hidden;
  border-radius:10px;
  border: 5px solid #213;
}

.grid-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item:hover img{
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
  filter: brightness(105%);
}

/* Modal Zoom for Images */
.zoomable {
  cursor: zoom-in;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  cursor: zoom-out;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

footer {
  position: relative;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
  z-index: 9999;
  padding: 1.5em;
}



/* RESPONSIVENESS JAZZ */

@media screen and (max-width: 870px) {
  .header a.logo {
    display: inline-block;
	  width:90%; 
	  padding-left:10%; 
	  padding-right:10%;

  }
  
  .header-right {
    display: flex;
	  width:100%; 
	  padding:none; 
    text-align: center;
    justify-content:center; 
	  align-items:center;
  }
}

@media screen and (max-width: 1500px) {
  .sidebyside, section {
    flex-direction: column;
  }
  
  .left{
    height:100vh;
    max-width:100vw;
    justify-content:center; 
	  align-items:center;
    padding-left:10%;
    padding-right:10%;
    min-height: 0px;
    flex-direction: column;
  }
  
  .sidebytext{
  max-width:100%;
}

  .bodybodybody, section{
    max-width:100%;
    padding-left:25px;
    padding-right:25px;
  }
  
 .wrapper{
    max-width:100%;
    padding-left:50px;
    padding-right:50px;
  }
  
  .wrapper > div {
  min-width: 250px;
  }
  
  
}  

  

/* SET NAVIGATION COLOURS */
* {
  color: #ffffff
}

  .nav1 {
    color: #00df72
  }
  .nav2 {
    color: #00b1ff
  }
  .nav3 {
    color: #9279ff
  }
  .nav4 {
    color: #ff3cdf
  }

/* FORCE SCROLLBARS ON -- til I fix the bg thing */
html {
    overflow-y: -moz-scrollbars-vertical;
    overflow-y: scroll;
}



