/*
 Theme Name:   Authors on the Web Starter Theme
 Theme URI:    https://generatepress.com
 Description:  Starter theme from Authors on the Web (A GeneratePress Child Theme)
 Author:       Authors on the Web
 Author URI:   https://authorsontheweb.com
 Template:     generatepress
 Version:      0.2
*/

:root {
  /* New Color titles to add to GeneratePress */
  /* --body: ; background-color */
  /* --outside-container: ; background-color */

  /* New Image for Mobile Background */
  /* --mobile-menu-background: url(); background-image */

  /* AOTW Specific Variables */
  /* Social Media */

  --facebook-color: #3b5998;
  --twitter-color: #55acee;
  --instagram-color: #833ab4;
  --instagram-color-1: #405de6;
  --instagram-color-2: #5851db;
  --instagram-color-3: #833ab4;
  --instagram-color-4: #c13584;
  --instagram-color-5: #e1306c;
  --instagram-color-6: #fd1d1d;
  --instagram-color-7: #f56040;
  --instagram-color-8: #f77737;
  --instagram-color-9: #fcaf45;
  --instagram-color-0: #ffdc80;
  --pinterest-color: #cb2027;
  --goodreads-color: #553b08;

  /* Font Weights */
  --regular: 400;
  --normal: 400;
  --semibold: 600;
  --bold: 700;
  --thin: 100;
  --extra-light: 200;
  --light: 300;
  --medium: 500;

  /* Properties Used Often */
  /* Note: There is a .shadow-standard in Kyle's CSS which may be different from AOTW Standard */
  --drop-shadow: 0px 2px 2px 0px rgba(55, 55, 55, 0.5);
  --text-shadow: 0.5px 1px 3px rgba(0, 17, 48, 0.2);

  --accolades-star: "★";

  /* --mobile-menu-background: url("/wp-content/uploads/bkg-mobile.png"); */

  /* Gradient colors */
  /* --linear-gradient-top-left: #D65528;
  --linear-gradient-middle: #E56F27;
  --linear-gradient-bottom-right: #ED8727;
  
  --circle-gradient-1: #120b02;
  --circle-gradient-2: #824500;

  --ellipse-gradient: #BCA48D; */

  /* 	Gradients */
  --background-linear-gradient: linear-gradient(
    0.25turn,
    var(--linear-gradient-top-left),
    var(--linear-gradient-middle),
    var(--linear-gradient-bottom-right)
  );
  --background-linear-gradient-reversed: linear-gradient(
    0.25turn,
    var(--linear-gradient-bottom-right),
    var(--linear-gradient-middle),
    var(--linear-gradient-top-left)
  );
  --background-circle-gradient: radial-gradient(
    circle at center,
    var(--circle-gradient-1),
    var(--circle-gradient-2)
  );
  --background-ellipse-gradient: radial-gradient(
      ellipse at left,
      var(--ellipse-gradient, black),
      transparent
    ),
    radial-gradient(ellipse at bottom, var(--accent, grey), transparent),
    radial-gradient(
      ellipse at right,
      var(--ellipse-gradient, black),
      transparent
    ),
    radial-gradient(
      ellipse at center,
      var(--ellipse-gradient, black),
      var(--ellipse-gradient, black)
    );
  --footer-background-1: radial-gradient(
    circle at top,
    rgb(0 0 0 / 30%),
    transparent
  );
}

/* Starter CSS Borrowed from Kyle Van Deusen https://kylevandeusen.com  will need tweaking */

/* Set the main content area to a minimum of 65vh */
#main {
  min-height: 65vh;
}

/* Site Wrapper to set overall site max width */
/* Where is Site Wrapper generated? Custom code or GeneratePress? */

.site-wrapper {
  width: 100%;
  max-width: 1920px;
  background-color: var(--body);
}

body {
  background-color: var(--outside-container);
}

/* HELPER CLASSES */

/* Standard Shadow(s) */

.shadow-standard {
  box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
  transition: all 0.2s ease-in;
}

.shadow-standard:hover {
  box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
  max-width: 1024px;
}

.max-width-768 {
  max-width: 768px;
}

.max-width-640 {
  max-width: 640px;
}

.max-width-480 {
  max-width: 480px;
}

/* Margin Auto */

.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Position Properties */

.relative {
  position: relative;
}

.absolute {
  position: absolute;
  top: 0px;
  left: 0px;
}

.sticky {
  position: sticky;
  top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.aspect-3-2 img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

.aspect-2-3 img {
  aspect-ratio: 2/3;
  object-fit: cover;
}

.aspect-4-3 img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.aspect-3-4 img {
  aspect-ratio: 3/4;
  object-fit: cover;
}

.aspect-16-9 img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.aspect-9-16 img {
  aspect-ratio: 9/16;
  object-fit: cover;
}

/* Default Social Media Color */

a.facebook-icon {
  color: var(--facebook-color);
}

a.twitter-icon {
  color: var(--twitter-color);
}

a.instagram-icon {
  color: var(--instagram-color-1);
}

a.pinterest-icon {
  color: var(--pinterest-color);
}

a.goodreads-icon {
  color: var(--goodreads-color);
}

.bookbub-icon a {
  background: url("/wp-content/uploads/bookbub-icon.png") no-repeat 5px center;
  background-size: 15px auto;
  text-indent: -5000px;
}

.bookbub-icon a > i {
  display: none;
}

#generate-slideout-menu::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background-image: var(--mobile-menu-background, none);
  background-position: center center;
  background-size: cover;
  opacity: 0.3;
}
