body{
    border: 2px solid grey;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    height: 100vh;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative; /* enable absolutely positioned children */
}

.header-gif {
    position: relative ;
    top: 12px;       /* tweak as needed */
    right: 12px;     /* tweak as needed */
    width: 140px;    /* adjust size */
    height: auto;
    z-index: 5;
    pointer-events: none; /* clicks pass through */
}

/* Alternative: use as background instead of an extra <img>
header {
    /* ...existing rules... */
    /* background: url('./picture/overlay.gif') no-repeat top right / 140px auto; */


.pet-title{
    font-family: "Jersey 25";
    font-size: 12px;
    color: black;
    text-align: center;
    margin: 10px 0;
}

.main-content {
   position: relative;
   background-size:200px;
   width:1000px;
   margin: 10px auto;
   padding: 40px;
   border: 10px dotted grey;
   border-radius:12px;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.grid{
    displayy:flex;
    justify-content: flex-start;
    allign-items: flex-start;
    gap: 5px;
    flex-wrap:wrap
}
.item {
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);     
    text-align: center;
    font-family: "Jersey 25";
}

.item-1 {
    flex: 1;
}

.item-2 {
    flex-grow: 1;
    flex-basis: 300px;
}

.dashboard {
    flex: 1;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.navbar ul {
    list-style-type: none;
    font-family: "Jersey 25";
    position:center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #c0bfc1;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 10px;
}

.navbar a {
    display: block;
    color: black;
    padding: 4px 17px;
    text-decoration: none;
    text-align: center;
}

.navbar a:hover {
    background-color: #ddd;
}

.navbar li {
    float: left;
}

.box{
    width: 150px;
    height: 150px;
    border: 2px solid black;
    font-size: 40px;
    margin: 2px;
    padding: 2em;
    text-align: center;
}

.tajuk{
    font-family: "Pixelify Sans";
    font-size: 36px;
    color: black;
    text-align: center;
    margin: 10px 0;
}
.header-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}
#paragraph{
    font-family: "Caveat";
    position: center;
    font-size: 20px;
}