/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * Fonts
 */

/* pacifico */
@font-face {
  font-family: 'Odana';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Odana/Web/Odana-Web.otf');
}

/* Pali 400 */
@font-face {
  font-family: 'Pali';
  font-style: normal;
  font-weight: 400;
  src: local('Pali Helvetica Regular'), local('Pal-Helvetica-Regular'),
    url('/assets/fonts/pali/plhlvr.TTF') format('truetype');
}

/* Pali 500 */
@font-face {
  font-family: 'Pali';
  font-style: normal;
  font-weight: 500;
  src: local('Pali Helvetica Regular'), local('Pal-Helvetica-Regular'),
    url('/assets/fonts/pali/plhlvb.TTF') format('truetype');
}

/* dekko-regular - latin_latin-ext_devanagari */
@font-face {
  font-family: 'Dekko';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot');
  /* IE9 Compat Modes */
  src: local('Dekko'),
    url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.woff') format('woff'),
    /* Modern Browsers */
    url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('/fonts/dekko-v5-latin_latin-ext_devanagari-regular.svg#Dekko') format('svg');
  /* Legacy iOS */
}

/* yatra-one-regular - latin_latin-ext_devanagari */
@font-face {
  font-family: 'Yatra';
  font-style: normal;
  font-weight: 400;
  src: local('Yatra One Regular'), local('YatraOne-Regular'),
    url('/fonts/yatra-one-v5-latin_latin-ext_devanagari-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/fonts/yatra-one-v5-latin_latin-ext_devanagari-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  line-height: 1.4;
  font-family: 'Pali';
  /* color: #411a00; */
  scroll-behavior: smooth;
  background-color: antiquewhite;
  color: black;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1vh;
  min-width: 15vw;
  border: 0;
  border-top: 0.05em solid #1f1700;
  margin: 0 auto;
  padding: 0;
  padding-top: 1vh;
  padding-bottom: 1vh;
  width: 33%;
  text-align: center;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: LightGray;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/
.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
My Stuff
*/
body {
  text-decoration: none;
  font-variant: unset;
  font-style: unset;
  font-size: 1em;
  height: 100%;
  margin: 0;
  padding: 0;
  padding-left: 1vw;
  padding-right: 1vw;
}

a {
  text-decoration: none;
  text-shadow: 0 0 1px red;
  color: black;
}

a:hover, a:focus {
  cursor: crosshair;
  transition: 0.3s ease;
  text-shadow: none;
  color: black;
}

/* a:visited {
  color: darkgray;
} */
 
ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  list-style-type: none;
}

li {
  margin: 0;
  display: inline-block;
  min-width: 50%;
}

img {
  max-width: 50vh;
}

q {
  font-style: oblique;
}

h1,
h2 {
  line-height: 1.2;
}

figure {
  display: inline-block;
  text-align: center;
}

.pali figcaption {
  font-weight: normal;
  padding-top: 0.5em;
  font-size: 0.5;
  line-height: 1;
}

.disappearing{
  visibility: hidden;
  font-size: 0.001em;
  /* padding: 0; */
  /* margin: 0; */
  transition: 3s;
  transition-delay: 19s;
}

.code{
  font-weight: 300;
  border-radius: 1em;
  padding-left: 6vw;
  padding-right: 6vw;
  padding-top: 3vh;
  padding-bottom: 3vh;
  font-size: 0.8em;
}

.odana {
  font-family: 'Odana';
}

.centered {
  text-align: center;
}

.ind {
  margin-left: 6vw;
  opacity: 0.3;
}

.placeholder {
  min-height: 6vh;
}

.pali{
  font-size: 0.0001em;
  visibility: hidden;
}

.papanca{
  visibility: visible;
}

.code img {
  max-width: 35vh;
  padding: 0.5em;
}

.pali img {
  width: 0;
  height: 0;
}

.code:hover {
  background-color: NavajoWhite;
  border-radius: 1em;
  transition: 3s ease;
  cursor: zoom-in;
}

.code:focus,
.code:focus-within {
  font-size: 1em;
  text-align: left;
  background-color: NavajoWhite;
  border-radius: 1em;
  font-weight: 500;
  padding-bottom: 3em;
  transition: none;
}

.code:focus a,
.code:focus-within a{
  font-size: 1.5em;
}

.code:focus-within .pali{
  font-size: 1em;
  font-weight: 500;
  visibility: visible;
}

.code:focus-within .papanca{
  font-size: 0.0001em;
  font-weight: 500;
  visibility: hidden;
}

.code:hover img, .code:focus-within img {
  visibility: visible;
  width: 10vw;
  height: auto;
  padding: 0.5em;
  transition: 0.6s ease;
  transition-delay: 1.2s;
}

.code:hover figure, .code:focus-within figure,
.code:hover figcaption, .code:focus-within figcaption {
  transition: 0.3s ease;
  font-size: 1em;
  visibility: visible;
}

.pali:hover img, .pali:focus img {
  border-radius: 50%;
  background-color: sandybrown;
}

#button{
  /* position: fixed;
  top: 0;
  left: 0;
  font-family: 'Odana';
  text-align: left;
  vertical-align: top;
  transition: 3s ease;
  transition-delay: 3s;
  visibility: visible;
  opacity: 0.5;
  text-shadow: 0 0 0.5em lightgray;
  font-size: 2em;
  padding: 0;
  margin: 0;
  margin-top: 0.1em;
  margin-left: 6vw;
  top: 0;
  left: 0;
  margin-top: 0;
  padding-top: 0;
  cursor: crosshair; */
  
}

/* #ttl:hover #button, #ttl:focus #button{
  color: NavajoWhite;
  visibility: hidden;
  transition: 0.6s ease;
  transition-delay: 0.3s;
  /* height: 0; */
} */

#show {
  text-align: left;
  visibility: hidden;
  color: NavajoWhite;
  background-color: NavajoWhite;
  transition: 1s ease;
}

/* #ttl:hover #show, #ttl:focus #show {
  position: fixed;
  top: 0;
  left: 3vw;
  height: initial;
  width: 100vw;
  padding-bottom: 0.3em;
  visibility: visible;
  background-color: NavajoWhite;
  color: black;
  opacity: 1;
  transition: 0.3s ease;
  transition-delay: 0.3s;
} */

/* #ttl:hover #show a, #ttl:focus #show a{
  color: black;
}

#ttl:hover img, #ttl:focus img {
  visibility: visible;
  /* height: initial; */
  vertical-align: text-top;
  transition-delay: 0.3s;
}

#ttl:hover img:hover, #ttl:focus img:focus{
  transition: 0.3s ease;
  border-radius: 50%;
  background-color: sandybrown;
} */


/* media queries */
@media screen and (min-width: 1600px) {

  body {
    font-size: 1.5em;
  }
}

@media screen and (min-width: 992px) {
  
}

@media screen and (max-width: 600px) {

  body {
  font-size: 0.8em;
  }

  .code:hover img, .code:focus img {
  transition: 1s ease;
  width: 25vw;
}
}