/*
  File: style.css
  Author: Jackson Champion
  Date: 2025-07-26
  Course: CPSC 3750 – Web Application Development
  Purpose: Style Sheets for all webpages on my site.
  Notes: Uses Simple and custom CSS styles.
*/

body {
    font-size: 12pt;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: black;
    line-height: 14pt;
    padding-left: 5pt;
    padding-right: 5pt;
    padding-top: 5pt;
    margin: 10px;
    padding: 10px;
}

h1 {
    font-size: 16pt;
    font-weight: bold;
    line-height: 20pt;
    color: #333
}

h2 {
    font-size: 14pt;
    font-weight: bold;
    line-height: 20pt;
}

h4 {
    font-size: 14pt;
    font-weight: bold;
    line-height: 20pt;
    color: #6c066c;
}

il {
  margin-bottom: 30px;
}

#buttonContainer {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   padding: 20px;
   border: 3px solid;
   justify-content: center;
   background-color: black;
   max-height: 150px;
}

footer {
    font-size: 9pt;
    font-style: italic;
    line-height: 12pt;
    text-align: center;
    padding-top: 30pt;
    background-color: #522D80;
    color: white;
    padding: 20px;
    border-top: 5px solid #F56600;
    margin-top: 40px;
}

aside {
    padding: 10px;
    font-style: italic;
}

.pet-footer {
    text-align: left;
    margin: 20px;
    font-style: italic;
    font-size: 10pt;
}

.grey-text {
    color: grey;
    font-weight: bold;
}

.orange-text {
    color: orange;
    font-weight: bold;
}

.lemon-text {
    color: #fef250;
    font-weight: bold;
}

.title {
    font-size: 16pt;
    color: blue;
    font-weight: bold;
}

.subtitle {
    font-size: 14pt;
    color: orange;
    font-weight: bold;
}

.img-dimensions {
    max-width: 300px;
    margin: 20px;
    border-radius: 8px;
}

.button-container {
    margin-top: 20px;

}

.counter-container{
    font-size: 12pt;
    margin-bottom: 3em;
    font-weight: bold;
}

.color-button{
    background-color: black;
    color: white;
    border: none;
    padding: 10px;
    margin: 10px;
    font-size: 8pt;
}

button {
  background-color: black;
  color: white;
  padding: 10px 15px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block; 
  margin: 5px;
  color:white;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.button-link {
  display: inline-block;      
  padding: 10px 20px;         
  margin: 5px;                
  background-color: black;   
  color: white;                
  text-decoration: none;
  font-weight: bold; 
  border: none;               
  border-radius: 5px;         
  font-size: 16px;          
  text-align: center;      
  cursor: pointer;             
  transition: background-color 0.3s ease;
}


button:hover, #addTitleBtn:hover, a.button-link:hover {
  background-color: aqua;
}


nav {
    background-color: #522D80; 
    padding: 15px;
    text-align: left;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    display: inline-block;
}

nav a:hover {
    text-decoration: underline;
    color: #FFD700; 
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
}

.dropdown-content a {
  color: black;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.search-container {
  display: inline-block;
}

.search-box {
  padding: 10px;
  border-radius: 4px;
  font-size: 12pt;
}

.search-btn {
  padding: 12px;
  background-color: #F56600;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #D35400;
}

.controls {
  padding: 15px;
  background-color: white;
  display: flex;
}

.viewingArea {
  width: 100%;
  height: 75vh;
  background-color: #666666;
  color: white;
  position:relative;
  overflow: hidden;
  border: 5px solid #522D80;
}

.sumDisplay {
  font-size: 16px;
  font-weight: bold;
  margin-left: auto;
  color: #333;
}

.viewingArea button {
  position: absolute;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

#cardForm {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  margin: 5px;
  box-shadow: 0 2px 8px 
}

#cardOutput {
  max-width: 600px;
  margin: 0;
  padding: 10px;
}

