/*
Theme Name: TFF Base Theme
Version: 1.0
Author: TFF
Author URI: https://furryfiesta.org/
Theme URI: https://furryfiesta.org/
Text Domain: tffbase
*/

/*
BASIC:
    0. SETUP
    1. HEADER
    2. FOOTER
    3. MAIN
SECTIONS:
    4. #MASTHEAD
    5. #CALLOUTS
    6. #CONTENT
    7. #MAP
CONTENT:
    8. TYPOGRAPHY
    9. BUTTONS
    10. ALERTS
    11. TABLES
    12. WELLS
    13. ACCORDIONS
    14. ARTICLES
BREAKPOINTS:
    15. SM+
    16. MD+
    17. LG+
*/

/* 0. SETUP */
* {
  -webkit-font-smoothing: antialiased !important;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #222;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}
a {
  transition: color 0.3s ease;
}
.anchor {
    scroll-margin-top: 90px;
    scroll-snap-margin-top: 90px;
}
.dropdown-toggle {
  position: relative;
  padding-right: 1rem;
}
.dropdown-toggle:after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: none;
  font-size: 0.75em;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  outline: none !important;
}
.dropdown-toggle[aria-expanded="true"]:after {
  transform: translateY(-50%) rotate(180deg);
}
.dropdown-menu {
  width: 15rem;
  border: none;
  display: block;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}
.dropdown-menu:not(.show) {
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  opacity: 0.3 !important;
}
*[class*="col"] > *:last-child,
.well > *:last-child,
.alert > *:last-child,
article > *:last-child,
.accordion-content > *:last-child {
  margin-bottom: 0;
}
img {
  max-width: 100%;
}
.img-square,
.img-round {
  display: block;
  height: auto;
  overflow: hidden;
  position: relative;
}
.img-square:before,
.img-round:before {
  content: "";
  display: block;
  height: 0;
  padding-top: 100%;
}
.img-square img,
.img-round img {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.img-round {
  border-radius: 100%;
}

/* 1. HEADER */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
#header a {
  color: white;
  text-decoration: none;
}
#header a:hover {
  color: rgba(255, 255, 255, 0.5);
}
#header .navbar {
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  min-height: 70px;
  padding: 70px 0 0;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(.33rem);
  backdrop-filter: blur(.33rem); 
}
#header .navbar-brand {
  position: absolute;
  font-size: 1rem;
  line-height: 1.2;
  left: 1rem;
  top: 35px;
  transform: translateY(-50%);
}
#header .navbar-brand-title {
  font-weight: 900;
}
#header .navbar-brand-date {
  font-weight: 300;
}
#header .navbar-brand img {
  height: 50px;
}
#header ul.nav {
  padding: 0.5rem 2rem 1.5rem;
  text-align: left;
}
#header ul.nav > .menu-item {
  font-weight: 900;
}
#header ul.nav > .menu-item:not(:last-child) {
  margin-bottom: 1rem;
}
#header .dropdown-menu {
  background: none;
  text-align: left;
  font-size: 0.9em;
  width: 100%;
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
#header .dropdown-menu .menu-item:not(:last-child) {
  margin-bottom: 0.75rem;
}
#header .header-details {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: black;
  z-index: 50;
  padding: 1rem;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
#header .header-details-date {
  font-weight: 900;
}
#header .header-details-location {
  font-weight: 300;
}
.navbar-toggler {
  position: absolute;
  top: 35px;
  right: 1px;
  transform: translateY(-50%);
  border: none;
  border-radius: 0;
  padding: 0 15px;
  width: 60px;
  height: 60px;
  background: transparent;
  transition: all 0.5s;
}
.navbar-toggler:after,
.navbar-toggler:before,
.navbar-toggler span {
  background-color: white;
  content: "";
  text-indent: -9999em;
  display: block;
  width: 30px;
  height: 2px;
  overflow: hidden;
  margin: 8px auto;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}
/* .navbar-toggler:hover:before, .navbar-toggler:hover:after, .navbar-toggler:hover span {} */
.navbar-toggler[aria-expanded="true"]:before {
  transform: translateY(10px) rotate(135deg);
}
.navbar-toggler[aria-expanded="true"]:after {
  transform: translateY(-10px) rotate(-135deg);
}
.navbar-toggler[aria-expanded="true"] span {
  width: 0;
}

