html, body{
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin-bottom: 0px;
}
body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    background-color: #ffffffff;
    color: #ff000000;
    overflow-x: hidden; /* Prevent horizontal scrolling when the menu is open */
}
.fa-duotone fa-regular fa-circle-check{
    background-color: rgb(20, 240, 60);
}
.fa-duotone fa-regular fa-circle-exclamation{
    background-color: rgb(240, 20, 60);
}
#home{
    background-color: rgb(24,48,88);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideIn 1s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
#cover{
    text-align: center;
    padding-top: 170px;
    background-image: linear-gradient(to bottom, rgba(14,40,98, 1), white);
    height: 450px; 
    width: 100%;
}
#welcome { 
    font-size: 35px;
}
#cut { 
    font-size: 25px;
}
#cover-body{
    width: 100%;
    height: auto;
    padding: 5px;
    color: black;
}
.home-content{
    width: 97%;
    background-color: white;
    color: #0056b3;
    margin: auto;
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.main-content{
    overflow-x: hidden;
}
p{
    text-decoration-color: none;
}
/* Add keyframes for fade-in and fade-out */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Style the overlay and window */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(240, 240, 255, 1);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 15;
}
#page{
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
    border-radius: 10px;
    padding: 15px;
    width: 95%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin:auto;
    margin-top: 0%;
    position: relative;
    height: auto;
    justify-content: center;
    text-align: left;
}
.coupon-option{
    display: flex;
    text-align: left;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.9);
    margin: auto;
    height: auto;
}
.coupon-option div{
    width: 100%;
    font-size: 20px;
    text-align: center;
    min-height: 60px;
    border-radius: 9px;
    padding: 10px;
    background-color: rgb(64, 192, 192);
    justify-content: center;
}
.coupon-option button{
    width: fit-content;
    height: fit-content;
    padding: 12px;
    padding-bottom: 10px;
    background-color: #333;
}

.fa-spinner.fa-spin {
    font-size: 80px;
    color: black;
    z-index: 16;
}
#options{
    background-color: white;
    color: #004080;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    height: auto;
    justify-content: center; 
    align-items: center;
    margin: auto;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.option{
    font-size: 20px;
    height: fit-content;
    font-weight: bold;
    color: white;
    background-image: linear-gradient(rgb(64, 192, 192), rgb(92, 92, 92));
    border-radius: 5px;
    margin: auto;
    margin-top: 10px;
    padding: 5px;
    text-align: left;
    margin: 5px;
}
#window {
    font-weight: 200;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: space-between; /* Push button to the bottom */
    background-color: white;
    color: #004080;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
    min-width: 400px;
    margin: auto;
    margin-top: 130px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
}
#window i{
    font-size: 12px;
    size: 30px;
}
#squadpay{
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: space-between; /* Push button to the bottom */
}
#window-button {
    width: 100%; /* Make the button take full width */
    display: flex;
    justify-content: center; /* Center the button horizontally */
    margin-top: 15px;
}

#overlay.show {
    display: flex;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s forwards; /* Fade in on load */
}
#overlay.hide {
    display: none;
    width: 0;
    height: 0;
}
h2 {
    font-size: 55px;
}
h3{
    font-size: 40px;
    text-align: center;
    color: rgb(64, 192, 192);
}
#about {
    background: url(hero.jpg) no-repeat center;
    background-size: cover;
    height: 250px;
    width: auto;
    position: static;
    color: rgb(176, 200, 200);
    text-align: center;
    font-weight: bold;
    padding:20px;
    border-radius: 5px;
}

/* Main Actions */
#main-action {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.main-action {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 35%;
    margin: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.main-action i {
    font-size: 50px;
    color:black;
    margin-bottom: 10px;
}

.main-action h3 {
    font-size: 24px;
    font-weight: 500;
}


/* Functionalities */
#functionalities {
    display: flex;
    justify-content: space-between;
    padding: 2px;
}
.functionalities {
    margin: auto;
    width: 30%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 5px;
}

.functionalities i {
    font-size: 36px;
    color: #007;
}

.functionalities h1 {
    font-size: 18px;
    color: #555;
}

.functionalities h3 {
    font-size: 22px;
    color: #1f2937;
}

.wallet p {
    margin: 5px;
    font-size: 18px;
}

