:root {
    --white: #fff;
    --black: #000;
    --warm-white-100: #FEFAF4;
    --warm-white-200: #F8F1E6;
    --gray-100: #F0F0F0;
    --gray-200: #eeeaea;
    --gray-800: #2a2a2a;
    --blue-200: #C5CBDA;
    --blue-800: #132656;
    --bright-green: #22c55e;
}

* {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}

html {
    background-color: var(--warm-white-200);
}

body {
    max-width: 1900px;
    /*height: 100vh;*/
    margin: 0 auto;
    background-color: var(--white);
    color: var(--black);
}

header {
    background-image: url('/img/peakbluerx-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-home main {
    margin-top: 110px;

    @media (min-width: 768px) {
        margin-top: 80px;
    }

    @media (min-width: 991px) {
        margin-top: 40px;
    }
}

.top-nav {
    padding: 0.75rem 0;

    @media (min-width: 768px) {
        /*background-color: var(--white);*/
    }
}

.logo {
    height: 40px;

    @media (min-width: 768px) {
        height: 50px;
    }
}

h1 {
    font-family: jubilat, serif;
    font-size: 2.65rem;
    line-height: 1.1;
    font-weight: 700;

    @media (min-width: 768px) {
        font-size: 2.8rem;
        line-height: 1.1;
    }
}

h2 {
    font-family: jubilat, serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 2rem;
    color: var(--gray-800);
}

p,
li {
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.4;
}

p strong,
li strong {
    font-weight: 600;
}

.intro-text {
    margin: 40px 0;

    @media (min-width: 768px) {
        margin: 100px 0;
    }
}

.intro-text h1 sup {
    font-size: 1.125rem;
    font-weight: 100;
    top: -1rem;
}

.intro p {
    font-weight: 100;
    font-size: 1.4rem;
    line-height: 1.3;
}

.header-tfn {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 300;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--white);

    @media (min-width: 768px) {
        font-size: 0.875rem;
    }
}

.header-tfn .animate-ping {
    height: 12px;
    width: 12px;
    background-color: var(--bright-green);
    border-radius: 100%;
    opacity: 1;
}

.header-tfn .dot {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    top: 2px;
    right: 2px;
    background-color: var(--bright-green);
    border-radius: 100%;
}

.header-tfn .tfn {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    line-height: 1;

    @media (min-width: 768px) {
        font-size: 1.5rem;
    }
}

.header-tfn strong {
    font-weight: 600;
}

.action-wrapper {
    position: relative;
    height: 100px;

    @media (min-width: 768px) {
        height: 130px;
    }
}

.action {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0.85rem 1rem;
    color: var(--black);
    border: 3px solid var(--blue-200);
    box-shadow: 0 3px 13px -3px rgba(0, 0, 0, 0.25);
    z-index: 99999;

    @media (min-width: 768px) {
        top: -20px;
    }

    @media (min-width: 991px) {
        top: 70px;
    }
}

.action .phone-text {
    line-height: 1.3;
    text-align: center;
    padding-top: 0.75rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.action .phone-text p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.action .phone-text a {
    font-size: 2rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 800;
}

.action .text {
    position: relative;
    padding-right: 60px;
}

.action .text img {
    position: absolute;
    top: 0;
    right: 0.5rem;
}

.action .text h2 {
    line-height: 1.2;
    font-size: 1.25rem;
    color: var(--blue-800);
    margin-bottom: 0.25rem;
}

.action .text p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.2;
}

.panel {
    margin: 30px 0;
}

.panel.panel--intro {
    padding-bottom: 140px;
    overflow: hidden;
    margin-bottom: 0;
}

.panel.panel--intro .container {
    position: relative;
}

.panel.panel--intro img {
    position: absolute;
    right: 20px;
    bottom: -220px;
    width: 240px;

    @media (min-width: 768px) {
        right: 80px;
    }
}

.panel.panel--intro .container {
    position: relative;
}