/* 2. FOOTER */
#footer {
  padding: 2rem 0 6rem;
  font-size: 0.75rem;
  position: relative;
  z-index: 20;
}
#footer a {
  color: white;
  text-decoration: none;
}
#footer a:hover {
  color: #999;
}
.footer-social {
  font-size: 1.75rem;
}
.footer-social a {
  margin: 0 0.25rem;
}
ul.footer-menu {
  font-weight: 600;
}
ul.footer-menu li:not(:last-child) {
  margin-bottom: 0.1rem;
}

/* 3. MAIN */
#main {
  background: white;
  color: #222;
}
section {
  position: relative;
  padding: 3rem 1.25rem;
}

/* 4. #MASTHEAD */
#masthead {
  min-height: 50vh;
  width: 100%;
  background: black;
  color: white;
  overflow: hidden;
  top: 0;
  z-index: 10;
}
.home #masthead {
  height: 100vw;
  min-height: unset;
}
.masthead-bg {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 55%;
}
.masthead-scroll {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  width: 3.25rem;
  height: 3.25rem;
  line-height: 3.6rem;
  font-size: 2rem;
  border-radius: 3.5rem;
  text-align: center;
  background-color: white;
  transition: all 0.3s ease;
}
.masthead-scroll:hover {
  background-color: #eee;
  transform: translate(-50%, 2.5%);
}
.masthead-content {
  position: relative;
  padding-top: 70px;
  text-shadow: 5px rgba(0, 0, 0, 0.2);
}
#masthead h1,
#masthead h2 {
  color: white;
}

/* 5. #CALLOUTS */
#callouts {
  background: #333;
  color: white;
}
#callouts h2 {
  color: white;
}
.callout-single {
  position: relative;
}
.callout-single:not(:first-child) {
  padding-top: 2rem;
}
.callout-single:not(:last-child) {
  padding-bottom: 2rem;
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

/* 6. #CONTENT */
#content:first-child > *[class*="container"] {
  padding-top: 70px;
}

