/* Import Assets */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&family=Nunito+Sans:wght@400&display=swap');
@charset "UTF-8";

/* Navigation Bar */
nav {
	font-family: Nunito Sans;
	font-size: 16px;
	font-weight: bold;
	color: #0D0C22; /* grayish black */
	}
	
.navcontainer {
	display: flex;
	justify-content: space-between;
	padding: 20px 0px;
	position: sticky;
	top: 0px;
	background-color: #f6f5f1;
	}
	
.navcontainer img { /* logo*/
	height: 24px;
	width: 64px;
	margin: 0 auto;
	}

.navcontainer a {
	justify-content: center;
	color: #0D0C22; /* grayish black */
	text-decoration: none;
	font-weight: bold;
	padding: 4px 16px;
	}
	
.navcontainer a:hover,
.navcontainer a:active {
	color: #2E7AC4; /* royal blue */
	background-color: #e3e6e9; /* pale blue */
	border-radius: 5px;
	}

/* Buttons */
.primarybutton {
	display: inline-flex;
	padding: 10px 20px;
	background-color: #2E7AC4; /* royal blue */
	border: 2px solid #2E7AC4; /* royal blue */
	color: white;
	font-family: Plus Jakarta Sans;
	text-decoration: none;
	border-radius: 5px;
	font-size: 16px;
	}

.primarybutton:hover {
	background-color: #2767A6; /* dark blue */
	border: 2px solid #2767A6; /* dark blue */
	color: white;
	}

.secondarybutton {
	display: inline-flex;
	padding: 10px 20px;
	background-color: #F6F5F1; /* light gray bg */
	color: #0D0C22; /* grayish black */
	font-family: Plus Jakarta Sans;
	text-decoration: none;
	border: 2px solid #2E7AC4; /* royal blue */
	border-radius: 5px;
	font-size: 16px;
	}

.secondarybutton:hover {
	background-color: #E3E6E9; /* pale blue */
  	border: 2px solid #2E7AC4; /* royal blue */
	}	

/* Tags */
.tag {
	display: inline-block;
	background-color: #F6F5F1; /* light gray bg */
	color: #0D0C22; /* grayish black */
	font-family: Plus Jakarta Sans;
	text-decoration: none;
	border-radius: 5px;
	font-size: 14px;
	padding: 4px 10px;
	margin: 0px;
	}
	
.tag.ui {
	background-color: #D8C8FE; /* light purple bg */
	}
	
.tag.dashboard {
	background-color: #BBEDDE; /* light cyan bg */
	}
	
.tag.tool {
	background-color: #ECEEB7; /* light yellow bg */
	}
	
.tag.web {
	background-color: #FECEC8; /* light red bg */
	}
	
.tag.app {
	background-color: #F6E6BA; /* light orange bg */
	}
	
.tag.pubmat {
	background-color: #FDC8FE; /* light pink bg */
	}
	
.tag.deck {
	background-color: #CEEFC6; /* light green bg */
	}
	
/* Cards */	
.works-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 32px 0px;
	}
	
.works-card {
	display: flex;
	flex-direction: column;
	align-content: center;
	padding: 20px;
	border: 1px solid #0D0C22; /* grayish black */
	border-radius: 12px;
	}

.works-card text {
	display: flex;
	}
	
.works-card img {
	width: 100%;
	height: 300px;
	border-radius: 8px;
	}
	
.skills-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 16px auto;
	}

.skills-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 8px 20px;
	border: 1px solid #0D0C22; /* grayish black */
	border-radius: 12px;
	}	

.skills-card.text {
	display: flex;
	text-align: left;
	}

.skills-card.image {
	display: block;
	width: 100%;
	border-radius: 8px;
	}
	
.tools-container {
	display: flex;
	margin: 16px auto;
	border: 1px solid #0D0C22; /* grayish black */
	border-radius: 12px;
	}

.tools-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 72px;
	margin: auto;
	}

.tools-card text {
	text-align: center;
	}

.tools-card img {
	display: block;
	width: 100%;
	padding-top: 24px;
	border-radius: 8px;
	}