.panel.panel--intro ul {
    margin-top: 2rem;
    padding-left: 2.5rem;
}

.panel.panel--intro ul li {
    position: relative;
    list-style: none;
    margin-bottom: 0.75rem;
}

.panel.panel--intro ul li::before {
    position: absolute;
    top: 4px;
    left: -2.5rem;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M34%2017C34%2021.5087%2032.2089%2025.8327%2029.0208%2029.0208C25.8327%2032.2089%2021.5087%2034%2017%2034C12.4913%2034%208.1673%2032.2089%204.97918%2029.0208C1.79107%2025.8327%200%2021.5087%200%2017C0%2012.4913%201.79107%208.1673%204.97918%204.97918C8.1673%201.79107%2012.4913%200%2017%200C21.5087%200%2025.8327%201.79107%2029.0208%204.97918C32.2089%208.1673%2034%2012.4913%2034%2017ZM25.5637%2010.5612C25.412%2010.41%2025.2312%2010.2909%2025.0324%2010.2111C24.8335%2010.1313%2024.6206%2010.0924%2024.4063%2010.0968C24.1921%2010.1011%2023.9809%2010.1486%2023.7854%2010.2365C23.59%2010.3243%2023.4143%2010.4507%2023.2687%2010.608L15.8886%2020.0111L11.441%2015.5614C11.1389%2015.2799%2010.7393%2015.1266%2010.3264%2015.1339C9.9135%2015.1412%209.51956%2015.3084%209.22755%2015.6004C8.93555%2015.8924%208.76829%2016.2864%208.761%2016.6993C8.75372%2017.1122%208.90698%2017.5118%209.1885%2017.8139L14.8112%2023.4387C14.9627%2023.5899%2015.1431%2023.7091%2015.3416%2023.7891C15.5401%2023.869%2015.7527%2023.9082%2015.9667%2023.9042C16.1807%2023.9003%2016.3917%2023.8533%2016.5871%2023.766C16.7825%2023.6787%2016.9584%2023.553%2017.1041%2023.3963L25.5871%2012.7925C25.8763%2012.4918%2026.0361%2012.0897%2026.0321%2011.6725C26.0281%2011.2554%2025.8607%2010.8564%2025.5659%2010.5612H25.5637Z%22%20fill%3D%22%23132656%22%2F%3E%3C%2Fsvg%3E');
    background-size: contain;
    content: '';
}

.panel.panel--call-now {
    background-color: var(--warm-white-100);
    padding-bottom: 3rem;
    margin: 0;

    @media (min-width: 768px) {
        padding-bottom: 2rem;
    }
}

.panel.panel--call-now img {
    max-width: 100%;
    margin-bottom: 2rem;

    @media (min-width: 768px) {
        margin-bottom: 0;
    }
}

.panel.panel--call-now .call-now-text {
    padding-top: 0;
    padding-bottom: 0;

    @media (min-width: 768px) {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.panel.panel--call-now .call-now {
    background-color: var(--warm-white-200);
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    border-radius: 1.5rem;
    display: inline-block;
}

.panel.panel--call-now .call-now p {
    margin-bottom: 0;
    line-height: 1;
}

.panel.panel--call-now .call-now a {
    font-size: 2.5rem;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 800;
    line-height: 1.2;
}

.panel.panel--call-now img {
    border-radius: 2rem;
    margin-top: -60px;
}

footer {
    padding: 2rem 0 120px;
    background-color: var(--blue-800);
}

footer .container {
    position: relative;
}

footer p {
    font-size: 1rem;
    color: var(--blue-200);
}

footer p:last-child {
    margin-bottom: 0;
}

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

footer img {
    position: absolute;
    bottom: -180px;
    right: 20px;
}

/* Animation */
@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1
    }

    75%,100% {
        transform: scale(2);
        opacity: 0
    }
}

.animate-ping {
    animation: ping 2s cubic-bezier(0,0,.2,1) infinite;
}
