

html, body {
    margin: 0;
    padding: 0;
    font-family: gira-sans, sans-serif;
    overflow-x: hidden;
}

a {
    all: unset;
    cursor: pointer;
}

a:hover {
    opacity: 0.6;
}

.section {
    height: 100vh;
    padding-top: 1px;
    min-height: 896px;
}

.navbar {
    position: absolute;
    height: 45px;
    top: 55px;
    align-items: center;
    right: 35px;
    border-radius: 35px;
    display: flex;
    flex-direction: row;
    column-gap: 60px;
    justify-content: center;
    color: white;
    z-index: 3;
    background-color: #4618cf7e;
    width: 475px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
}

#slider-section {
    background: hsla(0, 0%, 100%, 1);
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 1) 0%, hsla(0, 0%, 94%, 1) 39%, hsla(0, 0%, 91%, 1) 100%);
    background: -moz-linear-gradient(180deg, hsla(0, 0%, 100%, 1) 0%, hsla(0, 0%, 94%, 1) 39%, hsla(0, 0%, 91%, 1) 100%);
    height: 105vh;
    width: 100vw;
}

.center-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 55px;
    text-align: center;
}

.slider-section-content {
    display: flex;
    flex-direction: column;
}

#image-container {
    border-radius: 25px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.slider-container {
    height: 32px;
    width: 76vw;
    display: flex;
    align-items: center;
    max-width: 770px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.line, .line2 {
    background-color: #cbc6ec;
    width: 100%;
    height: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.line2 {
    background-color: #4215cc;
    width: 0;
    transition: width 0.075s ease;
}

.segment {
    width: calc(100% / 6);
    height: 100%;
    border-left: 2px solid #cbc6ec;
    z-index: 1;
    cursor: pointer;
    transition: border 0.075s linear;
}

.segment.active {
    border-left: 2px solid #4215cc;
}

.segment:nth-child(8) {
    border-right: 2px solid #cbc6ec;
}

.knob-container {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    left: -16px;
    transition: width 0.05s ease;
}

.knob {
    width: 32px;
    height: 38px;
    z-index: 2;
    cursor: grab;
    background-color: #fff;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    border-radius: 4px;
    position: relative;
    transition: box-shadow 0.05s ease;
}

.knob:active {
    cursor: grabbing;
}

.step-label {
    position: absolute;
    text-align: center;
    transform: translate(-50%, 0);
    left: 50%;
    color: #336165;
    letter-spacing: .5px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    top: calc(100% + 12px);
    transition: font-size 0.05s ease, top 0.05s ease;
}

#step-image {
    width: 575px;
    height: 460px;
}

#hero {
    background: linear-gradient(45deg, hsla(0, 0%, 100%, 1) 0%, hsla(240, 67%, 94%, 1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 75px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    color: black;
    font-size: 27px;
}

.scroll-indicator > p {
    margin: 0;
    padding: 0;
    margin-top: 12.5px;
    margin-left: 19px;
    animation: 2s infinite forwards ease-in-out arrow; 
}

.scroll-indicator:hover {
    cursor: pointer;
}

@keyframes arrow {
    0% {
        margin-top: 12.5px;
    }

    50% {
        margin-top: 18.5px;
    }

    100% {
        margin-top: 12.5px;
    }
}

.left-text-container {
    max-width: 500px;
}

.right-text-container {
    max-width: 500px;
}

.right-demo-container {
    margin-top: 200px;
}

.demo-video-container {
    margin-top: 100px;
}

.demo-video {
    width: 1000px;
    border-radius: 25px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}

.product-pic, .product-pic--right, .product-pic--long {
    width: 417px;
    margin-left: -50px;
    position: relative;
    margin-top: 50px;
}

.product-pic--right {
    margin-left: 200px;
}

.product-pic--long {
    width: 390px;
}

.h3 {
    font-size: 60px;
    margin: 0;
    line-height: 1.2em;
}

.h4 {
    font-size: 45px;
    margin: 0;
    line-height: 1.2em;
}

.description {
    color: #747474;
}

.description-alt {
    color: #f0f0f0;
}

.learn-button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 40px;
}

.learn-more {
    text-decoration: underline;
    color: #747474;
    font-size: 16px; 
}

#logos {
    height: 250px;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logos-label {
    font-size: 26px;
}

.logo-band {
    display: flex;
    flex-direction: row;
    column-gap: 125px;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.logo-band > img {
    height: 125px;
}

#slide1 {
    background: linear-gradient(247.2deg, #e3e5fc 8.64%, #f7f8fc 52.48%, #efeeeb 86.51%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 15%;
}

#slide2 {
    background: hsla(0, 0%, 100%, 1);
    background: linear-gradient(225deg, hsla(0, 0%, 100%, 1) 0%, hsla(315, 100%, 98%, 1) 100%);
    background: -moz-linear-gradient(225deg, hsla(0, 0%, 100%, 1) 0%, hsla(315, 100%, 98%, 1) 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 15%;
}

#slide3 {
    background: hsla(0, 0%, 100%, 1);
    background: linear-gradient(45deg, hsla(0, 0%, 100%, 1) 14%, hsla(185, 29%, 75%, 1) 100%, hsla(185, 29%, 75%, 1) 100%);
    background: -moz-linear-gradient(45deg, hsla(0, 0%, 100%, 1) 14%, hsla(185, 29%, 75%, 1) 100%, hsla(185, 29%, 75%, 1) 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: calc(20%);
}

#doctor-quote {
    height: 50vh;
    min-height: 350px;
    background-color: linear-gradient(224deg,#eee5d3 20%,#fffaf4 81.18%);
    padding: 0 100px;
}

#quote-container {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quote {
    font-size: 25px;
}

/* Animations */
.animate-up-right {
    animation: moveUpRight 0.75s forwards;
}

.animate-up-left {
    animation: moveUpLeft 0.75s forwards;
}

@keyframes moveUpRight {
    0% {
        transform: scale(1);
    }
    100% {
        margin-top: -50px;
        margin-left: 50px;
        transform: scale(1.025);
    }
}

@keyframes moveUpLeft {
    0% {
        transform: scale(1);
    }
    100% {
        margin-top: -250px;
        margin-left: 50px;
        transform: scale(1.025);
    }
}

footer {
    height: 250px;
    background-color: #4215cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-container {
    display: flex;
    flex-direction: row;
    column-gap: 25px;
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 35px;
}

.badge {
    width: 75px;
}

.badge--long {
    width: 150px;
}

.badge-alt {
    width: 80px;
}

:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

/* Hero media queries */
@media only screen and (max-width: 1410px) {
    .scroll-indicator {
        display: none !important;
    }
}

@media only screen and (max-width: 717px) {
    .video-hero {
        margin-top: 45px !important;
    }

    .navbar {
        left: 50%;
        transform: translateX(-50%);
        top: 0px;
        width: 100%;
    }
}

/* Content media queries (smaller desktop) */
@media only screen and (max-width: 1095px) {
    /* slide1 */
    #slide1 {
        flex-direction: column-reverse;
        column-gap: 0;
        align-items: center;
        justify-content: center;
    }

    #slide1 > img {
        width: 300px !important;
        margin-top: 0;
        animation: none;
    }

    .right-text-container {
        max-width: none;
        animation: none;
    }

    .right-text-container > p.h3 {
        text-align: center;
    }

    /* slide2 */
    #slide2 {
        flex-direction: column;
        column-gap: 0;
        align-items: center;
        justify-content: center;
    }

    .right-demo-container {
        margin-top: 50px;
    }

    #slide2 img {
        width: 300px !important;
        margin-top: 0;
        margin-left: 0;
        animation: none;
    }

    .left-text-container {
        max-width: none;
        animation: none;
        margin: 20px 0 0 0 !important;
    }
    
    .left-text-container > p.h3 {
        text-align: center;
    }

    /* slide3 */
    #slide3 {
        flex-direction: column-reverse;
        column-gap: 0;
        align-items: center;
        justify-content: center;
    }

    #slide3 > img {
        width: 400px !important;
        margin-top: 0;
        animation: none;
    }

    #slide3 > .right-text-container {
        margin: 20px 0 50px 0 !important;
    }
}

