html {
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100%;
    background: #061d33;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.no-js-message {
    color: white;
    position: absolute;
    width: 100%;
    padding: 50px;
    background: #000000e0;
    border-radius: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

p {
    font-weight: 600;
}

ul {
    text-align: left;
    margin-top: 20px;
    padding: 0 20px;
}

li > button {
    font-weight: 800; 
    background: none;
    border: none;
    float: right;
    color: #ffffff94;
}

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

.page-title {
    padding: 50px 0;
    font-weight: bold;
}

.page-title h1 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0;
    font-family: 'Adamina', 'Georgia', serif;
    letter-spacing: 5px;
    font-size: 30px;
}

.input-group {
	margin-bottom: 5px;
}
.social-share-buttons a {
  text-decoration: none;
}

.share-tool-section {
	text-align: center;
}

.share-tool-section .social-share-buttons {
    padding: 10px 20px;
    background: none;
}

.share-tool-section .social-share-buttons a {
    color: #ffffff99;
    padding: 8px;
}

.share-tool-section .social-share-buttons a i {
    border: 1px solid #ffffff21;
    padding: 10px;
    border-radius: 6px;
}


/* App styles */

.vocabulary-builder-app {
    margin-bottom: 40px;
}

.app-container {
    max-width: 500px;
    margin-right: auto;
	margin-left: auto;
    background: white;
    text-align: center;
    overflow: hidden;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	position: relative;
}


#reset-btn {
  background: none;
  color: #888;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
  position: absolute;
  right: 0;
  bottom: 0;
}

#reset-btn:hover {
  background: #f0f0f0;
}

.flashcard-container {
  margin-bottom: 30px;
}

.flashcard {
  width: 100%;
  max-width: 100%;
  height: 220px;
  perspective: 1000px;
  margin: 0 auto 25px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.flashcard:hover {
  transform: scale(1.02) rotateZ(-0.5deg);
}

.flashcard .front,
.flashcard .back {
	background-color: #061d33;
    background-image: url('images/bg-texture.png');
    background-repeat: repeat;
    color: #ffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0px 3px 9px rgb(0 0 0 / 22%), 0 0 5px rgba(6, 29, 51, 0.05);
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    font-size: 20px;
    letter-spacing: 0.3px;
    font-weight: 600;
    display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s ease;
}

.flashcard .back {
  transform: rotateY(180deg);
}

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

.flashcard.flipped .back {
  transform: rotateY(360deg);
  background-color: #ffffff;
  color: #061d33;
}

.definition-example {
	display: block;
    margin-top: 8px;
    font-size: 16px;
	color: #061d33de;
}

.card-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.card-controls button {
  background: none;
  color: #061d33;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.card-controls button:hover {
  background: #f0f0f0;
}

.card-status {
  font-size: 14px;
  color: #555;
  margin-bottom: 25px;
}

.card-status button {
  margin-left: 10px;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  background: none;
  color: #555;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.card-status button:hover {
  background: #eee;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #061d33;
}

.filter-controls input[type="radio"] {
  margin-right: 6px;
}

.add-word-form {
  text-align: left;
  margin-top: 30px;
  position: relative;
}

.add-word-form h3 {
  font-size: 18px;
  color: #061d33;
  margin-bottom: 15px;
}

.add-word-form input,
.add-word-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.add-word-form textarea {
  resize: vertical;
  height: 80px;
}

.add-word-form button {
  background: #061d33;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-word-form button:hover {
  background: #0a2b4d;
}


/* End App styles */


footer {
    padding: 15px 20px;
    color: #ffffff6e;
    font-family: sans-serif;
    text-align: center;
    font-size: 15px;
    letter-spacing: .2px;
}

footer a {
    color: #ff9901;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

footer .made-by {
    color: white;
}

footer .footer-copyright {
    font-size: 14px;
    line-height: 1.4;
    font-weight: lighter;
}
