html{
  scroll-behavior: smooth;
}

body{
  margin: 0 auto;
  padding:2%;
  background-image: url(source/BG.png);
  background-size: 100% auto;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

img{
  visibility: hidden;
}

.logo{
  width: 40px;
  height: 40px;
  margin-left: 1%;
  position: fixed;
  visibility: visible;
}

.header{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,1);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.overlay a:hover, .overlay a:focus {
  color: #fa991c;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.buttonpojok{
	font-size: 25pt;
	font-weight: bold;
	margin-right: 1%;
	cursor: pointer;
  margin-left: 92%;
  position: fixed;
}

.img1{
  margin-left: 45%;
  margin-top: -21%;
  width: 12%;
  visibility: visible;
}

.w3-animate-bottom{
  position:relative;
  animation:animatebottom ease 1.5s;
}

@keyframes animatebottom{
  from{bottom:-300px;opacity:0} 
  to{bottom:0;opacity:1}
}

.img2{
  width: 104.1%;
  margin-left: -2%;
  margin-top: -11%;
  visibility: visible;
}

h1{
  text-align: center;
  font-size: 140pt;
  font-weight: bold;
  margin-top: 8%;
  font-family: 'Bebas', sans-serif;
  color: white;
}

.w3-animate-fading{
  animation:fading ease 2s
}

@keyframes fading{
  0%{opacity:0}
  100%{opacity:1}
}

h2{
  text-align: center;
  font-weight: bold;
  font-family: 'Signika', sans-serif;
  font-size: 30pt;
}

.aboutme{
  width: 60%;
  display: flex;
  flex-direction: row;
  font-family: 'Montserrat', sans-serif;
  line-height: 200%;
}

.container{
  display: flex;
  flex-direction: column;
}

.content{
  margin-left: 30%;
  margin-right: 5%;
  margin-top: 7%;
}

button{
  border-color: black;
  border-width: 1px;
  background-color: white;
  width: 125px;
  height: 40px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  margin-left: 30%;
  margin-top: 1%;
}

button:hover{
  font-size: 87%;
  transition: 0.2s;
}

#fotoabout{
  width: 50%;
  height: auto;
  margin-right: -45%;
  margin-left: 5%;
  margin-top: -5%;
}

.slideUp {
  animation-name: slideUp;
  -webkit-animation-name: slideUp;
  animation-duration: 1.25s;
  -webkit-animation-duration: 1.25s;
  visibility: visible;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

@-webkit-keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

h5{
  font-family: 'Signika', sans-serif;
  font-size: 20pt;
  margin-left: 15%;
}

.kotakskill{
  display: flex;
  flex-direction: row;
  margin-left: 12%;
  width: 80%;
  margin-top: 5%;
}

.abc1{
  visibility: visible;
  margin: 0 2%;
}

.abc2{
  visibility: visible;
  margin: 0 2%;
}

.abc3{
  visibility: visible;
  margin: 0 2%;
}

.abc4{
  visibility: visible;
  margin: 0 2%;
}

.abc5{
  visibility: visible;
  margin: 0 2%;
}

.abc6{
  visibility: visible;
  margin: 0 2%;
}

.abc7{
  visibility: visible;
  margin: 0 2%;
}

.skilldetails{
  margin-left: 25%;
  margin-top: 3%;
  font-family: 'Montserrat', sans-serif;
  line-height: 200%;
  width: 50%;
  text-align: center;
}

.container12{
  display: flex;
  flex-direction: row;
  margin-left: 12%;
  margin-top: 4%;
}

.flip-box {
  background-color: transparent;
  width: 100px;
  height: 100px;
  perspective: 1000px;
  margin-right: 4%;
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

/* Style the back side */
.flip-box-back {
  transform: rotateY(180deg);
}





footer{
  height: 60px;
  display: flex;
  flex-direction: row;
}

footer .kiri{
  float: left;
  width: 40%;
}

footer .kiri h3{
  font-family: 'Montserrat', sans-serif;
  font-size: 10pt;
  margin-left: 25%;
}

footer .tengah{
  width: 43%;
}

footer .tengah h3{
  font-family: 'Montserrat', sans-serif;
  font-size: 10pt;
  margin-left: 80%;
  margin-top: 3%;
}

footer .kanan{
  width: 10%;
}

footer .kanan .icon{
  width: 18%;
  margin-top: 10%;
  margin-right: 4%;
  margin-left: 4%; 
  visibility: visible;
}




