/* Header */

@font-face {
  font-family: 'Contrail-Fallback';
  src: local('Arial Bold'), local('Arial');
  size-adjust: 112%;      /* Contrail is much bigger than standard Arial */
  ascent-override: 90%;   /* Adjusts the 'top' of the letters */
  descent-override: 20%;  /* Adjusts the 'bottom' of the letters */
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: "contrail one";
}

:root {
  --black: #1f1f1f;
  --dark-gray: #3b3a3a;
  --light-gray: #999999;
  --white: #e2e2e2;
  --red: #f23141;
  --dark-red: #822a2a;
  --lightred-color: #ff7f7f;
  --yellow: #ffe802;
  --green: #4d6c58;
  --darkgreen-color: #355535;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--black);
	color: var(--white);
}

a {
	color: var(--white);
	cursor: pointer;
	text-decoration: none;
}

.devgian-logo {
	color: var(--white);
	cursor: pointer;
}

.devgian-logo span {
	color: var(--red);
}

#projects, #services, #contact {
	padding: 45px 15px 0;
}


.section-title {
	display: flex;
	gap: 15px;
}

.section-icon {
	width: 50px;
	height: 50px;
	background-color: var(--dark-red);
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
}

/* Language Overlay  */
html .modal-open,
body .modal-open {
  overflow: hidden !important;
  height: 100%;
}

.overlay {
	background-color: rgba(12, 12, 12, 0.6);
	width: 100vw;
	height: 100vh;
  position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	transition: all 0.3s;
  display: flex;
	align-items: center;
	justify-content: center;
	margin: auto auto;
	padding: 25px 50px;
}

.modal-content  {
  background-color: rgb(27, 27, 27);
  width: 75vw;
  max-height: 400px;
  max-width: 700px;
  border-radius: 25px;
  overflow: hidden;
  padding: 25px 40px;
}

.lang-modal-content {
  display: flex;
  flex-direction: column;
}

.email-sent-message {
	display: flex;
	align-items: center;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

.email-modal-content img {
	width: 50px;
}

.lang-modal-content h2 {
	padding-bottom: 15px;
	border-bottom: 5px solid var(--light-gray);
}

.lang-menu {
  display: flex;
  flex-direction: column;
  flex: 1;     
  overflow-y: auto;
  overflow-x: hidden;
}

.lang-menu li, .lang-close-btn {
	cursor: pointer;
}

.email-modal-content button {
	background-color: var(--green);
	color: var(--white);
	width: 100%;
	margin: 20px 0 12px;
	padding: 15px 25px;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.email-modal-content button:hover {
	background-color: var(--light-gray);
	color: var(--black);
}

.lang-menu li{
	background-color: var(--dark-gray);
	width: 100%;
	margin: 12px 0;
	padding: 10px 15px;
	border-radius: 12px;
}


/* Body start */

#header {
	width: 100vw;
	height: 80px;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 3px solid #161616;
}

.header-logo {
	font-size: 1.8rem;
}

.button {
	height: 50px;
  font-size: 1.2rem;
  box-shadow: 0 5px #822a2a;
  border-radius: 15px;
  border: 2px solid #822a2a;
  background: var(--red);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  font-weight: 500;
  cursor: pointer;
  color: white;
  padding: 0.5em 0.8em;
  margin-bottom: 5px;
  margin-left: auto;
}

.close-button {
  	font-size: 1.125em;
  	padding:  0.5em 0.8em;
  	touch-action: manipulation;
  	will-change: transform;
  	margin: auto;
}

.button:hover {
  	box-shadow: 0 0 var(--black);
  	transform: translateY(6px);
}

#responsive-navigation {
	background-color: var(--black);
	color: var(--white);
  	height: 100vh;
  	width: 200px;
  	margin-left: auto;
  	padding: 20px;
  	border: 0;
  	border-left: 4px solid var(--black);
  	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  	transition-behavior: allow-discrete;
  	display: block;
  	/* Closed POPOVER */
  	opacity: 0;
  	transform: translateX(200px);
}

/* Opened POPOVER */
#responsive-navigation:popover-open {
  	opacity: 1;
  	transform: translateX(0px);
}

ul {
  	margin-top: 20px;
}

li {
  	list-style-type: none;
}

li a {
  	display: block;
  	text-decoration: none;
  	padding: 10px 0;
  	border-bottom: 2px solid var(--white);
  	margin-bottom: 10px;
  	color: var(--white);
  	font-weight: bold;
  	width: 100%;
 	transition: width 0.3s ease, color 0.3s ease;
}

