@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@500&family=Karla:wght@300&display=swap');

body {
  font-family: Karla, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
}

h1,h2,h3,h4,h5,h6 {
  font-family: Darker Grotesque, sans-serif;
}

h1 {
  padding-bottom: 2rem;
  font-weight: 500; 
  font-size: 2rem;
  line-height: 1;
}

@media (min-width: 768px){
  
  h1{
    font-size: 2.5rem
  }
}

@media (min-width: 1024px){
  
  h1{
    font-size: 3.4375rem
  }
}
h2 {
  padding-bottom: 2rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  
  h2 {
    font-size: 3rem;
    line-height: 1;
  }
}
h3 {
  padding-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  
  h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
h4 {
  padding-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  
  h4 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}
h5 {
  padding-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  
  h5 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
h6 {
  padding-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  
  h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

p {
  padding-bottom: 1rem;
}

b, strong {
  font-weight: 500;
}

a {
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: border-color, color, fill, stroke;
}

hr, .hr{    
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg,rgba(255,189,51,1) 0%,rgba(253,108,60,1) 30%,rgba(60,205,253,1) 63%,rgba(118,207,120,1) 100%);
}


body .layout-content.status.status-index .page-status,
body .layout-content.status.status-index .components-section .components-container.one-column .component-container:first-child,
body .layout-content.status.status-index .components-section .components-container.one-column .component-container:last-child,
#uptime-tooltip .tooltip-box,
.updates-dropdown-container .updates-dropdown .updates-dropdown-nav,
.updates-dropdown-container .updates-dropdown .updates-dropdown-nav a:first-of-type, 
.updates-dropdown-container .updates-dropdown .updates-dropdown-nav button:first-of-type{
  border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  -o-border-radius: 0px !important;
  -ms-border-radius: 0px !important;
}

.container-wrapper{
  margin-left: auto;
  margin-right: auto;
  max-width: 85.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container-wrapper{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.inner-grid{
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 1.5rem;
}

.custom-header-container .inner{
  display: flex;
  justify-content: space-between;
  align-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.custom-footer-container .inner{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .custom-footer-container .inner{
    flex-direction: row;
    align-content: flex-end;
    flex-wrap: wrap;
  }
}

.custom-footer-container .custom-footer-brand{}
.custom-footer-container .custom-footer-brand .fineprint{
  padding: 0;
  margin: 0;
  color: #898989;
  font-size: .75rem;
  line-height: 1rem;
  line-height: 1.625;
}

.custom-footer-container .custom-footer-nav{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 14px;
  font-size: 0.875rem;

}

@media (min-width: 768px) {
  .custom-footer-container .custom-footer-nav{
    gap: 0px;
  }
}


/* COLORS */
.components-container .component-inner-container .name,
.custom-footer-container .custom-footer-nav .custom-footer-nav-item,
#custom-metrics-container .timeframes-container .font-largest,
#custom-metrics-container .metrics-container .metric-name,
.incidents-list .font-largest,
.incidents-list .status-day{
  color: white;
}

.tooltip-base{
  color: #e6e6e6;
  border-color: #e6e6e6;
}

/* BACKGROUNDS */
.layout-content.status.status-api .section .example-container .example-opener .color-secondary,
.grouped-items-selector,
.layout-content.status.status-full-history .history-nav a.current,
div[id^="subscribe-modal"] .modal-footer,
div[id^="subscribe-modal"],
div[id^="updates-dropdown"] .updates-dropdown-section,
#uptime-tooltip .tooltip-box {
  background-color:#ffffff;
  color: #000;
}

#uptime-tooltip .pointer-container .pointer-smaller {
  border-bottom-color:#ffffff;
}


/* FONTS */
.components-container .component-inner-container .name,
#custom-metrics-container .timeframes-container .font-largest,
#custom-metrics-container .metrics-container .metric-name,
.incidents-list .font-largest,
.incidents-list .status-day,
#uptime-tooltip .tooltip-box .tooltip-content .date{
  font-family: Darker Grotesque, sans-serif;
}

#uptime-tooltip .tooltip-box .tooltip-content .date{
  font-size: 18px;
  font-size: 1.125rem;
}

.components-container .component-inner-container .name{
  font-size: 20px;
  font-size: 1.25rem;
}

/* SUBSCRIBE TO UPDATES */
.custom-header-container #show-updates-dropdown{
  display: inline-flex;
  position: relative;
  justify-content: center;
  background-color: transparent;
  color: #FFF;
  width: 120px;
  height: 39px;
  cursor: pointer;
  align-items: center;
  border-style: none;
  background-color: rgb(0 0 0 / 1);
  padding: 0.63rem 1.5rem 0.558rem;
  font-family: Karla,sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgb(255 255 255 / 1);
  transition-property: color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(.19,1,.22,1);
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .custom-header-container #show-updates-dropdown{
    width: 200px;
  }
}

