@font-face {
    font-family: "Ubuntu";
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Ubuntu-Light.woff') format('woff'),
        url('../fonts/Ubuntu-Light.woff2') format('woff2'),
        url('../fonts/Ubuntu-Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu";
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Ubuntu-Regular.woff') format('woff'),
        url('../fonts/Ubuntu-Regular.woff2') format('woff2'),
        url('../fonts/Ubuntu-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu";
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Ubuntu-Medium.woff') format('woff'),
        url('../fonts/Ubuntu-Medium.woff2') format('woff2'),
        url('../fonts/Ubuntu-Medium.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu";
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Ubuntu-Bold.woff') format('woff'),
        url('../fonts/Ubuntu-Bold.woff2') format('woff2'),
        url('../fonts/Ubuntu-Bold.ttf') format('truetype');
    font-display: swap;
}

:root {
    --blue: #1A3865;
    --black: #000;
    --light_blue: #C9DDEC;
    --white: #ffffff;
    --light_gray: #f5f8fa;
    --medium_blue: #33A3DC;
    --border_radius: 4px;
}

html {
    scroll-behavior: smooth !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    height: 100vh;
}

button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    text-shadow: none;
    cursor: pointer;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

body {
    font-family: 'Ubuntu' !important;
}

h1 {
    font-size: 2.5rem;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

h2 {
    color: var(--blue);
    padding-bottom: 0rem;
    margin-bottom: 1rem;
    font-weight: 200;
    font-size: 2rem;
    line-height: 110%;
    color: var(--medium_blue);
}

h3 {
    margin-bottom: 1rem;
}

p {
    font-weight: lighter;
}

b {
    font-weight: 500;
}

.centered {
    text-align: center;
}

.logo_container {
    padding-top: 100px;
    margin-bottom: 2rem;
    display: grid;
    place-items: center;
    row-gap: 1.5rem;
}

.logo_graftfinder_small {
    width: auto;
    height: 80px;
}

.image_button_container {
    position: relative;
}

.overlay_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 100%;
    background-color: var(--white);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.125);
    background-image: url('../img/button\ play\ blue.png');
    background-size: contain;
}

button.overlay_button:hover {
    background-color: var(--medium_blue);
    background-image: url('../img/button\ play\ white.png');
}

.hidden {
    visibility: hidden;
}

.video_player {
    position: absolute;
    width: 1280px;
    height: 720px;
}

.logo_corlife {
    width: 120px;
    display: block;
}

.header_logo {
    opacity: 0;
    transition: all 0.3s ease;
}

.shown {
    opacity: 1;
}

.logo_graftfinder {
    width: 600px;
}

.claim {
    font-size: 2rem;
    color: var(--blue);
    text-align: center;
}

.intro {
    color: var(--blue);
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 3rem;
    font-weight: normal;
    font-size: 1.45rem;
}

.full_width_text {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.white_background {
    background-color: var(--white);
}

.blurred_background {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(30px);
}

.badge_image {
    height: 60px;
    width: auto;
}

.light_blue_background {
    background-color: var(--light_blue);
    border-radius: var(--border_radius);
}

.content_block {
    width: 1000px;
    min-height: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.125);
    border-radius: var(--border_radius);
    overflow: hidden;
    scroll-margin-top: 80px;
}

.content_block_flexible {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
}

.grid_even {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
}

.content_block_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--light_gray);
}

.content_block_container {
    display: grid;
    place-items: center;
}

.content_block_text {
    padding: 1rem 2rem 1rem 1rem;
}

.gallery_container {
    display: grid;
    grid-template-rows: auto auto;
    background-color: var(--light_gray);
}

.thumbnails_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 10px;
    padding: 10px;
}

.thumbnail {
    height: 100%;
    width: 100%;
    cursor: pointer;
    object-fit: cover;
    border-radius: var(--border_radius);
}

.thumbnail:hover {
    opacity: 0.5;
    transition: all ease 0.3s;
}

.selected {
    border: 4px solid var(--medium_blue);
}

.image_button_container {
    cursor: pointer;
}

.lightbox_content {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

#lightbox_item {
    overflow: hidden;
}

.lightbox_inner_content {
    height: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--light_blue);
}

.lightbox_caption {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.25rem;
}

.lightbox_thumbnails {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    overflow-x: scroll;
}

article {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    scroll-margin-top: 80px;
}

.even {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.125);
}

.odd {
    background-image: url("../img/background.jpg");
    background-attachment: fixed;
    background-size: cover;
}

.buttons_container {
    width: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    justify-content: center;
}

.devices_container {
    display: grid;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    place-content: center;
    column-gap: 50px;
}

.devices_container img {
    height: 200px;
    width: auto;
}

.badges_container {
    width: 100%;
    display: grid;
    column-gap: 40px;
    grid-template-columns: auto auto auto;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    place-content: center;
    background-color: rgba(255, 255, 255, 0.5);
}

a:hover {
    color: var(--medium_blue);
}

.header_button {
    display: block;
    cursor: pointer;
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
}

.header_buttons_container {
    display: grid;
    grid-template-columns: 50px 50px;
    gap: 10px;
    height: 100%;
    align-items: center;
}

.menu {
    background-color: var(--white);
    position: fixed;
    top: 0px;
    right: 100px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    display: grid;
}

.menu_item {
    display: block;
    padding: 0.5rem 0rem;
}

button.menu_item {}

a.menu_item {
    text-decoration: none;
}

.button {
    min-width: 100px;
    padding: 0.5rem;
    border-radius: var(--border_radius);
    overflow: hidden;
}

