/* Global Styles */
/* define colors  with colors of the us dollar bill that are complimentary */
/* https://www.canva.com/colors/color-wheel/
https://www.canva.com/colors/color-palettes/

 */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
:root{
    --primary-color: #478C5C;
    --primary-color-light: #BACC81;
    --primary-color-dark: #013A20;
    --primary-color-text: #fff;
    --accent-color: #ff5722;
    --primary-text-color: #444444;
    --secondary-text-color: #757575;
    --divider-color: #CDD193;
}

body{
    font-family: 'Jost', 'Open Sans', sans-serif;
    line-height: 1.5;
    color: var(--primary-text-color);
    background-color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
a{
    text-decoration: none;
    color: var(--primary-color);
}
a:hover{
    text-decoration: underline;
}
strong{
    font-weight: bold;
}
/* override bootstrap */
.navbar{
    background-color: var(--primary-color-light);
}
.navbar-brand{
    color: var(--secondary-color-text);
    font-size: 1.3rem;
    font-weight: 700;
}
.navbar-nav .nav-link{
    color: var(--primary-color);
    font-size: 1.03rem;
    font-weight: 500;
}
.navbar-nav .nav-link:hover{
    color: var(--primary-color);
}
.navbar-nav .active > .nav-link{
    color: var(--primary-color);
    text-decoration: underline;
}
.navbar-toggler{
    border-color: var(--primary-color);
}
#header-img{
    width: 100%;
}

/* Header */
.form-switch {
    position: relative;
    display: inline-block;
    width: 200px;
    text-align: center;
}

/* Add the 'US Format' label */
.form-switch::before {
    content: "US Format";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Add the 'EU Format' label */
.form-switch::after {
    content: "EU Format";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Change the label when the switch is toggled */
.form-switch .formatToggle:checked ~ ::before {
    content: "EU Format";
}

.form-switch .formatToggle:checked ~ ::after {
    content: "US Format";
}
.form-check-input{
    float: none !important;
    border-radius: 20px;
    cursor: pointer;
}
.form-check-input:active{
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-input:focus {
    border-color: #8d8d8d;
    outline: 0;
    box-shadow: 0 0 0 0.1rem var(--divider-color);

}

.display-4{
    color: #FFF;
    font-weight: 700;
    /* add shadow */
    text-shadow: 2px 2px 4px #000000;
}

 .card {
     position: relative;

 }
/* search results */
.card img {
    width: 100%;
    height: auto;
}

.card .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.card:hover .overlay {
    opacity: 0;
}
.card .overlay .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
#parallax {
    position: relative;
    overflow: hidden;
    height: 500px; /* Adjust as needed */
}

#parallax-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}


@media screen and (max-width: 600px) {
    #parallax { height: 200px; }
    #content {
        font-size: 0.75em !important;
    }
}
