.background-img{
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/images/index/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header{
    margin: 0px 20px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.h1-header{
    color: var(--color-white);
    font-family: var(--font-h1);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
}

.button{
    border-radius: 15px;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.button-signin{
    background-color: var(--color-white);
}

.button-signin:hover{
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.text-signin{
    color: var(--color-black);
}

.button-signup{
    background-color: var(--color-1);
}

.button-signup:hover{
    background-color: var(--color-2);
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.text-signup{
    color: var(--color-white);
}

.main-text{
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.h1-title{
    margin: 20px 0px;
    font-size: clamp(2rem, 6vw, 4rem);
    text-align: center;
    color: var(--color-white);
}

.text-img{
    padding: 0px 20px;
    color: var(--color-white);
    font-weight: bold;
    font-size: clamp(1rem, 4vw, 1.3rem);
    text-align: center;
    line-height: 1.6;
}

/* Media Queries - Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .background-img {
        min-height: auto;
        padding: 15px;
    }

    header {
        flex-direction: column;
        gap: 15px;
        margin: 15px auto;
    }

    .h1-header {
        font-size: clamp(1.2rem, 4vw, 2.5rem);
    }

    .button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .main-text {
        padding: 30px 15px;
    }

    .h1-title {
        font-size: clamp(1.5rem, 5vw, 3rem);
        margin: 15px 0px;
    }

    .text-img {
        padding: 0px 15px;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .background-img {
        padding: 10px;
    }

    header {
        gap: 10px;
    }

    .h1-header {
        font-size: clamp(1rem, 3vw, 1.8rem);
    }

    .button {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 180px;
    }

    .main-text {
        padding: 20px 10px;
    }

    .h1-title {
        font-size: clamp(1.3rem, 4vw, 2.2rem);
        margin: 10px 0px;
    }

    .text-img {
        padding: 0px 10px;
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
}