/*
 Theme Name:   Elsie Child
 Theme URI:    https://elfwp.com/themes/elsie
 Description:  Elsie Child Theme
 Author:       Daniel Brunner
 Template:     elsie
 Version:      1.0.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  elsie-child
*/

:root {
  --color-primary: #315157;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("./assets/fonts/hk-grotesk/HKGrotesk-Light.woff"), url("./assets/fonts/hk-grotesk/HKGrotesk-Light.woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("./assets/fonts/hk-grotesk/HKGrotesk-Regular.woff2"), url("./assets/fonts/hk-grotesk/HKGrotesk-Regular.woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("./assets/fonts/hk-grotesk/HKGrotesk-Medium.woff2"), url("./assets/fonts/hk-grotesk/HKGrotesk-Medium.woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("./assets/fonts/hk-grotesk/HKGrotesk-SemiBold.woff2"),
    url("./assets/fonts/hk-grotesk/HKGrotesk-SemiBold.woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("./assets/fonts/hk-grotesk/HKGrotesk-Bold.woff2"), url("./assets/fonts/hk-grotesk/HKGrotesk-Bold.woff");
  font-weight: 700;
  font-display: swap;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  font-family: "HK Grotesk";
}

.hero-wrapper,
.has-header-image .header-layout-inline:not(.isSticky) {
  background-color: var(--color-primary);
}

.entry-content h2 {
  margin-top: 7rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  margin-top: 4rem;
  margin-bottom: 0.5rem;
}

blockquote {
  margin: 2.5rem 1rem !important;
  border-left-color: var(--color-primary);
}

.main-navigation > div > ul > li:first-of-type a {
  padding-left: 20px;
}

#menu-footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#menu-footer-menu li {
  margin: 0.4rem 0;
  padding: 0.4rem 0;
}

.footer-widgets a {
  transition: opacity 0.3s ease;
}

.footer-widgets a:hover {
  opacity: 0.6;
  color: inherit;
}

/* TEMP; Social media follows! */
.footer-bar {
  display: none;
}

.menu-bar {
  background-color: var(--color-primary);
}

@media (min-width: 1025px) {
  blockquote {
    margin: 2.5rem 3.5rem !important;
  }

  #menu-footer-menu {
    flex-direction: row;
    justify-content: center;

    /* Pseudo center, as privacy is just too phat */
    margin-right: 100px;
  }

  #menu-footer-menu li {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .menu-bar .row > *:last-child {
    padding-right: 0;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1024px;
  }
}
