@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.8em;
    font-weight: 500;
    color: #A7D596;
    letter-spacing: 5px;
    text-align: center;
	
}

h2 {
	margin: 0;
	font-size: 1.6em;
	text-transform: uppercase;
	color: #9824c3;
	font-weight: 500;
}

h3 {
	margin: 0;
	font-family: 'VarelaRound';	
	font-size: 1.4em;
	font-weight: 300;
	color: #fff;
	
}

h4 {
	margin: 0;
	font-size: 1.3em;
	text-align: center;
	font-weight: 500;
	
}

h5 {
	margin: 0;
	font-size: 1em;
	text-align: center;
	color: #221948;
}

p {
	font-family: 'VarelaRound';
   margin: 0;
   font-size: 1em;
	letter-spacing: .05em;
	line-height: 1.3em;
	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;
	} 

.dimmer-studio {
	position: static !important;
}

/*Navigation Menu*/
#showcaseLink {
	color: #9824c3;
}

#projectsLink svg, #showcaseLink svg {
	display: none;
}

.showcase .dropdown-content, .projects .dropdown-content {
	display: none;
}


section {
       scroll-snap-align: start;		
   margin: 0 auto;
	width: 100%;
	height: fit-content;
	z-index: 3;
}

.content {
position: relative;
    display: grid;
    height: fit-content;
    padding: 150px 50px 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    z-index: 0;
    gap: 40px;
}


#showcase-content h1, #showcase-content p {
	text-align: center;
}

.showcase-categories {
	box-sizing: border-box;
	aspect-ratio: 16 / 9;
	width: 33.3%;
}

.showcase-content {
	display: flex;
  flex-direction: column;
}

.showcase-row-1 .showcase-categories:first-child {
	background-image: url("../imgs/Showcase/Posters/framed-poster.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-categories:first-child:hover .showcase-label {
	    background-color: rgba(44, 114, 52, .85);
}


.showcase-row-1 .showcase-categories:nth-child(2) {
	background-image: url("../imgs/Showcase/Branding/tomyumhouse identity.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-categories:nth-child(2):hover .showcase-label {
	    background-color: rgba(141, 88, 50, .85);
}

.showcase-row-1 .showcase-categories:nth-child(3) {
	background-image: url("../imgs/Showcase/Publication/ebookmup1.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-categories:nth-child(3):hover .showcase-label {
	    background-color: rgba(17, 42, 111, .85);
}

.showcase-row-2 .showcase-categories:nth-child(1) {
	background-image: url("../imgs/Showcase/UI UX/antman1.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-row-2 .showcase-categories:first-child:hover .showcase-label {
	    background-color: rgba(14, 64, 95, .85);
}

.showcase-row-2 .showcase-categories:nth-child(2) {
	background-image: url("../imgs/Showcase/Digital Imaging/fantasyworld.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-row-2 .showcase-categories:nth-child(2):hover .showcase-label {
	    background-color: rgba(97, 86, 153, .85);
}

.showcase-row-2 .showcase-categories:nth-child(3) {
	background-image: url("../imgs/Showcase/Packaging/Spa of the World™ Range.jpg");
	background-size: cover;
	background-color: #CFF4FC;
	background-position: center;
	background-repeat: no-repeat;
}

.showcase-row-2 .showcase-categories:nth-child(3):hover .showcase-label {
	    background-color: rgba(136, 49, 85, .85);
}

.showcase-categories a {
	color: inherit;
	text-decoration: none;
}

.showcase-row-1 .showcase-label, .showcase-row-2 .showcase-label {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #221948bf;
	font-size: 1.5em;
	width: 100%;
	height: 0;
	transition: .3s ease;
	opacity: 0;
} 

.showcase-categories:hover .showcase-label  {
	visibility: visible;
	height: 100%;
	opacity: 1;
	backdrop-filter: blur(2px);
		
}

.showcase-row-1, .showcase-row-2 {
	display: flex;
}

.showcase-content-smaller-screen {
		display: none;
	}

#about-me-content p {
	text-align: justify;
	margin-top: 20px;
	margin-bottom: 20px;
}


/*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: 1.3em;
}
	

}

/*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;
	line-height: 1.3em;
}
	
.content {
	padding: 160px 20px 60px 20px;
	gap: 20px;
}


.showcase-content {
		display: none;
	}
	
		.showcase-content-smaller-screen {
		display: grid;
			width: 100%;
			height: 100%;
			gap: 10px;
	}
	
	.showcase-categories-smaller-screen {
		aspect-ratio: 16 / 9;
		display: block;
				
	}
	
	.showcase-label-smaller-screen {
		font-size: 1.2em;
		text-align: left !important;
	}
	
	.showcase-content-smaller-screen a {
		margin-bottom: 10vw;
	}
	
.showcase-content-smaller-screen a.showcase-categories-smaller-screen:first-of-type {
	background-image: url("../imgs/Showcase/Posters/framed-poster.jpg");
	background-size: cover;
	background-position: center;
}


.showcase-content-smaller-screen a.showcase-categories-smaller-screen:nth-of-type(2) {
	background-image: url("../imgs/Showcase/Branding/tomyumhouse identity.jpg");
	background-size: cover;
	background-position: center;
}


.showcase-content-smaller-screen a.showcase-categories-smaller-screen:nth-of-type(3) {
    	background-image: url("../imgs/Showcase/Publication/ebookmup1.jpg");
	background-size: cover;
	background-position: center;
}

.showcase-content-smaller-screen a.showcase-categories-smaller-screen:nth-of-type(4) {
	background-image: url("../imgs/Showcase/UI UX/antman1.jpg");
	background-size: cover;
	background-color: #CFF4FC;
	background-position: center;
	background-repeat: no-repeat;
}

.showcase-content-smaller-screen a.showcase-categories-smaller-screen:nth-of-type(5) {
	background-image: url("../imgs/Showcase/Digital Imaging/fantasyworld.jpg");
	background-size: cover;
	background-position: center;	
}

.showcase-content-smaller-screen a.showcase-categories-smaller-screen:nth-of-type(6) {
	background-image: url("../imgs/Showcase/Packaging/Spa of the World™ Range.jpg");
	background-size: cover;
	background-position: center;
}	
	
.showcase-categories {
    width: 100%;
}	
	
/*.showcase-row-1 .showcase-label, .showcase-row-2 .showcase-label {
	width: 100%;
	height: 100%;
		backdrop-filter: blur(0px);	
	opacity: 1;
background-color: rgba(34,25,72, .5);	

} */

.showcase-row-1 .showcase-label > p,
.showcase-row-2 .showcase-label > p {
		text-shadow: 2px 2px 1px rgba(0,0,0, .75);
}	
	
	.showcase-label p {
		font-size: 6vw;
	}	

	
}

