@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
/* app components */
@import "./default.css";
@import "./button.css";
@import "./noah-quest.css";
@import "./article.css";
@import "./jigsaw-puzzles.css";
@import "./quiz.css";
@import "./avatar.css";
@import url('https://fonts.googleapis.com/css?family=PT+Serif');

.link-text {
  @apply text-lg; 
  @apply cursor-pointer;
  @apply text-blue-600; 
}

h1 { 
  @apply text-4xl text-gray-900 font-bold leading-8 !important;
  @apply my-2;
  @apply text-left;
}

.article-heading { 
  font-family: "Luckiest Guy";
  text-align: left  !important;
  letter-spacing: 0.05em !important;
}

.plan-link { 
  @apply text-blue-300;
  @apply cursor-pointer;
}

.plan-link:hover { 
  @apply text-red-500;
}

.article-link { 
  @apply text-blue-600;
  @apply cursor-pointer;
}

.article-link:hover { 
  @apply text-red-600;
}

.flex-article-div {
  display: flex;
  flex-direction: row;
}

p { 
  @apply text-lg; 
}

@media (max-width: 800px) {
  .flex-article-div {
    flex-direction: column;
  }
  p { 
    @apply text-base;
  }
}
.avatar-tabs {
  align-items: center;
  @apply rounded-lg;
  @apply bg-primary-dark;
  position: relative;
  cursor: pointer;
}

.inactive-avatar-tabs:hover {
  @apply opacity-75;
}

.avatar-tabs:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.3);
}

.active-avatar-tabs {
  @apply bg-yellow-main;
  cursor: default !important;
}

.avatar-content {
  display: none;
}

.active-avatar-content {
  display: block;
}

.coin-link { 
  @apply text-blue-300;
  @apply cursor-pointer;
  @apply underline;
}

.coin-link:hover { 
  @apply text-red-500;
}
@import url('https://fonts.googleapis.com/css?family=Carter+One');

.no-outline-button { 
  @apply outline-none;
}

.no-outline-button:focus { 
  @apply outline-none;
}

