#caption p::-webkit-scrollbar {
  width:20px;
  box-shadow: transparent;
}


#caption p::-webkit-scrollbar-thumb {
  background-color: transparent;
  width:20px;
  border-color: #eada18;
    border-left: transparent;
    border-right: transparent;
    border-style: solid;
    border-width: 11px;
}

.boxtexthover {
    background-color: white;
    width: 445px;
    height: 290px;
    position: absolute;
    display: block;
    margin-inline: 0px;
    opacity: 1;
    z-index: 0;
}

.boxtexthover:hover {
  opacity: 80%;
  transition-duration: 2s;
  cursor: pointer;
  margin-inline: 0px;

}


.threebox {
  width: 100%;
  height: 300px;
  margin-top: -8px;
  margin-inline: 0px;
  display: inline-flex;
}


.threebox h6 {
  font-family: "Century Gothic";
  font-weight: bold;
  position: absolute;
  margin: 20px;
  margin-top: 100px;
  text-align: center;
  width: 393px;
  font-size: 15px;
  line-height: 35px;
}

.threebox p {
  font-family: "Century Gothic";
  font-weight: lighter;
  margin: 20px;
  margin-top: 150px;
  width: 400px;
  text-align: center;
  font-size: 12px;
}

.fourbox {
  margin-bottom: -7px;
}

.boximg1 {
    background-color: transparent;
    width: 445px;
    height: 290px;
    display: inline-flex;
    margin-inline: 1px;
    position: relative;
    z-index: 2;
}

.boximg1 img {
 width: 100%;
 padding: 0px;
 object-fit: cover;
 z-index: 2;
}

.closingouter {
  margin-top: 30px;
  margin-bottom: 30px;
}

.scrollFade {
	opacity: 1;
	pointer-events: all;
}

.scrollFade--hidden {
	opacity: 0;
	pointer-events: none;
}

.scrollFade--visible {
	opacity: 1;
	pointer-events: all;
}

.scrollFade--animate {
	transition: opacity 0.4s ease-in-out;
}


#threeDRender {

border-radius: 0px;
cursor: pointer;
transition: 0.3s;
}

#threeDRender:hover {
    opacity: 0.3;}

/*
#myImg2 {

border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}

#myImg2:hover {opacity: 0.7;}
*/

/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 3; /* Sit on top */
/*padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
margin: 0px;
display: block;
position: fixed;
width: 100%;
height: -webkit-fill-available;
object-fit: cover;
/*max-width: 815px;
max-height: fit-content;*/
animation: 120s ease 0s normal none infinite running slow-zoom;
}

@keyframes slow-zoom {
  0% { transform: scale(1.3, 1.3) }
    50% { transform: scale(1, 1) }
    100% { transform: scale(1.3, 1.3) }
}

/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 480px;
text-align: center;
color: white;
background: linear-gradient(335deg, black, transparent, transparent);
backdrop-filter: opacity(0.5);
padding: 10px 0;
height: 100%;
position: fixed;
top: 0px;
right: 85px;
}

#caption h4 {
    text-align: center;
    padding: 10px;
    font-size: 25px;
    font-family: Century Gothic;
    font-weight: normal;
    margin: 0px;
    margin-top: 55px;
    color: white;
    background: black;
}

#caption h6 {
    text-align: center;
    padding: 10px;
    margin: 0px;
    margin-top: 0px;
    font-family: Century Gothic;
    font-weight: bold;
    font-size: 20px;
    color: black;
    background: transparent;
}

#caption p {
    text-align: justify;
    margin: 15px;
    margin-top: 345px;
    font-family: Century Gothic;
    font-style: normal;
    font-weight: lighter;
    font-size: 12px;
    color: white;
    overflow-y: scroll;
    height: 120px;
    padding: 12px;
    background-color: transparent;
}
 
#captionbox {
margin: auto;
display: block;
width: 100%;
text-align: center;
color: #ccc;
background-color: transparent;
padding: 0px;
position: fixed;
bottom: 45px;
height: 55px;
right: 0px;
}

#captionbox h5 {
  text-align: right;
    padding: 10px;
    margin: 30px;
    margin-top: 45px;
    font-family: Century Gothic;
    font-weight: bold;
    font-size: 15px;
    color: white;
}


#watermark {
  width: 100%;
    position: fixed;
    left: 9px;
    bottom: 10px;
    display: block;
}


#watermark img {
  width: 145px;
    position: absolute;
    left: 0px;
    bottom: 0px;
}

#watermark p {
    font-size: 12px;
    font-weight: lighter;
    text-align: left;
    position: absolute;
    text-align: left;
    transform: rotate(270deg);
    position: absolute;
    bottom: 855px;
    right: 655px;
    width: 100%;
    color: white;
    font-style: normal;
    height: 0px;
    overflow-y: unset;
    background-color: transparent;
    backdrop-filter: none;
}


/* Add Animation */
#caption {  
-webkit-animation-name: slideupp;
-webkit-animation-duration: 0.6s;
animation-name: slideupp;
animation-duration: 3s;
}

@-webkit-keyframes slideupp {
from {-webkit-transform:translate(0px, 215px)} 
to {-webkit-transform:translate(0px,0px)}
}

@keyframes slideupp {
from {transform:translate(0px, 215px)} 
to {transform:translate(0px, 0px)}
}

/* The Close Button */
.close {
position: absolute;
top: 10px;
right: 85px;
color: black;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
z-index: 2;
}

.close:hover,
.close:focus {
color: #eada18;
text-decoration: none;
cursor: pointer;
}
