/* wrap all your page content in this */
.content {
    /* ensure your content sits above the blurred bg */
    position: relative;
    z-index: 1;

    /* for centering vertically/horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100%;
    width: 100%;

    background-image: url('../assets/render.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: var(--secondary-color);
}

.floating-card {
    text-align: center;
    max-width: 800px;
    padding: 5rem;
    border-radius: 20px;
}

.content h1 {
    font-size: 5rem;
    text-wrap: nowrap;
    font-weight: 600;

    margin: 0;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
}

/* Drone Icon */
.drone {
    min-width: 100px;
    width: 250px;
    /* Makes it small like an icon */
    height: auto;
    margin-top: 20px;
    /* Places it a little below the content */
    animation: blink 1.5s infinite alternate ease-in-out;

    filter: invert(1);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;

    padding-top: 1rem;

    backdrop-filter: blur(10px);
}

@media (max-width: 1000px) {
    .content h1 {
        text-wrap: wrap;
    }
}

@media (max-width: 800px) {
    .content h1 {
        font-size: 4rem;
    }

    .content p {
        font-size: 1rem;
    }

    .floating-card {
        padding: 40px;
        margin: 20px;
    }
}

@media (max-width: 600px) {
    .content {
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        height: 100%;
    }

    .content h1 {
        font-size: 2rem;
        text-wrap: wrap;
    }

    .content p {
        font-size: 1rem;
    }

    .floating-card {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.5rem;
        text-wrap: wrap;
    }

    p {
        font-size: 0.9rem;
    }

    .drone {
        min-width: 40px;
        width: 150px;
    }

    .floating-card {
        padding: 10px;
        margin: 5px;
    }
}

@media (orientation: landscape) {
    /* Styles for landscape (horizontal) mode */
}

@media (orientation: portrait) {
    /* Styles for portrait (vertical) mode */
}