.fancy-button::before {
  content: '';
  height: 10%;
  position: absolute;
  width: 30%;
  background: #fff;
  right: 30%;
  top: -3%;
  border-radius: 99px;
}
.fancy-button::after {
  content: '';
  height: 10%;
  position: absolute;
  width: 5%;
  background: #fff;
  right: 20%;
  top: -3%;
  border-radius: 99px;
}
.fancy-round-button {
  border-radius: 45px;
  position: relative;
  cursor: pointer;
  text-decoration: none !important;
  outline: none !important;
  font-family: 'Carter One', sans-serif;
  text-shadow: 2px 2px 1px #0066a2, -2px 2px 1px #0066a2, 2px -2px 1px #0066a2, -2px -2px 1px #0066a2, 0px 2px 1px #0066a2, 0px -2px 1px #0066a2, 0px 4px 1px #004a87, 2px 4px 1px #004a87, -2px 4px 1px  #004a87;
  border: none;
  background: repeating-linear-gradient( 45deg, #3ebbf7, #3ebbf7 5px, #45b1f4 5px, #45b1f4 10px);
  border-bottom: 1px solid rgba(16, 91, 146, 0.5);
  border-top: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
}

.fancy-button { 
  border-radius: 45px;
  position: relative;
  cursor: pointer;
  text-decoration: none !important;
  outline: none !important;
  font-family: 'Carter One', sans-serif;
  border: none;
  color: #fff !important;
  background: repeating-linear-gradient( 45deg, #3ebbf7, #3ebbf7 5px, #45b1f4 5px, #45b1f4 10px);
  box-shadow: 0 3px 0 #1a6b9a, 0 2px 1px 1px rgba(0,0,0,.3);
  text-shadow: 1px 1px 1px #0066a2, -1px 1px 1px #0066a2, 1px -1px 1px #0066a2, -1px -1px 1px #0066a2, 0px 1px 1px #0066a2, 0px -1px 1px #0066a2, 0px 2px 1px #004a87, 1px 2px 1px #004a87, -1px 2px 1px  #004a87;
  border-bottom: 2px solid rgba(16, 91, 146, 0.5);
  border-top: 2px solid rgba(255,255,255,.3);
  padding: 6px 10px 8px; 
  margin: 6px 6px 6px;
}

.fancy-button-active, .small-fancy-button-active { 
   box-shadow: 0 2px 0 #b76113, 0 2px 1px 1px rgba(0,0,0,.3) !important;
 }

.fancy-button:hover, .fancy-round-button:hover, .small-fancy-button:hover {
  background: repeating-linear-gradient( 45deg, #1eaaf7, #1e9bf7 5px, #259df4 5px, #259df4 10px);
}

.fancy-button:active, .fancy-round-button:active, .small-fancy-button:active {
  box-shadow: 0 2px 0 #12517d, 0 2px 1px 1px rgba(0,0,0,.3);
}

.fancy-round-button.small.orange {
  box-shadow: 0 3px 0 #b76113, 0 3px 1px 1px rgba(0,0,0,.3);
}

.fancy-button.small.orange {
  box-shadow: 0 3px 0 #b76113, 0 3px 1px 1px rgba(0,0,0,.3);
  padding: 6px 10px 8px; 
}

.fancy-button.small.orange:active {
  box-shadow: 0 1px 0 #12517d, 0 1px 1px 1px rgba(0,0,0,.3); 
}

.fancy-button.orange, .fancy-round-button.orange {
  background: repeating-linear-gradient( 45deg, #ffc800, #ffc800 5px, #fec000 5px, #fec000 10px);
  box-shadow: 0 3px 0 #b76113, 0 5px 1px 1px rgba(0,0,0,.3);
  text-shadow: 2px 2px 1px #e78700, -2px 2px 1px #e78700, 2px -2px 1px #e78700, -2px -2px 1px #e78700, 0px 2px 1px #e78700, 0px -2px 1px #e78700, 0px 4px 1px #c96100, 2px 4px 1px #c96100, -2px 4px 1px  #c96100;
}
.fancy-button.orange:active, .fancy-round-button.orange:active {
  box-shadow: 0 1px 0 #b76113, 0 2px 1px 1px rgba(0,0,0,.3);
}
.fancy-button.orange:hover, .fancy-round-button.orange:hover {
  background: repeating-linear-gradient( 45deg, #ffa800, #ffa800 5px, #fe9e00 5px, #fe9e00 10px);
}

.fancy-button.red, .fancy-round-button.red {
  background: repeating-linear-gradient( 45deg, #ff4f4c, #ff4f4c 5px, #ff4643 5px, #ff4643 10px);
  box-shadow: 0 3px 0 #ae2725, 0 5px 1px 1px rgba(0,0,0,.3);
  text-shadow: 2px 2px 1px #d72d21, -2px 2px 1px #d72d21, 2px -2px 1px #d72d21, -2px -2px 1px #d72d21, 0px 2px 1px #d72d21, 0px -2px 1px #d72d21, 0px 4px 1px #930704, 2px 4px 1px #930704, -2px 4px 1px  #930704;
}
.fancy-button.red:active, .fancy-round-button.red:active {
  box-shadow: 0 1px 0 #ae2725, 0 2px 1px 1px rgba(0,0,0,.3);
}
.fancy-button.red:hover, .fancy-round-button.red:hover {
  background: repeating-linear-gradient( 45deg, #ee2f4c, #ee2f4c 5px, #ed2725 5px, #ed2725 10px);
}

.fancy-button.green, .fancy-round-button.green {
  background: repeating-linear-gradient( 45deg, #54d440, #54d440 5px, #52cc3f 5px, #52cc3f 10px);
  box-shadow: 0 3px 0 #348628, 0 5px 1px 1px rgba(0,0,0,.3);
  text-shadow: 2px 2px 1px #348628, -2px 2px 1px #348628, 2px -2px 1px #348628, -2px -2px 1px #348628, 0px 2px 1px #348628, 0px -2px 1px #348628, 0px 4px 1px #1d4c16, 2px 4px 1px #1d4c16, -2px 4px 1px #1d4c16;
}
.fancy-button.green:hover, .fancy-round-button.green:hover {
  background: repeating-linear-gradient( 45deg, #34b440, #34b440 5px, #42ac3f 5px, #42ac3f 10px );
}
.fancy-button.green:active, .fancy-round-button.green:active {
  box-shadow: 0 1px 0 #348628, 0 2px 1px 1px rgba(0,0,0,.3);
}

@media only screen and (min-width: 768px) {
  .fancy-button { 
    box-shadow: 0 6px 0 #1a6b9a, 0 5px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button:active { 
    box-shadow: 0 3px 0 #1a6b9a, 0 2px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.orange, .fancy-round-button.orange {
    box-shadow: 0 6px 0 #b76113, 0 5px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.orange:active, .fancy-round-button.orange:active {
    box-shadow: 0 3px 0 #b76113, 0 2px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.red, .fancy-round-button.red {
    box-shadow: 0 6px 0 #ae2725, 0 5px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.red:active, .fancy-round-button.red:active {
    box-shadow: 0 3px 0 #ae2725, 0 2px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.green, .fancy-round-button.green {
    box-shadow: 0 6px 0 #348628, 0 5px 1px 1px rgba(0,0,0,.3);
  }
  .fancy-button.green:active, .fancy-round-button.green:active {
    box-shadow: 0 3px 0 #348628, 0 2px 1px 1px rgba(0,0,0,.3);
  }
}
.puzzles-active {
	will-change: filter;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}

.invisible { 
  visibility: hidden;
}

.pointer-none { 
	pointer-events:none;
}

.done-img { 
	transition: opacity 1.4s;
	opacity: 0;
}

.done-img-init { 
	opacity: 1;
}

.hint-img { 
	opacity: 0.5;
}
/* colors */
/* tab setting */
/* breakpoints */
/* selectors relative to radio inputs */
/* line 51, app/assets/stylesheets/login.scss */
html {
  width: 100%;
  height: 100%;
}

/* line 56, app/assets/stylesheets/login.scss */
body {
  font-family: "Bitter";
  height: 100%;
  margin: 0px;
}

/* line 60, app/assets/stylesheets/login.scss */
body h1 {
  font-weight: 300;
  padding: 40px 0 20px 0;
  margin: 0;
}

/* line 68, app/assets/stylesheets/login.scss */
.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  padding-bottom: 1em;
  width: 100%;
  min-width: 120px;
}

/* line 75, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"] {
  display: none;
}

/* line 79, app/assets/stylesheets/login.scss */
.tabs .content section h2,
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  color: #428BFF;
}

/* line 86, app/assets/stylesheets/login.scss */
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* line 96, app/assets/stylesheets/login.scss */
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 50%;
  padding: 0 10px;
  text-align: center;
}

/* line 103, app/assets/stylesheets/login.scss */
.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
}

/* line 115, app/assets/stylesheets/login.scss */
.tabs ul li label br {
  display: none;
}

/* line 119, app/assets/stylesheets/login.scss */
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}

/* line 127, app/assets/stylesheets/login.scss */
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}

/* line 132, app/assets/stylesheets/login.scss */
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
  fill: #bec5cf;
}

/* line 140, app/assets/stylesheets/login.scss */
.tabs .slider {
  position: relative;
  width: 50%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

/* line 144, app/assets/stylesheets/login.scss */
.tabs .slider .indicator {
  position: relative;
  width: 100px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #428BFF;
  border-radius: 1px;
}

/* line 156, app/assets/stylesheets/login.scss */
.tabs .content {
  margin-top: 30px;
}

/* line 159, app/assets/stylesheets/login.scss */
.tabs .content section {
  display: none;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height: 1.4;
}

/* line 170, app/assets/stylesheets/login.scss */
.tabs .content section h2 {
  color: #428BFF;
  display: none;
}

/* line 173, app/assets/stylesheets/login.scss */
.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #428BFF;
  margin-top: 5px;
  left: 1px;
}

/* line 189, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  color: #428BFF;
}

/* line 193, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
  fill: #428BFF;
}

@media (max-width: 300px) {
  /* line 189, app/assets/stylesheets/login.scss */
  .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}

/* line 40, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}

/* line 44, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}

/* line 189, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  color: #428BFF;
}

/* line 193, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
  fill: #428BFF;
}

@media (max-width: 300px) {
  /* line 189, app/assets/stylesheets/login.scss */
  .tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}

