/* Base */

#awwwards{
	position: absolute;
	top: 100px;
	width: 90px;
	height: 135px;
	text-indent: -666em;
	overflow: hidden;
	z-index: 999;

	-webkit-transition: all 1s ease;
    transition: all 1s ease; 
}
#awwwards.top{
	top: 20px;
}
#awwwards.left{
	left: 0;
}
#awwwards.right{
	right: 0;
}

#awwwards a{
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 90px;
	height: 135px;
	background-repeat: no-repeat;
	background-size: 90px 135px;
}

/* HONORABLE */

#awwwards.honorable.black.left a{
	background-image: url(ribbons/awwwards_honorable_black_left.png);
}
#awwwards.honorable.black.right a{
	background-image: url(ribbons/awwwards_honorable_black_right.png);
}
#awwwards.honorable.silver.left a{
	background-image: url(ribbons/awwwards_honorable_silver_left.png);
}
#awwwards.honorable.silver.right a{
	background-image: url(ribbons/awwwards_honorable_silver_right.png);
}
#awwwards.honorable.white.left a{
	background-image: url(ribbons/awwwards_honorable_white_left.png);
}
#awwwards.honorable.white.right a{
	background-image: url(ribbons/awwwards_honorable_white_right.png);
}
#awwwards.honorable.green.left a{
	background-image: url(ribbons/awwwards_honorable_green_left.png);
}
#awwwards.honorable.green.right a{
	background-image: url(ribbons/awwwards_honorable_green_right.png);
}
@media screen and (max-width: 420px) {
	#awwwards{
		top: 50px;
		width: 45px;
		height: 68px;
	}
	#awwwards a{
		width: 45px;
		height: 68px;
		background-size: 45px 68px;
	}
}
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2),	only screen and (min-device-pixel-ratio: 1.5) {
	/* HONORABLE */

	#awwwards.honorable.black.left a{
		background-image: url(ribbons/awwwards_honorable_black_left@2x.png);
	}
	#awwwards.honorable.black.right a{
		background-image: url(ribbons/awwwards_honorable_black_right@2x.png);
	}
	#awwwards.honorable.silver.left a{
		background-image: url(ribbons/awwwards_honorable_silver_left@2x.png);
	}
	#awwwards.honorable.silver.right a{
		background-image: url(ribbons/awwwards_honorable_silver_right@2x.png);
	}
	#awwwards.honorable.white.left a{
		background-image: url(ribbons/awwwards_honorable_white_left@2x.png);
	}
	#awwwards.honorable.white.right a{
		background-image: url(ribbons/awwwards_honorable_white_right@2x.png);
	}
	#awwwards.honorable.green.left a{
		background-image: url(ribbons/awwwards_honorable_green_left@2x.png);
	}
	#awwwards.honorable.green.right a{
		background-image: url(ribbons/awwwards_honorable_green_right@2x.png);
	}

}

.social-icon {
	width: 1em;
	height: 1em;
	display: block;
	filter: brightness(0) invert(1);
}

header.js-color .social-icon {
	filter: none;
}

.title .social-icon {
	display: inline-block;
	vertical-align: middle;
	margin-right: 1.6rem;
}

.title .social-icon:last-child {
	margin-right: 0;
}

.global-nav__sns .social-icon {
	display: inline-block;
	vertical-align: middle;
}

/* Projects hub & detail pages */
.page-top .image__projects {
	background: url(../img/01.png) no-repeat center;
	background-size: cover;
}

.page-top .image__rag {
	background: url(../img/Ragchat_Project.webp) no-repeat center;
	background-size: cover;
}

.page-top .image__transformer {
	background: url(../img/Transformer_Project.webp) no-repeat center;
	background-size: cover;
}

.big-image--rag {
	background: url(../img/Ragchat_Project.webp) no-repeat center;
	background-size: cover;
}

.big-image--transformer {
	background: url(../img/Transformer_Project.webp) no-repeat center;
	background-size: cover;
}

.project-entry {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14.4rem 8.58333% 0;
	gap: 6%;
}

.project-entry--reverse {
	flex-direction: row-reverse;
}

.project-entry__image {
	display: block;
	width: 45%;
	flex-shrink: 0;
	overflow: hidden;
}

.project-entry__image img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.project-entry__btn {
	margin-top: 3.2rem;
}

.project-footer-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8rem;
	flex-wrap: wrap;
}

.project-footer-actions .back-btn {
	flex-shrink: 0;
}

.project-github-link {
	display: inline-block;
	padding: 1.2rem 3.2rem;
	border: 1px solid #072142;
	color: #072142;
	background: transparent;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 0.1em;
	border-radius: 50px;
	transition: opacity 0.3s;
	flex-shrink: 0;
}

.project-github-link:hover {
	opacity: 0.6;
}

@media screen and (max-width: 800px) {
	.project-entry,
	.project-entry--reverse {
		flex-direction: column;
		padding-top: 7.2rem;
	}

	.project-entry .text {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		padding-left: 10%;
		padding-right: 10%;
		box-sizing: border-box;
	}

	.project-entry .text .heading-num {
		position: static;
		display: block;
		margin-bottom: 2.4rem;
	}

	.project-entry .text__wrap {
		padding-left: 0;
		padding-right: 0;
		align-items: flex-start;
		width: 100%;
	}

	.project-entry .text__works {
		margin-top: 2.4rem;
	}

	.project-entry .heading {
		margin-right: 0;
	}

	.project-entry__image {
		width: 100%;
		margin-top: 4rem;
	}

	.project-footer-actions {
		gap: 4rem;
	}
}

@media screen and (max-width: 420px) {
	.project-entry .text .heading-num {
		margin-bottom: 1.6rem;
	}

	.project-entry .text__works {
		margin-top: 1.6rem;
	}

	.project-footer-actions {
		flex-direction: column;
		gap: 3.2rem;
	}
}
