html {
  scroll-behavior: smooth;
}
body {
  background-color: black !important;
}
a {
  text-decoration: none;
}
.App {

    flex-direction: column;
    flex-wrap: wrap;
    
   
}
#content {
  overflow: hidden;
  overflow: hidden;
}
.glow {
    font-family: 'Marvel', sans-serif;
    font-size: 60px;
    color: rgb(255, 255, 255);
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}
.name {
    font-size: 35px;
}
@-webkit-keyframes glow {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60000, 0 0 40px #850000, 0 0 50px #e60000, 0 0 60px #e60000, 0 0 70px #e60000;
    }
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px #ff4d4d, 0 0 40px #f31a1a, 0 0 50px #f13434, 0 0 60px #ff4d4d, 0 0 70px #ff4d4d, 0 0 80px #ff4d4d;
    }
  }
  

/* Style the video: 100% width and height to cover the entire window */
#myVideo {
    position:absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: black;
  }
  
  /* Add some content at the bottom of the video/page */
  #intro {
     display: flex;
  }
  .intro-section {
    margin-bottom: 300px;
  }
  #heading {
    background: transparent;
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
    margin-top: 20%;
  }
  .quote {
    font-style: italic;
    font-size: 20px;
  }
  
  
  /* Style the button used to pause/play the video */
  #myBtn {
    width: 100px;
    font-size: 20px;
    padding: 10px;
    border: none;
    background: rgba(223, 0, 0, 0.192);
    color: #fff;
    cursor: pointer;
    margin-bottom: 80px;
    margin-left: 15px;
    border-radius: 5px;
  }
  
  #myBtn:hover {
    background: #ddd;
    color: black;
  }

  @media only screen and (max-width:800px) {
    /* For tablets: */
    * {
      width: 100%;
      padding: 0;
    }
  }
  @media only screen and (max-width:500px) {
    /* For mobile phones: */
    .App, .main, .right {
      width: 100%;
    }
  }
  .spot {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .svg-wrapper, .svg-wrapper2{
    margin-top: 0;
    position: relative;
    width: 150px;
    height: 40px;
    display: inline-block;
    border-radius: 3px;
    margin-left: 50px;
    margin-right: 5px;
  }
  #shape {
    stroke-width: 6px;
    fill: transparent;
    stroke: #f5f5f5;
    stroke-dasharray: 85 400;
    stroke-dashoffset: -220;
    transition: 1s all ease;
  }
  #text {
    margin-top: -35px;
    text-align: center;
  }
  
  #text a {
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 1.1em;
  }
  span{
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 1.1em;
    padding:10px 3px ;
  }
  .svg-wrapper:hover #shape , .svg-wrapper2:hover #shape {
    stroke-dasharray: 50 0;
    stroke-width: 3px;
    stroke-dashoffset: 0;
    stroke: #fd0000;
  }

/* *****************About****************** */

#about {
  padding-left: 15%;
  padding-top: 5%;
  padding-right: 25%;
}

.about-header {
  display: flex;
  padding-bottom: 42px;
  color: white;
}
.about-title {
  font-weight: 700;
  padding-bottom: 50px;
}
.about-description {
  color: white;
  width: 500px;
}
.about-description a, .about-description b {
  font-size: 19px;
  font-weight: 700;
}
.about-description li {
    position: relative;
    padding-left: 20px;
    font-size: 18px;
    text-decoration: none;
}
.about-content {
  margin-bottom: 50px;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
b {
  color: #e60000;
}
li {
  list-style-type: none; 
  cursor: default;
}
ul li::before {
  content: "\25B7";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: rgb(0, 0, 0); /* Change the color */

  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
 
}
.about-image img{
  float: right;
  border-radius: 10px;
  box-shadow: inset 0 0 60px whitesmoke,
  inset 20px 0 80px rgb(255, 0, 0),
  inset -20px 0 80px rgb(255, 60, 0),
  inset 20px 0 300px rgb(104, 3, 3),
  inset -20px 0 300px rgb(255, 0, 0),
  0 0 50px #fff,
  -10px 0 80px rgb(255, 0, 0),
  10px 0 80px rgb(236, 93, 93);
  display: flex;
  width: 275px;
}
.about-image {
  padding: 30px;
}
/* *****************Portofolio****************** */
.portofolio {
  padding-bottom: 50px;
} 
#project {
  margin: 60px auto;
  width: 80%;
  min-width: auto !important;
}
#project .card {
  background-color: rgb(0, 0, 0);
  width: 100%;
  max-height: 500px;
  margin-bottom: 0 auto;
  min-width: auto !important;
  box-shadow: inset 0 0 60px rgb(0, 0, 0),
  inset 20px 0 80px rgb(0, 0, 0),
  inset -20px 0 80px rgb(0, 0, 0),
  inset 20px 0 300px rgb(0, 0, 0),
  inset -20px 0 300px rgb(0, 0, 0),
  0 0 50px rgb(0, 0, 0),
  -10px 0 80px rgb(110, 2, 2),
  10px 0 80px rgb(197, 5, 5);
   
}
#project video {
  height: 400px;
}
li ul{
 list-style-type: none;
}
#project .card:hover {
  /* opacity: 1.0; */
}