@media only screen and (max-width: 900px) {
    #logos {
        height: 200px;
    }
    
    .logo-band {
        column-gap: 100px;
    }

    .logo-band > img {
        height: 100px;
    }
}

/* Content media queries (stage 2) */
@media only screen and (max-width: 725px) {
    p.h3 {
        font-size: 45px;
    }

    p.description {
        max-width: 90%;
    }

    .product-pic {
        margin-left: 0;
    }

    #logos {
        height: 175px;
    }
    
    .logo-band {
        column-gap: 75px;
    }

    .logo-band > img {
        height: 75px;
    }
} 

/* Content media queries (mobile) */
@media only screen and (max-width: 540px) {
    .section {
        height: fit-content;
        padding-bottom: 10vh;
    }

    #doctor-quote {
        padding: 0 10px;
    }

    p.quote {
        font-size: 20px;
    }

    p.quote-source {
        font-size: 14px;
    }

    #slide3 > img {
        width: 350px !important;
    }

    #logos {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 440px) {
    #slide1 p.h3 {
        margin-top: 25px;
    }

    .logo-band {
        column-gap: 50px;
    }
}

@media only screen and (max-width: 415px) {
    #slide3 > img {
        width: 300px !important;
    }
}

@media only screen and (max-width: 375px) {
    .badge {
        width: 60px;
        height: 60px;
    }

    .badge--long {
        width: 100px;
        height: 50px;
    }

    .badge-alt {
        width: 65px;
        height: 65px;
    }

    .badge-container {
        align-items: center;
    }

    #logos {
        height: 175px;
    }

    .logo-band {
        column-gap: 30px;
    }

    .logo-band > img {
        height: 60px;
    }
}

@media only screen and (max-width: 350px) {
    .navbar {
        column-gap: 45px;
    }
}