* {
    box-sizing: border-box;
}

body {
    background-image: url('../img/ppgirls-background.jpg');
    background-size: cover;
    background-position: center;
    font-family: "Poppins", sans-serif;
    color: #ff4500;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: #ff4500;
}

input[type="text"],
button {
    display: inline-block;
    vertical-align: middle;
}

input[type="text"] {
    width: 180px;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    outline: none;
    text-align: center;
    margin-bottom: 1rem;
}

button {
    padding: 0.45rem 0.9rem;
    background-color: #ff4500;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-left: 0.5rem;
}

button:hover {
    background-color: #e63b00;
}

section {
    display: grid;
    grid-template-areas:
        "input input"
        "button button"
        "img img"
        "h2 p";
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 0.5rem 1rem;
    width: 100%;
    max-width: 600px;
    margin-top: 1rem;
}

section h2 {
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0;
}

section p {
    text-align: left;
    font-size: 1.1rem;
    color: #2a2a2a;
    text-shadow: 0 0 4px #e60073;
    margin: 0;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}


input[type="text"] {
    grid-column: 1 / -1;
}

button {
    grid-column: 1 / -1;
}

img {
    width: 250px;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    grid-column: 1 / -1;
    order: -1;
    width: 320px;
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(255, 0, 100, 0.6));
    margin: 1rem 0;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section h2,
    section p {
        text-align: center;
    }

    img {
        width: 250px;
    }
}