/*
 Theme Name:   Alphabet
 Theme URI:    https://generatepress.com
 Description:  Fast, flexible, customizable
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0
*/


/* body and sticky footer */

@font-face {
  font-family: 'Inter';
  src: url('Inter.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sriracha';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("Sriracha.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "San Francisco", "Microsoft Sans Serif", Roboto, "Liberation Sans", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sriracha', Georgia, "Times New Roman", "New York", Baskerville, Cambria, serif;
  font-weight: 400;
}

.container.grid-container {
  width: 100%;
}

.site-footer {
  margin-top: auto;
  padding: 40px 20px 0px 20px;
}


/* colors */

:root {
  --bg: #ffffff;
  --text: #222222;
  --accent: #2891E6;
}

body {
  background-color: var(--bg);
  color: var(--text);
}


/* header */

.main-nav #menu-menu li:last-child {
  background: var(--accent);
  border-radius: 100px;
  margin-left: 20px;
}

.main-nav #menu-menu li:last-child a {
  color: var(--base-3);
}

.main-nav #menu-menu li:last-child a {
  line-height: 44px;
}

.main-navigation .main-nav > ul > li > a {
  font-weight: 500;
}

.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
  background-color: transparent;
}

@media (max-width: 768px) {
  .main-navigation .main-nav > ul > li:not(:last-child) > a {
    display: block;
  }

  .main-nav #menu-menu li:last-child a {
    line-height: 56px;
  }
}


/* footer */

.site-info {
  max-width: 1200px;
  margin: 0 auto;
}

.inside-site-info {
  border-top: 2px solid var(--base);
  padding: 20px 0;
  display: block;
}

.copyright-bar ul {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.copyright-bar ul li a {
  text-decoration: none;
}

@media (min-width: 769px) {
  .copyright-bar ul {
    flex-direction: row;
    align-items: center;
  }

  .copyright-bar ul li:first-child {
    margin-right: auto;
  }

  .copyright-bar ul li a {
    color: var(--text);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  .copyright-bar ul li a:hover {
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 768px) {
  .copyright-bar ul li:first-child {
    order: 99; 
  }
}