﻿@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300;0,400;0,700;1,400&display=swap");

:root {
  --sn-blue: #02314b;
  --sn-light: #cddbe0;
  --card-bg: #f0f7fc;
  --card-handle: #3c9cd7;
  --button-primary: #1f417f;
  --button-secondary: #717981;
  --dark: #222222;
  --border-radius: 10px;
}

html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Merriweather Sans", sans-serif;
  color: var(--dark);
}

::-ms-input-placeholder { /* Edge 12-18 */
  font-style: italic !important;
}

::placeholder {
  font-style: italic !important;
}

header {
  height: 53px;
  border-bottom:3px solid var(--sn-light);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 24px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  font-weight: 300;
}

.text-demi {
  opacity: .6;
}

.figure_count {
  max-width: 200px;
}

/* Provide sufficient contrast against white background */
a {
  color: var(--button-primary);
}

.btn-primary {
  color: white;
  background-color: var(--button-primary);
  border-color: var(--button-primary);
}

.btn-outline-secondary {
  background: white; 
}
/* cards --- */

.card {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--card-bg);
  border-top: 14px solid var(--card-handle);
}

.border-top {
  border-top: 1px solid var(--sn-light);
}


/* Sticky footer styles
-------------------------------------------------- */
body {
  /* Margin bottom by footer height */
  margin-bottom: 200px;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.footer__top {

}

.footer__bottom {
  background-color: var(--sn-blue);
  color: white;
}

.footer__bottom a  {
  color: white;
}


/* Developer styles
-------------------------------------------------- */
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