#project h2 {
  text-align: center;
  margin-bottom: 20px;
}
#project .card video {
  width: 110%;
  height: 100%;
}
#project .card-body {
  color: rgb(255, 255, 255);
}
.card-text{
  font-size: 2.5vh;
  font-weight: 400;
}
/* ****************Cards****************** */

.container{
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap:wrap;
  cursor: pointer;
  
}

.container .card{
  position: relative;
}

.container .card .face{
  width:300px;
  height: 200px;
  transition:.4s;
  
}

.container .card .face.face1{
  position: relative;
  background: #333;
  display: flex;
  justify-content: center;
  align-content:center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.container .card:hover .face.face1{
  transform: translateY(0);
  box-shadow:
    inset 0 0 60px whitesmoke,
    inset 20px 0 80px rgb(126, 3, 3),
    inset -20px 0 80px rgb(143, 35, 2),
    inset 20px 0 300px rgb(104, 3, 3),
    inset -20px 0 300px rgb(153, 0, 0),
    0 0 50px rgb(138, 2, 2),
    -10px 0 80px rgb(255, 0, 0),
    10px 0 80px rgba(182, 3, 3, 0.829);
   
}


.container .card .face.face1 .content{
  opacity: .2;
  transition:  0.5s;
  text-align: center;
  
   
  
  
 

}

.container .card:hover .face.face1 .content{
  opacity: 1;
 
}

.container .card .face.face1 .content i{
  font-size: 3em;
  color: white;
  display: inline-block;
   
}

.container .card .face.face1 .content h3{
  font-size: 1em;
  color: white;
  text-align: center;
  

}

.container .card .face.face1 .content a{
   transition: .5s;
}

.container .card .face.face2{
   position: relative;
   background: whitesmoke;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,.8);
  transform: translateY(-100px);
}

.container .card:hover .face.face2{
    transform: translateY(0);


}

.container .card .face.face2 .content p {
  font-size: 12pt;
  margin: 0 ;
  padding: 0;
  color:#333;
}

.container .card .face.face2 .content a{
  text-decoration:none;
  color: black;
  box-sizing: border-box;
  outline : 1px dashed #333;
  padding: 10px;
  margin: 15px 0 0;
  display: inline-block;
}

.container .card .face.face2 .content a:hover{
  background: #333 ;
  color: whitesmoke; 
  box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
}
/* **********************Sidebar******************************** */

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  right: 0;
  padding-right: 5%;
  bottom: 10%;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  text-align: right;
  letter-spacing: 0;
  line-height: 1.6em;
  font-size: 20px;
  padding: .2em;
  font-weight: 700;
  
}
.sidebar-links a {
  text-decoration: none;
  font-size: 10pt;
  margin: 0 ;
  padding: 0;
  color:rgb(255, 255, 255);
}
.nav-glow:hover {
  font-size: 60px;
    color: rgb(255, 255, 255);
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}
@-webkit-keyframes nav-glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60000, 0 0 40px #850000, 0 0 50px #e60000, 0 0 60px #e60000, 0 0 70px #e60000;
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4d4d, 0 0 40px #f31a1a, 0 0 50px #f13434, 0 0 60px #ff4d4d, 0 0 70px #ff4d4d, 0 0 80px #ff4d4d;
  }
}
.sidebar-logos div {
  right: 0;
}
.sidebar-logos {
  padding-top: 60px;
  width: 70px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 8px;
}

#loading{
  color: #fff;
  position: absolute;
  letter-spacing: 3px;
  width: 10em;
  line-height: 2em;
  top: calc(50% - 1em) ;
  left: calc(50% - 5em);
  z-index: 2;
  text-align: center;
}

.loading-done{
  display: none;
}

#images{
  position: absolute;
  width: 600px;
  left: calc(50% - 300px);
}

.canvas{
  position: relative;
  display:block;
  overflow: hidden;
}


#images img{
  display: none;
  vertical-align: bottom;
}

canvas{
  vertical-align: bottom;
  position: absolute;
}

nav ul{
  height: 0;
  margin: 0;
}


nav li {
  position: absolute;
  width: 25px;
  height: 25px;
  opacity: .3;
  list-style: none;
  top: calc(50% - 12px);
  z-index: 100;
  transition: opacity .3s;
}

nav li:hover{
  opacity: .7;
}

.pre.after-loading{
  left: -40px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.next.after-loading{
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  right: -40px;
}
/* Media Queries: Tablet Landscape */
@media screen and (max-width: 1060px) {
  #about { width:67%; }
  #about { width:30%; margin-left:3%;}  
}

/* Media Queries: Tabled Portrait */
@media screen and (max-width: 768px) {

  #about { width:100%; border:none; margin: 0 auto; padding: 0; font-size: 1.5em; word-wrap: break-word;}
  #about b{ font-size: 1.5em;}
  .about-image{ margin-bottom: 10vh; }
  .about-image img { max-width: 100%; height: auto; width: 32vh; }
  .sidebar-nav, .sidebar-links, .sidebar-logos {
    display: none;
  }
}
@media (min-device-width:600px) {
  img[data-src-600px] {
      content: attr(data-src-600px, url);
  }
 
}

@media (min-device-width:800px) {
  img[data-src-800px] {
      content: attr(data-src-800px, url);
  }
}
