.main-title img.letter-o:nth-child(1){	   
	height:30px;
}
@media (max-width: 375px) {
    .main-title img.letter-o:nth-child(1){
	      height:20px;
	}
}

.title{
	display: flex;
	justify-content: center;
	color: var(--color-prgreen);
}

.title h1 {
	margin-top:0px;
	margin-bottom: 20px;
}
.subtitle {
	text-align: center;
	font-size: 20px;
	color: rgba(229, 229, 229, 0.5);
	margin: 0 20%;
}

.project-section{
	margin: 20px 0px;
	padding: 50px 0px;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url('/media/1417/cartographer-50.png') ;
	background-repeat: repeat, no-repeat;
	box-shadow: 0px 1px 25px 5px rgba(0,0,0,0.2);
	display: grid;
	justify-content: center;
	align-content: center;
	grid-template-columns: auto;
	gap: 70px;
}

.image-container {
	filter: grayscale(0.6);
    height: 100%;
    width: 100%;
    background: no-repeat;
    background-position: center;
}

@media(min-width: 1200px){
	.project-section {
		margin-left: 0;
		margin-right: 0;
		grid-template-columns: auto auto;
	}
}

@media(min-width: 1600px){
	.project-section {
		margin-left: 0;
		margin-right: 0;
		grid-template-columns: auto auto auto;
	}
}

.project-card{
	position: relative;
	height: 280px;
	width: 360px;
	overflow: hidden;
	box-sizing: border-box;
    border: 2px solid black;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(28, 29, 27, 0.7483368347338936) 30%, rgba(28, 29, 27, 1) 22%, rgb(14 14 14) 104%);
    transition: all 0.2s ease-in-out;
}
.project-card .text-container {
	font-size: 11px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
	color: #a39f9f;
	position: absolute;
	bottom: -300px;
	padding: 0 20px 0 20px;
	width: 100%;
	background: var(--color-darkslategray-100);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;  
	transition: bottom ease-out 0.4s;
	box-shadow: rgb(0 0 0 / 25%) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.project-card .text-container .learn-more {
    position: absolute;
    left: -200px;
    top: -54px;
    transition: left ease-in-out 0.2s;
    transition-delay: 0.4s;
}

.project-card:hover .text-container{
	bottom: 0;
}

.project-card:hover .learn-more {
	left: 10px;
    top: -20px;
}

.project-card:hover {
    border: 2px solid #9ddf4661;
	transform: scale(1.03);
}

@media (pointer:none), (pointer:coarse) {
	.project-card .text-container {
		bottom: 0;
	}
	
	.project-card .text-container .learn-more {
		display: none;
	}
}
#modal-container {
	 position: fixed;
	 height: 100%;
	 width: 100%;
	 top: 0;
	 left: 0;
	 transform: scale(0);
	 z-index: 14;
	overflow: auto;
	background: rgba(0, 0, 0, .8);
}
 #modal-container.open {
	 transform: scaleY(0.01) scaleX(0);
	 animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
 #modal-container.open .modal-background .modal {
	 transform: scale(0);
	 animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
 #modal-container.open.out {
	 transform: scale(1);
	 animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
 #modal-container.open.out .modal-background .modal {
	 animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
 #modal-container .modal-background {
	 display: flex;
    justify-content: center;
	 /*text-align: center;*/
	 vertical-align: middle;
}
 #modal-container .modal-background .modal {
	 background: var(--color-background);
	 padding: 50px;
	 display: inline-block;
	 border-radius: 20px;
	 font-weight: 300;
	 position: relative;
	 color: #a39f9f;
	 opacity: 90%;
}
 #modal-container .modal-background .modal .modal-svg {
	 position: absolute;
	 top: 0;
	 left: 0;
	 height: 100%;
	 width: 100%;
	 border-radius: 3px;
}
 #modal-container .modal-background .modal .modal-svg rect {
	 stroke: #fff;
	 stroke-width: 2px;
	 stroke-dasharray: 778;
	 stroke-dashoffset: 778;
}

