@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap";

:root {
    --color: rgb(63 63 63);
    --headings: #99b3d6;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
}

h2 {
    color: #99b3d6;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

h4 {
    color: #959595;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    letter-spacing: 0px;
    text-transform: none;
    margin: 0;
    max-width: 1024px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

p {
    color: #959595;
    font-size: 14px;
    line-height: 30px;
    padding: 1em;
    font-weight: 400;
}

h3 {
    color: #555555;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: min(1024px, 95%);
    height: 85px;
}

.navbar > nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.padding-right {
    padding-right: 17px;
}

.navbar > nav > a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: #555555;
    text-decoration: none;
}

.separator {
    border-bottom: 1px solid #dedede;
    opacity: 0.9;
    width: 783px;
    max-width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
}

.parallax-container {
    display: flex;
    height: 800px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-attachment: fixed;

    background-image: url(../img/fbg.jpg);
    background-position: center;
    background-size: cover;
    color: var(--color);
    row-gap: 4rem;

    text-align: center;
}

.parallax-container > h1 {
    padding-top: 300px;
    font-size: 3rem;
    font-weight: 700;
    color: #FFF;
}

.buffer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-top: 80px;
}

.section-title-body {
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
}

.section-cards {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem 0;
    gap: 1.6em;
}

.parallax-container2 {
    background-image: url(../img/sbg.jpg);
}

.card {
    display: flex;
    max-width: 320px;
    flex-direction: column;
    align-items: center;

    padding-bottom: 1rem;
    border-radius: 0.5em;

    background-color: white;
    box-shadow: 0 29px 38px -15px rgb(0 0 0 / 43%);
}

.card-img {
    width: 100%;
    height: 200px;
    border-radius: 0.3em;
    background-position: center;
    background-size: cover;
}

.card:nth-of-type(1) .card-img {
    background-image: url(../img/c0.jpg);
}

.card:nth-of-type(2) .card-img {
    background-image: url(../img/c1.jpg);
}

.card:nth-of-type(3) .card-img {
    background-image: url(../img/c2.jpg);
}

#invisalign h2 {
    color: #FFF;
}

#invisalign h4 {
    color: #FFF;
}

.invisalign-body {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: min(1024px, 95%);
    gap: 1.6em;
    margin-bottom: 64px;
}

.invisalign-item > p {
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

@media screen and (max-width: 620px ) {
    .invisalign-body {
        flex-direction: column;
    }
}

.about-body {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    gap: 1.6em;
}

.about-body > img {
    width: min(600px, 95%);
}

.about-text {
    max-width: calc(1024px - 600px);
}

#contact {
    background-color: #8e8e8e !important;
}

#contact h2 {
    color: #FFF;
}

.contact-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    gap: 1.6em;
}

.contact-body > img {
    width: min(400px, 95%);
}

.contact-text {
    max-width: calc(1024px - 400px);
}

.contact-text > p {
    color: #FFF;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.contact-text span {
    text-transform: lowercase;
}

#contact > iframe {
    min-width: min(90%, 1100px);
    max-height: 480px;
    aspect-ratio: 4/3;
    margin-bottom: 64px;
}

#contact span > a {
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
}
