@import url(https://fonts.googleapis.com/css?family=Pacifico|Ubuntu|Yellowtail|Aladin);

/* Global styles */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--main-font-color: #f2b642;
	--main-white: #fff;
	--main-font-dark-gray: #4d4d4d;	
	--main-footer-bg-color: #141414;
	--main-font-family: 'Ubuntu', sans-serif;
	--main-font-family-logo: 'Pacifico', cursive;
	--main-font-family-nav: 'Ubuntu', sans-serif;
	--main-font-family-header: 'Yellowtail', cursive;
	--main-font-family-secondary: 'Ubuntu', sans-serif;
}

html {
	font-size: 10px;
	font-family: var(--main-font-family);
	scroll-behavior: smooth;
}

section {
	padding: 6rem 0;
}

p {
	line-height: 1.5;
	font-size: 1.8rem;
	font-weight: 300;
	color: var(--main-font-dark-gray);
}

a {
	text-decoration: none;
	color: var(--main-white);
}

/* Reusable classes */
.btn {
	display: inline-block;
	transition: all 650ms;
	border-radius: 3px;
	text-transform: uppercase;
}
.btn-info {
	font-size: 1.2rem;
	padding: 1rem;
	color: var(--main-font-color);
	border-bottom: 1px solid var(--main-font-color);
	margin: 2rem 0 4rem 0;
}
.btn-info:hover {
	background-color: var(--main-font-color);
	color: var(--main-white);
}
.btn-fill {
	font-size: 1.2rem;
	padding: 1rem;
	color: var(--main-font-color);
	border-bottom: 1px solid var(--main-font-color);
	//margin: 2rem 0 4rem 0;
}
.btn-fill:hover {
	background-color: var(--main-font-color);
	color: var(--main-white);
}
.custom-font {
	font-family: var(--main-font-family-header);
	color: var(--main-font-color);
	font-size: 6.5rem;
	line-height: 1;
	font-weight: 100;
}
.custom-font-secondary {
	font-family: var(--main-font-family-secondary);
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 2.5rem;
	line-height: .5;
	color: var(--main-font-dark-gray);
	margin-bottom: 5rem;
}
.container {
	width: 90%;
	margin: 0 auto;
	text-align: center;
}
.between-sec {
	padding: 20rem 0;
	text-align: center;
}
.between-sec-color {
	color: var(--main-white);
}

/* Header */
header {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	text-align: center;
	position: relative;
}
.bg-clouds {
	background: linear-gradient(to bottom, rgba(0,0,0,.9), transparent), url(/static/img/clouds-1.jpeg) bottom no-repeat;
	background-size: cover;
}
.bg-skyscraper {
	background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.5)), url(/static/img/textured-glass.jpeg) bottom no-repeat;
	background-size: cover;
}
.bg-services {
	background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.5)), url(/static/img/technology.jpeg) bottom no-repeat;
	background-size: cover;
}
.bg-contact {
	background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.5)), url(/static/img/skyline-2.jpeg) bottom no-repeat;
	background-size: cover;
}

/* Header - Nav Toggle */
.menu {
	padding: 2rem 2.5rem;
	position: fixed;
	top: 3rem;
	right: 3rem;
	background-color: rgba(0,0,0,.5);
	z-index: 999;
	border-radius: 3px;
	cursor: pointer;
}
.menu .bar,
.menu .bar::before,
.menu .bar::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 4rem;
	background-color: var(--main-white);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transition: 650ms;
}
.menu .bar::before {
	top: -2rem;
}
.menu .bar::after {
	top: 2rem;
}
.active .bar {
	background-color: transparent;
}
.active .bar::before,
.active .bar::after {
	top: 0;
}
.active .bar::before {
	transform: rotate(45deg);
}
.active .bar::after {
	transform: rotate(-45deg);
}

