@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 40px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    width: 100vw;
    height: 100vh;
}

#page {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    font-family: Poppins, sans-serif;
    background-color: bisque;
    transform: translateY(-30px);
}

#main {
    background-color: white;
    width: 100%;
    height: 100%;
}

.sampul img {
    width: 100%;
    height: 20vh;
    box-shadow: 0 2px 9px;
}

.profil img{
    width: 150px;
    height: auto;
    border-radius: 100%;
    box-shadow: 0 2px 5px;
}

.profil {
    position: relative;
    margin-top: -90px;
}

.info h1 {
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 80%;
    margin: 0 auto;
    margin-top: var(--space-s);
    line-height: 1.1;
}

.info p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.1;
}

.sosmed img {
    width: 25px;
    height: auto;
}

.sosmed {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: var(--space-m);
}

.sosmed a {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.sosmed a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.merchant img {
    width: 120px;
}

.merchant {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    background-image: url('img/bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 30px 0;
    margin: 0 auto;
    margin-top: var(--space-m);
    box-shadow: 0 3px 9px;
}

.merchant h2 {
    font-size: 1.2rem;
    font-weight: bold;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.1;
    color: white;
}

.merchant p {
    font-size: 1rem;
    font-weight: 300;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.1;
    color: white;
}

.merchant a {
    width: 80%;
    background-color: white;
    margin: 0 auto;
    padding: 15px 0;
    border-radius: 10px;
    margin-top: var(--space-s);
    transform: scale(1);
    transition: transform 0.3s ease;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.merchant a:hover {
    transform: scale(1.04);
    transition: transform 0.3s ease;
}

@keyframes fadeInAll {
  from { opacity: 0; }
  to { opacity: 1; }
}

body * {
  opacity: 0;
  animation: fadeInAll 1.2s ease forwards;
}

body *:nth-child(1) { animation-delay: 0.1s; }
body *:nth-child(2) { animation-delay: 0.2s; }
body *:nth-child(3) { animation-delay: 0.3s; }
body *:nth-child(4) { animation-delay: 0.4s; }
body *:nth-child(5) { animation-delay: 0.5s; }