@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

body {
  font: 1.8em "Lucida Grande", Helvetica, Arial, sans-serif;
}

#themeholder {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.right {
    width: 100%;
    max-width: 600px;
}

#themeholder .left {
    flex: 0 0 auto;
    width: calc(25% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
}

#themeholder .left.p1 {
    padding: 0;
    margin: 0;
}

#themeholder img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#themeholder img:hover {
    transform: scale(1.4);
}

a {
  color: #00B7FF;
}

button {
    font-size: 0.6em;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #00B7FF;
    background-color: white;
    color: #00B7FF;
    cursor: pointer;
    transition: all 0.3s ease;
    /*width: 100%;*/
    margin: 0;
}

button:disabled {
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

button:hover {
    background-color: #00B7FF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

button.touch-active {
  transform: scale(0.95);
  background-color: #0090cc;
  color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

a.social {
  text-decoration: none;
  font-size:50px;
  color: red;
}
.main {
  background-image: linear-gradient(rgba(255,255,255,0) 60%, rgba(255,255,255,1)), url('/images/guru_bg_1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#answer {
    font-style: italic;
    font-family: Times, Garamond;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin: 15px 0;
    /* Styling the scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #00B7FF rgba(0, 183, 255, 0.1);
}

/* Webkit scrollbar styling (Chrome, Safari, newer Edge) */
#answer::-webkit-scrollbar {
    width: 8px;
}

#answer::-webkit-scrollbar-track {
    background: rgba(0, 183, 255, 0.1);
    border-radius: 4px;
}

#answer::-webkit-scrollbar-thumb {
    background-color: #00B7FF;
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

#answer::-webkit-scrollbar-thumb:hover {
    background-color: #0090cc;
}

.content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.h1, .h2, .h3, .h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.rounded {
  border-radius: 8px;
}

.border-1 {
  border: 1px solid #f20606;
}

.text-red {
  color: #f20606;
}

.w-125 {
  width: 125px;
}

#tweetholder {
    display: inline-block;
    margin-right: 10px;
}

#copy-quote {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

#learn-more {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    color: black;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

@media (max-width: 800px) {
  body {
    font-size: 16px; /* More readable base font size */
    margin: 0;
    padding: 0;
  }

  .main {
    width: 100vw; /* Full viewport width */
    min-height: 100vh; /* Full viewport height */
    border: 0;
    padding: 10px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #themeholder {
    flex-wrap: wrap;
    max-width: 100%;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  #themeholder .left {
    flex: 0 0 calc(50% - 20px); /* Two buttons per row */
    margin-bottom: 10px;
  }

  #themeholder img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  button {
    font-size: 0.8em;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    max-width: 200px; /* Limit button width */
  }

  .content {
    width: 100%;
    max-width: 100%;
    padding: 10px;
  }

  .content .h1 {
    font-size: 1.2em;
    padding: 15px;
    margin-bottom: 15px;
  }

  #answer {
    font-size: 1.5em;
    max-height: 250px;
    padding: 15px;
    margin: 10px 0;
    line-height: 1.4;
    word-wrap: break-word; /* Prevent text overflow */
  }

  #tweetholder {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 400px) {
  #themeholder .left {
    flex: 0 0 100%; /* Single button per row on very small screens */
  }

  button {
    font-size: 0.9em;
    padding: 15px 20px;
  }

  #answer {
    font-size: 1.3rem;
  }
}

@media (min-width: 1000px)  {
  .main {
    width: 900px;
    border: 0px;
    padding:5px;
  }
  .content {
    height: 600px;
    padding: 5px;
  }
  #answer {
    font-size: 1.6rem;
    min-height: 100px;
  }
  #footer {
    width: 900px;
  }
}
