@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;
}

body {
	margin: auto;
	background-image: url("../imgs/background.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	font-family: 'VarelaRound', sans-serif;
	} 

/*Navigation Menu*/
#projectsLink {
	color: #9824c3;
}

#myDropdown2 a:nth-child(3) {
	color: #9824c3;
}

.showcase .dropbtn svg {
	display: none;
}

.showcase .dropdown-content {
	display: none;
}


#creative-institute-section {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

#creative-institute-section-2 {
    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/projects/Power From Eating Right/Power from Eating Right.jpg");
	background-size: cover;
	background-position: center;	
    min-height: 400px;
	width: 100%;
    height: fit-content;
    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;
}

.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(152, 40, 79, 1), rgba(152, 40, 79, .3));	width: 100%;
	height: 100%;
backdrop-filter: blur(2px);	

}

.category {
	text-transform: capitalize;
	letter-spacing: 1px;
	font-family: gill sans mt;
	color: #F2FF99;	
	text-align: left;
	padding-bottom: 5px;
	border-bottom: 1px solid #F2FF99;
}

.content .row {
  display: grid;
  gap: 30px;
}

.row .column img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);
}

.column {
  display: flex;
  gap: 30px;
}

.content .row2 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 30px;
  margin-top: 30px;
}


.box16-9 {
  background-color: #fff;
  aspect-ratio: 16 / 9;
	overflow: hidden;
	display: flex;
	justify-content: center;	
	align-items: center;
	box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);	
	border-radius: 3px;
	
}

.col3 {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.floatBtn-read-ebook {
    position: fixed;
	right: 50px;
	bottom: 50px;
	width: 80px;
	height: 80px;
	background-image: url("../imgs/projects/Power From Eating Right/apple-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;
}
	
#creative-institute-section-2 {
		padding-top: 10vw;
	}	
	
.content .row {
  gap: 20px;
}

.column {
  gap: 20px;
}

.content .row2 {
  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;
	}
	
#creative-institute-section-2 {
padding: 10vw 20px 60px 20px;
    gap: 20px;
	}
	
	.column {
		flex-direction: column;
		gap: 20px;
	}
	
	.content .row {
		gap: 20px;
	}
	
	.floatBtn-read-ebook {
	right: 20px;
	bottom: 20px;
	}
	
	
}

@media (pointer: coarse) {
    #projectsLink {
        pointer-events: none;
    }
}
