html {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background-color: #647b54;
    color: #f3f3f3;
}

body {
    margin: 0 auto;
    max-width: 1200px; /* Adjust max-width for larger screens */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    padding: 40px;
    font-size: 18px;
    text-align: center;
}

/* Add gradient background for depth */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #647b54, #354d2b);
}

h1 {
    position: fixed;
    pointer-events: none;
    color: transparent;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%; /* Full width for smaller devices */
    max-width: 600px; /* Limit width for larger screens */
}

p {
    margin: 10px 0;
}

a {
    color: #e0e0e0;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffb84d;
}

/* Responsive styles */

/* Small devices (phones, <576px) */
@media (max-width: 576px) {
    body {
        max-width: none ;
        padding: 0 20px;
        font-size: 16px;
    }
    

    div {
        padding: 15px;
    }
}

/* Medium devices (tablets, ≥576px to <768px) */
@media (min-width: 576px) and (max-width: 768px) {
    body {
        max-width: 576px;
        font-size: 17px;
    }


    div {
        padding: 20px;
    }
}

/* Large devices (desktops, ≥768px to <992px) */
@media (min-width: 768px) and (max-width: 992px) {
    body {
        max-width: 768px;
        font-size: 18px;
        padding: 20px 40px;
    }


    div {
        max-width: 700px;
    }
}

/* Extra large devices (≥992px to <1200px) */
@media (min-width: 992px) {
    body {
        max-width: 992px;
        font-size: 20px;
    }

    div {
        max-width: 800px;
    }
}

/* Ultra large screens (≥1200px) */
@media (min-width: 1200px) {
    body {
        font-size: 22px;
    }

    div {
        max-width: 900px;
    }
}
