/* Hero Section */
.hero {
    text-align: center;
    padding: 20px;
}

.hero .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

/* Steps Section */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Three columns */
    gap: 20px;
    padding: 20px;
}

.step {
    background-color: var(--box-color-main);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: var(--border-radius-s);
    border: var(--border-width-m) solid var(--box-border)
}

.step h2 {
    margin-bottom: 10px;
}

/* Call to Action */
.call-to-action {
    text-align: center;
    padding: 20px;
}

.call-to-action p {
    margin-bottom: 20px;
    text-align: center;
}

.call-to-action a {
    background-color: #5cb85c;
    /* Green color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
}

.call-to-action button:hover {
    background-color: #4cae4c;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        /* Stack the columns on smaller screens */
    }
}

@keyframes zoomAnimation {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.headline {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.background_1 {
    background-color: black;
    background-image: url('/static/images/landing_page_background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100vw;
    width: 100svw;
    height: 96vh;
    height: 96svh;

    animation-name: zoomAnimation;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.background_1::before {
    content: '';
    /* This is necessary for the pseudo-element to show */
    position: absolute;
    /* Position absolutely within .background_1 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    z-index: 1;
    /* Ensure it's above the background image but below the text content */
}

.content {
    z-index: 2;
    position: relative;
    text-align: center;
    width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content h1,
.content h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content h1 {
    color: white;
}

.content h4 {
    color: lightgray;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.headliner_learn_more {
    z-index: 2;
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius-s);
    border: var(--border-width-m) solid white;
    padding: 1rem;
    text-align: center;
    transition: background-color ease-in-out 0.1s;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

@media (hover: hover) {
    .headliner_learn_more:hover {
        background-color: rgba(255, 255, 255, 0.1);
        cursor: pointer;
    }
}

.sub_headliner_container {
    max-width: 50rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    opacity: 0;
    transform: translateY(var(--fade-in-from-top));
}

.image,
.text {
    flex: 1;
    padding: 1em;
    /* Adjust the padding around content */
}

.image {
    width: 15rem;
    height: 15rem;
    border-radius: var(--border-radius-s);
}

.image img {
    border-radius: var(--border-radius-s);
    box-shadow: 10px 5px 5px black;
}

.sub_headliner {
    padding: 5rem 0;
}

.sub_headliner:nth-child(even) {
    background-color: white;
}

.sub_headliner:nth-child(odd) {
    background-color: black;
}

.sub_headliner:nth-child(odd) img {
    float: right;
}

.sub_headliner:nth-child(even) .text * {
    text-align: end;
}

.text * {
    color: white;
}


.sub_headliner:nth-child(even) .text * {
    color: black;
}


@media (max-width: 767px) {
    .sub_headliner_container {
        flex-direction: column;
    }

    .image,
    .text {
        padding: 0.5em;
    }

    .sub_headliner .image {
        order: 0;
    }

    .sub_headliner:nth-child(odd) .image {
        order: -1;
    }

    .sub_headliner {
        padding: 1rem 0;
    }

    .sub_headliner:nth-child(even) .text * {
        text-align: start;
    }

}

.white_row {
    background-color: white;
    height: 11rem;
    width: 100%;
}

.white_background {
    padding: 5rem 0;
    background-color: white;
    display: flex;
    justify-content: center;
}

.white_background a {
    margin: auto;
    text-decoration: none;
    border: var(--border-width-l) solid black;
    border-radius: var(--border-radius-s);
    box-shadow: 6px 6px 5px black;
    font-weight: bold;
}