/* line 40, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}

/* line 44, app/assets/stylesheets/login.scss */
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}

@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@media (max-width: 500px) {
  /* line 216, app/assets/stylesheets/login.scss */
  .tabs ul li label {
    white-space: initial;
  }
  /* line 219, app/assets/stylesheets/login.scss */
  .tabs ul li label br {
    display: initial;
  }
  /* line 223, app/assets/stylesheets/login.scss */
  .tabs ul li label svg {
    height: 1.5em;
  }
}

@media (max-width: 300px) {
  /* line 230, app/assets/stylesheets/login.scss */
  .tabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }
  /* line 234, app/assets/stylesheets/login.scss */
  .tabs ul li label span {
    display: none;
  }
  /* line 239, app/assets/stylesheets/login.scss */
  .tabs .slider {
    display: none;
  }
  /* line 243, app/assets/stylesheets/login.scss */
  .tabs .content {
    margin-top: 20px;
  }
  /* line 245, app/assets/stylesheets/login.scss */
  .tabs .content section h2 {
    display: block;
  }
}
.noah-quest-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0px;
  margin: 0px;
}

.card {
  position: relative;
  width: 16vmin;
  height: 20vmin;
  transition: transform 0.5s ease-in-out;
  transform-style: preserve-3d;
  cursor: pointer;
  margin: .5em;
}