li a:hover {
  	width: 90%;
  	color: var(--red);
}

#hero {
	width: 100vw;
	height: 70vh;
  background-image: url('../img/background.gif'); /* Replace with your GIF's URL */
  background-position: center;
  background-size: cover; 
  padding: 20px;
}

.hero-text {
	margin-top: 40vh;
}

.hero-text h1 {
	font-size: 2.4rem;
	color: var(--white);
	text-shadow: 5px 5px #000000;
}

.hero-text p {
	font-size: 1.4rem;
	color: var(--light-gray);
	text-shadow: 3px 3px #000000;
}

.hero-buttons {
	margin-top: 20px;
}

.hero-buttons a {
	background-color: var(--green);
	color: var(--white);
	padding: 10px 15px;
	font-size: 1.4rem;
	border-radius: 10px;
	box-shadow: 0px 5px 5px rgba(0,0,0);
}


#menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	place-items: center;
	color: var(--white);
	margin-top: 5px;
}

.menu-link {
	width: 45vw;
	height: 25vw;
	max-height: 120px;
	background-color: var(--dark-gray);
	margin: 7.5px 0;
	padding: 10px 5vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 15px;
	font-size: 1.5rem;
}

.section-text h3 {
	font-size: 1.5rem;
}

.section-text p {
	color: var(--light-gray);
}

.slider {
	margin-top: 20px;
	display: flex;
  gap: 15px;
  margin-bottom: 25px;
  overflow-y: hidden;
  overflow-x: scroll;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.a-project {
	min-width: 300px;
	height: 250px;
	background-color: var(--dark-gray);
	border-radius: 15px;
	color: var(--white);
}

.a-project-text {
	width: 100%;
	display: flex;
	justify-content: center;
}

.a-project img {
	width: 100%;
	height: 215px;
	padding: 5px;
	border-radius: 15px;
}

.a-service {
	background-color: var(--dark-gray);
	min-width: 300px;
  height: 250px;
	border-radius: 15px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 1rem;
}

.a-service h4 {
	font-size: 1.5rem;
}

.service-icon {
	width: 50px;
	height: 50px;
	font-size: 2rem;
	background-color: var(--light-gray);
	border-radius: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.a-service-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.a-service a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
  padding: 10px 15px;
  background: var(--green);
  width: 125px;
  text-align: center;
  border-radius: 7.5px;
}

.a-service a:hover {
	color: var(--light-gray);
}

#banner {
	width: 100vw;
	height: 70vh;
  background-image: url('../img/background02.gif'); /* Replace with your GIF's URL */
  background-position: center;
  background-size: cover; 
	margin-top: 50px;
	padding: 30vh 20px 0;
	font-size: 2rem;
	display: flex;
	align-items: center;
	text-align: center;
	text-shadow: 5px 5px #000;
}

#banner h2 span {
	color: var(--yellow);
}


.contact-text h3 {
	font-size: 2.2rem;
	text-align: center;
}

.contact-icons {
	width: 100%;
	margin: 15px 0 25px;
	display: flex;
	justify-content: space-between;
}

.contact-icons a {
	color: var(--white);
	display: inline-block;
	background-color: var(--dark-gray);
	padding: 2.5vw 7.5vw;
	font-size: 2.4rem;
	border-radius: 15px;
	transition: 0.5s;
}

.contact-icons a:hover {
	background-color: var(--green);
}

.chatbot-link {
	background-color: var(--dark-gray);
	display: flex;
}

.contact-form {
	background-color: var(--dark-gray);
	padding: 25px;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
}

.contact-form label {
	margin: 10px 0 5px;
}

.contact-form span {
	color: var(--red);
}

.contact-form input, .contact-form textarea {
	background-color: var(--white);
	padding: 10px;
	border-radius: 7.5px;
}

.contact-form textarea {
	height: 80px;
}

.contact-form input[type="submit"] {
	background-color: var(--green);
	color: var(--white);
	margin-top: 20px;
	padding: 10px;
	border: none;
	cursor: pointer;
}

footer {
	background-color: var(--dark-gray);
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
	padding: 25px;
}

.footer-logo {
	display: flex;
}

.footer-logo p {
	font-size: 2rem;
}

.footer-logo .com {
	color: var(--light-gray);
	font-size: 1.2rem;
	margin-top: 11.5px
}
