@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
}

/* Dark Mode and Light Mode */

:root {
  --text: rgb(10, 10, 10);
  --bg: #fff;
  --bg1: rgba(255, 255, 255, 0.5);
  --kotak: #337ccf;
  --kotak1: #f5f5dc;
}

.light-theme {
  --bg: #f5f5dc;
  --text: #fff;
  --kotak: #1450a3;
  --bg1: rgba(0, 0, 0, 0.5);
  --kotak1: #004225;
}

body {
  max-width: 55%;
  margin: auto;
  margin-top: 100px;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--kotak1);
}

.judul1 {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 100px;
  color: var(--text);
}

h1 {
  font-size: 40px;
  color: var(--text);
}

header {
  display: block;
}

a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  color: var(--text);
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  color: var(--text);
}

section {
  display: block;
}

#links {
  text-align: left;
  margin-top: 20px;
  font-size: 1.1rem;
}

#links a {
  margin-bottom: 10px;
  display: inline-block;
  color: var(--text);
}

#links a {
  background: linear-gradient(180deg, transparent 0, transparent 80%, #836096 0, #836096);
}

hr {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
  border-style: inset;
  border-width: 2px;
}

img {
  display: flex;
  background-size: cover;
  height: 150px;
  border-radius: 20px;
  //border: 1px solid black;
  align-items: center;
  padding: 10px;
  margin: auto;
}

.moon {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* List Work Section */

#list-work {
  margin-top: 60px;
}

#list-work .judul2 {
  text-align: center;
  margin-bottom: 40px;
  color: #b4b4b3;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.card {
  flex: 1 0 calc(33.33% - 20px);
  margin: 10px;
  background-color: var(--bg);
  border-radius: 15px;
  padding: 20px;
  padding-top: 10px !important;
  box-shadow: 0 12px 64px -20px #0003;
  transition: 0.3s ease;
}

.card-content {
  text-align: center;
}

.card:hover {
  box-shadow: 0 1.375rem 6.25rem #0000002e;
}

.card h1 {
  padding-bottom: 20px;
  color: #000;
}

.card p {
  font-size: 14px;
  text-align: center;
  color: #000;
}

.desc {
  text-align: center;
  color: #b4b4b3;
}

/* Button */

.btn {
  cursor: pointer;
  padding: 8px 20px;
  background-color: black;
  color: #fff;
  border-radius: 20px;
  border: none;
  transition: 0.5s ease;
}

.btn:hover {
  background-color: #f9a825;
  color: black;
}

/* Footer */

.footer {
  display: flex-row;
  margin: 20px;
  padding: 20px;
  text-align: center;
  align-items: center;
}

@media (max-width: 768px) {
  body {
    margin-top: 150px;
    max-width: 75%;
  }
  section h1 {
    font-size: 15px;
  }
  #links a {
    font-size: 15px;
  }
  .judul1 {
    font-size: 2rem;
  }
  .card {
    width: 90%;
  }

  img {
    height: 100px;
  }
}
