/*
 Theme Name:   Tom Geller 2020
 Theme URI:    http://tomgeller.com
 Description:  Theme for tomgeller.com redesign in May 2020, child of twentytwenty
 Author:       Tom Geller
 Author URI:   http://tomgeller.com
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  tomgeller2020
*/

/*
 * HOME PAGE
 */

.home .entry-header {
	display: none
}

/*
 * LAYOUT
 */

.post-inner {
    padding-top: 3rem;
}

.singular .entry-header {
  padding: 2rem 0;
}

.archive-header, body:not(.singular) main > article:first-of-type {
  padding: 2rem 0;
}

/* To autofit multiple columns: See #7 on http://1linelayouts.glitch.me/ and archive.php */
@media (min-width: 700px) {
  .archive-multicolumn-wrapper {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }
}

/* This selector is necessary to use full page width.
 * I don't really understand it, but there it is.
 * It can be removed if I can change the default template to
 * full-width, as I did on the front page --TMG-20200802
 */
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 100rem;
}

/*
 * FONTS
 */

.header-titles .site-title {
  font-size: 3rem;
}

h1:not(.entry-title), h2, h3, h4  {
	font-size: 125%;
}

h1.entry-title {
  font-size: 4rem;
}

.portfolio-meta {
  text-align: center;
}

.heading-size-1 a {
	font-size: 3.6rem;
	font-weight: 400;
	line-height: 1.138888889;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
  margin: 0rem auto 2rem;
}

.endorsement {
  font-size: 2rem;
	font-weight: 800;
	line-height: 1.138888889;
}

.endorsement-credit {
  text-align: right;
  font-style: italic;
}

/* .category-page-tages appears on the page "categories";
   the style is pretty much like the built-in ".widget_tag_cloud a"*/
.blue-button {
  margin-bottom: 2rem;
}

/* Button CSS from https://cssbuttoncreator.com/ */
.blue-button a {
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #FFFFFF;
  padding: 10px;
  margin: 4px;
  background-color: #5A97E3;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}

.blue-button a:hover {
  border: solid #337FED 0px;
  background: #1E62D0;
  background-image: -webkit-linear-gradient(top, #1E62D0, #3D94F6);
  background-image: -moz-linear-gradient(top, #1E62D0, #3D94F6);
  background-image: -ms-linear-gradient(top, #1E62D0, #3D94F6);
  background-image: -o-linear-gradient(top, #1E62D0, #3D94F6);
  background-image: linear-gradient(to bottom, #1E62D0, #3D94F6);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  text-decoration: none;
}

/*
 * HIDE ELEMENTS
 */

.post-meta-single-top {
 display: none;
}

/* Decided to make tags invisible for now.
Can add them back in later. --TMG-20200809 */
.post-meta {
  display: none;
}

/*
 * SPECIAL
 */

 /* Speech bubbles on Endorsement archives.
  * See https://freefrontend.com/css-speech-bubbles/
  * (specifically https://codepen.io/run-time/pen/VNRBJd)
  * and template-parts/content-archive-endorsement.php
  */
.bubble {
  position: relative;
  font-family: sans-serif;
  font-size: 18px;
  line-height: 24px;
  width: 300px;
  background: #fff;
  border-radius: 40px;
  padding: 24px;
  /* text-align: center; */
  color: #000;
}
.bubble-bottom-left:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid #fff;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
  border-bottom: 20px solid transparent;
  left: 32px;
  bottom: -24px;
}