.wallet #balance {
    font-size: 45px;
    color: #1f2937;
}
#account-details{
    margin: auto;
    margin-left: 20px;
    border-left: 7px solid #007bff;
}
.wallet{
    margin: 20px;
    margin-top: 2px;
    padding: 20px;
    background-image: url(background.jpg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-repeat: repeat;
    border-radius: 8px;
    min-height: 40px;
}
header {
    height: 60px;
    background-color: rgba(14,38,88);
    background-repeat: no-repeat;
    background-size: 100%;
    color: #ffffffff;
    padding: 5px;
    padding-left: 20px;
    text-align: center;
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: fixed; /* Fixed position to prevent scrolling */
    z-index: 1000; /* Ensure the header appears above other elements */
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 55px;
    height: 55px;
    margin-right: 10px;
    border-radius: 50%;
}
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
#signUp:disabled {
    background-color: grey;
    cursor: not-allowed;
}
button:disabled {
    background-color: grey;
    cursor: not-allowed;
}
/* Initially hide elements */
.hidden-element {
    opacity: 0.3;
    transform: translateY(70px); /* Move the element slightly down */
    transition: opacity 1s ease-out, transform 0.5s ease-out; /* Smooth transition */
}

/* Class to make elements visible */
.visible-element {
    opacity: 1;
    transform: translateY(0); /* Move the element back to its original position */
}

.ribbon{
    position: fixed;
    background-color: #111;
    color: rgb(64, 192, 192);
    top: 60px;
    width: 100%;
    height: fit-content;
    padding: 5px;
    display: flex;
    z-index: 4;
    margin-bottom: 0px;
    
}
.ribbon:hover{
    font-weight: bold;
    color: rgb(64, 192, 192);
    font-size: 25;
    padding-left: 10px;
}
.closebtn {
    padding: 8px 8px 8px 5px ;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff; /* Set a contrasting color */
    z-index: 4; /* Ensure a higher z-index */
    text-decoration: none;
}
#open_status{
    text-align: center;
    font-size: 20px;
    display: flex;
    font-weight: 800;
    width: fit-content;
    margin: auto;
    background-color: rgba(150, 180, 200, 0.3);
    color: black;
    border-radius: 3px;
    border: none;
    padding: 3px;
}
#open_status a{
    text-decoration: none;
    color: blue;
}
.sidebar {
    margin-top: 0px;
    height: 100%;
    width: 0;
    z-index: 3;
    position: fixed;
    top: 100px;
    left: 0;
    background-color: #111;
    padding-top: 20px;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 1.1s;
    flex-direction: column;
    text-align: left;
}
.sidebar a {
    padding-bottom: 8px;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    color: #818181;
    display: block;
    transition: background-color 0.3s;
}
.sidebar a:hover{
    background-color: rgb(64, 192, 192);
    color: #111;
}
.sidebar a i {
    margin-right: 10px;
}

#main{
    background-image: url(bg6.jpg);
    padding: 0%;
    padding-top: 170px;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.closebtn:hover {
    color: white;
}
.fields {
    color: black;
    text-align: center;
    max-width: 500px;
    margin: 15px auto;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 0%;
    background-image: linear-gradient(to bottom right, rgb(14,38,88), rgb(64, 192, 192));
    color: #0066cc; /* Dark blue text */
}

fieldset {
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-bottom: 15px;
    background-color: whitesmoke;
    padding: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0066cc; /* Dark blue label text */
}

select, input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

button {
    background-color: rgb(14,38,88); /* Dark blue button */
    color: #fff; /* White text */
    padding: 12px;
    border: none;
    margin-top: 5px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    margin: auto;
}
#buttons {
    width: 100%;
    display: block;
    align-items: center;
}