/* 7. #MAP */
#map {
  padding: 0;
  height: 66vh;
}
#map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* 8. TYPOGRAPHY */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  font-weight: 900;
  color: #555;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  position: relative;
}
h1,
.h1 {
  font-size: 2rem;
}
h2,
.h2 {
  font-size: 1.5rem;
}
h3,
.h3 {
  font-size: 1.25rem;
}
h4,
.h4 {
  font-size: 1rem;
}
h5,
.h5 {
  font-size: 0.9rem;
  line-height: inherit;
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small {
  color: #888 !important;
  font-size: 0.66em;
}
p,
ul,
ol,
dl,
.nf-form-fields-required {
  margin-bottom: 1rem;
}
p.lead {
  font-weight: 300;
  font-size: 1.1em;
}
p.meta {
  font-weight: 700;
  font-size: 0.75em;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.05em;
}
hr {
  background-color: rgba(0, 0, 0, 0.1);
  height: 3px !important;
  margin: 2rem 0;
  opacity: 1;
}
.border {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.text-none {
  text-transform: none !important;
}

/* 9. BUTTONS */
.btn {
  border-radius: 50px !important;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.btn-link {
  padding: 0 !important;
  width: auto !important;
}
.btn-arrow:after {
  content: "\2192";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: none;
  margin-left: 0.25em;
  transition: margin-left 0.3s ease;
}
.btn-arrow:hover:after,
.btn-arrow:hover:after {
  margin-left: 0.5em;
}
.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.buttons br {
  display: none;
}

/* 10. ALERTS */

.alert {
  border: none;
  border-radius: 0;
  margin: 0 0 1rem;
  padding: 1.5rem;
}
.alert-primary {
  background: #333;
  color: white;
}
.alert-primary a {
  color: white !important;
}
.alert-primary a:hover {
  color: rgba(255, 255, 255, 0.5) !important;
}
.alert-secondary {
  color: inherit;
  background: rgba(0, 0, 0, 0.05);
}

/* 11. TABLES (do NOT ask about them) */

.table {
  margin: 2rem 0;
}
.table th {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table > :not(caption) > * > *:first-child {
  padding-left: 0;
}
.table > :not(caption) > * > *:last-child {
  padding-right: 0;
}
.table > :not(:first-child) {
  border-top-color: rgba(0, 0, 0, 0.1);
}
.table thead tr > * {
  border-top: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
.table tbody tr > * {
  border-top: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}
.table tbody:last-child tr:last-child > * {
  border-bottom: none;
}

/* 12. WELLS */
.well {
  background: rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 2rem -2rem;
}
.well > h2:first-child,
.well > .h2:first-child,
.well > h3:first-child,
.well > .h3:first-child {
  background: #333;
  color: white;
  padding: 1.5rem 2rem;
  margin: -2rem -2rem 2rem;
}

/* 13. ACCORDIONS */
.accordion {
  margin: 2rem -2rem;
}
.accordion-item {
  border: none;
}
.accordion-header {
  margin: 0;
  padding: 1.5rem 2rem;
  background: #333;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: none !important;
}
.accordion-content {
  padding: 1rem 2rem;
}
.js .accordion-header {
  padding-right: 3.5rem;
}
.js .accordion-header:after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.25em;
  position: absolute;
  right: 2rem;
  top: 50%;
  transition: transform 0.3s ease;
  transform: translate(50%, -50%) rotate(0);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 3rem;
  text-align: center;
  line-height: 2.4rem;
  background: white;
  color: #666;
}
.js .accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: all 0.3s ease-in-out;
}
.js .active .accordion-header:after {
  transform: translate(50%, -50%) rotate(180deg);
}
.js .active .accordion-content {
  max-height: 500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* 14. ARTICLES */
article.preview {
  border-top: 3px solid rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  padding: 1.75rem 0;
}
article.preview + article.preview {
  border-top: none;
}
.single article {
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.75rem;
}
article li:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* 15. SM+ */
@media screen and (min-width: 500px) {
}

/* 16. MD+ */
@media screen and (min-width: 768px) {
  #header .navbar {
    min-height: 90px;
    padding: 0 1rem;
  }
  #header .navbar-brand {
    position: relative;
    left: 0;
    top: 0;
    transform: translateY(0);
  }
  #header .navbar-brand img {
    height: 60px;
  }
  #header ul.nav {
    padding: 0;
  }
  #header ul.nav > .menu-item:not(:last-child) {
    margin: 0 1.25rem 0 0;
  }
  #header .dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    text-align: left;
    margin-top: 0.5rem;
    width: 15rem;
  }
  #header ul.nav .dropdown-toggle.show:before {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-left: 0.4rem solid transparent;
    border-right: 0.4rem solid transparent;
    border-bottom: 0.4rem solid rgba(0, 0, 0, 0.95);
  }
  #header ul.nav > .menu-item:last-child .dropdown-menu {
    left: auto;
    right: 0;
  }
  .well,
  .accordion {
    margin-left: 0;
    margin-right: 0;
  }
  ul.footer-menu li {
    display: inline-block;
  }
  ul.footer-menu li:not(:last-child) {
    margin: 0 1rem 0 0;
  }
  #content:first-child > *[class*="container"] {
    padding-top: 120px;
  }
  .btn {
    width: auto;
    padding: 0.75rem 2.5rem;
  }
  .buttons {
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

/* 17. LG+ */
@media screen and (min-width: 992px) {
  #footer {
    padding: 2rem 0;
  }
  section {
    padding: 4rem 2rem;
  }
  .home #masthead {
    height: 100vh;
  }
  .home .masthead-bg {
    background-attachment: fixed;
  }
  .masthead-content {
    padding-top: 90px;
  }
  .callout-single,
  .callout-single:not(:first-child),
  .callout-single:not(:last-child) {
    padding-top: 0;
    padding-bottom: 3.25rem;
    border: none;
    max-width: 50%;
  }
  .callout-single .btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  h1,
  .h1 {
    font-size: 3.5rem;
  }
  h2,
  .h2 {
    font-size: 2.25rem;
  }
  h3,
  .h3 {
    font-size: 1.5rem;
  }
  h4,
  .h4 {
    font-size: 1.25rem;
  }
  h5,
  .h5 {
    font-size: 1rem;
  }
  p.lead {
    font-size: 1.25em;
  }
}
