/* Google fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Macondo&display=swap');

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

/* Global styles */

body {
    font-family: var(--primary-font);
    padding-top: 57.15px; /* to prevent content being hidden behind 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;
}

/*-- Specific component styles */



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

#navbar .logo {
    width: 30px;
}

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

/* services section */

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

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

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

/* Events */

#events .table {
    /* events table font size small enough that 
      the table doesn't overflow on xs screens. 
      Size set back to 1rem in a media query 
      for sm screens and up */
    font-size: 0.7rem;
}

.student-discount {
    background-color: var(--highlight-color);
    font-weight: bold;
    color: white;
    display: block;
    max-width: 300px;
    margin: auto;
    padding: 5px 10px;
    font-size: 0.8rem;
}

/*footer / contact */

#contact {
    background-color: var(--primary-color);
    color: white;
    padding: 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;
    transition: color 0.3s ease-in-out;
}

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

#contact .table-dark * {
    background-color: transparent;
}

.btn custom-button-outline my-4 {
    border: 2px;
    border-color: var(--highlight-color);
    color: var(--highlight-color);
}

.blue-border {
    border-color: var(--highlight-color) !important;
}

#reserve-game {
    padding-bottom: 4rem;
}

#booking-form {
    padding-bottom: 4rem; /* Adjust the value as needed */
}

/* grid visualisation CSS for testing 
.container,
.row {
    border: 2px solid black;
}

.col-12 {
    border: 2px solid white;
    background-color: lightgray;
}
end of grid visualisation CSS for testing -->

/* media queries */

@media screen and (min-width: 768px) {
    #services .card-body {
        min-height: 191px;
}
}

@media screen and (min-width: 992px) {
    #services .card-body {
        min-height: auto;
}
}

@media screen and (min-width: 1200px) {
    #services .card-body {
        min-height: 220px;
}
}

@media screen and (min-width: 992px) {
    #services .card-body {
        min-height: 195px;
}
}