/* Hero Area Homepage */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	}
	
.hero-content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	width: 100%;
	}

.hero-content1 { /* text */
	flex: 2;
	padding-right: 10%;
	}
	
.hero-content2 { /* image container */
	display: flex;
	flex: 1;
	}
	
.hero-content2 img { /* image */
	width: 100%;
	height: auto;
	max-width: 300px;
	}
	
/* Works Preview Homepage */
.preview-works-container {
	display: flex;
	flex-direction: column;
	margin: 32px 0 0 0;
	background-color: #F0EFEB; /* med gray bg */
	border-radius: 12px;
	}

.preview-works-cta {
	display: flex;
	justify-content: center;
	padding-bottom: 20px;
	}
	
.preview-works-content {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	justify-content: space-between;
	background-color: #F6F5F1; /* light gray bg */
	border: 1px solid #0D0C22; /* grayish black */
	border-radius: 12px;
	padding: 30px 20px 5px 20px;
	margin: 20px;
	gap: 32px;
	}
	
.preview-works {
	display: flex;
	flex-direction: column;
	align-items: center;
	}
	
.preview-works1 {
	}

.preview-works1 img { /* image */
	width: 300px;
	height: 100%;
	border-radius: 8px;
	}
	
.preview-works2 { /* text */
	}
	
/*About Page */
.about-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	}
	
.about-content { 
	gap: 36px;
	margin-top: 20px;
	align-items: flex-start;
	display: flex;
	flex-direction: row;
	}
	
.about-content1 { /* text */
	flex: 3;
	align-items: left;
	border: 1px solid #0D0C22; /* grayish black */
	border-radius: 12px;
	padding: 20px;
	width:auto;
	height: auto;
	}
	
.about-content2 img { /* image */
	flex: 2;
	max-width: 172px;
	border-radius: 12px;
	object-fit: cover;
	}
	
/* Contact Area Homepage */
.contact {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
	height: auto;
	}

.contact-left { /* text and contact details */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 2.5;
	height: 100%;
	}
	
.contact-right { /* image container */
	display: flex;
	flex: 2;
	object-fit: cover;
	}
	
.contact-right img { /* image */
	width: 100%;
	height: auto;
	max-width: 500px;
	}

.contactdetails-container {
	display: flex;
	flex-direction: column;
	}

.contactdetail {
	display: flex;
	width: 100%;
	gap: 5px;
	align-items: center;
	}

.contactdetail a {
	font-size: 16px;
	font-weight: bold;
	color: #2E7AC4; /* royal blue */
	text-decoration: underline;
	}

.contactdetail a:hover {
	color: #2767A6; /* dark blue */
	}
	
.contactdetails-socials {
	display: flex;
	flex-direction: row;
	margin-top: 25%;
	gap: 8px;
	}
	
.contactdetails-socials img {
	height: 32px;
	}

/* Footer */
.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: inline-flex;
	border-top: 1px solid #0D0C22; /* grayish black */
	}
	
.footer-container-1 {
	display: flex;
	flex-direction: row;
	gap: 20px;
	}
	
.footer-container-1 .a {
	}
	
.footer-container-1 .b {
	}

.footer-container-2 {
	}


/* for overflow content on pages */
html {
    scrollbar-gutter: stable;
}
	
/* Global Text Styles */
body {
	background-color: #F6F5F1; /* light gray bg */
	font-family: Nunito Sans;
	font-size: 32px;
	color: #0D0C22; /* grayish black */
	text-align: left;
	max-width: 1080px;
	}
	
h1 {
	font-family: Plus Jakarta Sans;
	font-size: 32px;
	color: #0D0C22; /* grayish black */
	text-align: left;
	}
	
h2 {
	font-family: Plus Jakarta Sans, ExtraLight 200;
	font-size: 24px;
	color: #0D0C22; /* grayish black */
	text-align: left;
	}
	
h3 {
	font-family: Nunito Sans;
	font-size: 16px;
	font-weight: bold;
	}
	
p {
	font-family: Nunito Sans;
	font-size: 16px;
	color: #0D0C22; /* grayish black */
	text-align: left;
	}
	
