/* ==== Google fonts ==== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ==== CSS Variables ==== */
:root {
    --primary-color:#00006f;
    --secondary-color: #ffb907;
    --other-color: #ac7c03;
    --dark-color: #00116f;
}

/* ==== Global Style ==== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#header_img img{
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* ==== Utilities Style ==== */
@media (min-width: 976px) {
    .container {
        max-width: 1200px;
    }
}

/*==== Header ==== */
.primary-header{
    background-color: var(--primary-color);
}
.logo img{
    height: 82px;
}
.btn_secondary{
    color: var(--primary-color);
    background-color: var(--secondary-color);
}
.btn_secondary:hover{
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.dark-help .btn{
    color: var(--primary-color);
    background-color: #fff;
    margin-right: 16px;
}
.dark-help .btn:hover{
    background-color: #ccc;
}

/* ==== Nav Bar ==== */
.primary-nav{
    margin-top: 1px;
    background-color: var(--dark-color);
}
.navbar-toggler{
    border: 2px solid #ffb907;
    color: var(--secondary-color);
    font-size: 24px;
}
.nav-link{
    color: var(--secondary-color);
    font-size: 16px;
}
.nav-link:hover{
    color: var(--secondary-color);
    background-color: rgba(255, 185, 7, 0.1);
}
@media (max-width:991px) {
    .nav-fill .nav-item{
    text-align: left;
}
}
.dropdown:hover > .dropdown-menu {
    display: block !important; 
}

/* ==== Scratch Cards ==== */
.scratch_card{
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 16px;
}
.scratch_card h2{
    margin-top: 8px;
    font-size: 48px;
    color: #00336f;
    margin-bottom: 8px;
    margin-left: 24px;
}
.scratch_card h6{
    font-size: 24px;
    text-align: center;
}
.per-card{
    padding: 16px;
    padding-bottom: 16px;
    border: 1px solid #00006f;
    height: auto;
}
.imgbx img{
    width: 100%;
    height: 50vh;
    border-radius: 3%;
    margin-bottom: 8px;
}
.box{
    width: 350px;
    margin-top: 0;
    border: 20px solid #fff;
    box-shadow: 0 5px 35px rgba(0,0,0,0.08); 
}
.box h3{
    text-align: center;
}
.box a{
    display: flex;
    justify-content: center;
    margin-top: 0;
    color: #fff;
    background-color: var(--primary-color);
}
.box a:hover{
    color: #fff;
    background-color: var(--secondary-color);
}
.quantity{
    display: flex;
    justify-content: center;
}
.quantity button{
    width: 45px;
    height: 45px;
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    outline: none;
}
.minus-btn{
    border-radius: 4px 0 0 4px;
}
.plus-btn{
    border-radius: 0 4px 4px 0 ;
}
.quantity input{
    border: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    width: 100px;
    font-size: 20px;
    color: #000;
    font-weight: 300;
}
.total_price{
    text-align: center;
    font-size: 1.9rem;
    margin-top: 8px;
}

.box h3{
    text-align: center;
}
.box a{
    color: #fff;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
}
.box a:hover{
    color: #fff;
    background-color: var(--secondary-color);
}
#buy_btn{
    color: #fff;
    background-color: #00006f;
    padding: 8px;
    border: 1px solid #00006f;
    border-radius: 4px;
    margin: 0px 35%;
}
#buy_btn:hover{
    background-color: #fff;
    color: #00006f;
}

@media (max-width: 992px) {
    .scratch_cards h2{
        margin: 16px;
        font-size: 32px;
        text-align: center;
        margin-left: 0px;
    }
    
    .all-content{
    display: flex;
    justify-content: center;
    }
}


/* ==== Footer ==== */
.footer {
    background-color: var(--primary-color);
    margin-top: 20px;
}
.footer .quick-links,
.footer .disclaimer,
.footer .connect{
    padding: 1.5rem;
}
.footer .quick-links li,
.footer .connect li{
    list-style: none;
}
.quick-links h4,
.disclaimer h4,
.connect h4{
    font-size: 1.3rem;
    color: #fff;
    position: relative;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ffb907;
}
    a:-webkit-any-link{
    list-style-type: none;
    text-decoration: none;
}
.quick-links li{
    margin-bottom: 0.85rem;
}
.disclaimer div{
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: all 0.5s ease;
}
@media(max-width:550px){
    .disclaimer{
        margin-top: -40px;
    }
}
.quick-links a,
.explore a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: all 0.5s ease;
}
.quick-links a:before,
.explore a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s ease;
    transform: scale(0);
}
.quick-links a:hover::before,
.explore a:hover::before {
    transform: scale(1);
}
.connect{
    color: #fff;
}
.connect .social-media{
    display: flex;
    list-style-type: none;
}
.connect .social-media .icon{
    margin-right: 1.25rem;
}
.connect .social-media .icon i{
    font-size: 1.85rem;
    color: #fff;
}
.connect .connect-info p i{
    font-size: 1.25rem;
    color: #fff;
}

/* ==== Footer Copyright ==== */
.footer-copyright {
    border-top: #ffb907 2px solid;
    padding: 1.25rem;
    background-color: var(--dark-color);
    color: #fff;
}
.footer-copyright a{
    color: #fff;
}
.footer-copyright a:hover{
    color: #bbb;
}