/*button:hover {
    background-color: #004080;
}*/
.hidden-input {
    display: none;
    padding: 3px;
}             
.transaction-summary {
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    background-color: white;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.summary-info {
    display: flex;
    padding: 5px;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 7px;
}
.details.hidden {
    display: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
  
footer {
    background-color: rgb(40, 40, 32);
    color: #ffffffff;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0%;
    width: 100%;
    margin-bottom: 0px;
}
/* Settings Page Styling */
.settings-page {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.settings-section {
    margin: 20px 0;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}
.settings-section h3 {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}
.settings-section p {
    font-size: 14px;
    color: #555;
}
.user-profile {
    text-align: center;
}
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.user-email {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #0056b3;
}
.settings-section ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}
.settings-section ul li {
    font-size: 14px;
    color: #333;
    margin: 8px 0;
    display: flex;
    align-items: center;
}
.settings-section ul li i {
    margin-right: 10px;
    color: #007bff;
}
.account {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.account button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
.account button:hover {
    background-color: darkred;
}
.getAccount{
    background-color: rgba(137, 156, 218, 0.904);
    font-size: 15px;
    padding: 7px;
    border-radius: 4px;
}
@media screen and (max-width: 450px) {
    body{
        overflow-x: hidden;
        margin: 0%;
    }
    button{
        font-size: 11px;
        color: #fff; /* White text */
        padding: 11px;
        font-weight: 700;
    }
    #cover{
        height: 500px;
    }
    #welcome { 
        font-size: 25px;
    }
    #cut { 
        font-size: 15px;
    }
    #cover-body{
        width: 100%;
        height: auto;
        padding: 5px;
        color: black;
    }
    .main{
        margin-top: 30px;
        margin: 0;
        padding: 5px;
        width: auto;
        overflow-x: hidden;
        position: inherit;

    }
    .fields{
        width: 90%;
        margin: auto;
    }
    .home-content{
        width: 97%;
        background-color: white;
        color: #0056b3;
        margin: auto;
        padding: 10px;
        border-radius: 7px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
    .sidebar {
        font-size: 12px;
        padding-top: 4px;
        top: 120px;
    }
    .sidebar a{
        padding: 7px;
        font-size: 12px;
        font-weight:200;
    }
    #open_status{
        font-size: 15px;
    }
    #functionalities {
        display: flex;
        justify-content: space-between;
        padding: 2px;
    }
    .functionalities{
        display: block;
        padding: 15px;
        width: 30%;
        margin: auto;
        margin-top: 5px;
    }    
    .functionalities h1 {
        font-size: 8px;
    }
    .functionalities h3 {
        font-size: 12px;
    }
    .functionalities i {
        font-size: 30px;
    }    
    #window{
        font-size: 15px;
        width: fit-content;
        min-width: 100px;
        max-width: 95%;
    }
    .wallet p {
        margin: 3px;
        font-size: 12px;
    }
    .wallet #balance {
        font-size: 30px;
    }
    .wallet{
        margin: 10px;
        margin-top: 0px;
        padding: 10px;
        min-height: 30px;
    }
    #to-send{
        max-width: 90%;
        margin-left: 20px;
        margin-right: 20px;
    }
    #main-action {
        display: flex;
        margin-bottom: 30px;
    }
    #transactionsContainer {
        border-radius: 3px;
    }
    .main-action {
        background-color: #ffffff;
        padding: 15px;
        width: 35%;
        margin: 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    }
    .main-action i {
        font-size: 30px;
        margin-bottom: 5px;
    }
    #detect{
        font-size: 15px;
    }
    .main-action h3 {
        font-size: 16px;
    }
    h2{
        font-size: 20px}
    h3{ 
        font-size: 15px}
    .ftext h3{
        font-size: 15px;
        color: #004080;}
    p{ 
        font-size: 7px}
    #main{
        width: 100%; 
    }
    footer{
        width: 100%;
        bottom: 0%;
        margin-bottom: 0;
        position: relative;
    }
    #page{
        width: 90%;
        text-align: justify;
        margin: auto;
    }

/* Small devices (portrait tablets and large phones) */
@media only screen and (max-width: 600px) {
    .body{
        width: 100%; }
    h2 {
        font-size: 20px;
    }
    .sidebar a {
        font-size: 22px;
    }
    h3 {
        font-size: 15px;
    }
    p{
        font-size: 15px;
    }

    .feature {
        height: auto;
        margin-bottom: 30px;
    }

    .fimg {
        width: 100%;
        height: 200px;
        margin: 0;
    }

    .ftext {
        width: 100%;
        float: none;
        margin: 20px 0;
    }

    .logo img {
        width: 40px;
        height: 40px;
        margin-right: 5px;
    }
}

/* Medium devices (landscape tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .sidebar a {
        font-size: 20px;
    }
    h2 {
        font-size: 45px;
    }

    h3 {
        font-size: 35px;
    }
}

/* Large devices (laptops/desktops) */
@media only screen and (min-width: 1025px) {
    h2 {
        font-size: 55px;
    }

    h3 {
        font-size: 40px;
    }
}
}