/* Header - Nav */
#logo {
	display: none;
	font-family: var(--main-font-family-logo);
	//text-transform: uppercase;
	font-size: 3rem;
	font-weight: 300;
	//border-bottom: 1px solid #fff;
	margin-bottom: -5px;
}
.nav {
	width: 100%;
	height: 6rem;
	line-height: 6rem;
	position: relative;
}
.overlay {
	background-color: rgba(0,0,0,.95);
	position: fixed;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
	transition: opacity 650ms;
	transform: scale(0);
	opacity: 0;
}
.overlay.menu-open {
	transform: scale(1);
	opacity: 1;
}
.nav .overlay ul {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.nav .overlay ul li {
	text-transform: uppercase;
}
.nav .overlay ul li a {
	display: block;
	font-size: 2rem;
	transition: all 650ms;
	font-family: var(--main-font-family-nav);
}
.nav .overlay ul li a:hover,
.nav .overlay ul li a .active:hover {
	color: var(--main-font-color);
}

/* Main Text */
.main-text {
	line-height: 0;
	margin: auto;
	color: var(--main-white);
	user-select: none;
}
.main-text h1 {
	font-family: var(--main-font-family-header);
	color: var(--main-font-color);
	font-size: 8rem;
	font-weight: 100;
	margin-bottom: 5rem;
}
.main-text h2 {
	font-family: var(--main-font-family-secondary);
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 2em;
	line-height: 1;
}
.main-text h2::before,
.main-text h2::after {
	content: "";
	height: 3px;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	background-color: var(--main-white);
	border-radius: 8px;
}
.main-text h2::before {
	left: -6rem;
}
.main-text h2::after {
	right: -6rem;
}

.main-btn {
	font-size: 1.5rem;
	border: 2px solid var(--main-font-color);
	padding: 2rem 2.5rem;
	letter-spacing: 3px;
	margin-right: -3px;
	position: relative;
	margin-top: 3rem;
}
.main-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
}
.main-btn:active {
	transform: transformY(0);
	box-shadow: none;
}

/* Sections */
.about-img {
	background: url(/static/img/network.png) center no-repeat;
}
.services-img {
	background: url(/static/img/services.png) center no-repeat;
}
.network-img {
	background: url(/static/img/network.png) center no-repeat;
}
.datacenter-img {
	background: url(/static/img/datacenter.png) center no-repeat;
}
.security-img {
	background: url(/static/img/security.png) center no-repeat;
}
.cloud-img {
	background: url(/static/img/cloud.png) center no-repeat;
}
.coding-img {
	background: url(/static/img/coding.png) center no-repeat;
}
.web-img {
	background: url(/static/img/www.png) center no-repeat;
}
.mail-img {
	background: url(/static/img/email.png) center no-repeat;
}
.backups-img {
	background: url(/static/img/backups.png) center no-repeat;
}
.technology-img {
	background: url(/static/img/technology.png) center no-repeat;
}
.contact-img {
	background: url(/static/img/email.png) center no-repeat;
}
.about-img,
.services-img,
.services-img,
.network-img,
.datacenter-img,
.security-img,
.cloud-img,
.coding-img,
.web-img,
.mail-img,
.backups-img,
.technology-img,
.contact-img {
	width: 100%;
	background-size: auto 100%;
}

/* Section - in-between */
.automation-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/automation.jpeg);
}
.cloud-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/cloud.jpeg);
}
.database-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/database.jpeg);
}
.datacenter-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/datacenter.jpeg);
}
.experts-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/skyline.jpeg);
}
.disaster-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/disaster.jpeg);
}
.knowledge-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/knowledge.jpeg);
}
.monitoring-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/monitoring.jpeg);
}
.support-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/coffee.jpeg);
}
.telephone-fill {
	background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0.5)), url(/static/img/telephone.jpeg);
}
.automation-fill,
.cloud-fill,
.database-fill,
.datacenter-fill,
.experts-fill,
.disaster-fill,
.knowledge-fill,
.monitoring-fill,
.support-fill,
.telephone-fill {
	width: 100%;
	background-size: cover;
}

/* Section - Contact Us */
a.contact-link {
	color: var(--main-font-color);
	weight: 600;
}
#contact {
//	width: 100%;
//	height: 100vh;
}
.alert {
	width: 100%;
	max-width: 100%;
	margin: 5px 1rem;
	padding: 5px 1rem;
	font-size: 1.3rem;
	border-radius: 3px;
}
.alert-success {
	background-color: #dff0d8;
	color: #3c763d;
;}
.contact-us form {
	width: 100%;
	min-width: 9rem;
	margin-top: 5rem;
}
.input,
.text-area {
	width: 100%;
	max-width: 100%;
	margin: 5px 1rem;
	padding: 5px 1rem;
	border-radius: 3px;
	font-size: 1.6rem;
	border: 1px solid var(--main-font-color);
	color: #878787;
}
.input::placeholder,
.text-area::placeholder {
	color: #878787;
}
.text-area {
	height: 10rem;
}
.input {
	height: 5rem;
}
/* Button state styles */
.btn-submit {
    background-color: var(--main-font-color);
    color: var(--main-white);
    width: 100%;
    height: 5rem;
    padding: 1rem 0;
    cursor: pointer;
    border: 2px solid var(--main-font-color);
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #e1aa2f;
}

