@import url("https://fonts.cdnfonts.com/css/ubuntu");

:root {
    --midnight-blue: #4a6fa5;
    --cadet-blue: #3498db;
    --medium-aquamarine: #5dade2;
    --peru: #85c1e9;

    --white: #ffffff;
    --gray-50: rgb(249, 250, 251);
    --gray-100: rgb(243, 244, 246);
    --gray-200: rgb(229, 231, 235);
    --gray-300: rgb(209, 213, 219);
    --gray-400: rgb(156, 163, 175);
    --gray-500: rgb(107, 114, 128);
    --gray-600: rgb(75, 85, 99);
    --gray-700: rgb(55, 65, 81);
    --gray-800: rgb(31, 41, 55);
    --gray-900: rgb(17, 24, 39);

    --toc-width: 400px;
}

/* Global */
html,
body {
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;

    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.h-full {
    height: calc(100vh - 4rem);
}

.bg-blue {
    background-color: var(--midnight-blue);
}

.bg-teal {
    background-color: var(--cadet-blue);
}

.bg-pink {
    background-color: var(--peru);
}

.bg-gray {
    background-color: #eee;
}

.text-pink {
    color: var(--peru);
}

.text-teal {
    color: var(--cadet-blue);
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.main-section:before {
    display: block;
    content: " ";
    margin-top: -4rem;
    height: 4rem;
    visibility: hidden;
    pointer-events: none;
    background-color: yellow;
}

/* Header */
#header {
    align-items: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    height: 4rem;
    padding: 0 1rem;
    position: fixed;
    width: 100%;
    z-index: 100;
}

#header img {
    height: 2rem;
}

#header nav {
    display: none;
}

#menu button {
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    color: var(--gray-400);
    display: inline-flex;
    justify-content: center;
    outline: none;
    padding: 0.5rem;
}

#menu button:hover {
    background-color: var(--gray-100);
    color: var(--gray-500);
}

#menu button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;

    box-shadow:
        0 0 0 2px var(--white),
        0 0 0 4px var(--cadet-blue);
}

#menu button svg {
    height: 1.5rem;
    width: 1.5rem;
}

#mobile-close {
    display: none;
}

#header-buffer {
    height: 4rem;
}

#mobile-menu {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: none;
    padding: 0.25rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
}

#mobile-menu>*+* {
    margin-top: 0.25rem;
}

#mobile-menu>a {
    border-left: 4px solid transparent;
    color: var(--gray-600);
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

#mobile-menu>a:hover {
    background-color: var(--gray-50);
    border-left-color: var(--gray-300);
    color: var(--gray-800);
}

#mobile-menu>a.selected {
    background-color: var(--medium-aquamarine);
    border-left-color: var(--cadet-blue);
    color: var(--gray-900);
}

.mobile-menu-open #mobile-menu {
    display: block;
}

.mobile-menu-open #mobile-close {
    display: block;
}

.mobile-menu-open #mobile-open {
    display: none;
}

/* TOC */
#toc {
    background-color: var(--white);
    border-right: 1px solid var(--gray-200);
    bottom: 0;
    left: calc(var(--toc-width) * -1);
    opacity: 0;
    overflow-y: auto;
    padding: 2rem 1rem;
    position: fixed;
    top: 4rem;
    transition: all 0.5s ease;
    visibility: hidden;
    width: var(--toc-width);
}

#toc li {
    margin-bottom: 1.5rem;
    line-height: 1.25rem;
}

#toc a {
    color: var(--gray-500);
    text-decoration: none;
}

#toc a:hover {
    color: var(--midnight-blue);
}

#toc .selected a {
    color: var(--cadet-blue);
    text-decoration: none;
}

#toc p {
    font-size: 0.975rem;
    font-weight: 500;
    margin-left: 0.75rem;
}

#toc a>div {
    align-items: center;
    display: flex;
}

#toc .bullet {
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    height: 1.25rem;
    width: 1.25rem;
}

#toc .bullet div {
    background-color: var(--gray-300);
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
}

#toc a:hover .bullet div {
    background-color: var(--gray-400);
}

#toc .selected a:hover .bullet div {
    background-color: var(--cadet-blue);
}

#toc .selected .bullet {
    background-color: var(--medium-aquamarine);
}

#toc .selected .bullet div {
    background-color: var(--cadet-blue);
}

#toc .subitem {
    display: none;
    margin-left: 1.625rem;
}

