/* === BUTTON STYLE === */
.btn-primary-search {
  background-color: #588760;
  color: white;
  float: right;
  border-radius: 25px;
  padding: 8px 20px;
  border: none;
  transition: all 0.3s ease-in-out;
}

.btn-primary-search:hover {
  background-color: #A7D7B0;
  transform: scale(1.05);
}

/* === CARD STYLES === */
.card-header {
  font-family: 'Courier New', Courier, monospace;
  color: #FFFFFF;
  font-size: 150%;
  font-weight: bold;
  background: #588760;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-img-top {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  height: auto;
}

.card-text-eng {
  background: #ADD8E6;
}

.card-text-tag {
  background: #FFCCCB;
}

/* === PAGE BASICS === */
body {
  background: #ffff;
  letter-spacing: 2px;
  min-height: 101vh;
}

a:hover, a:active {
  text-decoration: none;
}

input[type="text"], select {
  outline: none;
}

.col-xs-1 {
  padding: 0;
}

/* === HEADER (h1) STYLE + ANIMATION === */
h1 {
  font-family: 'Courier New', Courier, monospace !important;
  color: #ffffff !important;
  font-size: 400% !important;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  text-shadow: -1px 1px 0 #000,
               1px 1px 0 #000,
               1px -1px 0 #000,
               -1px -1px 0 #000;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeZoomIn 1.5s ease-out forwards;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* === SUBHEADERS === */
h2, h3 {
  font-family: 'Courier New', Courier, monospace;
  color: #006CA5;
  font-weight: bold;
  letter-spacing: 1px;
}

/* === HEADER BACKGROUND === */
header.container-fluid {
  margin: 0;
  background-image: url("../uploads/home.png");
  background-size: cover;
  box-shadow: 0 0px 3px 3px rgba(0,0,0,.4);
  height: 100vh;
  min-height: 150px;
}

/* === CONTAINER === */
.container {
  max-width: 720px;
  margin: auto;
  padding: 0 50px;
}

/* === LIST / CARD ITEM === */
ul {
  padding: 0;
}

li {
  letter-spacing: 0;
  padding: 30px;
  list-style: none;
  min-height: 200px;
  background: #fff;
  margin: 50px auto;
  text-align: left;
  transition: box-shadow .2s ease-out .2s;
  word-spacing: 2px;
}

li > h3 {
  margin-top: 0;
  color: #E35865;
  line-height: 2;
  font-size: 28px;
}

li > p {
  color: #666;
  line-height: 2;
}

li:hover {
  box-shadow: 0 0 15px 15px rgba(0,0,0,.1);
}

/* === MODERN SEARCH BAR === */
.form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border: 2px solid #000000;
  border-radius: 50px;
  background-color: #A7D7B0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.form:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
  border-color: #222222;
}

/* SEARCH INPUT FIELD */
input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 50px;
  color: #00000;
  background: transparent;
  letter-spacing: 1px;
  word-spacing: 5px;
  font-family: 'Arvo', sans-serif;
}

/* SEARCH ICON BUTTON */
button, .glyphicon-search {
  border: none;
  background: #A7D7B0;
  color: #A7D7B0;
  font-size: 20px;
  border-radius: 50%;
  padding: 8px;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover, .glyphicon-search:hover {
  background: #588760;
  color: #FFFFFF;
  transform: scale(1.1);
}

/* === PLACEHOLDER COLOR === */
::-webkit-input-placeholder { color: #f0f0f0; opacity: 1; }
:-moz-placeholder { color: #f0f0f0; opacity: 1; }
::-moz-placeholder { color: #f0f0f0; opacity: 1; }
:-ms-input-placeholder { color: #f0f0f0; opacity: 1; }

/* === SEARCH BOX === */
#searchBox {
  padding-top: 40vh;
}

/* === GLYPHICON ICONS === */
.glyphicon {
  color: #000000;
  font-size: 20px;
  line-height: 25px;
}

.glyphicon-search {
  cursor: pointer;
}

/* === TEXT BAR === */
.bar {
  vertical-align: super;
  font-weight: 700;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
}

/* === MAIN BODY FONT === */
/* 🌟 SEARCH RESULTS BACKGROUND ADDED HERE 🌟 */
#mainBody {
  font-family: 'Montserrat', sans-serif;
  font-size: 100% !important;

  /* ⭐ NEW BACKGROUND ⭐ */
  background: linear-gradient(120deg, #90ee90, #90ee90);
  padding: 40px 20px;
  min-height: 100vh;
  border-radius: 20px;
}

/********* MEDIA QUERY ***********/
@media screen and (max-width: 420px) {
  #searchBar, .glyphicon {
    font-size: 16px;
  }

  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 28px;
  }
}
