
 @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
 
 html 
        {
            scroll-behavior: smooth;
        }
 
* {
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.card {
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
   border-radius: 5px;
   padding: 20px;
}


header {
   display: inline;
}


nav {
   padding: 5px;
   position: sticky;
   top: 0; background-color: #191313;
   border: solid 2px; border-block-end-color:  #181313;
   
}

nav ul {
  padding-inline: 3rem;
  display: flex;
  gap: 2rem;
}

nav li {
  list-style-type: none;
}

nav a {
   font-weight: bold;
   font-size: 18px;
   text-decoration: none;
   color:  #ffffff;
}


nav a:hover {
   text-decoration: underline;
}


.jumbotron {
  background-image: url('../img/Background.png');
  background-position: center;
  background-size: 1480px;
  text-align: center;
  color: white;
  padding: 60px;
  position: relative;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
}

.jumbotron * {
  position: relative; 
}
.button {
    background-color: white;
    padding: 4px;
    width: 200px;
    color: black;
    margin: auto;
    border-radius: 45px;
}
.button a {
    text-decoration: none;
    color :#690404;
}

main {
  display: flex;
  padding: 20px;
  gap: 1.5rem;
}

.content {
  display: flex;
  flex: 5;
  flex-flow: column nowrap;
  gap: 1rem 2rem;
}
.gameproject-row {
    display: flex;
    align-items: center;   /* sejajarkan image dan text */
    gap: 20px;             /* jarak antara gambar & teks */
}

.gameproject-row img {
    width: 400px;       
    height: auto;
}

.gamecontent { 
    color: white;
    text-align: left;
    margin-left: 0;        
}
.gameproject-item{
     color: white;
    display: flex;
    padding: 10px;
    flex-direction: column nowrap;
    align-items: center;

}

.card_profile{
   background-color: black;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
   border-radius: 35px;
   padding: 20px;
   color: white;
   text-align: center;
}
footer {
   padding: 10px;
   color: white;
   background-color: black;
   text-align: center;
}

.profile_content{
  color: rgb(255, 255, 255);
  text-align: center  ;
}

.card_profile article {
 color: white;
}

.profile_heading {
    color: white;
    text-align: center;

}

.profile-img {
  width: 250px;
}
.corner {
    position: fixed;
    top: 0;
   right: 0;
    width: 150px; 
}


@media screen and (max-width: 1000px) {
  #content,
  aside {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 1200px) {
  main {
    flex-flow: column nowrap;
  }
  main aside {
    align-self: center;
  }
}

 
@media screen and (max-width: 768px) {
  nav ul {
    justify-content: center;
  }
 
  main aside {
    align-self: stretch;
  }
  @media (max-width: 600px) {
  .container {
    flex-direction: column; /* Jadi ke bawah */
    align-items: center;
  }

  .box img {
    width: 150px; /* Bisa diperbesar */
  }
}
@media screen and (max-width: 768px) {

  /* NAV ke tengah */
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Layout utama jadi kolom */
  main {
    flex-direction: column;
  }

  aside {
    width: 100%;
    align-self: center;
    text-align: center;
  }

  /* Gambar profil mengecil */
  .profile-img {
    width: 180px;
  }

  /* Jumbotron text mengecil */
  .jumbotron {
    padding: 40px;
    background-size: cover;  
  }

  /* ROW tools/bahasa/social jadi vertical */
  .gamecontent,
  .gameproject-row{
    flex-direction: column;
    gap: 40px;
  }

  /* Semua icon dibesarkan sedikit */
  .gameproject-row img
   {
    width: 120px;
  }

}

/* ============================
   EXTRA SMALL (max-width: 480px)
   ============================ */
@media screen and (max-width: 480px) {

  nav a {
    font-size: 14px;
    
  }

  .profile-img {
    width: 150px;
  }

  .gameproject-row img{
    width: 100px;
  }

  .corner{
    
     position: fixed;
    top: -20px;
   left: 0;
    width: 90px;
   
    

  }
}
}
