/* ---------------------------------- NAVBAR ---------------------------------------- */
header {
	display: flex;
	align-items: center;
}

.navbar {
	background: rgba(216, 231, 255, 0.714);
	background-color: white 50%;
	z-index: 1;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-radius: 50px;
	height: 54px;
	width: 500px;
	flex-direction: row;
}

nav ul {
	list-style-type: none;
}

nav ul a {
	padding: 17px 15.5px;
}

.navbar-logo {
	padding: 0 0 0 25px;
	width: 121px;
	height: 26px;
}

li {
	display: inline;
}

/* #resize-logo {
	display: none;
} */

/* ---------------------------------- PAGES ---------------------------------------- */

#pages {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-around;
	background-color: rgb(31, 31, 31);
	color: white;
}

/* ---------------------------------- LINKS ---------------------------------------- */

a {
	color: black;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

a:active {
	text-decoration: none;
	color: #1f60ad;
}

/* ---------------------------------- BUTTONS ---------------------------------------- */

.primary-button-blue,
.primary-button-white,
.secondary-button {
	padding: 13px 30px;
	border-radius: 6px;
	display: inline-block;
	color: white;
	margin: 10px;
}

.primary-button-blue {
	background-color: #1f60ad;
	border-radius: 50px;
	text-align: center;
}

.primary-button-blue:hover,
.primary-button-blue:focus {
	text-decoration: underline;
}

.primary-button-blue:active {
	text-decoration: none;
	color: white;
	background-color: black;
}

.website-button {
	margin-top: 50px;
	display: flex;
	justify-content: center;
}

.primary-button-white {
	background-color: white;
	border-radius: 50px;
	text-align: center;
	color: #1f60ad;
}

.primary-button-white:hover,
.primary-button-white:focus {
	text-decoration: underline;
}

.primary-button-white:active {
	text-decoration: none;
	background-color: #1f60ad;
	color: white;
}

.secondary-button {
	background-color: white;
	border-radius: 50px;
	text-align: center;
	color: #1d2a45;
	padding-top: 5px;
	padding-bottom: 5px;
}

.secondary-button:hover,
.secondary-button:focus {
	text-decoration: underline;
}

.secondary-button:active {
	text-decoration: none;
	background-color: #1f60ad;
	color: white;
}

.secondary-button-blue {
	background-color: #1f60ad;
	border-radius: 50px;
	text-align: center;
	color: white;
	padding-top: 7px;
	padding-bottom: 7px;
	width: 110px;
	border: solid #1f60ad;
}

.secondary-button-blue:hover,
.secondary-button-blue:focus {
	text-decoration: underline;
}

.secondary-button-blue:active {
	text-decoration: none;
	background-color: black;
	color: white;
}

/* ---------------------------------- PROJECTS OVERLAY ---------------------------------------- */
/* Hover Image Overlay Link: https://www.w3schools.com/howto/howto_css_image_overlay.asp */

.overlay-container {
	position: relative;
}

.image {
	opacity: 1;
	display: block;
	width: 100%;
	height: auto;
	transition: 0.5s ease;
	backface-visibility: hidden;
}

.middle {
	transition: 0.2s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}

.overlay-container:hover .image {
	opacity: 0.7;
}

.overlay-container:hover .middle {
	opacity: 1;
}

.overlay-text {
	background: rgba(216, 231, 255, 0.714);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: black;
	font-size: 16px;
	padding: 16px 32px;
	border-radius: 30px;
	font-size: large;
}

.pulse {
	background: rgba(216, 231, 255, 0.714);
	color: black;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: 1px rgba(216, 231, 255, 0.714);
	padding: 1rem 2rem;
	border-radius: 2rem;
	font-size: 1rem;
	box-shadow: 0 0 0 0 rgba(216, 231, 255);
	-moz-animation: pulse 2s infinite;
	-webkit-animation: pulse 2s infinite;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(216, 231, 255);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(0, 2, 93, 0);
	}
	100% {
		box-shadow: 0 0 0 50px rgba(0, 2, 93, 0);
	}
}

/* ---------------------------------- HERO ---------------------------------------- */

#hero-logo {
	width: 143px;
	margin-right: 15px;
}

#hero {
	justify-content: center;
	background-image: url("images/Floral-Hero.jpg");
	background-size: cover;
	background-position: center;
	height: 91vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#hero .text-area {
	width: 100%;
	background: #ffffff85;
	color: rgb(0, 0, 0);
	margin: auto;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-radius: 50px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#hero-text {
	margin-left: 15px;
}

.text-area {
	padding: 40px 0 40px 0;
}

.small-img {
	display: none;
}

/* ---------------------------------- ABOUT ---------------------------------------- */

.text-centred {
	text-align: center;
}

#about {
	color: white;
	background-color: rgb(31, 31, 31);
}

#about .container {
	display: flex;
	align-items: center;
}

section .container {
	padding: 2em;
}

/* ---------------------------------- PROJECTS ---------------------------------------- */

#projects {
	width: 100%;
	background-color: black;
}

.image-split {
	display: flex;
	flex-direction: row;
}

/* ---------------------------------- PROJECTS PAGE ---------------------------------------- */

