/*------------------------------
# Import font
-------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Varela+Round&family=Georama:wght@300;400;500&family=Lato:wght@300;400;700&family=Raleway:wght@300;400;500;600&family=Roboto:wght@100;300;400;500&family=Gowun+Dodum&family=Nunito:wght@400;600;700&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #323130;
  height: 100%;
}

a {
  color: #52AB98;
  text-decoration: none;
}

a:hover {
  color: #64766A;
  text-decoration: none;
}

h1, h2 {
  color: #01937C;
  font-family: 'Varela Round', sans-serif;
  font-weight: 500;
  margin: 1.2rem 0 1.2rem 0;
}

h1 i, h2 i {
  color: #5a656e;
  font-size: 1.6rem;
}

h2 {
  color: #2b6777;
}

h3, h4, h5, h6 {
  font-family: 'Varela Round', sans-serif;
}

hr {
  border: 2px solid #8c8c8c;
  border-radius: 5px;
  width: 100%;
}

@media (min-width: 576px) {
  h1 i, h2 i {
    color: #5a656e;
    font-size: 1.8rem;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

nav {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  background: linear-gradient(180deg, #007065 0%, #358873 100%);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  width: 100%;
  font-size: 15px;
}

nav .dropdown-menu {
  background-color: #476072;
}

nav .dropdown-item:hover {
  background-color: rgba(255,255,255,0.25);
}

nav .navbar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  white-space: nowrap;
  color:#f6f4f8!important;
  transition: 0.3s;
}

nav .navbar-nav a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #FEFFDE !important;
  transition: 0.75s;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer {
  position: relative;
  bottom: 0;
  width: 100%;
  color: #f6f4e8; 
  font-family: 'Gowun Dodum', sans-serif;
  font-size: 0.75rem; 
  background: linear-gradient(90deg, #605e5c 0%, #999796 100%);
  z-index: 999;
}

footer a{
  color: rgb(220,220,220);
  font-size: 1rem;
  transition: 0.5s;
  margin-left: 5px;
}

footer a:hover{
  color: #f6f4f8;
  transition: 0.5s;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#Intro {
  min-height: 100vh;
  background-color: #f6f4f8;
  background-image: url(https://images.unsplash.com/photo-1471922694854-ff1b63b20054?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=2252&q=80);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment:relative;
  background-size: cover;
  font-family: 'Nunito', sans-serif;
  color: #494949;
}

#Intro .name {
  font-size: 2.6rem;
  font-weight: 600;
}

#Intro .job {
  font-size: 1.9rem;
  font-weight: 300;
}

#Intro a {
  transition: 0.5s;
  font-size: 3rem;
  height: 4rem;
  width: 4rem;
  background-color: RGBA(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
}

#Intro a:hover {
  color: #4B778D;
}

#Intro img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: auto;
}

#Intro span {
  background-color: RGBA(255,255,255,0.4);
  border-radius: 4px;
}

@media (max-width: 576px) {
  #Intro img {
    height: 350px;
    width: auto;
  }
  #Intro span {
    background-color: RGBA(255,255,255,0.6);
    border-radius: 4px;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#About {
  min-height: 100vh;
  background-color: #f7f7f7;
  background-image: url(/static/images/BG3.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-attachment:relative;
  background-size: fill;
}

#About h1{
  color: #eeeeee;
}
#About i {
  color: #eeeeee;
}

#About p {
  color: #D8E3E7;
  font: 1rem 'Raleway', cursive;
  font-weight: 500;
  line-height: 1.7rem;
  padding-left: 2.5rem;
}

#About .article {
  padding: 1.5rem 1rem 1rem 0rem;
  background-color: rgba(0,0,0,0.4);
  border-radius: 10px;
  margin-bottom: 1rem;
}


@media (max-width: 576px) {
  #About p {
    padding: 0;
  }
  #About .article {
    padding: 15px 20px 5px 20px;
  }

}

#About img{
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  background-color: rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 0.75rem;
}

@media (max-width: 576px) {
  #About img {
    height: 280px;
    width: auto;
    object-fit: cover;
  }
}

/*--------------------------------------------------------------
# Timeline Section
--------------------------------------------------------------*/
#Timeline {
  min-height: 100vh;
  background-color: #f2ebe5;
}

/*--------------------------------------------------------------
# Aviation Section
--------------------------------------------------------------*/
#Aviation {
  min-height: 100vh;
  background-color: #f7f7f7;
  background-image: url(/static/images/BG2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment:relative;
  background-size: cover;
}

#Aviation .type i {
  color: #647295;
}

#Aviation .type h6 {
  font-weight: 600;
}

#Aviation .period {
  font-size: 1rem; 
  font-weight: 600; 
  color: #647295;
}

#Aviation .describe {
  font-weight: 300;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  #Aviation .box {
    width: 75%;
  }
}

#Aviation table {
  color: #f7f7f7;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
}

#Aviation thead .table-head {
  font-size: 2em;
}

#Aviation thead {
  color: #f7f7f7 !important;
  background-color: #2F5D62;
  position: sticky;
  top: 0;
  z-index: 1;
}

#Aviation tbody tr {
  line-height: 2em;
}

