 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;600;700;800;900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

html { 
	scroll-behavior: smooth;
	height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    min-height: 100%;
  }

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: white;
	color: #444;
	font-family: 'Poppins', sans-serif;
	line-height: 2rem;
}

h1 {
	font-size: 45px;
}

a, a:visited {
	color: #001b39;
}

a:hover {
	transition: .5s;
  color: #234366;
}

.header {
	display: flex;
	background: #00285A;
	height: 4rem;
	width: 100%;
}

.logo img {
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 0rem;
	width: 3rem;
	height: auto;
	position: absolute;
	transition: .5s;
	top: 1%;
	left: 2%;
}

.logo img:hover {
	transition: .5s;
}

.logo h1{
	text-decoration: none;
	color: #fff;
	font-size: 40px;
	margin-top: .9rem;
	font-family: 'Lobster', cursive;
	font-weight: normal;
	position: absolute;
	left: 6%;
	transition: .5s;
}

.logo h1:hover {
  color: #86C0D6;
	transition: .5s;
}

.navigation {
	display: flex;
	flex-direction: row;
	margin-top: auto;
	margin-bottom: auto;
	margin-left: auto;
	margin-right: 3rem;
}

.navigation a {
	margin-left: 2rem;
	text-decoration: none;
	color: #fff;
	font-weight: normal;
	transition: .5s;
	font-family: 'Lobster', cursive;
	font-size: 26px;
}

.navigation #home {
  padding: 0rem;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.navigation #home:hover {
  border-bottom: 1px solid #fff;
  padding: 0rem;
  color: #86C0D6;
}

.navigation a:hover {
  color: #86C0D6;
  }

@media only screen and (max-width: 900px) {
.logo img{
	margin-left: auto;
}

.navigation {
	margin-right: 2rem;
}
}

.intro {
	display: flex;
	width: 100%;
	height: 45rem;
 	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.0)), url("images/bg.jpg");	
	background-position: top left;
	background-size: cover;
	background-attachment: fixed;
	justify-content: center;
	display: none;
}

.intro h1 {
	display: flex;
	font-family: 'Lobster', cursive;
	margin-top: 0;
	position: absolute;
	bottom: 35%;
	color: #fff;
	text-shadow: 2px 2px #000;
	font-size: 120px;
	align-items: center;
}

@media only screen and (max-width: 900px) {
.intro h1 {
	font-size: 60px;
}

.navigation a {
	margin-left: 1.2rem;
	font-size: 20px;
	}
}

.about {
	height: auto;
	display: grid;
	grid-template-columns: 50% 50%;
	grid-auto-columns: auto;
	grid-column-gap: 0rem;
	margin-top: 0rem;
}

.about-left {
	width: 100%;
	height: 100%;
}

.about-left img {
	height: 100%;
	width: 100%;
}

@media only screen and (max-width: 900px) {

.logo h1{
	display: none;
}


.about {
	flex-direction: column;
	align-items: center;
	grid-template-columns: auto;
	text-align: left;
	}

.about-left img {
	width: 100%;
	height: auto;
}

.about-right {
		padding: 0rem 3rem 0rem 3rem !important;
	}
}

.about-right h1 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 4rem;
}

.about-right {
	margin-right: 0;
	padding: 4rem 3rem 0rem 3rem;
	height: auto;
	font-size: 17px;
	text-align: justify;
}

.about-right a {
  transition: 0.5s;
  text-decoration: none;
  border-bottom: 2px solid #234366;
  color: #234366; 
  font-weight: 700; 
  padding: 0rem;
}

.about-right a:hover {
  text-decoration: none;
  border-bottom: none;
  background: #70B5CE;
  color: #fff;
  transition: 0.5s;
}

/** Services **/

.services {
	height: auto;
	display: grid;
	grid-template-columns: 50% 50%;
	grid-auto-columns: auto;
	grid-column-gap: 0rem;
}

.services li {
	margin-left: 1rem;
	padding-bottom: .5rem;
}

.services-right h1 {
	line-height: 0;
	text-align: center;
	margin: 0;
	padding-bottom: 1rem;
}

.services-right {
	margin-right: 0;
	padding: 3rem 3rem 0rem 3rem;
	margin-top: 3rem;
	line-height: 2.5rem;
	margin-right: 1rem;
	margin-left: 1rem;
	background: #C0E5C85E;
	height: auto;
	font-size: 17px;
	text-align: justify;
}

.services-right a {
  transition: 0.5s;
  text-decoration: none;
  color: #fff; 
  font-weight: 700; 
  background: #15c8db; 
  padding: 0rem 0.3rem 0rem 0.3rem;
}

.services-right a:hover {
  text-decoration: none;
  background: #00ffb7;
  color: #000;
  transition: 0.5s;
}

/** Mobile Optimisation - Services **/

@media only screen and (max-width: 900px) {
.services {
	flex-direction: column;
	align-items: center;
	grid-template-columns: auto;
	text-align: left;
	height: auto;
	}

.services-right img {
	width: 100%;
	height: auto;
}

.services-left {
	margin-top: 0rem;
}

.services-text {
	width: 80% !important;
	text-align: justify;
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
}

.services-contact {
	width: 80% !important;
}

	}


