@charset "utf-8";
/* CSS Document */

html {
  	scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

#canvas {
	z-index: 10;
}

/* Desktop */
@font-face {
	font-family: 'VarelaRound';
	font-style: normal;
	src: url("../fonts/VarelaRound.woff2") format('woff2');
}	

/* Font styles*/
h1 {
    margin: 0;
    font-family: 'VarelaRound';
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 500;
    color: #A7D596;
    letter-spacing: 5px;
    text-align: center;
	
}

h2 {
	margin: 0;
	font-size: 1.4em;
	text-transform: uppercase;
	color: #9824c3;
	font-weight: 500;
}

h3 {
	margin: 0;
	font-family: 'VarelaRound';	
	font-size: 1.3em;
	font-weight: 300;
	color: #fff;
	
}

h4 {
	margin: 0;
	font-family: 'VarelaRound';	
	font-size: 1.2em;
	text-align: center;
	font-weight: 500;
	color: #fff;
	
}

h5 {
	margin: 0;
	font-size: 1em;
	text-align: center;
	color: #221948;
}

p {
	font-family: 'VarelaRound';
   margin: 0;
   font-size: .8em;
	letter-spacing: .05em;
	line-height: 1.8em;
	color: #fff;
	align-self: center;
	text-wrap: pretty;
}

body {
	margin: auto;
	background-image: url("../imgs/background.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	font-family: 'VarelaRound', sans-serif;
	color: white;
	} 

/*Navigation Menu*/
#showcaseLink {
	color: #9824c3;
}

#myDropdown3 a:nth-child(3) {
	color: #9824c3;
}

.projects .dropbtn svg {
	display: none;
}

.projects .dropdown-content {
	display: none;
}

#publication-section {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

#publication-section-2 {
	padding-top: 150px;
}

#publication-section-2, #publication-section-3, #publication-section-4, #publication-section-5 {
    position: relative;
    display: grid;
    height: fit-content;
    padding: 100px 40px;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
    z-index: 0;
    gap: 40px;
}

.banner {	
	position: relative;
	background-image: url("../imgs/Showcase/Publication/angkorwat.jpg");
	background-size: cover;
	background-position: top;	
	width: 100%;
    height: fit-content;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    z-index: 0;
}

.banner-text {	
    max-width: 1024px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
margin: 150px 50px 50px 50px;
	text-align: center;
	z-index: 1;
	text-wrap: pretty;
}

.dimmer-studio {
	top: 0 !important;
	z-index: 1 !important;
	height: 100vh !important;	
} 	

.colour-overlay {
	position: absolute;
    background-color: rgba(34, 25, 72, .7);
    background-image: linear-gradient(to bottom, rgba(14, 64, 95, 1), rgba(14, 64, 95, .7));
	width: 100%;
	height: 100%;
backdrop-filter: blur(3px);	

}

.category {
	position: relative;
	text-transform: capitalize;
	letter-spacing: 1px;
	font-family: VarelaRound;
	color: #F2FF99;	
	text-align: left;
	text-decoration: none;
}

.category::after {
	content: "";
	position: absolute;
	left: 0;
 bottom: -2px; /* Adjust the vertical position */
  height: 2px; /* Adjust the height of the underline */
  width: 100%;
  background-color: #F2FF99; /* Adjust the color of the underline */
  border-radius: 2px; /* Adjust the border-radius for rounded caps */
}

.content-1 img, .content-2 img, .content-3 img, .content-4 img, .content-5 img {
	width: 100%;
	height: 100%;
	box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);
	border-radius: 3px;	
}

.content-1 .column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-2 {
	display: flex;
	gap: 30px;
}

.content-2 .column-left {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 40%;
	line-height: 0;	
}

.content-2 .column-right {
	width: 60%;
	line-height: 0;
}

.content-3 {
	display: flex;
	gap: 30px;
}

.content-3 .column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-4 {
	display: flex;
	gap: 30px;
}

.content-4 .column-left{
	display: flex;	
		width: 36%;
}

.content-4 .column-left img, .content-4 .column-right img{
width: 100%;
    height: auto;

}

.content-4 .column-right {
	display: flex;	
 width: 64%;
}

.content-5 {
	display: flex;
	gap: 30px;
}

.content-5 .column-left img, .content-4 .column-right img{
width: 100%;
    height: auto;

}

.content-5 .column-left {
	display: flex;
	width: 64%;
}

.content-5 .column-right {
	width: 36%;
}


.floatBtn-read-ebook {
    position: fixed;
	right: 50px;
	bottom: 160px;
	width: 80px;
	height: 80px;
	background-image: url("../imgs/Showcase/Publication/angkor-ebook-float-btn.svg");
	background-size: contain;	
	filter: drop-shadow(0 0 15px rgba(255,255,255,0.5))
		    drop-shadow(0 0 18px rgba(255,255,255,0.3));
	cursor: pointer;
}

.floatBtn-read-ebook-2 {
    position: fixed;
	right: 50px;
	bottom: 50px;
	width: 80px;
	height: 80px;
	background-image: url("../imgs/Showcase/Publication/mj-ebook-float-btn.svg");
	background-size: contain;	
	filter: drop-shadow(0 0 15px rgba(255,255,255,0.5))
		    drop-shadow(0 0 18px rgba(255,255,255,0.3));
	cursor: pointer;
}

/*Middle size*/
@media only screen and (max-width: 1024px) {
/* Font styles*/
h1 {

    font-size: 1.3em;
    letter-spacing: 5px;
}

h2 {

	font-size: 1.3em;

}

h3 {
	/*font-size: 1.1em;*/
	font-size: .7rem;
	
}

h4 {
	font-size: 1em;	
}

h5 {

	font-size: .75em;

}

p {

   font-size: .75em;
	letter-spacing: .05em;
	line-height: 2em;
}
	
#publication-section-2 {
	padding-top: 10vw;
	gap: 20px;
}
	
	.content-2, .content-3, .content-4, .content-5 {
		gap: 20px;
	}
	
.content-2 .column-left {
    gap: 20px;

}

}

/*Mobile size*/
@media only screen and (max-width: 640px) {
/* Font styles*/
h1 {

    font-size: 1.3em;
    letter-spacing: 5px;
}

h2 {

	font-size: 1.3em;

}

h3 {
	font-size: 1.1em;
	
}

h4 {
	font-size: 1em;	
}

h5 {

	font-size: .75em;

}

p {

   font-size: .75em;
	letter-spacing: .05em;

}	

	.banner {
		height: fit-content;
	}	
	
	.banner-text {
	margin: 0;
	width: 100%;
	    padding: 200px 20px 60px 20px;
	}
	
#publication-section-2, #publication-section-3, #publication-section-4, #publication-section-5 {
padding: 10vw 20px;
    gap: 20px;
}		
	

	.content-2, .content-4, .content-5 {
		flex-direction: column;
	}	
	
	    .content-2 .column-left, .content-2 .column-right, .content-4 .column-left, .content-4 .column-right, .content-5 .column-left, .content-5 .column-right {
    width: 100%;
	}	
	
	.floatBtn-read-ebook {
	right: 20px;
	bottom: 110px;
	width: 80px;
	height: 80px;
	}	
	
	.floatBtn-read-ebook-2 {
	right: 20px;
	bottom: 20px;
	width: 80px;
	height: 80px;
	}		

}

@media (pointer: coarse) {
    #showcaseLink {
        pointer-events: none;
    }
}