li {
	font-size: 16px;
	}
	
/* Global Spacing Styles */
body, h1, h2, h3, p {
	margin: 0;
	padding: 0;
	}

body {
	margin: 0 auto;
	padding: 0 15%;
	max-width: 1200px;
	}

h1 {
	margin-bottom: 16px;
	}

h2 {
	margin-top: 16px;
	margin-bottom: 16px;
	}

h3 {
	margin-top: 16px;
	margin-bottom: 6px;
	}

p {
	line-height: 1.6;
	margin-top: 16px;
	margin-bottom: 16px;
	}
	
li {
	line-height: 1.6;
	margin-bottom: 16px;
	}

main {
	margin-bottom: 48px;
	}
	
	
/* -------------------------------------------------------------- */


@media only screen and (min-width: 150px) and (max-width: 650px)
{
/* Navigation Bar */
nav {
	align-items: center;
	}
	
.navcontainer {
	flex-direction: column;
	gap: 10px;
	border-bottom: 1px solid #0D0C22; /* grayish black */
	margin-bottom: 24px;
	}
	
.navcontainer #myLinks {
	display: none;
	}

.navcontainer a {
	display: grid;
	justify-content: center;
	padding: 4px 8px;
	}

/* Buttons */
.primarybutton {
	padding: 4px 10px;
	}

.secondarybutton {
	padding: 4px 10px;
	}

/* Cards */	
.works-container {
	display: flex;
	flex: column;
	max-width: 650px;
	flex-wrap: wrap;
	}
	
.works-card {
	display: flex;
	flex-direction: column;
	align-content: center;
	}
	
.works-card img {
	height: 100%;
	width: 100%;
	}

.skills-card {
	display: flex;
	flex-direction:column;
	align-items: center;
	}	

.skills-card.image {
	display: block;
	width: 100%;
	border-radius: 8px;
	}
	
.tools-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	width: 100%;
	}

.tools-card {
	padding: 8px 0px;
	}
	
/* Hero Area Homepage */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	}
	
.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 20px;
	width: 100%
	}
	
.hero-content1 { /* text */
	flex: 2;
	padding: 0px 10px;
	}

.hero-content2 { /* image container */
	display: flex;
	flex: 1;
	margin-top: 5%;
	}
	
.hero-content2 img { /* image */
	width: 100%;
	height: auto;
	max-width: 300px;
	}
	
/* Works Preview Homepage */
.preview-works-content {
	flex-direction: column;
	}
	
.preview-works1 img { /* image */
	width: 100%;
	height: 100%;
	border-radius: 8px;
	}
	
.preview-works2 { /* text */
	}
	
/*About Page */
.about-content { 
	flex-direction: column;
	}
	
.about-content2 img { /* image */
	max-width:auto;
	max-height: auto;
	min-width: 310px;
	}
	
/* Contact Area Homepage */
.contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	height: auto;
	}
	
.contact-left { /* text and contact details */
	align-items: center;
	}
	
.contact-right img { /* image */
	width: 100%;
	height: auto;
	max-width: 500px;
	margin-top: 32px;
	}
	
.contactdetails-socials {
	margin-top: 32px;
	gap: 8px;
	}

/* Footer */
.footer-container {
	flex-direction: column;
	align-items: center;
	}
	
.footer-container-1 {
	flex-direction: column;
	align-items: center;
	gap: 0;
	}
	
/* Global Text Styles */
body {
	text-align: left;
	}
	
h1 {
	text-align: center;
	}
	
h2 {
	text-align: center;
	}
	
/* Global Spacing Styles */
body {
	padding: 0 5%;
	max-width: 650px;
	}

h1 {
	margin-bottom: 8px;
	}

h2 {
	margin-top: 8px;
	margin-bottom: 8px;
	}

h3 {
	margin-top: 8px;
	}

p {
	margin-top: 8px;
	margin-bottom: 8px;
	}
	
li {
	margin-bottom: 8px;
	}

main {
	margin-bottom: 40px;
	}
}