/* Google 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; /* dark brown */
    --secondary-color: #aa9581; /* light brown */
    --highlight-color: #416a8e; /* blue */
    --light-highlight-color: #7a9fc2; /* light blue */
}

/* Global Styles */

body {
    font-family: var(--primary-font);
}

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;
}

/* Messages */

.custom-message {
    background-color: var(--highlight-color);
    color: white;
    font-weight: bold;
}

/* 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 {
    border: 2px solid var(--highlight-color);
    color: var(--highlight-color);
    padding: 7px 25px;
}

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

/* Navbar styles */

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

#navbar .logo {
    width: 30px;
}

/* Header Styles */

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

/* Services styles */

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

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

/* Game Library styles */

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

/* Footer styles */

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

#contact h2 {
    color: white;
}

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

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

#contact .social-links i {
    color: var(--light-highlight-color);
    font-size: 1.9rem;
    -webkit-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

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

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

/* Media Queries */

@media screen and (max-width: 576px) {
    .table-responsive .table{
        font-size: 0.8rem;
      }
}

/* Medium devices (Tablets, 768px and up) */
@media screen and (min-width: 768px) {
    #services .card-body,
    #new-games .card-body {
        min-height: 191px;
    }

    #fav-games .card-body {
        min-height: 315px;
    }

    .custom-message {
        margin: 0 190px;
    }
}

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

    .custom-message {
        margin: 0 85px;
    }
}

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

    #fav-games .card-body {
        min-height: 340px;
    }

    .custom-message {
        margin: 0 130px;
    }
}

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

    .custom-message {
        margin: 0 170px;
    }
}