/* Import font kartun dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

/* Global Styles */
body {
    font-family: 'Fredoka One', cursive;
    margin: 0;
    padding: 0;
    background-color: paleturquoise;
    color: black;
}

/* Header */
header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: paleturquoise;
}

h1, h2 {
    color: black;
    margin-bottom: 1rem;
}

/* Header Image */
.header-image img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Paragraphs */
p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1rem auto;
    max-width: 700px;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center; /* tengah halaman */
  gap: 1rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: deepskyblue;
  padding: 10px;
  border-radius: 50%; /* biar tombol jadi bulat */
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  text-decoration: none;
  width: 28px;
  height: 28px;
}

.button-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* Contract Box */
.contract-box {
    display: inline-flex;
    align-items: center;
    background: royalblue;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    gap: 10px;
    color: white;
}

.contract-box button {
    background: darkblue;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contract-box button:hover {
    background: white;
    opacity: 0.8; /* nilai antara 0 (transparan penuh) dan 1 (tidak transparan) */
}

.contract-box button:focus,
.contract-box button:active {
    outline: none;
    box-shadow: none;
    background: darkblue; /* biar tetap seperti normal */
    opacity: 0.9;
}


/* Sections */
section {
    padding: 2rem 1rem;
    text-align: center;
}

/* List */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    font-size: 1rem;
}

/* Community Image */
.community-image img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background-color: deepskyblue;
    color: black;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

