﻿body {
    margin: 0;
    font-family: 'Courier Prime', monospace;
    background-image: url('/Assets/Wallet/img/Wallet.jpg');
    background-size: cover;
    background-position: center;
    color: #c2c1c1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
   
}

.container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-left: 5%;
}


.text-box {
    max-width: 580px;
    text-align: left;
    font-size: 1.2rem;
}

/* Buttons styling */
.main-button {
    font-family: 'Courier Prime', monospace;
    display: inline-block;
    /* margin-right: 60px; */
    padding: 10px 50px;
    font-size: 1.1em;
    color: #fff;
    background-color: transparent;
    border: 3px solid #8c5d2e;
    cursor: pointer;
    position: relative;
    /* text-transform: uppercase; */
    animation: glow-border 2s linear infinite;
    border-radius: 10px;
    /* top: 20px; */
    text-decoration:none;
}

.info-text {
    font-family: Courier;
    font-size: 1.4rem;
}

#log-in {
    background-color: transparent;
}

@keyframes glow-border {
    0% {
        box-shadow: 0 0 10px #ff9800, 0 0 20px #ff9800;
    }

    50% {
        box-shadow: 0 0 20px #ff9800, 0 0 40px #ff9800;
    }

    100% {
        box-shadow: 0 0 10px #ff9800, 0 0 20px #ff9800;
    }
}

/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    font-size: 1.2em;
    /* background-color: rgba(0, 0, 0, 0.7); */
    color: #fff;
}
/* Main text styling */
#main-text {
    font-size: 3.2em;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    width: 0;
    display: inline-block;
    animation: typing 3s steps(30) 1s forwards, blink-caret 0.75s step-end infinite;
    color: #fff;
}

/* Blinking caret animation */
@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

/* Typing animation */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Make the text box and buttons responsive */
@media (min-width: 768px){
    #main-text{
        min-height: 138px;
    }
}
@media (max-width: 768px) {
    .text-box {
        max-width: 90%;
        font-size: 1rem;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.596);
        border-radius: 20px;
        text-align: left;
    }
    body {
        backdrop-filter: blur(1px);
    }
    #main-text {
        font-size: 2em; /* Adjust the main text size for smaller screens */
    }

    .container {
        padding-left: 0%;
    }

    #log-in {
        top: -550px;
        /* left: 250px; */
    }



    .main-button {
        font-size: 1em;
        padding: 8px 16px; /* Adjust button size for smaller screens */
        margin-top: 10px;
        margin-right: 60px;
    }
}

/* For very small screens (mobile devices) */
@media (max-width: 480px) {
    body {
        backdrop-filter: blur(1px);
    }
    #main-text {
        font-size: 1.9em; /* Further reduce font size for mobile */
    }

    .main-button {
        font-size: 1.1em;
        /* padding: 6px 12px;  */
    }
}
