@charset "utf-8";
/* CSS Document */

html {
  	scroll-behavior: smooth;
}
footer
* {
  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(2) {
	color: #9824c3;
}

.showcase .dropbtn svg {
	display: none;
}

.showcase .dropdown-content {
	display: none;
}

#projects-section {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

#projects-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/Biotechnology Research/Foam Board Posters.jpg");
	background-size: cover;
	background-position: center;	
    min-height: 400px;
    height: fit-content;
	width: 100%;
    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(93, 72, 157, 1), rgba(93, 72, 157, .7));
	width: 100%;
	height: 100%;
backdrop-filter: blur(2px);	
}


.content img {
	border-radius: 3px;
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);	
}


.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;
}


.gallery {
display: grid;
gap: 20px;
}




.gallery img {
  max-width: 100%;	
  max-height: 100%;
}

video {
  border-radius: 3px;
  box-shadow: 0px 5px 5px rgb(0 0 0 / 30%);
}

.row2, .row3 {
	display: flex;
	gap: 20px;
}

.row2 .col-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 33.33%;
}

.row2 .col-right {
	display: flex;
	flex-direction: column;
	width: 66.66%;
	gap: 20px;
}

.row2 .col-right .top {
	display: flex;
	
}

.row2 .col-right .bottom {
	box-sizing: border-box;
	display: flex;
	gap: 20px;
}

.web-mobile {
	width: 100%;
	height: fit-content;
	font-size: 0;
}

.web-qr {
	position: relative;
	width: 100%;
	height: fit-content;
	font-size: 0;
	margin: 0;
}

.web-qr-button-bg {
	position: absolute;
	width: 40%;
	height: 100%;
	top: 0;
	right: 0;
	background: rgba(152,36,195,.5);
	mix-blend-mode: multiply;
	z-index: 1;
}

.web-qr span {
	position: absolute;
	display: flex;
	flex-direction: column;
    align-items: center;
	justify-content: center;
	width: 40%;
	height: 100%;
	top: 0;
	right: 0;
	font-size: 20px;
	color: #fff;
    z-index: 1;
	gap: 10px;
}

.web-qr svg {
	width: 25px;
	height: 25px;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 8px;
  border-radius: 2px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.row1 {
	display: flex;
}

.row2 .col-right .bottom img {
	width: 100%;
	height: fit-content;
}

.row3 .col-left {
	display: grid;
	flex-direction: row;
	width: 66.66%;
	gap: 20px;
}

.row3 .col-left img:nth-child(2) {
   width: 90%;
}

.row3 .col-right {
	display: flex;
	flex-direction: column;
	width: 33.33%;
	gap: 20px;
	
}

.row4 {
	display: flex;
	flex-direction: row;
	gap: 20px;
	width: calc(50% - 10px);
}

.row5 {
	display: flex;
}

.cal2022, .cal2023 {
	position: relative;
	width: 100%;
	height: fit-content;
	font-size: 0;
	margin: 0;
}

.cal2022-btn, .cal2023-btn {
	position: absolute;
	width: 100%;
	height: 20%;
	bottom: 0;
	background: rgba(152,36,195,.5);
	mix-blend-mode: multiply;
	z-index: 1;
}

.cal2022 span, .cal2023 span {
	position: absolute;
	display: flex;
    align-items: center;
	justify-content: left;
	width: 100%;
	height: 20%;
	left: 20px;
	bottom: 0;
	font-size: 20px;
	color: #fff;
    z-index: 1;
	gap: 10px;
}

.cal2022 svg, .cal2023 svg {
	width: 25px;
	height: 25px;
}

/*.main {
	position: relative;
	width: 100%;
		background: cyan;
	margin: 0 auto;
}

.gallery {
    position: relative;
    width: 100%;
	height: 2000px;
    margin: 0 auto;
	background-color: minicream;
}

.box {
    position: absolute;
    /*padding: 15px;*/
       /* box-sizing: border-box;

}

/*
.box:first-child {
   width: 100%;
   height: fit-content;
   background: #abc;
   top: 0;
}

.box:nth-child(2) {
   width: 33.33%;
   background: #aac;
  height: fit-content;   
   top: 20%;
   left: 0;
}

.box:nth-child(3) {
   background: #abd;
   width: 66.66%;
   height: fit-content;
   top: 20%;
   right: 0;
}

.box:nth-child(4) {
   background: #abd;
   width: 33.33%;
   height: fit-content;
   top: 37%;
   left: 0;
}

.box:nth-child(12) {
   background: #bec;
   width: 40%;
   height: fit-content;
   top: 1545px;
   right: 0;
}

.box:nth-child(13) {
   background: #abf;
   width: 100%;
   height: fit-content;
   top: 1738px;
}
*/


.link-label-web {
    display: flex;
    align-items: center;
    justify-content: space-around;	
    width: 40%;
    height: 100%;
    position: absolute;
    right: 0;
    background-color: rgba(152, 36, 195, .5);
    overflow: hidden; /* Make sure the pseudo-element doesn't overflow */
}

.link-label-web span {
	font-size: 1rem;
    position: relative;
    z-index: 1; /* Ensure the text is above the pseudo-element */
}

.link-label-web::before {
    content: "";
    position: absolute;
}

/*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;
}
	
	
#projects-section-2 {
	padding-top: 10vw;
}
		

}

/*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;
	}
	
#projects-section-2 {
padding: 10vw 20px 60px 20px;
    gap: 20px;
	}	
	
	.row1 {
		display: flex;
	}
	
	.row2 {
		display: flex;
		flex-direction: column;
	}
	
	.row2 .col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
	}
	
.row2 .col-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}	
	
.row2 .col-right .bottom {
    flex-direction: column;
}	
	
	.row3 {
		display: flex;
		flex-direction: column;
	}
	
	.row3 .col-left, .row3 .col-right {
		width: 100%;
	} 
	
	.row4 {
		flex-direction: column;
		width: 100%;
	}
	

	
}

@media (pointer: coarse) {
    #projectsLink {
        pointer-events: none;
    }
}