#Aviation tbody tr:nth-child(odd) {
  background-color: #080808;
}

#Aviation tbody tr:nth-child(even) {
  background-color: #474747;
}

#Aviation h1, h2{
  color: #f7f7f7;
}
#Aviation i {
  color: #f7f7f7;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#Services {
  min-height: 100vh;
  background-color: #f7f7f7;
}

#Services h4 {
  color: #4B778D;
}

#Services h6 {
  color: #716F81;
}

#Services .head {
  font-weight: 400;
}

#Services .details {
  font-weight: 300;
  font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#Contact {
  min-height: 50vh;
  width: 100%;
  background-color: #F7F7F7;
  background-image: url(/static/images/BG4.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment:relative;
  background-size: cover;
}

#Contact h1{
  color: #f7f7f7;
}
#Contact h1 i {
  color: #f7f7f7;
}

#Contact a {
  font-size: 1.5rem;
  color: #6E85B2;
}

#Contact a:hover {
  color: rgb(134, 134, 134);
  transition: 0.5s;
}

#Contact .contactbg {
  background-color: RGBA(255,255,255,0.8);
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

/*--------------------------------------------------------------
# Message Sent
--------------------------------------------------------------*/
#MsgSent {
  min-height: 50vh;
  width: 100%;
  background-color: #F7F7F7;
  background-image: url(/static/images/BG1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment:relative;
  background-size: cover;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
#Portfolio {
  padding: 70px 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: #f7f7f7;
}

#Portfolio h3 {
  color:#306D75;
  padding-left: 1rem;
}

#Portfolio h5 {
  color: #255168;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  background-color: #fee6b1;
  padding: 0.5rem 0 0.5rem 0;
  width: 50%;
  margin: auto;
  border-radius: 4px;
}

#Portfolio img{
  width: auto;
  height: 75vh;
  max-width: 100%;
  border-radius: 4px;
  padding: 0.75rem;
  object-fit: scale-down;
}

#Portfolio li button {
  font-family: 'Lato', sans-serif;
  color: #1891AC;
}

#Portfolio li button.active {
  color: #866EC7;
}

@media (max-width: 576px) {
  #Portfolio img {
    height: 280px;
    width: auto;
  }
}
/*--------------------------------------------------------------
# Timeline
--------------------------------------------------------------*/
.timeline {
  position: relative;
  width: 660px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1em 0;
  list-style-type: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 112.5%;
  line-height: 1.6em;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  
  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 45%;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 45%;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  width: auto;
  text-align: center;
}

.flag {
  position: relative;
  display: block;
  color: #015347;
  background-color: #ffffff;
  padding: 6px 10px;
  border-radius: 5px;
  width: auto;
  font-weight: 600;
}

.direction-l .flag {
  text-align: right;
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  text-align: left;
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -2.65rem;
  content: ' ';
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -10px;
  background: #ffffff;
  border-radius: 20px;
  border: 4px solid rgb(255,80,80);
  z-index: 10;
}

.direction-r .flag:before {
  left: -2.65rem;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.time-wrapper {
  display: inline;
  margin-top: 0.5rem;
  line-height: 1em;
  font-size: 1.2rem;
  vertical-align: middle;

}

.working-place {
  color:#f7f7f7; 
  background-color: #5F939A; 
  font-size: 0.8rem;
}

.working-period {
  color: #f7f7f7; 
  background-color: #647295;  
  font-size: 0.8rem; 
  font-weight: 500;
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
}

.direction-l .time-wrapper {
  float: right;
}

.direction-r .time-wrapper {
  float: left;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  background: rgb(248,248,248);
}

.desc {
  margin: 1em 0.75em 0 0;
  font-weight: 300;
  font-size: 0.77777em;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1em 0 0 0.75em;
}

/* ================ Timeline Media Queries ================ */

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

.timeline {
 	width: 100%;
	padding: 4em 0 1em 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 112.5%;
  line-height: 1.6em;

}

.timeline li {
	padding: 2em 0;
}

.direction-l,
.direction-r {
	float: none;
	width: 100%;

	text-align: center;
}

.flag-wrapper {
	text-align: center;
}

.flag {
  text-align: center !important;
	background: rgb(255,255,255);
	z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: -30px;
	left: 50%;
	content: ' ';
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	margin-left: -9px;
	background: #fff;
	border-radius: 10px;
	border: 4px solid rgb(255,80,80);
	z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-bottom-color: rgb(255,255,255);
	border-width: 8px;
	pointer-events: none;
}

.time-wrapper {
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
}

.direction-l .time-wrapper {
	float: none;
}

.direction-r .time-wrapper {
	float: none;
}

.desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 5px;
	background: rgb(245,245,245);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
	
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
	position: relative;
	margin: 1em 1em 0 1em;
	padding: 1em;
	
  z-index: 15;
}

}

@media (min-width: 400px) and (max-width: 660px) {

.direction-l .desc,
.direction-r .desc {
	margin: 0.35em 4em 0 4em;
}

}

.grecaptcha-badge { 
  visibility: hidden;
}

.captcha, .captcha a, .captcha a:hover{
  font-size: 0.8rem !important;
}