@font-face {
    font-family: "Ubuntu";
    src: url(/fonts/Ubuntu-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto Mono";
    src: url(/fonts/RobotoMono-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Outfit";
    src: url(/fonts/Outfit-VariableFont_wght.ttf) format("truetype");
    
    font-style: bold;
    font-weight: bold;
    font-variant: bold;
}

@font-face {
    font-family: "Outfit";
    src: url(/fonts/Outfit-VariableFont_wght.ttf) format("truetype");
    
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
}

:root {
    --body-font: "Ubuntu", Arial, Helvetica, sans-serif;
    --title-font: "Outfit", Arial, Helvetica, sans-serif;
    --text-color: #333;
    --bg-white: #fafafa;
    --center-container-max-width: 1170px;
    --dd-focus-outline-color: #4b92e7;
    
    --grey95: hsl(0, 0%, 95%);
    --grey90: hsl(0, 0%, 90%);
    --grey85: hsl(0, 0%, 85%);
    --grey80: hsl(0, 0%, 80%);
    --grey75: hsl(0, 0%, 75%);
    --grey70: hsl(0, 0%, 70%);
    --grey65: hsl(0, 0%, 65%);
    --grey60: hsl(0, 0%, 60%);
    --grey55: hsl(0, 0%, 55%);
    --grey50: hsl(0, 0%, 50%);
    --grey45: hsl(0, 0%, 45%);
    --grey40: hsl(0, 0%, 40%);
    --grey35: hsl(0, 0%, 35%);
    --grey30: hsl(0, 0%, 30%);
    --grey25: hsl(0, 0%, 25%);
    --grey20: hsl(0, 0%, 20%);
    --grey15: hsl(0, 0%, 15%);
    --grey10: hsl(0, 0%, 10%);
    --grey5:  hsl(0, 0%, 5%);
    
    --darkblue1-hs: 216, 16%;
    --darkblue1: hsl(var(--darkblue1-hs), 31%);
    
    --cyan1-hs: 211, 98%;
    --cyan1: hsl(var(--cyan1-hs), 35%);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: #eee;
    min-width: 100%;
    min-height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    font-weight: 800;
    color: #404560;
    margin: 0 0 .18em 0;
    line-height: 1.1;
}

h1 {
    font-size: 2.6em;
    text-align: center;
}

h2 {
    font-size: 2.3em;
}

h3 {
    font-size: 1.75em;
}

h4 {
    font-size: 1.4em;
}

p, ul, ol {
    line-height: 1.8;
}

ol.style1 {
    list-style-type: none;
    counter-reset: listCounter;
    margin-left: 1em;
}

ol.style1 > li {
    counter-increment: listCounter;
    margin-bottom: 1.5em;
}

ol.style1 > li::before {
    position: absolute;
    content: counter(listCounter);
    margin-left: -2.5em;
    border-radius: 100%;
    background: #ccebfd;
    color: #495875;
    aspect-ratio: 1;
    box-sizing: border-box;
    width: 2em;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    padding-block: auto;
}
        
.title_header {
    margin-bottom: 1rem;
    /*border-bottom: 2px solid #cccccc;*/
    
    text-shadow: 1px 1px 2px #bbb;
    color: #404560;
    font-weight: bold;
    font-size: 2rem;
    
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

a {
    color: #0255ae;
    text-decoration: none;
}

a:hover {
    color: #0255ae;
    text-decoration: underline; 
}

[hidden] {
    display: none !important;
}

.monospace_font {
    font-family: "Roboto Mono", monospace;
}

.note_regular {
    border-left: 4px solid #0000aa;
    padding-left: 1rem;
}

.note_regular > b:first-child {
    color: #0000aa;
}

#center_container {
    width: 90%; 
    max-width: var(--center-container-max-width); 
    height: 100%; 
    border-radius: 5px; 
    padding-bottom: 40px;    
}

#main_body {
    padding: 1rem;
    background: #fafafa;
    color: #444;
    border-radius: 5px;
}

#page_header, #page_footer {
    margin-top: 15px; 
    border-radius: 5px; 
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px; 
    background-color: #434d5c; 
    color: #dde2f0; 
}

#page_header {
    line-height: 1;
}

#page_header .logo {
    display: flex;
    align-items: center;
    padding: 6px .8em;
    border-radius: 5px;
}

.page_header_option {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    color: #aeb9ca;
    text-decoration: none;
    outline: 0;
    border: none;
    line-height: 1;
}

.page_header_option:hover {
    color: #dde2f0;
    text-decoration: none;
}

#page_footer {
    font-size: 18px;
    width: 100%;
    max-width: var(--center-container-max-width);
    padding: .4em 0 .4em 0;
    text-align: center;
}

page_footer_links {
    display: block;
    width: max-content;
    margin: 2em auto 0 auto;
    font-size: .9rem;
}

page_footer_links a {
    color: #7f7f7f;
    padding: 0 1em;
}

#body_wrapper {
    width: 100%; 
    padding-bottom: 10px; 
    padding-top: 10px;
}

body_section {
    text-align: center;
    display: block;
    width: 100%; 
    max-width: var(--center-container-max-width); 
    height: 100%;
    border-radius: 5px; 
    padding: 1em;
    background: var(--bg-white);
    
    font-size: 1.2rem;
    
    -moz-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    -webkit-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
}

body_section:not(:first-of-type) {
    margin-top: 3em;
}

.centralizer {
    width: 100%;
}

.centralized {
    display: table;
    margin: 0 auto;
}

.vertical_centralizer {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.horizontal_centralizer {
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.stacker_bottom_up {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.stacker_right_left {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

.stacker_left_right {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.button_type1 {
    border-radius: 20px;
    padding: 0.35rem 1rem 0.35rem 1rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
    font-weight: bold;
    background: green;
}

.button_type1:hover {
    color: white;
    text-decoration: none;
    background: #006600;
}

.shadow {
    -moz-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    -webkit-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
}

.inline_code {
    border: 1px solid #999;
    border-radius: 4px;
    background-color: #eee;
    color: #444;
    font-family: "ROBOTO-MONO", monospace;
    padding: 0 1px;
}

#hamburger_menu {
    display: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background: #2c3645;
    color: white;
    
    -moz-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    -webkit-box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
    box-shadow: var(--shadow-offset, 3px) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa), calc(0px - var(--shadow-offset, 3px)) 0 var(--shadow-blur, .4em) var(--shadow-color, #aaa);
}

#hamburger_menu.show {
    display: block;
}

#top_menu_buttons {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

#top_menu_buttons li {
    display: grid;
    align-items: center;
}

#top_menu_buttons li a {
    height: 100%;
}

#hamburger_menu_button {
    display: none;
    align-items: center;
    padding: 0 .7em;
    cursor: pointer;
    align-self: stretch;
    border: none;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

#hamburger_menu a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 5px 10px;
    cursor: pointer;
}

#hamburger_menu li:last-child {
    border-bottom: none;
}

#hamburger_menu li:hover {
    background: #434d5c;
}

/* Tablet View */
@media(max-width: 1024px) {
  #top_menu_buttons {
      display: none;
  }
  
  #hamburger_menu_button {
      display: grid;
  }
  
  page_footer_links a {
      display: block;
      text-align: center;
      margin: 1em 0;
  }
}

/* Phone View */
@media(max-width: 500px) {
  #ampl_examples_table .col:nth-child(2) {
      display: none;
  }
  #center_container {
      width: 95%;
  }
}