.main_button {
    display: block;
    background-color: var(--blue);
    color: var(--white);
    padding: 0.5rem;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

a.main_button:hover {
    background-color: var(--medium_blue);
    color: var(--white);
}

.inline_button {
    display: inline-block;
    margin-top: 1rem;
    margin-right: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.cta_button {
    font-size: 1.25rem;
    border-radius: var(--border_radius);
    overflow: hidden;
}

.big_button {
    display: inline-block;
    font-size: 1.5rem;
    padding: 0.75rem 2rem;
}

.single_button {
    width: 200px;
    margin: 20px;
}

.secondary_button {
    display: inline-block;
    background-color: var(--white);
    color: var(--blue);
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--blue);
}

a.secondary_button:hover {
    border-color: var(--medium_blue);
    color: var(--white);
    background-color: var(--medium_blue);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.shadow {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.big_shadow {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
}

.image_button img {
    width: 40px;
    height: 40px;
}

.badge_button {
    width: 300px;
    padding-left: 0px;
    padding-right: 0px;
}

.faq_question {
    margin-bottom: 1rem;
    cursor: pointer;
    color: var(black);
    font-weight: 400;
}

.faq_question_selected {
    color: var(--blue);
    font-weight: bold;
}

p.faq_question:hover {
    color: var(--medium_blue);
}

.faq_answer {
    background-color: var(--light_gray);
    padding: 1rem;
    color: var(--blue);
    border-radius: var(--border_radius);
    overflow: scroll;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    box-shadow: var(bo);
}

.hidden_answer {
    display: none;
    height: 0px;
}

.scroll_to_top_button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--medium_blue);
    color: var(--white);
    border-radius: 30px;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.faq_answer_container {}

header {
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    padding-left: 0px;
    padding-right: 30px;
    top: 0px;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
}

footer {
    background-color: var(--blue);
    color: var(--white);
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer_links {
    display: grid;
    align-items: center;
    place-content: center;
    text-decoration: none;
    gap: 40px;
    text-align: center;
}

.white {
    color: var(--white);
    text-decoration: none;
}

ul {
    padding-left: 1rem;
    font-weight: lighter;
    margin-bottom: 1rem;
}

.single_button {
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--blue);
}

.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

video {
    border-radius: 6px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.125);
}

.header_video {
    border: solid 8px white;
}

.close_button {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.scroll {
    overflow: scroll;
}

.no-scroll {
    overflow: hidden;
}

li {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.extra_padding {
    padding: 1rem;
}

@media (max-width: 1024px) {
    .intro {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .full_width_text {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block_flexible {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .grid {
        grid-column-gap: 20px;
    }

    h2 {
        font-size: 1.75rem;
    }

}

@media (max-width: 860px) {

    .lightbox_content {
        grid-template-rows: auto auto;
    }

    body {
        font-size: 0.8rem;
    }

    .intro {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.25rem;
        margin-top: 0.5rem;
        margin-bottom: 3rem;
    }

    .full_width_text {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block {
        width: 90%;
        height: auto;
        min-height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block_flexible {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        grid-column-gap: 20px;
    }

    .claim {
        font-size: 1.5rem;
    }

    /*
    .content_block_image {
        width: 100%;
        height: 100%;
        margin-left: 10px;
        object-fit: contain;
        background-color: var(--white);
    }
        */

    .logo_corlife {
        width: 100px;
    }

    .logo_graftfinder {
        width: 400px;
    }

    .big_button {
        display: inline-block;
        font-size: 1.25rem;
    }

    .badges_container {
        width: 100%;
        column-gap: 10px;
    }

    .badge_button {
        width: 250px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .apps_text {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 130%;
    }

    .faq_question {
        margin-bottom: 0.5rem;
    }

    .overlay_button {
        width: 60px;
        height: 60px;
    }

}

@media (max-width: 640px) {

    #lightbox_item {
        max-height: 500px;
    }

    .lightbox_thumbnails {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        height: auto;
        gap: 10px;
        padding: 10px;
    }

    body {
        font-size: 0.9rem;
    }

    .intro {
        font-size: 1rem;
    }

    .content_block {
        width: 90%;
        height: auto;
        min-height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block_flexible {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .content_block_text {
        padding: 1rem 2rem;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr;
        /* Change to a single column on smaller screens */
        grid-template-rows: auto;
    }

    .claim {
        font-size: 1.125rem;
    }

    .logo_corlife {
        width: 80px;
    }

    .logo_graftfinder {
        width: 280px;
    }

    .header_logo {
        display: none;
    }

    .big_button {
        display: inline-block;
        font-size: 1.25rem;
        padding: 0.5rem 2rem;
    }

    .badges_container {
        width: 100%;
        row-gap: 20px;
        grid-template-columns: auto;
        grid-template-rows: auto;
        place-items: center;
    }

    .badge_button {
        width: 250px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .apps_text {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
        margin-top: 1rem;
    }

    .buttons_container {
        width: 320px;
        margin-bottom: 2rem;
    }

    .devices_container {
        display: grid;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 100%;
        place-content: center;
        column-gap: 50px;
    }

    .devices_container img {
        width: 300px;
        height: auto;
    }

    .grid_even {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        row-gap: 20px;
    }

    article {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    video {
        width: 100svw;
        height: auto;
        border-radius: 0px;
    }

    .overlay_button {
        width: 80px;
        height: 80px;
    }

    header {
        padding-right: 10px;
        background-color: white;
        height: 60px;
    }

    .logo_graftfinder_small {
        height: 50px;
        margin-left: -5px;
    }

    .menu {
        right: 60px;
    }

    .header_buttons_container {
        gap: 0px;
        width: 100px;
    }

    .header_button {
        display: block;
        width: 50px;
        font-size: 1.2rem;
    }

    .badge_image {
        width: 180px;
        height: auto;
    }

    .extra_padding {
        padding: 0rem;
    }
}