.save-money-background {
    background-color: var(--bt-blue);
}

.save-money {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.15s ease-in-out;
    width: 50vw;
    margin: auto;
    box-shadow: 1vw 1vw 1vw 1vw rgba(0, 0, 0, 0.048), -1vw 1vw 1vw 1vw rgba(0, 0, 0, 0.048);
    padding: 0 50px;
    margin-top: 15vh;
    padding-top: 4vh;
    border-top: 5px solid var(--bt-gray);
    border-bottom: 5px solid var(--bt-gray);
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro img {
    width: 100%;
    margin: 0 auto;
}

.save-money .intro h1 {
    text-align: center;
}

.save-money h2 {
    text-align: center;
}

.tip {
    margin: 10vh 0;
}

.card {
    display: flex;
    flex-direction: row;
    width: 40vw;
    justify-content: space-between;
    height: auto;
    margin: 4vh auto;
    background-color: var(--bt-greish);
    padding: 2.5vh 0;
    border-radius: 2vh;
}

.card .info {
    margin: 0 2vh;
    margin-left: 2vw;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: start;
    width: 24vw;
    flex: 3
}

.card .image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card img {
    height: 13vh;
    width: 100%;
    height: auto;
    margin: auto 2vh;
}

.card h3 {
    padding: 0;
    margin: 0;
}

.card .points {
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card a {
    display: flex;
    flex-direction: column;
    margin: auto;
    background-color: var(--bt-blue);
    color: white;
    border: none;
    border-radius: 2vh;
    padding: 1vh 2vh;
    font-size: 1.7vh;
    font-family: inherit;
}

.card a:hover {
    background-color: var(--bt-hover-blue);
    cursor: pointer;
}

.card .buttons {
    width: fit-content;
    margin-right: clamp(2vh, 2vh, 8vh);
    flex: .8;
    align-items: start;
}

.card .button {
    height: 50%;
    width: fit-content;
    display: flex;
    justify-content: center;
    margin: auto 0;
}

.card .button a {
    white-space: nowrap;
    width: fit-content;
    font-size: 15px;
}

.hr-container {
    position: relative;
    text-align: center;
  }
  
  .styled-hr {
    border: none;
    height: 5px;
    background-color: var(--bt-gray);
    width: 230px;
    margin: 5vh auto;
    border-radius: 10px;
  }
  
  .styled-hr::before {
    content: "";
    display: inline-block;
    width: 15px;  /* Diameter of the ball */
    height: 15px;
    border-radius: 50%;  /* Makes it a circle */
    background-color: var(--bt-hover-blue);  /* Color of the ball */
    border: 5px solid var(--bt-gray);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);  /* Center the ball horizontally */
  }


@media screen and (min-width: 1200px) {
    .save-money {
        width: 800px;
    }

    .card {
        width: 800px;
    }

    .intro {
        width: 600px;
    }
}

@media screen and (max-width: 800px)
{
    .styled-hr {
        width: 30vw;
        height: 3px;
        margin: 3vh auto;
    }

    .styled-hr::before {
        width: 12px;
        height: 12px;
        border: 3px solid var(--bt-gray);
    }

    .save-money {
        width: 80vw;
        padding: 4vh 7vw;
        margin-top: 12vh;
    }

    .tip {
        margin: 5vh 0;
    }

    .save-money h1 {
        font-size: 2.7vh;
        line-break: strict;
    }

    .save-money h2 {
        font-size: 2.2vh;
    }

    .save-money h3 {
        font-size: 1.8vh;
    }

    .save-money p {
        font-size: 1.5vh;
    }

    .card {
        width: 85vw;
        font-size: 2vw;
        padding: 2vw 1vw;
    }

    .card .image-container {
        flex: 1.4;
        padding: 0 1vw;
    }

    .card img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .card h3 {
        font-size: 2.5vw;
    }

    .card .buttons {
        flex: .65;
        margin-right: 1vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .card .button {
        padding: 0;
        height: fit-content;
        margin: 1vw auto;
    }

    .card .button a {
        font-size: 2.2vw;
        padding: 1.5vw 2vw;
    }


}

@media screen and (max-height: 500px) and (orientation: landscape) {
    

    .intro h1 {
        font-size: 3.8vh;
    }

    .intro h3 {
        font-size: 2.5vh;
    }

    .tip h2 {
        font-size: 3.2vh;
    }

    .tip p {
        font-size: 2.5vh;
    }
}