/** End of mobile optimisation for services **/

.services-left h1 {
	line-height: 0;
	text-align: center;
	margin: 0;
	padding-bottom: 1rem;
}

.services-left {
	margin-right: 0;
	padding: 3rem 3rem 0rem 3rem;
	margin-top: 3rem;
	height: auto;
	font-size: 17px;
	text-align: justify;
	line-height: 2.5rem;
	margin-left: 1rem;
	margin-right: 1rem;
	background: #EDF2F4;
}

.services-left a {
  transition: 0.5s;
  text-decoration: none;
  color: #fff; 
  font-weight: 700; 
  background: #15c8db; 
  padding: 0rem 0.3rem 0rem 0.3rem;
}

.services-left a:hover {
  text-decoration: none;
  background: #00ffb7;
  color: #000;
  transition: 0.5s;
}

.divider-services {
	display: flex;
	justify-content: center;
	align-items: center;
 	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("images/bg__.jpg");	
 	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	height: 20rem;
	text-align: center;
	color: white;
	margin-top: 2rem;
}

.services-text {
	width: 60%;
	text-align: justify;
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
}

.services-text h1 {
	width: 100%;
	text-align: center;
	margin-top: 2rem;
	display: flex;
	line-height: 4rem;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
}

.services-contact {
	width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2rem;
	border-top: 2px solid #ccc;
	margin-bottom: 0rem;
	border-bottom: 2px solid #ccc;
	text-align: center;
	padding: .5rem;
	font-weight: normal;
	font-size: 16px;
}

.services-contact a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

/* Projects */ 

.divider {
	display: flex;
	justify-content: center;
	align-items: center;
 	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("images/bg-2.jpg");	
 	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	height: 20rem;
	text-align: center;
	color: white;
	margin-top: 2rem;
}

.projects {
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	height: 55rem	;
	width: 60%;
	margin-top: 2rem;
	text-align: justify;
}

/** Mobile Optimisation - Projects **/

@media only screen and (max-width: 900px) {
.projects {
	width: 80%;
	height: auto;
	}
}

.projects h1 {
	text-align: center;
	line-height: 4rem;
}

.thumbnails h1 {
	font-size: 20px;
	width: 90%;
}

.thumbnails h1 a {
	text-decoration: none;
	font-size: 20px;
	color: #054a93;
	border-bottom: 2px dotted #234366;
	transition: .5s;
}

.thumbnails a:hover {
	color: #70B5CE;
	transition: .5s;
}

.thumbnails {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-column-gap: 2rem;
	margin-top: 1rem;
}

@media only screen and (max-width: 900px) {
.thumbnails {
	grid-template-columns: 100%;
	width: 100%;
	}

.thumbnails h1 {
	width: 100% !important;
}

.thumbnails img {
	width: 100% !important;
}

.project-information {
	width: 100% !important;
}

}

.thumbnails img {
	width: 90%;
	height: auto%;
	border: 1px solid #ccc;
	border-radius: 15px;
	transition: .7s;
	opacity: 1;

}

.thumbnails img:hover {
	cursor: pointer;
	opacity: .8;
	transition: .5s;
}

.project-information {
	width: 90%;
	margin-top: 1rem;
	margin-bottom: 0;
}

.coming-soon {
	margin-top: 4rem;
	border-top: 2px solid #ccc;
	margin-bottom: 0rem;
	border-bottom: 2px solid #ccc;
	text-align: center;
	padding: 1rem;
	font-weight: bold;
	font-size: 14px;
}

.footer {
	margin-left: auto;
	margin-right: auto;
	padding: .5rem;
	background: #00285A;
	color: #fff;
	text-align: center;
	font-size: 13px;
	margin-top: 0rem;
}

/* Bouncing Scroll Button */ 

.scroll-down {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  bottom: 35%;
  width: 42px;
  height: 42px;
  z-index: 2;
  -webkit-animation: bounce 1s infinite 2s;
  animation: bounce 2s infinite 2s;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

@media only screen and (max-width: 900px) {
	.scroll-down {
		position: absolute;
		bottom: 30%;
	}
}

.scroll-down:before {
    position: absolute;
    top: calc(45% - 8px);
    left: calc(48% - 6px);
    transform: rotate(-46deg);
    display: block;
    width: 22px;
    height: 22px;
    content: "";
    border: 1px solid white;
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

.up-button {
	border: 2px solid #234366;
	padding: .5rem;
	width: 8rem;
	border-radius: 50px;
	display: flex;
	justify-content: center;
	inset: 0;
	margin: auto;
	margin-top: 0rem;
	margin-bottom: 1rem;
	text-decoration: none;
	color: #234366;
	font-weight: bold;	
	transition: .5s;
}

.up-button:visited{
	color: #234366;
}

.up-button:hover{
	color: #70B5CE;
	border: 2px solid #70B5CE;
	transition: .5s;
}

@media only screen and (max-width: 900px) {
.up-button{
	margin-top: 1rem;
}

}