label {
  margin-bottom: 10px;
  font-weight: bold;
  color: black;
}

.audioOutput {
  font-weight: bold;
  color: darkblue;
  margin-top: 5px;
}

.hoverDiv {
  border: 2px solid black;
  padding: 10px;
  margin: 10px;
  background-color: white;
  border-radius: 5px;
}

.ui-progressbar-value {
  background: #0375ee;
  border-radius: 5px;
}

#wordToGuess {
   margin: 20px;
   font-size: 24px;
}

#letters {
   display: grid;
   grid-template-columns: 50px 50px 50px 50px 50px;
   gap: 10px;
   justify-content: center;
   max-width: 300px;
   margin: 0px auto;
}

#hangmanImage {
   width: 200px;
   height: auto;
   display: block;
   margin: 0 auto;
}

#letters button {
   margin: 5px;
   padding: 10px;
   width: 40px;
}

.hidden {
   visibility: hidden;
}

#hangman {
   text-align: center;
   margin-top: 30px;
}

#addTitleBtn {
    background-color:rgb(238, 84, 84);
    color:white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#addTitleBtn:disabled {
  background-color: grey; 
  color: white;               
  cursor: not-allowed;
  opacity: 0.8;              
}

.textAreaInput {
  width: 400px;
  height: 100px;
}

.card {
  border: 1px solid;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  width: 200px;
  cursor: pointer;
}

.card img {
  width: 100%;
}

#details {
  margin-top: 20px;
  border-top: 2px solid black;
  padding-top: 20px;
}

.page-wrap {
  width: 95%;
  max-width: 1200px;
  margin: 20px auto;
  background: whitesmoke;
  padding: 20px;
  box-shadow: 0px 2px 8px black;
}

.pet {
  display: flex;
  background: #FFF;
  margin-bottom: 20px;
  border: 1px solid white;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.pet h2 {
  font-weight: normal;
  margin: 0;
  font-size: 2.5rem;
}

.pet h2 .species {
  font-size: 1.45rem;
  color: #999;
}

.photo-column {
  width: 30%;
  float: left;
}

.photo-column img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.info-column {
  width: 70%;
  box-sizing: border-box;
  padding-left: 20px;
  float: left;
}

.info-column h2 {
  margin: 0;
  font-size: 1.4em;
  line-height: 1.2;
  color: black;
  font-weight: bold;
}

.info-column .species {
  display: inline;
  font-weight: normal;
  color: grey;
  font-size: 0.9em;
  margin-left: 6px;
}

.headline-bar {
  background-color: #ccc; 
  padding: 8px 15px;
  margin: 0;
  font-weight: bold;
  font-size: 1rem;
  box-sizing: border-box;
  width: 100%;
}

.favorite-foods {
  background-color: #EFEFEF;
  padding: 0;
  margin: 0;
}

.favorite-foods li {
  list-style: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 15px;
  font-size: 1rem;
  background-color: #f4f4f4;
  width: 100%;
  box-sizing: border-box;
}

.word-item {
  padding: 5px;
  border-bottom: 1px solid white;
}

section {
  background-color: #f9f9f9;  
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
   box-shadow: 0 2px 8px;
}

#word-list {
  height: 500px;
  width: 500px;
  overflow: scroll;
  border: 1px solid #ccc;
  padding: 10px;    
  background: white;
  list-style: none;
  margin: 0;         
}

#word-list li {
  padding: 2px 0;  
  margin: 0;
  font-size: 16px;
  line-height: 1.4; 
}

.auth-buttons {
  position: absolute; 
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px; /* space between Login & Register */

}

table {
  border: 1px solid black;
  border-collapse: collapse;
  margin-top: 1rem;
}

th {
  border: 1px solid black;
  padding: 6px;
  font-weight: bold;
  background: #ccc;
}

td {
  border: 1px solid black;
  padding: 6px;
  vertical-align: top;
  width: 100px;
}