@media screen and (max-width: 800px) {
  .card {
    position: relative;
    width: 20vmin;
    height:25vmin;
    transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;
    cursor: pointer;
    margin: .3em;
  }
}

.double-sided-card { 
  position: relative;
  transition: transform 0.5s ease-in-out;
  transform-style: preserve-3d;
  cursor: pointer;
}

.front {
  position: absolute;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
  border: 1px solid gray;
  

}

.back {
  position: absolute;
  display: flex; 
  flex-direction: column;
  justify-content: center;

  border: 1px solid gray;
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
}

.flipped {
  transform: rotateY(-180deg);
}

.front:hover {
  box-shadow: 0px 0px 2px 0px #000;
}


.back:hover {
  box-shadow: 0px 0px 2px 1px #000;
}


.invisible { 
  visibility: hidden;
}

input[type="radio"] + label span {
  transition: background .2s,
    transform .2s;
}

input[type="radio"] + label span:hover,
input[type="radio"] + label:hover span{
  transform: scale(1.2);
} 

input[type="radio"]:checked + label span {
  @apply bg-primary-color;
  box-shadow: 0px 0px 0px 2px white inset;
}

input[type="radio"]:checked + label{
  @apply text-white;
}


.resizeable-text {
  width: fit-content;
  height: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height:  1.2;
  overflow: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.answer-container { 
  flex-direction: column;
  height: 60%;
}

.question-container { 
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.question-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.answer-button {
  color: white;
  padding: 6px 3px 6px 3px; 
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  box-shadow: 0 6px #bb751a;
  margin:  auto;
  letter-spacing: 0.1em;
  font-size: 1em;
}

.answer-button.correct {
  background-color: #60b709;
  box-shadow: none;
  border: 0.2em solid #fff;
  @apply rounded-lg;
  cursor: default;
}

.answer-button.wrong {
  background-color: #d72c3e;
  box-shadow: none;
  border: 0.2em solid #fff;
  @apply rounded-lg;
  cursor: default;
}

.answer-button.one {
  background-color: #e2ac49;
  box-shadow: 0 4px #bb751a;
}

.answer-button.one:active {
  box-shadow: 0 3px #bb751a;
  transform: translateY(4px);
}

.answer-button.two {
  background-color: #FF7A5A;
  box-shadow: 0 4px #bf482b;
}

.answer-button.two:active {
  box-shadow: 0 3px #bf482b;
  transform: translateY(4px);
}

.answer-button.three {
  background-color: #00AAA0;
  box-shadow: 0 4px #027a73;
}

.answer-button.three:active {
  box-shadow: 0 3px #027a73;
  transform: translateY(4px);
}

.answer-button.four {
  background-color: #3e71c2;
  box-shadow: 0 4px #2f548f;
}

.answer-button.four:active {
  box-shadow: 0 3px #2f548f;
  transform: translateY(4px);
}

.answer-button.five {
  background-color: #5e2d5e;
  box-shadow: 0 4px #3e1d3e;
}

.answer-button.five:active {
  box-shadow: 0 3px #3e1d3e;
  transform: translateY(4px);
}

@media only screen and (min-width: 640px) {
  .resizeable-text {
    font-size: 24px;
    font-weight: 400;
    overflow: auto;
  }
}

@media only screen and (min-width: 768px) {
  .answer-button {
    padding: 40px 12px 25px 12px; 
  }
  .answer-button.one {
    box-shadow: 0 6px #bb751a;
  }

  .answer-button.two {
    box-shadow: 0 6px #bf482b;
  }

  .answer-button.three {
    box-shadow: 0 6px #027a73;
  }

  .answer-button.four {
    box-shadow: 0 6px #2f548f;
  }

  .answer-button.five {
    box-shadow: 0 6px #3e1d3e;
  } 
}


@media only screen and (min-width: 1200px) { 
  .answer-container { 
    flex-direction: row;
    height: 55%;
  }
  .question-container { 
    height: 45%;
  }
  .answer-button {
    padding: 24px 8px 12px 8px;    
  }
  .answer-button.one {
    background-color: #e2ac49;
    box-shadow: 0 4px #bb751a;
  }

  .answer-button.two {
    background-color: #FF7A5A;
    box-shadow: 0 4px #bf482b;
  }

  .answer-button.three {
    background-color: #00AAA0;
    box-shadow: 0 4px #027a73;
  }

  .answer-button.four {
    background-color: #3e71c2;
    box-shadow: 0 4px #2f548f;
  }

  .answer-button.five {
    background-color: #5e2d5e;
    box-shadow: 0 4px #3e1d3e;
  }
  .resizeable-text {
    font-size: 32px;
    font-weight: 500;
    overflow: auto;
  }
}

@media (hover:  hover){ 
  .answer-button:hover {
    opacity: 0.75;
  }
  .answer-button.correct:hover, .answer-button.wrong:hover {
    opacity:  1;
  }
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@tailwind base;
@tailwind components;
@tailwind utilities;

@theme {
  --color-primary-color: #32e1d4;
}

a {
  text-decoration: none;
}

p { 
  font-family: "Bitter";
}

.generic-text {
  font-family: "Bitter";
}

.homepage-heading { 
  text-align: center;
  @apply font-bold;
  letter-spacing: 0.04em !important;
  @apply text-lg;
  @apply sm:text-xl; 
  @apply md:text-2xl;
  @apply py-4;
  @apply md:py-6;
}

.page-heading {
  font-family: 'Luckiest Guy', cursive;
  letter-spacing: 0.04em !important;
  /* Font rendering optimization */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Prevent text distortion at different zoom levels */
  transform: translateZ(0);
}

.flex-container {
  margin-top:  10px;
  width: 80%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.flex-container > div {
  margin: 10px;
  padding: 10px;
}

.table-container {
  margin-top:  20px;
  width: 80%;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.sharing-text {
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  box-sizing: border-box;
  outline: none;
  font-family: "Bitter";
}

input[type=text], input[type=password], input[type=email], input[type=username] ,select {
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  box-sizing: border-box;
  font-family: "Bitter";
}

input[type=submit] {
  font-family: "Luckiest Guy";
  width: 80%;
  background-color: #d91c37;
  color: white;
  padding: 40px 12px 25px 12px;
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  box-shadow: 0 9px #a01c37;
  margin:  auto;
  letter-spacing: 0.1em;
  font-size: 1em;
}

input[type=submit]:hover:enabled {
  background-color: #d23c6a;
}

input[type=submit]:disabled {
  cursor: not-allowed;
}

input[type=submit]:active {
  background-color: #f181c0;
  box-shadow: 0 5px #9d0765;
  transform: translateY(4px);
}

.nifty_form {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.admin_button {
  background-color: #4997d0 ; 
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 10px 10px 10px;
}

.craft-container { 
  background-color: #5ad6cd ; 
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.craft_tutorial_button {
  background-color: #C70A80 ; 
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 12px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 10px 10px 10px;
}

.craft_tutorial_button:hover { 
   background-color: #2b5169;
 }

#admin_table {
  width: 80%;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

#admin_table td, #admin_table th {
  border: 1px solid #ddd;
  padding: 4px;
}

#admin_table tr:nth-child(even){background-color: #f2f2f2;}

#admin_table tr:hover {background-color: #ddd;}

#admin_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4997d0;
  color: white;
}

.admin_icon { 
  width: 200px;
}

.admin_url { 
  color: royalblue;
}

.admin_url:hover { 
  color: darkblue;
}

.logo-container {
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  justify-content: center;
  align-items: center;
}

.form-container { 
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.admin-form-container { 
  display: flex;
  flex-direction: row;
  padding:  .5em;
}

.omniauth-container { 
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: center;
  align-items: center;

}

.card-div { 
  padding-top: 2em;
  padding-bottom: 1em;
  background-color: #CDF0EA;
  width: 650px;
  border-radius: 15px;
}

.form-field { 
  width: 85%;
}

.form-box { 
  display: inline-block;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  border-radius: 0.5em;
}

.form-margin {
  margin-bottom:  1em;
}

.logo-icon { 
  display: block;
  max-width:15%;
  min-width:200px;
  width: 50vmin;
  padding: 0px;
  text-align: center; 
}

.flex-center {
    align-items: center;
    text-align: center;
    margin: auto;
    width:  95%;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: auto;
    width:  100%;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
}
.separator::before {
    margin-right: .25em;
}
.separator::after {
    margin-left: .25em;
}

.form-field { 
  width: 520px;
}

input[type=submit] {
  min-width: 100px;
  width: 48%;
}

.flex-container {
  margin-top:  20px;
}

.flex-container > div {
  margin: 20px;
  padding: 20px;
}

.login-container { 
  background-color: #5ad6cd;
  min-height: 100vh;
  padding-top: 4em;
}
.card-title-div {
  padding-top: 1em;
  padding-bottom: 2em;
}

.social-media-btn {
  width: 250px;
  height: 44px;
  border-radius: 0.2em;
}
.facebook-btn { 
  background-color: #4C69BA;

}
.google-btn { 
  background-color: #4285f4;
}
.social-media-wrapper {
  position: absolute;
  margin-top: 2px;
  margin-left: 1px;
  width: 40px;
  height: 40px;
  border-radius: 2px;
}
.google-wrapper {
  background-color: #fff;

}

.facebook-wrapper {
  background-color: #4C69BA;
  border-right-width:  1px;
  border-color: #fff;
}

.social-media-icon {
  position: absolute;
  margin-top: 10px;
  margin-left: 10px;
  width: 18px;
  height: 18px;
}
.btn-text {
  margin-left: 55px;
  color:#fff;
  font-size: 20px;
  letter-spacing: 0.2px;
  font-family: "Roboto";
  line-height: 40px;
}

.social-media-btn:hover {
  box-shadow: 0 0 6px #4C69BA;
}

.heading1-text { 
  font-family: "Luckiest Guy";
  font-size: 4em;
  letter-spacing: 0.05em;
}
.heading2-text { 
  font-family: "Luckiest Guy";
  font-size: 3em;
}

.heading3-text { 
  font-family: "Luckiest Guy";
  font-size: 2.5em;
}

.action_button {
  width: 200px;
  background-color: #C70A80;
  color: white;
  padding: 24px 8px 12px 8px;
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  box-shadow: 0 9px #ac076e;
  margin:  auto;
  letter-spacing: 0.1em;
  font-size: 1em;
  text-decoration:none; 
}

.action_button:hover:enabled {
  background-color: #cc3694;
}

.action_button:disabled {
  cursor: not-allowed;
}

.action_button:active {
  background-color: #f181c0;
  box-shadow: 0 5px #9d0765;
  transform: translateY(4px);
}

/* tablet */ 
@media only screen and (min-width:601px) and (max-width: 1000px) {
  .heading1-text { 
    font-family: "Luckiest Guy";
    font-size: 3em;
    letter-spacing: 0.03em;
  }
  .heading2-text { 
    font-family: "Luckiest Guy";
    font-size:2.5em;
  }

  .heading3-text { 
    font-family: "Luckiest Guy";
    font-size: 2em;
  }
  .login-container { 
    padding-top: 2em;
  }
  .card-div { 
    width: 90%;
  }
}
/* mobile */
@media only screen and (max-width: 600px) {
  .card-title-div {
    padding-top: 1em;
    padding-bottom: 1.5em
  }
  .social-media-btn {
    width: 250px;
    height: 40px;
    border-radius: 0.2em;
  }
  .social-media-wrapper {
    position: absolute;
    margin-top: 0.5px;
    width: 40px;
    height: 38px;
    border-radius: 2px;
  }

  .form-field { 
    width: 90%;
  }
  .form-margin {
    margin-bottom:  0em;
  }
  .card-div { 
    width: 95%;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .omniauth-container{ 
    flex-direction: column;
  }
  .login-container { 
    padding-top: 0em;
  }

  .btn-text {
    margin-left: 55px;
    color:#fff;
    font-size: 18px;
    letter-spacing: 0.2px;
    font-family: "Roboto";
    line-height: 36px;
  }

  input[type=text], input[type=password], input[type=email], input[type=username] ,select {
    padding: 8px 5px;
    margin: 4px 0;
    display: inline-block;
    line-height: 1;

  }
  input[type=submit] {
    width: 90%;
    padding: 24px 8px 12px 8px;
  }
  .heading1-text { 
    font-family: "Luckiest Guy";
    font-size: 2.5em;
    letter-spacing: 0.02em;
  }

  .heading2-text { 
    font-family: "Luckiest Guy";
    font-size: 1.8em;
  }

  .heading3-text { 
    font-family: "Luckiest Guy";
    font-size: 1.5em;
  }
  .action_button {
    width: 75%;
  }
}


