* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevents unwanted resizing */
}

/* Full-screen particles background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 2; /* Behind everything */
}

/* Ensure full height */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: rgb(0, 0, 0);
}


.container {
    width: 100%;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.currency {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;

}

.from {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    
}

.to {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;

}

form {
    background-color: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 0 56px 2px rgba(255, 255, 255, 0.5);
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
}

input{
    width: 100%;
    border:none;
    outline: none;
    padding: 0.5rem;
    border:1px solid #ccc;
    border-radius: 25px;
    margin-bottom: 2rem;
}

img{
    height: 30px;
    border-radius: 12px;

}

.CurrRate{
    margin-bottom: 2rem;
    text-align: center;
}

.btn{
    width: 100%;
    padding: 1rem;
    border:none;
    outline: none;
    background-color: #333;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

.btn:hover{
    background-color: #555;
}