#modal-container-close {
	top: 25px;
    left: 25px;
    width: fit-content;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-prgreen);
    background-color: var(--color-prblack);
    padding: 10px;
    box-shadow: 5px 4px 6px -3px var(--color-prblack);
    border-radius: 50%;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}

#modal-container-close::before {
	--border-size: -3px;
    --border-angle: 0turn;
    content: "";
    position: absolute;
    top: var(--border-size);
    left: var(--border-size);
    right: var(--border-size);
    bottom: var(--border-size);
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(to left, #ffffff, var(--color-prgreen)) border-box;
    background-image: conic-gradient(from var(--border-angle), #fff 10%, var(--color-prgreen) 50%, #fff);
    background-position: center center;
    background-repeat: no-repeat;
    animation: bg-spin 3s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

#modal-container-close:hover {
	transform: scale(1.1);
	box-shadow: rgba(28,29,27, 0.4) 5px 5px, rgba(28,29,27, 0.3) 10px 10px, rgba(28,29,27, 0.2) 15px 15px, rgba(28,29,27, 0.1) 20px 20px, rgba(28,29,27, 0.05) 25px 25px;
}
#modal-container-close:hover .close-icon::before,
#modal-container-close:hover .close-icon::after
{
	background: var(--color-prgreen);
}

.close-icon {
	position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.close-icon::before, .close-icon::after {
	content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    top: 50%;
    left: 0px;
    margin-top: -1px;
    background: #fff;
}
.close-icon::before {
	 transform: rotate(45deg);
}
.close-icon::after {
	 transform: rotate(-45deg);
}
 


.modal-checkbox {
  display: none;
}

.modal-checkbox:checked ~ .modal-overlay,
.modal-checkbox:checked ~ .modal-content {
  display: block;
  z-index: 1000;
  border-radius: 10px;
}
.modal-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  border-radius: 0px;
  left: 0;
  background-color: rgba(0, 0, 0, .5);
	 animation: scaleDown .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}
.modal-content {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	border-radius: 0;
	box-shadow: none;
	height: 100%;
	width: 100%;
	background-color: #fff;
	padding: 5em 5em 5em 5em;
	overflow-x: scroll;
	animation: scaleDown .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}
.modal-active{
	overflow:hidden;
}
.modal-close {
  position: absolute;
  top: 0.25em;
  right: .5em;
  font-size: 2em;
  line-height: 1;
  font-weight: 300;
  color: #666;
  cursor: pointer;
}
.modal-title {
  font-weight: 700;
  margin: 0 0 .75em 0;
	text-align: center;
}
@media (min-width: 600px) {
  .modal-content {
    max-width: 600px;
    top: 10%;
    right: 0;
    margin: 0 auto;
    height: auto;
    width: auto;
    max-height: 80%;
  }
}
@media (max-width: 600px) {
  .modal-content {
    max-width: 600px;
    top: 10%;
    right: 0;
    margin: 0 auto;
    height: auto;
    width: auto;
    max-height: 80%;
    padding: 45px;
  }
}

@keyframes unfoldIn {
  100% {
    transform:scaleY(1) scaleX(1);
  }
}

@keyframes unfoldOut {
  100% {
    transform:scaleY(.005) scaleX(0);
  }
}

@keyframes zoomIn {
  0% {
    transform:scale(0);
  }
  100% {
    transform:scale(1);
  }
}

@keyframes zoomOut {
  0% {
    transform:scale(1);
  }
  100% {
    transform:scale(0);
  }
}

@keyframes fadeIn {
  0% {
    background:rgba(0,0,0,.0);
  }
  100% {
    background:rgba(0,0,0,.7);
  }
}

@keyframes fadeOut {
  0% {
    background:rgba(0,0,0,.7);
  }
  100% {
    background:rgba(0,0,0,.0);
  }
}

@keyframes scaleUp {
  0% {
    transform:scale(.8) translateY(1000px);
    opacity:0;
  }
  100% {
    transform:scale(1) translateY(0px);
    opacity:1;
  }
}

@keyframes scaleDown {
  0% {
    transform:scale(1) translateY(0px);
    opacity:1;
  }
  100% {
    transform:scale(.8) translateY(1000px);
    opacity:0;
  }
}

@keyframes scaleBack {
  0% {
    transform:scale(1);
  }
  100% {
    transform:scale(.85);
  }
}

@keyframes scaleForward {
  0% {
    transform:scale(.85);
  }
  100% {
    transform:scale(1);
  }
}

@keyframes quickScaleDown {
  0% {
    transform:scale(1);
  }
  99.9% {
    transform:scale(1);
  }
  100% {
    transform:scale(0);
  }
}

@keyframes slideUpLarge {
  0% {
    transform:translateY(0%);
  }
  100% {
    transform:translateY(-100%);
  }
}

@keyframes slideDownLarge {
  0% {
    transform:translateY(-100%);
  }
  100% {
    transform:translateY(0%);
  }
}

@keyframes moveUp {
  0% {
    transform:translateY(150px);
  }
  100% {
    transform:translateY(0);
  }
}

@keyframes moveDown {
  0% {
    transform:translateY(0px);
  }
  100% {
    transform:translateY(150px);
  }
}

@keyframes blowUpContent {
  0% {
    transform:scale(1);
    opacity:1;
  }
  99.9% {
    transform:scale(2);
    opacity:0;
  }
  100% {
    transform:scale(0);
  }
}

@keyframes blowUpContentTwo {
  0% {
    transform:scale(2);
    opacity:0;
  }
  100% {
    transform:scale(1);
    opacity:1;
  }
}

@keyframes blowUpModal {
  0% {
    transform:scale(0);
  }
  100% {
    transform:scale(1);
  }
}

@keyframes blowUpModalTwo {
  0% {
    transform:scale(1);
    opacity:1;
  }
  100% {
    transform:scale(0);
    opacity:0;
  }
}

@keyframes roadRunnerIn {
  0% {
    transform:translateX(-1500px) skewX(30deg) scaleX(1.3);
  }
  70% {
    transform:translateX(30px) skewX(0deg) scaleX(.9);
  }
  100% {
    transform:translateX(0px) skewX(0deg) scaleX(1);
  }
}

@keyframes roadRunnerOut {
  0% {
    transform:translateX(0px) skewX(0deg) scaleX(1);
  }
  30% {
    transform:translateX(-30px) skewX(-5deg) scaleX(.9);
  }
  100% {
    transform:translateX(1500px) skewX(30deg) scaleX(1.3);
  }
}

@keyframes sketchIn {
	0% {
		stroke-dashoffset: 778;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

@media(max-width: 1000px) {

@media(max-width: 500px) {
	.project-card{
		width: 330px;
	}
	.project-section {
		gap: 35px;
	}
}

@media(max-width: 375px) {
	.main-title-section{
		margin: 20px 0;
	}
	.title h1 {
		font-size: 25px;
		margin-bottom: 20px;
	}
	.subtitle{
		font-size: 15px;
	}
	.project-card{
		width: 300px;
	}
	.project-card .text-container h2 {
		font-size: 15px;
	}
	#modal-container-close {
		top: 14px;
		left: 34px;
	}
	.project-section{
		padding: 20px 0;
		gap: 20px;
	}
}

.text-container .button {
  cursor: pointer;
}

.slide-link {
	appearance: none;
	background: var(--color-darkslategray-100);
	border: 1px solid var(--color-prgray);
	border-radius: 15px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 15px;
	font-weight: 900;
	line-height: normal;
	margin: auto 0 0 0;
	min-height: 25px;
	outline: none;
	padding: 10px 25px;
	text-align: center;
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	width: 174px;
	will-change: transform;
	box-shadow: rgb(0 0 0 / 25%) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.slide-link:disabled {
  pointer-events: none;
}
.slide-link:hover {
  color: #fff;
  background-color: var(--color-prgreen);
  box-shadow: #1c1d1b 0px 20px 30px -10px;
  transform: translateY(-2px);
  border: 0;
}
.slide-link:active {
  box-shadow: none;
  transform: translateY(0);
}

