.all-content {
    max-width: 1500px;
    align-content: center;
    margin: 0 auto;
}

.hero-container {
    margin: 0 auto;
    display: flex;
    padding-top: 4rem;
}

.hero-img{
    width: 40%;
    border-radius: 5%;
}

.title {
    font-size: 5.5em;
}

.hero-content p {
    font-size: 1.4em;
    max-width: 800px;
    margin-right: 12rem;
}

.team-container {
    position: relative;
}

.team-container h1 {
    font-size: 3rem;
    margin-top: 2rem;
}

.team-images {
    display: flex;
    justify-content: space-between;
}

.team-img{
    max-width: 400px;
    max-height: 300px;
    border-radius: 15%;
}

.team-images p {
    text-align: center;
    font-weight: bold;
}

.tips {
    margin-top: 4rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
}
.tips h2{
    font-size: 3rem;
    margin-top: 2rem;
}

.tips p{
    font-size: 1.2em;
    margin: 0 auto;
}

.tip {
    margin-top: 5px;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    margin: 20px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Default: Heading on the left, Icon on the right */
.tip-header h2 {
    font-size: 1.7em;
    text-transform: lowercase;
    margin: 0;
    order: 1; /* Moves h2 to the left */
}

.tip-header ion-icon {
    font-size: 1.5em;
    color: black;
    order: 2; /* Moves icon to the right */
}

/* Alternate styling: Heading on the right, Icon on the left */
.tip:nth-child(even) .tip-header {
    flex-direction: row-reverse; /* Reverses the order for even tips */
}


@media screen and (max-width: 768px) {
    .hero-container {
        text-align: center;
        flex-direction: column;
        align-items: center;
        font-size: 0.7em;
        padding: 4px;
    }

    .hero-img {
        width: 80%;
    }

    .hero-content p {
        margin-right: 0;
    }

    .team-images {
        flex-direction: column;
    }

    .team-img {
        max-width: 300px;
        max-height: 200px;
    }

    .tips {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .tip {
        margin: 10px;
        margin-top: 5px;
    }   
    
}