/*
*****
***** 
*****General style for index.html 
*****and a several other pages
*****
*****
*****
*/

/*wildcard, style shapes general page layout */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
/* header elements with this id styled*/
#myHeader {
  position: fixed;
  top: 0;
  width: 100%;
}
/* header behaviour when page is scrolled*/
#myHeader.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(3, 44, 36, 0.266);
  z-index: 9999;
}

/* Style around the logo, brand name*/
.navbar-brand {
  font-family: 'Yu Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* Caution!! this affect the style of all 
    elements in many pages with the btn class
    .btn{
        background-color: rgb(237, 106, 6);
        color: white;
        border-color: transparent;
  }*/

  /* Styles the page main title */
  .jumbotron.menu {
  margin-top: 100px;
}


/*Media querries starts
**
**/


/* style that collaspses header into fas 
fa icon at under 991px screens*/
@media screen and (max-width: 991px) {
  .header-links {
    display: none;
  }
  .header-links.show {
    display: block;
  }
  .header-links.show .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-links.show .nav-item {
    margin: 15px 6px;
  }
  .jumbotron.menu {
    margin-top: 100px;
  }
  .display-4{
    font-size: 71px;
  }
  
}/* style that collaspses header into fas fa ends*/

/* querry style for page title under 768px screen */
@media (max-width: 768px) {
  .jumbotron.menu {
    margin-top: 0;
    
  }
  .display-4{
    font-size: 54px;
  }
}
/* querry style for page title under 768px screen */
@media (max-width: 600px) {
  .jumbotron.menu {
    margin-top: 180px;
  }
  .display-4{
    font-size: 42px;
  }

  #footty{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footty {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
  }
  p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.0rem;
  line-height: 1.6;
  margin: 0 0 1.6rem;
}
}
/* querry style for page title under 768px screen */
@media (max-width: 480px) {
  .jumbotron.menu {
    margin-top: 210px;
  }
  .display-4{
    font-size: 37px;
  }
  p {
    font-family: 'Yu Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 8px 17px;
  }
}

/*Media querries ends*/
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0;
}

.footer-social-links {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-links li {
  margin-right: 10px;
}

.footer-social-links li:last-child {
  margin-right: 0;
}

.footer-social-links, #footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-social-links #footer-link:hover {
  text-decoration: underline;
}

.footerlinks-style li, #footer-link {
  text-decoration: none;
  color: #fff;
  list-style: none;
}

/*li, a {
  text-decoration: none;
  color: rgb(224, 62, 4);
  list-style: none;
}*/

#card {
  position: relative;
  transition: transform 0.2s ease-in-out;
}

#card:hover {
  transform: scale(1.1);
}

#card:active {
  transform: scale(0.9);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(1px);
}

/* Define the animation keyframes */
@keyframes blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Apply the animation to the <h5> element */
#coming-soon {
  animation: blink 3s infinite;
}

.bg-skyblue {
  background-color: rgb(82, 194, 239);
}
.bg-orange {
  background-color: rgb(176, 6, 243);
}
#catalogue-nav-anchor {
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Yu Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#remove-underline-at-hover{
  color: rgb(15, 14, 14);
  font-weight: bold;
}
#remove-underline-at-hover:hover{
  text-decoration: none;
  color:rgb(54, 105, 223);
  font-size: 20px;
  
}

#catalogue-nav-anchor:hover {
  color: #fff;
  background-color: rgb(148, 32, 3);
  padding: 7px;
  border-color: transparent;
}
.login-form {
  background-size: 50%;
}
.search-box {
  position: relative;
  display: inline-block;
  width: 300px;
}

.search-box input[type="text"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.search-box button[type="submit"] {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-color: rgb(54, 105, 223);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
}

.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  overflow-y: scroll;
  max-height: 300px;
}

.search-results a {
  display: block;
  padding: 10px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.search-results a:hover {
  background-color: #f5f5f5;
}
#override-a-style{
  color:rgb(8, 82, 221)
}