/* Loading state - blue color */
.btn-submit.btn-loading {
    background-color: #3498db;
    border-color: #3498db;
    color: var(--main-white);
    cursor: not-allowed;
    /* Remove the spinning animation */
    border-radius: initial;
    font-size: initial;
    border-left-color: transparent;
    animation: none;
}

/* Success state - green color */
.btn-submit.btn-done {
    background-color: #27ae60;
    border-color: #27ae60;
    color: var(--main-white);
    cursor: not-allowed;
}

/* Error state - red color */
.btn-submit.btn-error {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: var(--main-white);
    cursor: not-allowed;
}

/* WhatsApp button */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #25D366;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    //margin: 5px 0;
    font-weight: bold;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    color: white;
}

.whatsapp-link i {
    font-size: 1.5rem;
    margin-right: 8px;
}

/* Footer */
footer {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 3em;
	text-align: center;
	background-color: var(--main-footer-bg-color);
	padding: 5rem 0;
	font-size: 1.8rem;
	color: var(--main-white);
	font-family: var(--main-font-family);
}
footer h4 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	font-weight: 100;
	font-family: var(--main-font-family-header);
	color: var(--main-font-color);
}
footer h5 {
	font-size: 2rem;
	//text-transform: uppercase;
	margin: 1.5rem 0;
	font-weight: 600;
	font-family: var(--main-font-family-footer);
}
footer p {
	color: var(--main-white);
}
footer .footer-links ul {
	display: block;
	list-style-type: none;
}
footer .footer-links ul li a {
	display: block;
	padding: .5rem 1rem;
}
footer .footer-logo a {
	display: block;
	font-family: var(--main-font-family-logo);
	font-size: 3rem;
	font-weight: 300;
	color: var(--main-font-color);
}

@media screen and (min-width: 769px) {
	header,
	.between-sec {
		background-attachment: fixed;
	}
	.menu {
		display: none;
	}
	.nav {
		display: flex;
		padding: 2rem 10rem 0;
		justify-content: space-between;
	}
	#logo {
		display: block;
	}
	.nav .overlay {
		position: initial;
		background: none;
		opacity: initial;
		transform: initial;
	}
	.nav .overlay ul {
		flex-direction: row;
		list-style: none;
		margin-top: 2px;
	}
	.nav .overlay ul li a {
		font-size: 1.5rem;
		letter-spacing: 1px;
		margin-right: -1px;
		padding: 0 2rem;
	}
	.container {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.center {
		flex: 1;
	}
	.add-flex {
		flex: 1;
	}
	.add-padding-right {
		padding-right: 10rem;
	}
	.first {
		order: 1;
	}
	.second {
		order: 2;
	}
	.inline-img {
		min-height: 40rem;
	}
	.btn-info,
	.btn-fill {
		font-size: 1.8rem;
	}
	.main-text h1 {
		transform: tranlateY(4rem);
		opacity: 0;
		animation: .5s fadeUp .5s forwards;
	}
	.main-text h2 {
		transform: scale(2);
		opacity: 0;
		animation: fadeIn .5s forwards;
	}
	.main-text .main-btn {
		opacity: 0;
		animation: 0.5s fade 1s forwards;
	}
	footer {
		grid-template-columns: 1fr 1fr 1fr;
	}
	@keyframes fadeIn {
		0% {
			transform: scale(2);
			opacity: 0;
		}
		100% {
			transform: scale(1);
			opacity: 1;
		}
	}
	@keyframes fadeUp {
		0% {
			transform: translateY(4rem);
			opacity: 0;
		}
		100% {
			transform: translateY(0);
			opacity: 1;
		}
	}
	@keyframes fade {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
}