/*
Author:    Build Rise Shine with Nyros (BRS)
Created:   11.05.2022
Library / Component: Styling page for the app
(c) Copyright by BRS with Nyros.
*/

:root {
    --primary-color: #1A4B84;
    --chathams_blue: #1A4B84;
    --tamarillo: #991E14;
    --yellow_sea: #FEAD06;
}

body {
    font-family: sans-serif;
    background-color: #111d4a;
}

* {
    box-sizing: border-box;
}

h1 {
    color: #eee;
    margin-bottom: 30px;
}

.container {
    padding: 40px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}

#charactersList {
    padding-inline-start: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 20px;
}

.character {
    list-style-type: none;
    background-color: #eaeaea;
    border-radius: 3px;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 4fr 2fr;
    grid-template-areas: 'name image' 'house image' 'actor image' 'ancestry image' 'dateOfBirth image';
    text-align: left;
}

.character>img {
    max-height: 200px;
    grid-area: image;
}

#searchBar {
    width: 100%;
    height: 32px;
    border-radius: 3px;
    border: 1px solid #eaeaea;
    padding: 5px 10px;
    font-size: 12px;
}

#searchWrapper {
    position: relative;
}

#searchWrapper::after {
    position: absolute;
    top: 8px;
    right: 15px;
}

li {
    list-style: none;
}

/* NAVBAR STYLING STARTS */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: teal;
    color: #fff;
    padding: -30px;
}

.nav-links a {
    color: #fff;
}

/* Header Styles
  -------------------------------------------------- */
header{
    z-index: 9999;
}

header .bg-gradient {
    background: rgb(216, 216, 216);
}

body {
    background: url("../img/BG.png");
    background-size: cover;
}

header .navbar {
    padding: 20px 0 0;
}

header .navbar-brand {
    padding: 0;
    z-index: 1;
    width: 213px;
    height: 109px;
    background-color: var(--primary-color);
    border-radius: 0;
}

header .navbar-brand img {
    width: 56px;
}

img {
    max-width: 100%;
}

header h3 {
    font: normal normal 600 18px/27px Oswald;
    color: #fff;
}

header h4 {
    font: normal normal 600 18px/28px Oswald;
    letter-spacing: 0.36px;
    color: #191919;
    text-transform: uppercase;
}

header p {
    font: 600 12px/15px Poppins;
    letter-spacing: 0.24px;
    color: #191919;
}

.ReactTitle {
    background-color: #838383;
    height: 50px;
    font: normal normal 600 19px/27px Oswald;
    letter-spacing: 0.38px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.ReactTitle img {
    width: 25px;
    margin-right: 10px;
}


.link {
    background-color: rgba(0, 0, 0, 0.09);
    font: normal normal medium 12px/15px Poppins;
    letter-spacing: 0.24px;
    height: 40px;
    padding: 10px 10px;

}

.link a {
    color: #055BA6;

}

/* Sticky footer styles
  -------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px;
    /* Vertically center the text there */
    background-color: #f5f5f5;
}


/* Custom page CSS
  -------------------------------------------------- */
/* Not required for template or sticky footer method. */

body>.container {
    padding: 60px 15px 0;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

.footer-dark {
    background-color: var(--primary-color);
    color: #fff;
}

.toggle-currency {
    font-size: 20px;
}

footer {
    font: normal normal 600 12px/19px Oswald;
    letter-spacing: 0.24px;
    color: #FFFFFF;
}

.theme-switch {
    margin: 0 5px;
    padding: 10px;
    font-size: 0.5rem;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.theme-switch-chathams_blue {
    background-color: var(--chathams_blue);
}

.theme-switch-chathams_blue:hover {
  box-shadow: 2px 2px 2px var(--chathams_blue);
}

.theme-switch-tamarillo {
    background-color: var(--tamarillo);
}

.theme-switch-tamarillo:hover {
  box-shadow: 2px 2px 2px var(--tamarillo);
}

.theme-switch-yellow_sea {
    background-color: var(--yellow_sea);
}

.theme-switch-yellow_sea:hover {
  box-shadow: 2px 2px 2px var(--yellow_sea);
}

.text-success {
    color: var(--primary-color) !important;
}
