*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
    --primary-color: #ffffff;
    --button-bg-color: #3b4952;
    --font-size: 16px;
    --primaryfont:"SF Pro Text","Myriad Set Pro","SF Pro Icons","Apple Legacy Chevron","Helvetica Neue","Helvetica","Arial",sans-serif; ;
    --ftext-collor:#387cb4;

  }
 
  .nav-header{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  ul{
    padding: 1em;
    list-style: none;
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-color);
    min-width: 50%;
  }
  .img-txt{
    font-size:34px ;
    font-family: var(--primaryfont);
    font-weight:lighter;

    color: var(--ftext-collor);
}
   
  ul li img{
    width: 200px;
  }
  
  .img-sec{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    background-color:var(--primary-color);}

.network-imgsec{
    padding: 2em;
    display: flex;
    justify-content: center;
    background-color: var(--primary-color);
    min-width: 50%;
    border-radius: 5px;
    /* box-shadow: 10px 10px 10px 10px rgb(236, 235, 235); */
}
.network_img{
    width: 200px;
}
.quote-summary{display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    }
.order-summary{
    padding: 2em;
    display: flex;
    justify-content: space-between;
    background-color: var(--button-bg-color);
    min-width: 50%;
    border-radius: 5px;
}
.summary-txt{
    color: var(--primary-color);
    font-family: var(--primaryfont);
    font-size: 18px;
    letter-spacing: 1px;
    padding: 2px;
    border-bottom: 2px solid #d46d6d;
}
.amnt-summary{
    color: var(--primary-color);
    font-family: var(--primaryfont);
    font-size: 18px;
    padding: 2px;
    letter-spacing: 1px;
    
}
.form-section{
    margin-top: 2em;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    
}
.payment-form{
    margin-top: 1em;
    padding: 1.5em 1em 2em 2em ;
    /* display: flex; */
    justify-content: space-between;
    background-color: var(--primary-color);
    min-width: 50%;
    border-radius: 2px;
    box-shadow: 10px 10px 10px 10px #e6e5e5;
    border: 1px solid rgb(245, 245, 245);
}
.pay_info{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.payment-option{
    align-items: baseline;
    display: flex;
    font-size: larger;
    font-family: var(--primaryfont);
    color: var(--button-bg-color);
}
.fa-circle-dot{
    color:var(--button-bg-color);
    width: 40px;
    font-size: large;
  
}

.fa-credit-card{
    color:var(--button-bg-color);
    width: 40px;
    font-size: large;
  
}
.img-vector{
    width: 100px;
}
.card_info{
    margin-top: 2em;

}
#error-message{
    display: none;
    background-color: rgb(255, 237, 237);
    padding: 10px;
    margin-bottom: 1.5em;
    font-family: var(--primaryfont);
    color: #ff0101;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 530;
}

#card-digit{
    width: 70%;
    border: none;
    border-bottom: 1px solid rgb(146, 146, 146);
    outline: none;
    font-family: var(--primaryfont);
    font-size: 18px;
    font-weight: 500;
    line-height: 2px;
    letter-spacing: 2px;
    padding: 5px;
    margin-top: 1em;
    margin-bottom: 2em;
}
.expiry-info{
    display: flex;
    gap: 1em;
    }
#expiry-digit{
    width: 20%;
    border: none;
    border-bottom: 1px solid rgb(146, 146, 146);
    outline: none;
    font-family: var(--primaryfont);
    font-size: 18px;
    font-weight: 500;
    line-height: 2px;
    letter-spacing: 2px;
    padding: 5px;
    margin-top: 1em;
    margin-bottom: 2em;
}
#CVV{
    width: 26%;
    border: none;
    border-bottom: 1px solid rgb(146, 146, 146);
    outline: none;
    font-family: var(--primaryfont);
    font-size: 18px;
    font-weight: 500;
    line-height: 2px;
    letter-spacing: 2px;
    padding: 5px;
    margin-top: 1em;
    margin-bottom: 2em;
}
#card-name{
    width: 70%;
    border: none;
    border-bottom: 1px solid rgb(146, 146, 146);
    outline: none;
    font-family: var(--primaryfont);
    font-size: 18px;
    font-weight: 500;
    line-height: 2px;
    letter-spacing: 2px;
    padding: 5px;
    margin-top: 1em;
    margin-bottom: 2em;
}
.payment-button{
    display: flex;
    justify-content: space-between;
    font-family: var(--primaryfont);
    margin-top: 20px;
    
}
.pay-button{
    background-color: var(--button-bg-color);
    color: #ffffff;
    padding: 1.5em;
    width: 300px;
    font-family: var(--primaryfont);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    border-radius: 10px;
   cursor: pointer;
}
.currency{
    font-family: var(--primaryfont);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    
}
.curency-type{
    font-family: var(--primaryfont);
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 1px;
    padding: 2px;
    border-bottom: 2px solid #d46d6d;
}



/* media query */

/* For mobile phones in portrait and landscape mode */
@media only screen and (max-width: 600px) {
    /* Mobile-specific styles */
    ul{
        
        width: 100%;
      }
      .order-summary{
        width: 100%;
      }
    .payment-form{
        width: 100%;
    }
    .pay-button{
       
       
        padding: 0.2em;
        width: 150px;
        font-family: var(--primaryfont);
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 2px;
    }
    #card-name{
        width: 100%;
        
    }
    #card-digit{
        width: 100%;
        
    }
    ul li img{
        width: 100px;
      }
      .img-txt{
        font-size:18px ;
        
      }    
      .network_img{
        width: 100px;
    }
    .img-vector{
        width: 60px;
    }
    .fa-circle-dot{
        
        width: 30px;
        font-size: 14px;
      
    }
    
    .fa-credit-card{
        
        width: 30px;
        font-size: 14px;
      
    }
    .summary-txt{
        
        font-size: 14px;
        
    }
    .amnt-summary{
        
        font-size: 14px; 
    }
    .txt-card{font-size: 16px; }
        
        #expiry-digit{
          width: 40%;
          font-size: 14px;
          letter-spacing: 1px;   
            
        }
        #CVV{
            width: 45%;
            font-size: 14px;
            }

            .curency-type{
                font-size: 14px;
            }
}

/* For tablets (portrait mode) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    /* Tablet-specific styles */
    ul{
        
        width: 100%;
      }
      .order-summary{
        width: 100%;
      }
    .payment-form{
        width: 100%;
    }
    .pay-button{width: 200px;
       
       
        padding: 0.5em;
        width: 180px;
        font-family: var(--primaryfont);
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 2px;
    }
    #card-name{
        width: 100%;
        
    }
    #card-digit{
        width: 100%;
        
    }
    ul li img{
        width: 100px;
      }
      .img-txt{
        font-size:18px ;
        
      }    
      .network_img{
        width: 100px;
    }
    #expiry-digit{
        width: 40%;
        font-size: 14px;
        letter-spacing: 1px;   
          
      }
      #CVV{
          width: 45%;
          font-size: 14px;
          }

}

/* For tablets (landscape mode) and small desktops */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    /* Tablet and small desktop-specific styles */
    ul{
        
        width: 800%;
      }
      .order-summary{
        width: 80%;
      }
    .payment-form{
        width: 80%;
    }
}

/* For larger desktops and laptops */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
    /* Desktop-specific styles */
    ul{
        
        width: 80%;
      }
      .order-summary{
        width: 80%;
      }
    .payment-form{
        width: 80%;
    }
}

/* For large desktops (full HD and beyond) */
@media only screen and (min-width: 1441px) {
    /* Large desktop-specific styles */
}