@font-face {
    font-family: "cronde";
    src: url("/font/CRONDERegular.ttf") format("truetype");
    font-display: swap;
}

:root {
    font-size: 16px;
}

* {
    padding: 0;
    margin: 0;
    scrollbar-width: thin;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: auto;
}

nav,
.bungaatas,
.bungabawah {
    position: absolute;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    bottom: 40px;
    left: 30px;
    z-index: 20;
}

.navhome a {
    border-radius: 0;
}

nav a {
    background: white;
    font-family: 'cronde';
    font-size: 1.125rem;
    width: 90px;
    height: 60px;
    padding: 10px;
    border: 3px dotted #ff69b4;
    outline: 3px solid #519c41;
    outline-offset: 2px;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    color: rgb(255, 145, 0);
    font-weight: bold;
    text-decoration: none;
    rotate: 20deg;
    transition: all 0.2s;
}

nav a:hover {
    scale: 1.1;
    rotate: 0deg;
}

.active {
    background: rgb(255, 255, 255);
    text-transform: uppercase;
    padding: 0;
    box-shadow: inset 0 0 25px hotpink;
}

h1 {
    background: white;
    padding: 7px;
    text-align: center;
    line-height: 1;
    font-size: 1.25rem;
    box-shadow: inset 0 0 20px rgb(255, 145, 0);
    font-family: 'cronde';
    width: 20%;
    align-self: center;
    border-radius: 100px;
    outline: 3px solid rgb(255, 145, 0);
    border: 3px dotted #519c41;
    margin-bottom: 5px;
}

h2 {
    top: 40px;
    right: 35px;
    outline-offset: 2px;
    background: rgba(255, 182, 193, 0.5);
    padding: 10px;
    text-align: left;
    line-height: 1;
    border-radius: 10px;
    font-size: 1.125rem;
    box-shadow: inset 0 0 15px pink;
}

.bungabawah {
    bottom: 5px;
    right: 5px;
    z-index: 10;
}

.bungabawah img {
    width: 200px
}

.bungaatas {
    top: -70px;
    left: 20px;
    transform: rotate(197deg);
    z-index: 10;
}

.bungaatas img {
    width: 230px
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    background-color: rgba(253, 255, 130, 0.8);
    background-image: url('https://ik.imagekit.io/elaravoid/nona/bg-1.png');
    background-size: 10%;
}

.kotak {
    position: relative;
    background-color: hotpink;
    background-image: url('https://ik.imagekit.io/elaravoid/nona/bg-2.png');
    border-radius: 20px;
    background-size: 15%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 87%;
    height: 90%;
    border: 5px solid rgb(255, 61, 158);
    outline: 5px dotted rgb(255, 61, 158);
    margin-left: 110px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    scrollbar-color: white pink;
}

.kotak p {
    line-height: 1.4;
    background: #b6f564;
    padding: 10px;
    border-radius: 20px;
    margin-top: -5px;
}

.sosmed {
    display: flex;
    flex-direction: row;
    rotate: 0;
}

.akun {
    display: flex;
    flex-direction: column;
}

.sosmed {
    gap: 10px;
    display: flex;
}

.sosmed iframe {
    border: 3px solid rgb(255, 145, 0);
    border-radius: 10px;
}

.stabilo {
    background: white;
    padding: 0 5px;
    border-radius: 10px;
    outline: 3px dotted rgb(255, 145, 0);
}

@media screen and (max-width: 768px) {
    :root {
        font-size: 14px;
        /* 1rem = 16px base */
    }

    .bungaatas {
        display: none
    }

    .bungabawah img {
        width: 150px
    }

    body {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        overflow: hidden;
        background-size: 20%;
    }

    nav {
        position: static;
        flex-direction: row;
        gap: 15px;
        align-self: center;
    }

    nav a {
        width: 80px;
        height: 55px;
        padding: 5px;
    }

    .kotak {
        position: static;
        justify-self: center;
        justify-items: center;
        margin: 0;
        width: 100%;
        background-size: 30%;
    }

    .kotak h1 {
        width: 150px;
    }

    .sosmed {
        display: grid;
        grid-template-columns: repeat(1fr, 1fr);
    }
}