@charset "utf-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css?family=Chathura:100,300,400,500,700,900");
@import url("https://fonts.googleapis.com/css?family=Nothing You Could Do:100,300,400,500,700,900");

:root {
  --bg: white;
  --txt: #777;
  --txtonkey: white;
  --lnk: #FF6D00;
  --key: #FF6D00;
  --keyshadow: #EA6206;
  --xkey: #04246b;
  --xkeyshadow: #032060;
}

::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

html {
	background-color: black;
	height: 100%;
	width: 100%;
	padding: 0px;
	margin: 0px;
	scroll-behavior: smooth;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--txt);
    font-family: "Chathura", sans-serif;
    font-size: 38px;
	overflow: none;
	padding: 0px;
	margin: 0px;
    padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box; /* So the width will be 100% + 17px */
	min-width: 350px;
}

header {
	width: 100vw;
	height: 100vh;
	background-color: black;
	margin: 0px;
}

main {
	width: 100vw;
	min-width: 400px;
	min-height: 100vh;
	background-color: var(--bg);
	margin: 0px;
}

footer {
	width: 100vw;
	min-height: 40px;
	background-color: var(--key);
	margin: 0px;
}

a:link, a:visited {
	color: var(--lnk);
	text-decoration: none;
}

a:hover {
	color: var(--key);
}

h1 {
	margin-top: 15px;
	margin-bottom: 12px;
	font-weight: 900;
}
h2 {
	margin-top: 15px;
	margin-bottom: 12px;
	font-weight: 900;
}
h3 {
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: 900;
}

.logo {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	animation-name: fadein;
	animation-duration: 2s;
	animation-fill-mode: both;
}

.logoimg {
	width: 40%; 
}

.headerimg {
	width: 100vw;
	height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.home {
	background-image: url("/img/back2.jpeg");
	background-position: right bottom;
	animation-name: fadein;
    animation-duration: 5s;
	animation-fill-mode: both;
}

section {
	min-height: 100vh;
	margin: 0px;
	
}

.sectionhead {
	width: 90%;
	min-height: 30px;
	background-color: var(--key);
	color: white;
	font-size: 40px;
	font-weight: bold;
	line-height: 50px;
	padding: 0px 5% 4px 5%;
	border-top: 5px solid var(--keyshadow);
	border-bottom: 5px solid var(--keyshadow);
	text-align: center;
}

.sectionbody {
    width: 90%;
    background-color: var(--bg);
    color: var(--txt);
    padding: 10px 5% 80px 5%;
    line-height: 30px;
	text-align: center;
}

.section-title {
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    vertical-align: middle;
    margin: 0px;
}

.section-nav {
    float: right;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    vertical-align: middle;
    margin: 0px;
    margin-top: 0px;
    margin-top: 25px;
}

.infotile {
    display: inline-block;
    width: 25%;
    min-width: 200px;
    margin: 20px 1% 10px 1%;
    padding: 20px;
    text-align: center;
    vertical-align: top;
}

ul#skills {
	padding: 40px;
}
ul#skills li {
	display: inline-block;
	background-color: #CCC;
	border-radius: 5px;
	padding: 10px 20px 10px 20px;
	line-height: 30px;
	margin: 10px;
}

.contact1 {
	display: inline-block;
	width: 35%;
	min-width: 330px;
	text-align: left;
	vertical-align: middle;
	margin: 20px 5% 35px 5%;
	color: var(--keyshadow);
}
.contact2 {
	display: inline-block;
	width: 20%;
	min-width: 330px;
	text-align: left;
	vertical-align: middle;
	margin: 25px 5% 40px 5%;
	color: var(--keyshadow);
}
.contact2 a:link, .contact2 a:visited {
	color: var(--key);
	font-size: 30px;
}
.contact a:hover {
	color: #888;
}
.contact-item {
	vertical-align: middle;
	margin: 70px 0 70px 0;
}

.contact-icon {
	display: inline-block;
	height: 40px;
	width: 60px;
}
.contact-info {
	position: relative;
	top: -8px;
	display: inline-block;
	padding: 0 0 15px 20px;
}

input[type=text], input[type=email] {
	width: 100%;
	padding: 6px 20px;
	box-sizing: border-box;
	border: 2px solid #ccc;
	border-radius: 4px;
	background-color: #f8f8f8;
	margin-bottom: 20px;
	font-family: Chathura;
	font-size: 24px;
}

textarea {
	width: 100%;
	padding: 12px 20px;
	box-sizing: border-box;
	border: 2px solid #ccc;
	border-radius: 4px;
	background-color: #f8f8f8;
	resize: none;
	margin-bottom: 20px;
	font-family: Chathura;
	font-size: 24px;
}

button {
	background-color: var(--key);
	border: none;
	border-radius: 4px;
	color: white;
	padding: 16px 50px;
	text-decoration: none;
	margin: 4px 2px;
	cursor: pointer;
	font-family: Chathura;
	font-size: 24px;
}

.footerquote {
	font-family: Nothing You Could Do;
	font-weight: 100;
	font-style: normal;
	font-size: 30px;
}

#sitemap {
	padding: 20px;
	padding-top: 0px;
	margin: 0px;
}
.sitemapli {
	display: inline-block;
	padding: 5px 10px 5px 10px;
	font-size: 11px;
	margin: 5px;
	border: solid 1px var(--txtonkey);
	border-radius: 4px;
}
#sitemap a:link, #sitemap a:visited {
	color: var(--txtonkey);
}
#sitemap a:hover {
	color: var(--txt);
}

.footerbody {
	width: 90%;
	min-height: 50px;
	background-color: var(--key);
	color: var(--txtonkey);
	font-size: 12px;
	padding: 12px 5% 7px 5%;
	border-top: 5px solid var(--keyshadow);
	border-bottom: 5px solid var(--keyshadow);
	text-align: center;
	font-family:Arial, Helvetica, sans-serif;
}


.copyinfo {
	padding: 12px 5% 2px 5%;
	font-size: 10px;
	color: var(--txt);
}

.copyinfo a:link, .copyinfo a:visited {
	color: var(--txt);
	text-decoration: none;
}

.copyinfo a:hover {
	color: var(--txtonkey);
}

 /* Style the navigation menu */
.topnav {
  position: absolute;
  top: 0px;
  right: 0px;
  overflow: hidden;
  background-color: transparent;
  width: 100vw;
  height: 100vh;
}

.topnav:hover {
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 30px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:link, .topnav a:visited {
	font-size: 45px;
	color: var(--key);
	font-weight: bold;
	text-shadow: 3px 2px 2px rgba(0,0,0,0.67);
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: rgba(0, 0, 0, .7);
  color: var(--txtonkey);
  border-radius: 0px;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #4CAF50;
  color: white;
} 

@media screen and (min-width: 1200px) {
	.topnav {
	  width: 70vw;
	  height: 110px;
	  text-align: right;
	}
	
	.topnav #myLinks {
	  display: inline-block;
	}
	
	/* Style navigation menu links */
	.topnav a {
	  color: white;
	  padding: 14px 30px;
	  text-decoration: none;
	  font-size: 18px;
	  display: inline-block;
	}
	
	.topnav a.icon {
	  display: none;
	}
	
	.topnav a:hover {
	  background-color: rgba(0, 0, 0, .8);
	  color: var(--txtonkey);
	  border-radius: 15px;
	}
	
	.sectionhead {
	  text-align: left;
	}


}