#toc .subitem.show {
    display: block;
}

/* Case Study */
#case-study-content {
    /* border-bottom: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200); */
}

#case-study-content img {
    max-width: 100%;
}

#case-study-content img.ivan-error {
    border: 1px solid white;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#case-study-content video {
    max-width: 100%;
}

#case-study-content>div {
    padding: 4rem 1rem;
}

#case-study-content .prose {
    max-width: 80ch;
}

#case-study-content .prose h1::before,
#case-study-content .prose h2::before,
#case-study-content .prose h3::before,
#case-study-content .prose h4::before {
    display: block;
    content: " ";
    margin-top: -6rem;
    height: 6rem;
    visibility: hidden;
    pointer-events: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: var(--midnight-blue);
    margin-top: 3rem;
}

.prose a {
    color: #4c74b9;
    text-decoration: underline !important;
    text-decoration-color: #d2dcee !important;
    transition: all 0.3s ease;
}

.prose a:hover {
    text-decoration-color: #829dce !important;
}

.prose blockquote {
    border-left: 0.25rem solid var(--gray-200);
}

.prose em {
    font-style: italic;
}

/* #case-study img {
    width: 700px;
  } */

.prose code {
    background-color: var(--gray-100);
    color: var(--gray-600);
    font-family: monospace;
    font-weight: normal;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    padding: 0.25rem 0.375rem;
    line-height: 1.5rem;
}

.prose code:before,
.prose code:after {
    content: "";
}

/* About */
#about>div {
    background-color: var(--gray-900);
}

#about>div>div {
    margin: 0 auto;
    max-width: 40rem;
    padding: 2rem 1rem;
}

#about>div>div>*+* {
    margin-top: 3rem;
}

#about>div>div>div h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2.25rem;
    text-align: center;
}

#about>div>div>div p {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
}

#about>div>div>div>*+* {
    margin-top: 1rem;
}

#about ul.people>li {
    margin-top: 1rem;
}

#about .profile {
    background-color: var(--gray-800);
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 20rem;
}

#about .profile>*+* {
    margin-top: 1.5rem;
}

#about .profile>div>*+* {
    margin-top: 0.5rem;
}

#about .profile>div>div {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
}

#about .profile>div>div>*+* {
    margin-top: 0.25rem;
}

#about .profile>div>div>h3 {
    color: var(--white);
}

#about .profile>div>div>p {
    color: var(--cadet-blue);
}

#about .social {
    display: flex;
    justify-content: center;
}

#about .social>*+* {
    margin-left: 1rem;
}

#about .social li {
    color: var(--gray-400);
    width: 1.75rem;
    margin-top: 0.25rem;
}

#about .social a {
    color: var(--gray-400);
    font-size: 1.5rem;
}

#about .social a:hover {
    color: var(--gray-300);
}

#about img {
    border-radius: 5rem;
    height: 10rem;
    width: 10rem;
}

/* start-here */
#start-here>div {
    display: flex;
    flex-direction: column;
}

#start-here>div>div {
    flex: 0 0 50%;
}

#start-here .static-logo-color {
    background-image: url("../images/logo/logo.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 25%;
    background-position: 50% calc(50% / 3 + 4rem);
}

#start-here div.static-logo-light {
    display: none;
}

#start-here div.static-logo-dark {
    display: none;
}

#start-here .h-full {
    height: auto;
}

#start-here>div div:last-child {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 1rem;
}

#start-here>div div:last-child>img {
    width: 100%;
}

#start-here>div div:last-child>img.monitorme-mobile {
    max-width: 50%;
}

#start-here>div div:last-child>img.monitorme {
    max-width: 70%;
}

#start-here>div div:last-child>*+* {
    margin-top: 2rem;
}

#start-here>div div:last-child>p {
    color: var(--gray-100);
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
}

#start-here>div div:last-child>p.light-text {
    color: var(--gray-300);
}

#start-here>div div:last-child>p>span {
    font-weight: 500;
}

#start-here .bg-pink,
#start-here .bg-teal {
    align-items: center;
    display: flex;
    justify-content: center;
}

#start-here .bg-pink h2,
#start-here .bg-teal h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

#start-here h2.sm-header {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

#start-here video.pad {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
}

#start-here img.lg-screen {
    display: none;
}

#start-here video {
    max-width: 100%;
}

#schema {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.lazy {
    border-radius: 10px;
}
