@font-face {
	font-family: GoogleSans;
	src: url('https://phimona.co.tz/css/font/GoogleSans-Medium.eot');
	src: url('https://phimona.co.tz/css/font/GoogleSans-Medium.eot?#iefix') format('embedded-opentype'), url('https://phimona.co.tz/css/font/GoogleSans-Medium.woff2') format('woff2'), url('https://phimona.co.tz/css/font/GoogleSans-Medium.woff') format('woff'), url('https://phimona.co.tz/css/font/GoogleSans-Medium.ttf') format('truetype'), url('https://phimona.co.tz/css/font/GoogleSans-Medium.svg#GoogleSans-Medium') format('svg');
}

:root {
	--plyr-color-main: #2861c7;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body, html {
	font-family: GoogleSans;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

.header {
	width: 100%;
}

.banner {
  background-color: #f0f0f0;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.banner p,
.banner p:hover {
    color: dimgray;
    font-size: 16px;
    text-align: center;
}

.header .navbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex: 1;
  flex-basis: auto;
  justify-content: space-between;
  align-items: center;
  max-width: 90rem;
  width: 100%;
  padding: 1rem 4rem;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
}

.header .navbar.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-visible {
	background: white;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
	transition: all 0.3s ease-in-out;
}

.menu-item-a-visible {
	color: black !important;
}

.menu-item-a-active {
	color: #2861c7 !important;
}

.header .navbar .brand img {
	width: 100%;
	max-width: 150px;
	height: auto;
}

.header .navbar .menu {
	display: flex;
	flex-direction: row;
	flex: 1;
	flex-basis: auto;
	justify-content: center;
	align-items: center;
}

.header .navbar .menu-item:not(:first-child) {
	margin-left: 2rem;
}

.header .navbar .menu-item a {
	font-size: 1rem;
	font-weight: 700;
	line-height: inherit;
	color: #FFFFFF;
	transition: all 0.3s ease-in-out;
}

.menu-item a:hover {
	color: #2861c7 !important;
	transition: all 0.3s ease-in-out;
}

@media only screen and (max-width: 768px) {
	.header .navbar {
		padding: 1rem 2rem;
		margin: 0 auto;
		position: absolute;
	}

	.header .navbar .wrapper {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		opacity: 0;
		background: #f1f5f8;
		transition: all 0.3s ease;
		visibility: hidden;
	}

	.header .navbar .wrapper .menu {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 25%;
		width: 100%;
		transform: translateY(-50%);
	}

	.header .navbar .wrapper .menu-item {
		padding-bottom: 1rem;
		width: 100%;
		text-align: left;
	}

	.header .navbar .wrapper .menu-item:nth-child(1) a {
		transition-delay: 0.2s;
	}

	.header .navbar .wrapper .menu-item:nth-child(2) a {
		transition-delay: 0.3s;
	}

	.header .navbar .wrapper .menu-item:nth-child(3) a {
		transition-delay: 0.4s;
	}

	.header .navbar .wrapper .menu-item:nth-child(4) a {
		transition-delay: 0.5s;
	}

	.header .navbar .wrapper .menu-item:not(:first-child) {
		margin-left: 0;
	}

	.header .navbar .wrapper .menu-item a {
		padding: 1rem 2rem;
		opacity: 0;
		color: #252a32;
		font-size: 1rem;
		font-weight: 600;
		transform: translateX(-20px);
		transition: all 0.3s ease-in-out;
	}

	.header .navbar .nav-toggle {
		display: block;
		position: fixed;
		right: 1rem;
		top: calc(1rem + 80px);
		width: 2.5rem;
		height: 2.5rem;
		cursor: pointer;
		z-index: 999;
	}
	
	.header .navbar .nav-toggle.fixed {
	    top: 1rem;
	}

	.header .navbar .nav-toggle:hover {
		background: transparent;
	}

	.header .navbar .nav-toggle .nav-top {
		display: block;
		width: 20px;
		height: 2px;
		background: white;
		border-radius: 2px;
		margin-left: 14px;
		margin-top: 16px;
		transition: transform 0.5s ease !important;
	}

	.header .navbar .nav-toggle .nav-middle {
		display: block;
		width: 20px;
		height: 2px;
		background: white;
		border-radius: 2px;
		margin-left: 14px;
		margin-top: 4px;
		opacity: 1;
		transition: transform 0.5s ease !important;
	}

	.header .navbar .nav-toggle .nav-bottom {
		display: block;
		width: 20px;
		height: 2px;
		background: white;
		border-radius: 2px;
		margin-left: 14px;
		margin-top: 4px;
		transition: transform 0.5s ease !important;
	}

	.span-visible {
		background: black !important;
	}
}

.nav-toggle-clicked {
	transform: rotate(45deg) !important;
}

.nav-top-clicked {
	background: black !important;
	transition: transform 0.5s ease !important;
	transform: translateY(6px) rotate(180deg) !important;
}

.nav-middle-clicked {
	background: black !important;
	transition: transform 0.5s ease !important;
	opacity: 0 !important;
}

.nav-bottom-clicked {
	background: black !important;
	transition: transform 0.5s ease !important;
	transform: translateY(-6px) rotate(90deg) !important;
}

.wrapper-clicked {
	z-index: 99 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.menu-item-clicked {
	opacity: 1 !important;
	transform: translateX(0) !important;
}

.landing {
	height: 100vh;
	width: 100vw;
	position: relative;
}

.landing video {
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
}

.landing .background {
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	background: rgba(44, 81, 146, .3);
	background-image: radial-gradient(#2C5192 0.8px, transparent 0);
	background-size: 5px 5px;
	background-position: -0.08px -0.08px;
}

.landing .caption {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: row;
	flex: 1;
	flex-basis: auto;
	justify-content: space-between;
	align-items: center;
	max-width: 90rem;
	width: 100%;
	padding: 1rem 4rem;
	margin: 0 auto;
}

.intro p {
	color: #FFFFFF;
	font-size: 5vw;
	padding: 0px;
	margin: 0px;
}

.type-writer span {
  border-right: .05em solid;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.play-button {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #2861c7;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.play-button:hover {
    transform: scale(1.2);
}

.play-arrow {
	color: white !important;
}

.disable-click {
	z-index: -1 !important;
}

.modal-content {
	border-radius: 5px;
}

.short-description {
    width: 100vw;
    height: 100vh;
    display: flex;
	justify-content: center;
	align-items: center;
}

.introduction {
    font-size: 2.5vw;
    color: #2861c7;
    margin-right: 200px;
    margin-left: 200px;
    font-weight: bold;
}

@media only screen and (max-width: 1000px) {
    .introduction {
        font-size: 4vw !important;
        color: #2861c7 !important;
        margin: 40px !important;
        margin-top: 40px !important;
        margin-right: 40px !important;
        margin-left: 40px !important;
        margin-bottom: 0px !important;
        font-weight: bold;
    }
    
    .intro p {
        font-size: 7vw !important;
    }
}

@media only screen and (max-width: 768px) {
    .short-description {
        width: 100vw !important;
        height: auto !important;
        display: flex !important;
    	justify-content: center !important;
    	align-items: center !important;
    }
    
    .caption {
        padding: 1rem 2rem !important;
    }
}

.go-to-portfolio {
    background-color: #2C5192;
    border: none;
    color: white;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 25px;
    margin-right: 200px;
    margin-left: 200px;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.go-to-portfolio:hover {
    transform: scale(1.2);
}

.go-to-portfolio p, .go-to-portfolio span {
    display: inline-block;
}

.go-to-portfolio p {
    font-weight: bold;
    margin-right: 10px;
    font-size: 12px;
}

.go-to-portfolio span {
    font-size: 15px;
}

@media only screen and (max-width: 1000px) {
    .go-to-portfolio {
        margin-top: 25px !important;
        margin-right: 40px !important;
        margin-left: 40px !important;
        margin-bottom: 40px !important;
    }
}

.services h1 {
    font-size: 3vw;
    font-weight: bold;
    color: #2861c7;
    margin-bottom: 60px !important;  
    display: table;
    margin: 0 auto;
}

.columns {
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
}

.column {
    width: 100% !important;
    padding-bottom: 100px;
}

.box-1, .box-3, .box-5 {
    padding-left: 100px;
    padding-right: 25px;
}

.box-2, .box-4 {
    padding-right: 100px;
    padding-left: 25px;
}

.poster {
    margin: 0px !important;
    overflow: hidden;
}

.poster img {
    transition: all 0.3s;
    display: block;
    height: auto;
    transform: scale(1);
    overflow: hidden;
}

.poster:hover img {
    transform: scale(1.2);
}

.column h2 {
    font-size: 2vw;
    color: black;
    margin-top: 30px;
}

.column p {
    color: #ADACAC;
    margin-top: 10px;
}

@media only screen and (max-width: 999px) {
    .services h1 {
        font-size: 4vw;
    }

    .box-1, .box-2, .box-3, .box-4 {
        padding-bottom: 25px !important;
    }
    
    .box-5 {
        padding-bottom: 40px !important;
    }
    
    .box-1, .box-2, .box-3, .box-4, .box-5 {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    
    .column h2 {
        font-size: 4vw;
    }
}

@media only screen and (max-width: 768px) {
    .services h1 {
        font-size: 5vw;
        margin-bottom: 40px !important;  
    }
}

.flagship h1 {
    font-size: 3vw;
    font-weight: bold;
    color: #2861c7;
    margin-bottom: 60px !important;  
    display: table;
    margin: 0 auto;
}

.go-to-flagship {
    background-color: #2C5192;
    border: none;
    color: white;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 25px;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.go-to-flagship:hover {
    transform: scale(1.2);
}

.go-to-flagship p, .go-to-flagship span {
    display: inline-block;
}

.go-to-flagship p {
	color: white !important;
    margin-top: 0 !important;
    font-weight: bold;
    margin-right: 10px;
    font-size: 12px;
}

.go-to-flagship span {
    font-size: 15px;
}

@media only screen and (max-width: 999px) {
    .flagship h1 {
        font-size: 4vw;
		margin-bottom: 0 !important; 
    }

    .flagship .box-1 {
		display: none;
    }
}

.footer {
    width: 100vw;
    height: 70vh;
    object-fit: cover;
	z-index: 0;
	background: #2C5192;
	background-image: radial-gradient(#ADACAC 1px, transparent 0);
	background-size: 25px 25px;
	background-position: 10px 10px;
    padding: 0px !important;
    margin: 0px !important;
}

.reach-out {
    width: 100%;
    height: 60vh;
    position: relative;
}

.reach-out h1 {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: white;
    font-size: 3vw;
    margin-left: 100px;
    margin-right: 100px;
}

.reach-out a {
    margin: 0;
    color: white;
    font-size: 3vw;
    transition: all 0.3s ease-in-out;
    border-bottom: 5px solid white;
}

.reach-out a:hover {
    color: #2BA147;
    border-bottom: 5px solid #2BA147;
}

.credits {
    width: 100%;
    height: 10vh;
    position: relative;
}

.credits div {
    width: 100%;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
	flex-direction: row;
	flex: 1;
	flex-basis: auto;
	justify-content: space-between;
	align-items: center;
}

.developer {
    color: white;
    margin-left: 50px;
}

.developer a {
    color: white;
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid white;
}

.developer a:hover {
    color: #2BA147;
    border-bottom: 2px solid #2BA147;
}

.copyright {
    color: white;
    margin-right: 50px;
}

@media only screen and (max-width: 999px) {
    .footer {
        height: 40vh !important;
    }
    
    .reach-out {
        height: 30vh !important;
    }
    
    .reach-out h1, .reach-out a {
        font-size: 4vw !important;
    }
    
    .reach-out h1 {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
    
    .credits {
        height: 10vh !important;
    }
}

@media only screen and (max-width: 768px) {
    .reach-out h1, .reach-out a {
        font-size: 5vw !important;
    }
    
    .developer, .copyright {
        font-size: 14px;
    }
}