.custom-header-container #show-updates-dropdown:before{
    content: "";
    position: absolute;
    z-index: 0;
    display: block;
    height: 100%;
    width: 100%;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    border-radius: inherit;
    background: linear-gradient(90deg,rgba(255,189,51,1) 0%,rgba(253,108,60,1) 15%,rgba(60,205,253,1) 31.5%,rgba(118,207,120,1) 49%,rgba(255,189,51,1) 51%,rgba(253,108,60,1) 66%,rgba(60,205,253,1) 82.5%,rgba(118,207,120,1) 100%);
    background-size: 200% 200%;
    transition-property: background-position;
}

.custom-header-container #show-updates-dropdown:after{
  position: absolute;
  z-index: 10;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0 0 0 / 1);
  transition-property: color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-delay: .15s;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(.19,1,.22,1);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: inherit;
}

/* SUBMIT BUTTON */
#subscribe-btn-email,
#subscribe-btn-sms,
#subscribe-btn-slack,
#subscribe-btn-slack{
  background-color: black;
  color: white;
  border-radius: 1.5rem;
  padding: 0.63rem 1.5rem 0.558rem;
  font-family: Karla,sans-serif;
  font-weight: 400;
}

.shared-partial.uptime-90-days-wrapper svg rect:hover{
  fill: #E6E6E6;
}

/* HISTORY & UPTIME */
.status.uptime .history-nav .button,
.status.history .history-nav .button{
  background: #333;
}

/* MAIN PAGE LOG CUSTOMISATIONS */

/* Change Incidents heading text */
a#past-incidents {
  color: black;
}

a#past-incidents::before {
  color: white;
  content: "Incidents and Maintenance activities";
}

/* hide empty day reports*/
.status-day.no-incidents {
  display: none;
}


/* Change link to history text in footer */
.page-footer > .history-footer-link,
.page-footer > .history-footer-link:hover {
  color: black;
}

.page-footer > .history-footer-link > span {
  color: white;
}

.page-footer > .history-footer-link:hover > span {
  color: #08A8FC; /* blue */
}

.page-footer > .history-footer-link > span::after {
  color: white;
  text-decoration: underline;
  padding-left: 8px;
  content: "Incidents and Maintenance History";
}

.page-footer > .history-footer-link:hover > span::after {
  color: #08A8FC; /* blue */
  text-decoration: none;
}

/* Change order of blocks */

.layout-content.status-index > .container {
  display: flex;
  flex-flow: column;
}

.layout-content.status-index > .container > .page-status {
  order: 1;
}


.layout-content.status-index > .container > .scheduled-maintenances-container {
  order: 2;
}

.layout-content.status-index > .container > .components-section {
  order: 3;
}

.layout-content.status-index > .container > .custom-metrics-container {
  order: 4;
}

.layout-content.status-index > .container > .incidents-list {
  order: 5;
}

.layout-content.status-index > .container > .page-footer {
  order: 6;
}
/* Black text on green status */
.layout-content.status.status-index .page-status.status-none .status {
  color: #000;
}