/* Googlr fonts import */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Macondo&display=swap");

/* CSS Variables */
:root {
  --primary-font: "Inter", sans-serif;
  --secondary-font: "Macondo", cursive;
  --primary-color: #3a2620;
  --secondary-color: #aa9581;
  --highlight-color: #416a8e;
  --highlight-color-light: #7a9fc2;
}

/* Global styles */
body {
  font-family: var(--primary-font);
  padding-top: 57.64px; /* pushes the top of the header down under fixed navbar*/
}

h1,
h2,
h3 {
  font-family: var(--secondary-font);
  color: var(--primary-color);
}

h1,
h2 {
  text-transform: uppercase;
}

h2 {
  margin-bottom: 2rem;
}

.sub-heading-color {
  color: var(--highlight-color);
}
.section {
  padding-top: 4rem; /* Prevent navbar overlap*/
}

/* Buttons */

.custom-button-filled {
  border: 2px solid var(--highlight-color);
  background-color: var(--highlight-color);
  color: white;
}

.custom-button-filled:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  color: white;
}

.custom-button-outline {
  padding: 7px 25px;
  border: 3px solid var(--highlight-color);
  color: var(--highlight-color);
}

.custom-button-outline:hover {
  background-color: var(--highlight-color);
  color: white;
}
/* Navbar */

#navbar {
  background-color: var(--primary-color);
}

#navbar .logo {
  width: 30px;
}

/* Header */
#header .lead {
  font-family: var(--secondary-font);
}

/* Services */

#services .card-footer {
  font-weight: bold;
  color: var(--highlight-color);
  background-color: transparent;
}

#services .card {
  margin-bottom: 1.5rem;
}

/* Events section */

#events .card {
  border: none;
}

#events .table * {
  background-color: transparent;
  color: black;
}

p mark {
  background-color: var(--highlight-color);
  color: white;
}

/* Games Library */

#fav-games .card,
#new-games .card {
  margin-bottom: 1.5rem;
}

#new-games .card,
#fav-games .card {
  border: none;
}

/*  Footer / contact */

#contact {
  background-color: var(--primary-color);
  color: white;
  padding-bottom: 3rem;
}

#contact h2 {
  color: white;
}

#contact .sub-heading-color {
  color: var(--highlight-color-light);
}

#contact i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 15px;
}

#contact .social-links i {
  color: var(--highlight-color-light);
  font-size: 1.9rem;
  /* smooth transition for hover effect */
  transition: color 0.3s ease-in-out;
}

#contact .social-links i:hover {
  color: var(--secondary-color);
}

/* Footer  / Opening times  */
/* wildcard selector overrides library styles  */
#contact .table-dark * {
  background-color: transparent;
}

/* Media queries */

/* Media devices (tablets , 768px and up) */
@media screen and (min-width: 768px) {
  #services .card-body {
    min-height: 193.5px;
  }
}

/* Media devices (laptop, 992px and up */
@media screen and (min-width: 992px) {
  #services .card-body {
    min-height: auto;
  }
}

/* Media devices (desktop, 1200px and up */
@media screen and (min-width: 1200px) {
  #services .card-body {
    min-height: 220px;
  }
}

/* Media devices (desktop, 1400px and up */
@media screen and (min-width: 1400px) {
  #services .card-body {
    min-height: 195px;
  }
}

@media screen and (max-width: 320px) {
  #events .table {
    font-size: x-small;
  }
}
