@import 'react-image-gallery.css';

:root {
    --bg-color: #e2e8f0;
    --link-color: #2f7cf6;
    --gradient-start-color: #5a69bc;
    --gradient-end-color: #6d17cb;
    --secondary-text-color: #6b6a6a;
    --cta-bg-color: #50c878;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(90deg, var(--gradient-start-color) 0%, var(--gradient-end-color) 100%);
}

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

b {
    font-weight: 600;
}

.secondary-text {
    color: var(--secondary-text-color);
}

.nav-clear .nav {
    background-color: transparent;
    -webkit-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    border-bottom: 1px solid var(--bg-color);
}

.nav-filled .nav {
    background-color: #fff;
    -webkit-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    border-bottom: 1px solid #a9a9a9;
}

.nav h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    font-family: 'Source Sans Pro', 'sans-serif';
}

.nav h3 {
    font-size: 1rem;
    line-height: 1rem;
    padding-left: 0.15rem;
}

.nav-clear .nav h1 {
    color: white;
}

.nav-clear .nav h3 {
    color: #fbfbfb;
}

.nav-filled .nav h1 {
    color: black;
}

.nav-filled .nav h3 {
    color: var(--secondary-text-color);
}

.flex {
    display: flex;
}

.flex.center {
    align-items: center;
}

.section-title {
    font-size: 1em;
    text-transform: uppercase;
    color: #2e2b2b;
    font-weight: 700;
}

.shadow2 {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.21), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.hero {
    padding: 10em 4em 0 4em;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    line-height: 4rem;
    font-weight: 200;
    width: 75%;
}

.full-text-section {
    background-color: var(--bg-color);
    padding: 4em 2em;
}

.cta {
    display: block;
    color: white;
    width: 250px;
    height: 50px;
    border-radius: 25px;
    padding: 0 2em;
    margin: 2em 0;
    line-height: 50px;
    text-align: center;
}

.cta-background, .cta {
    background: var(--cta-bg-color);
}

/* Image gallery override */
.carousel-container {
    background: linear-gradient(180deg, #F4E6DB 85%, var(--bg-color) 100%);
    padding: 4em 2em 10em 2em;
}

.image-gallery:focus, .image-gallery-content:focus, .image-gallery-slide-wrapper:focus {
    outline: none !important;
}

.image-gallery-icon > svg {
    height: 60px !important;
    width: 30px !important;
}
.image-gallery-icon:focus {
    outline: none !important;
}
.image-gallery-icon:hover {
    color: var(--link-color) !important;
}

.image-gallery-slide img {
    width: 100%;
    height: 800px;
}

.image-gallery-bullets {
    bottom: -45px !important;
}

.image-gallery-bullets .image-gallery-bullet.active,
.image-gallery-bullets .image-gallery-bullet:focus, .image-gallery-bullets .image-gallery-bullet:hover {
    background: var(--link-color) !important;
}

/* Comparify */
#comparify-hero {
    background: url('/comparify-hero.svg') no-repeat;
    background-position: 95% 100%;
    padding-bottom: 6em;
    background-size: 456px 340px;
}

/* Mobile */

@media only screen and (max-width: 600px) {
    .hero {
        padding: 8em 2em 2em 2em;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 2.5rem;
        width: 100%;
    }

    footer {
        padding-bottom: 5em !important;
    }

    #comparify-hero {
        background-position: 50% 105%;
        background-size: 228px 170px;
        padding-bottom: 10em;
    }

    .carousel-container {
        padding: 0 0 8em 0;
    }

    .image-gallery-slide img {
        height: auto;
    }

    .image-gallery-icon {
        display: none;
    }
}