#project-layout {
	background-color: white;
	width: 100vw;
	height: 92vh;
	display: flex;
	justify-content: center;
	flex-direction: row;
	justify-content: space-around;
	padding: 12vh 100px 10vh 100px;
}

.project-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}

.applications {
	display: flex;
	flex-direction: row;
}

.applications img {
	max-width: 50px;
	max-height: 50px;
	padding-right: 7px;
}

#figma-layout {
	background-color: rgb(0, 0, 0);
	width: 100vw;
	height: 91vh;
	display: flex;
	justify-content: center;
	flex-direction: row;
	justify-content: space-around;
	align-content: center;
	padding-top: 80px;
}

/* ---------------------------------- ABOUT PAGE ---------------------------------------- */

#about-layout {
	background-color: white;
	width: 100vw;
	height: 91vh;
	display: flex;
	justify-content: center;
	flex-direction: row;
	justify-content: space-around;
	padding: 12vh 100px 10vh 100px;
	align-content: center;
}

.about-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 40px 0 0;
}

.about-img {
	width: 75vh;
	display: flex;
	align-items: center;
}

/* ---------------------------------- CONTACT PAGE ---------------------------------------- */
/* Contact Form Links: https://www.youtube.com/watch?v=-HeadgoqJ7A , https://www.w3schools.com/howto/howto_css_contact_form.asp*/

#contact-layout {
	background-color: white;
	width: 100vw;
	height: 91vh;
	display: flex;
	justify-content: center;
	flex-direction: row;
	padding: 0 100px 0 100px;
	align-content: center;
}

.contact-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 400px;
	padding: 0 40px 0 0;
}

form {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 7px;
}

.contact-form {
	display: flex;
	align-items: center;
}

.contact-inputs {
	width: 400px;
	height: 50px;
	padding-left: 25px;
	color: #666;
	border-radius: 50px;
	border: 2px solid rgba(216, 231, 255);
}

.contact-form textarea {
	width: 400px;
	height: 50px;
	padding-left: 25px;
	padding-top: 15px;
	color: #666;
	border-radius: 30px;
	border: 2px solid rgba(216, 231, 255);
}

.contact-inputs :focus {
	border: 2px solid #1f60ad;
}

.contact-icon {
	max-width: 30px;
	max-height: 30px;
	margin-right: 10px;
}

.contact-row {
	display: flex;
	flex-direction: row;
}

/* ---------------------------------- FOOTER ---------------------------------------- */

#footer-logo {
	width: 50px;
}

footer {
	width: 100%;
	background-color: #1f60ad;
	padding: 20px;
	color: white;
}

.footer-container {
	display: flex;
	justify-items: center;
	align-items: center;
	flex-direction: column;
}

.footer-container .applications {
	padding: 5px;
}

/* ----------------------- RESPONSIVE LAYOUT - MEDIA QUERIES ----------------------- */

@media (max-width: 810px) {
	/* ----- HOME ----- */

	.flex-item {
		width: calc(100vw - 4em);
		height: auto;
	}

	#hero {
		height: 88vh;
	}

	#hero .text-area {
		width: 80vw;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		margin-top: 50px;
	}
	#hero-text {
		flex-direction: column;
		display: flex;
		align-items: center;
		margin-left: 0;
	}

	#hero-logo {
		margin-right: 0;
	}

	.navbar-logo {
		padding: 0 0 0 19px;
		width: 96px;
		height: 19px;
	}

	nav ul a {
		padding: 0px 4.5px;
		justify-content: space-around;
	}

	.navbar {
		width: 380px;
	}

	ul {
		padding-left: 0px;
	}

	.image-split {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.small-img {
		display: block;
	}

	.large-img {
		display: none;
	}

	/* ----- PROJECTS ----- */

	#project-layout {
		flex-direction: column;
		padding: 130px 0 50px 0;
		height: max-content;
	}

	.project-info {
		width: 100%;
		padding: 0 20px 0 20px;
	}

	.coloumn-reverse {
		display: flex;
		flex-direction: column-reverse;
	}

	/* ----- ABOUT ----- */

	#about-layout {
		flex-direction: column;
		padding: 130px 0 0 0;
		height: max-content;
	}

	.about-info {
		width: 100%;
		padding: 0 20px 25px 20px;
	}

	.about-img {
		display: contents;
	}

	/* ----- CONTACT ----- */

	#contact-layout {
		flex-direction: column;
		padding: 130px 20px 70px 20px;
		height: max-content;
		justify-content: center;
	}

	.contact-info {
		width: 100%;
		padding: 0;
	}

	form {
		padding-top: 30px;
	}

	.contact-form {
		display: block;
	}

	.contact-inputs {
		width: 100%;
		height: 50px;
		padding-left: 25px;
	}

	.contact-form textarea {
		width: 100%;
		height: 50px;
		padding-left: 25px;
		padding-top: 15px;
		display: flex;
		align-content: center;
	}
}

@media (max-width: 1280px) {
}

@media (min-width: 768px) {
	/* ----- HOME ----- */
	#hero .text-area {
		width: 70vw;
	}
}

@media (min-width: 1080px) {
	/* ----- HOME ----- */
	#hero .text-area {
		width: 50vw;
	}
}

@media (min-width: 1300px) {
}
