* {
    margin: 0;
    padding: 0;
}


.header-image {
    width: 100%;
    height: 70vh;
}

.header-image img {
    width: 100%;
    height: 100%;
}

#selection {
    background-color: #f0f0f0;
}

.selection-part {
    padding: 3rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.selection-button {
    padding: 1rem 2rem;
}

.selection-button button{
    padding: 1rem 2.5rem;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.selection-button button:hover {
    transition-duration: 0.3s;
    border: 1px solid rgb(0, 174, 255);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    color: rgb(0, 174, 255);
}

#sample {
    margin: 6rem 4rem;
}

.cards {
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.sample-header {
    text-align: center;
}

.sample-header h2 {
    font-size: 36px;
    color: rgb(29, 29, 29);

}

.sample-header p {
    font-size: 18px;
    margin-top: 0.5rem;
    color: gray;
}

.sample-card {
    background-color: rgb(241, 241, 241);
    margin: 2rem 1.2rem;
    width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    overflow-y: hidden;
}

.sample-card-image {
    width: 100%;
    height: 400px;
}

.sample-card-image img {
    width: 100%;
    height: 100%;
}

.sample-card-text {
    text-align: right;
    margin: 1rem;
}

.sample-card-title {
    margin-bottom: .7rem;
    color: rgb(29, 29, 29);
}

.sample-card-info {
    color: rgb(66, 66, 66);
}

#implant {
    margin: 6rem 4rem;
}

#car {
    margin: 6rem 4rem;
}

@media (max-width: 580px) {
    .header-image {
        height: 50vh;
    }

    .selection-part {
        padding: 1.5rem 3rem;
    }

    .selection-button {
        padding: 1rem 2rem;
    }
    
    .selection-button button{
        padding: 0.8rem 1.8rem;
        font-size: 16px;
    }

    .cards {
        padding: 0;
    }

    .sample-card {
        margin: 1rem 0.6rem;
    }
  }