/*
Theme Name: Aquaflow
Theme URI: https://github.com/alleyinteractive/revealjs-wp-theme/
Description: Power your reveal.js presentation with WordPress! Requires [Fieldmanager](https://github.com/alleyinteractive/wordpress-fieldmanager)
Version: 1.0
Author: Alexander Forselius
Author URI: http://www.alleyinteractive.com/
Tags: presentation, reveal, reveal.js
*/
  
@import url("./css/bootstrap-grid.css");

:root {
  --button-border-color: #888;
  --color: #666;
  --primary: #C7A95D;
  --background: Canvas;
  --color: CanvasText;
}

body {
  font-family: "Geologica", sans-serif; 
  font-size: 12pt;
  background: var(--background);
  color: var(--color);
}
.hero {
  /*text-shadow: 2pt 2pt 0 black;*/
}
h1 {
  font-size: 2.5rem;
}

.slide-background-content {
  background-attachment: fixed;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.gallery > .gallery-item {
   aspect-ratio: 16/9;
   background-size: contain;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   position: relative;
}
.gallery-item > .post-description {
  position: absolute;
  bottom: 0;
  width: 100%;
  position: absolute;
  background: rgba(255, 255, 255, .8);
  transform: translateY(100%);
  transition: transform 0.2s linear;
}
.gallery-item:hover > .post-description {
  transform: translateY(0);
  
}
.post-right-tag {
  position: absolute;
  right: 0;
  top: 0;
  background: #0077ff;
  font-size: 1rem;
  padding: 5pt;
  color: white;
  text-transform: uppercase;
}

.frames {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
main {
  overflow: scroll;
  flex: 1;
}
nav {
  padding: 20pt;
}
nav ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
} 
a:focus {
  outline: 1pt solid dotted;
}

section {
  background: attr(data-background);
  height: 100vh;
}
.section-image {
  background-size: cover;
  background-attachment: fixed;
}
.section-content {
  display: flex;
  align-items: space-between;
  padding: 120pt;
  justify-content: center;
  flex-direction: column;
}
footer {
  background: #000;
  color: white;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
aside {
  display: none;
}
/*
.btn {
  font-weight: bold;
  border-width: 1pt;
  cursor: pointer;
  --button-color: #888;
  color: var(--button-color);
  z-index: 1;
  padding: 10px;
  position: relative;
  border: solid 1px transparent;
  border-radius: 50pt;
  background: color-mix(in srgb, var(--button-color), transparent 80%);
  backdrop-filter: blur(5px);
} 
.btn:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale;
  background: linear-gradient(white, gray, white);
}
.btn-bordered {
  border: 1pt solid var(--button-border-color);
}
.btn-primary {
  --button-color: var(--primary); 
}
.btn-primary:focus {
  outline: 2pt solid black;
}*/
.btn:hover, a:hover {
  transform: scale(1.05);
}
.btn:active, a:active {
  transform: scale(1);
}

.dark {
  color-scheme: dark;
  background: #333;
  color: #aaa;
}
aside {
  background: Canvas;
  color: CanvasText;
}

.menu   {
  display: flex;
  flex-direction: column;
  gap: 3pt;
}
.menu li {
  list-style: none;
  list-style-type: none;
  list-style: none;
}
.menu li a.primary {
  background: var(--primary);
  color: black;
}
.menu li a {
  border-radius: 100%;
  color: #eee;
  /*border: 2pt solid #888;*/
  display: flex;
  padding: 25pt;
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(90, 90, 90);
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
aside {
  display: none;
}

aside.open {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10pt);
}

.aside-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1pt;
  justify-content: stretch;
  padding: 50pt;
}
.aside-header a {
  color: white;
  text-decoration: none;
  font-size: 3rem;
}
.topleft-menu {
  position: fixed;
  z-index: 88;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10pt; 
  top: 40pt;
}
.topleft-menu a {
  color: CanvasText;
  text-decoration: none;
  font-size: 2rem;
  padding: 20pt;
}
/*
@media screen and (min-width: 720pt) {
  aside {
    display: flex;
  }
  .aside-header {
    display: none;
  }
  .topleft-menu {
    display: none;
  }
}

*/

#wpadminbar {
  bottom: 0;
  top: unset;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10pt;
}

.sm {
  @media screen and (min-width: 720pt) {
    display: none;
  }
}
.lg {
  @media screen and (max-width: 720pt) {
    display: none;
  }
}

.navbar-black {
  background: rgba(10, 10, 10);
}

@media screen and (max-width: 720pt) {
  .section-content {
    padding: 30pt;
    margin: 0;
  }
}