@import url("https://fonts.googleapis.com/css2?family=Enriqueta:wght@500&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}
body {
  font-family: "Enriqueta";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-image: url("image/s.jpg");
}

/*untuk tampilan normal (layar laptop/komputer)*/
/*styling header*/
header {
  display: inline-block;
  width: 100%;
  background-image: linear-gradient(to right, #43cae9, #38f9d7);
}

header #logo {
  width: 30% auto;
  text-align: center;
  background-image: linear-gradient(to right, #43cae9, #38f9d7);
  color: #191970;
  font-size: 15px;
}
header #logo h2 a {
  text-decoration: none;
}
header #logo img {
  width: 500px;
}
/*end header */

/*styling navbar*/
/*overide Materialize CSS*/
header nav {
  background-color: #87CEEB;
}

header nav .center-align {
  margin-left : 480px;
}
header nav ul li a {
  font-size : 20px;
}

/*end*/

/*styling main*/
main {
  padding: 100px;
  overflow: auto;
  margin: 80px;
  margin-top : 20px;
  
}

/*styling kotak informasi content*/
#content {
  float: left;
  width: 75%;
}

main #content article {
  margin: 30px;
  padding: 20px;

  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 20px;
}

main #content article p {
  text-align: justify;
  text-indent: 2em;
}

main #content article h1 {
  text-align: center;
  font-size: 40px;
  background: -webkit-linear-gradient(#43cae9, #38f9d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

main #content article img {
  padding: 8px;
  border-radius: 20px;
  width : 50%;
  margin-left:25%;
}
/*end*/

/* object yang akan di get oleh javascript yang befungsi membuat navbar tetap keliatan walau web sedang di scroll kebawah*/
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 5px;
}

.sticky + .content {
  padding-top: 60px;
}

/*end*/



/* styling aside and overide CSS */
aside {
  float: right;
  width: 25%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 20px;
  padding-left: 20px;
  padding: 20px;
  margin-top: 30px;
}

aside h2 {
  text-align: center;
  font-size: 30px;
  padding-top:10px;
}

aside article header .general h2 {
  font-size: 30px;
}
aside p {
  text-align: center;
  font-size: 28px;
}

aside .general {
  border-radius: 20px;
}

aside .general p {
  color: #191970;
}

aside .general img {
  border-radius: 20px;
  width: 100%;
  text-align: center;
}

aside section h3 {
  text-align: center;
}

aside section a {
  text-decoration: none;
}

aside section .jobs{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 20px;
}

aside section .jobs .row  {
  margin-top : 22px;
}
aside section button{
  appearance:none;
  -webkit-appearance:none;
  padding:10px;
  border:none;
  background-image: linear-gradient(to right, #43cae9, #38f9d7);
  color:#fff;
  border-radius:10px;
  width:50%;
  margin : 25%;
  font-size: 20px;
  margin-top : 5%;
  margin-bottom: 5%;
}

/*end*/

/*teknik button agar jika di klik menimbulkan effect tombol tertekan*/
button:hover {background-color:  #43cae9}

button:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/*end*/

.hexa{
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;

}

.hexa:before{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

.timeline {
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 20px;
  list-style-type: none;

}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213,213,213);
  background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,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(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 2em 0;
} 

.timeline .hexa{
  width: 16px;
  height: 10px;
  position: absolute;
  background: #00c4f3;
  z-index: 5;
  left: 0;
  right: 0;
  margin-left:auto;
  margin-right:auto;
  top: -30px;
  margin-top: 0;
}

.timeline .hexa:before {
  border-bottom: 4px solid #00c4f3;
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid #00c4f3;
  bottom: -4px;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;
  text-align: center;
}

.flag-wrapper {
  text-align: center;
  position: relative;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(255,255,255);
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}

.direction-l .flag {
  -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 {
  -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);
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: #00c4f3;
  display: inline-block;
  padding: 8px;
}



.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
}

@media(min-width: 768px){
  .timeline {
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  
  .timeline .hexa {
    left: -28px;
    right: auto;
    top: 8px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    width: 310px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 310px;
    float: right;
    text-align: left;
  }

  .flag-wrapper {
    display: inline-block;
  }
  
  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(254,254,254);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(254,254,254);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    float: right;
  }

  .time {
    padding: 5px 10px;
  }

  .direction-r .desc {
    margin: 1em 0 0 0.75em;
  }
}


@media(min-width: 992px){
  .timeline {
    width: 800px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    width: 380px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 380px;
    float: right;
    text-align: left;
  }
}

aside article section ul li {
  
  font-size: 15px;
  background: -webkit-linear-gradient(#43cae9, #38f9d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.card-container {
	background-color: #231E39;
	border-radius: 25px;
	box-shadow: 10px 10px 15px rgba(0,0,0,0.35);
	color: #B3B8CD;
	padding: 10px 0 0;
	position: relative;
	width: 50%;
	max-width: 100%;
	text-align: center;
  margin: 5px 0;
  
  overflow: hidden;
  left:25%;
  margin-top : 25px;


}
 
.card-container .pro {
	color: #231E39;
	background-color: #FEBB0B;
	border-radius: 3px;
	font-size: 20px;
	font-weight: bold;
	padding: 3px 7px;
	position: absolute;
	top: 30px;
	left: 20px;
}
 
.card-container  img {
	border: 1px solid #C400D7;
	border-radius: 50%;
	padding: 7px;
	height: 150px;
  width: 150px;
  margin-top:20px;
}

.card-container button.primary {
	background-color: #C400D7;
	border: 1px solid #C400D7;
	border-radius: 3px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	padding: 10px 25px;
}
 
.card-container button.primary.ghost {
	background-color: transparent;
	color: #C400D7;
}
 
.skills {
	background-color: #1F1A36;
	text-align: left;
	padding: 15px;
	margin-top: 30px;
}
 
.skills ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
 
.skills ul li {
	border: 1px solid #2D2747;
	border-radius: 2px;
	display: inline-block;
	font-size: 12px;
	margin: 0 7px 7px 0;
	padding: 7px;
}

/*styling footer*/

footer {
  margin-top: 20px;
  padding: 20px;
  background-image: linear-gradient(to right, #43cae9, #38f9d7);
}

footer p {
  color: white;
  text-align: center;
}
/*end*/

/*responsif web : small screen (untuk layar kecil)*/
@media screen and (max-width: 641px) {

  header nav .center-align {
    margin-left : 35px;
  }

  header nav .center-align li a {
    font-size : 12px;
  }

  #content #main h1{
    font-size: 30px;
  }
  #content #main_logo h1{
    font-size: 30px;
  }
  #content #information h1{
    font-size: 35px;
  }
  #content #leader h1{
    font-size: 30px;
  }
  #content,
  aside {
    width: 100%;
    padding: 15px;
    
    
  }

  header #logo img {
    width: 80%;
  }

  header #logo h2 {
    font-size: 30px;
  }

  main{
    margin : -100px;
  }
  main #content {
    width: 100%;
  }

  main #content article img {
    width : 75%;
    margin-left : 13%;
  }
  .card-container{
    width:70%;
    margin-left:-35px;
  }

  .card-container .pro {
    
    font-size: 15px;
  }
  .card-container  h3 {
    font-size: 20px;
}

}
/*end*/
