* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.background-image {
    position: relative;
    height: 100%;
    background-image: url('../samandbentech-home-start.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.text-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 75vh;
    padding: 20px;
    text-align: center;
    animation: textAnim 90s infinite;
}

h1 {
    font-size: 6rem;
    color: #b88a44;
    margin-bottom: 30px;
}

.founding-info, .story, .innovation {
    font-size: 2rem;
    max-width: 800px;
    margin: 20px auto;
}

footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

@keyframes textAnim {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-30%) translateX(-50%) scale(0.75);
    }
    100% {
        opacity: 0;
        transform: translateY(-60%) translateX(-50%) scale(0.4);
    }
}

@media screen and (max-width: 768px) {
    .text-container {
        bottom: 50%;
        height: 60vh;
        width: 90%;
    }

    h1 {
        font-size: 4rem;
    }

    .founding-info, .story, .innovation {
        font-size: 1.5rem;
    }
}
