@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

html, body {
    margin: 0;
    padding: 0;
}

img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 25px;
}

h1 {
    font-family: sans-serif;
    margin: 4px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#welcomescreen{
    border: solid;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 34px 16px 0;
    width: 490px;
    height: 220px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 196, 228);
    box-sizing: border-box;
    border-top-color:rgba(0, 0, 0, 0.1) ;
}

body {
    background-image: url(https://cdn.hackclub.com/019f0504-aeb7-7d23-ab80-f8a3333f6e13/screenshot_2026-06-26_230622.png);
background-size: cover;
height: 100vh;
}

#topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.25);
    color: #fff;
    border-radius: 15px;
}

#topbar p {
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-width: 1px;
    border-radius: 10px;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.50);
}

#welcomescreenheader {
    cursor: pointer;
    z-index: 5;
    text-align: center;
    position: absolute;
    top: 1px;
    right: 0px;
    border: solid;
    width: 480px;
    background-color: rgba(0, 0, 0, 0.1);
    border-color: transparent;
    height: 24px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.round-btn , #closebtn, #closebtn1 {
    background-color: red;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    border-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    cursor: pointer;
}

.calculator {
    border: 1px solid;
    display: none;
    border-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 20px;
    background-color: rgb(255, 196, 228);
    width: 350px;
    position: absolute;
    top: 25%;
    right: 760px;
}

#input {
    width: 320px;
    border: none;
    padding: 20px;
    margin: 10px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    color: #ffffff;
}

#input::placeholder {
    color: #ffffff;
}

.btn , .btnop , .btneq {
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 30%;
    cursor: pointer;
}

.btneq {
background-color: aqua;
border: none;
}

#calc {
   height: 80px;
   width: 64px;
}

#calc:hover {
    transform: translate(-5%, -5%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}
    


.bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0;
    padding: 8px 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    box-sizing: border-box;
}

.Icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
   
}

#calculator1header {
 cursor: move;
    z-index: 5;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0;
    border: solid 1px rgba(0, 0, 0, 0.1);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-color: transparent;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#calculator1header p {
    margin: 0;
    padding: 0 12px;
    line-height: 40px;
}

#pfp {
    padding-left: 6px;
    height: 64px;
    width: 64px;
}

#currency {
    padding-left: 10px;
}

.currency-convert {
    border: solid;
    border-radius: 15px;
    border-color: rgba(0, 0, 0, 0.1);
   width: 510px;
   height: 145px;
   position: absolute;
   right: 705px;
   bottom: 360px;
   display: none;
   padding: 10px;
   background-color: rgb(255, 196, 228);
}

#valueenter , #valuedisplay {
    
    width: 240px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 15px;
    border-color: rgba(0, 0, 0, 0.1);
}

.selector-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.selector-row select {
    flex: 1;
    min-width: 240px;
    max-width: 250px;
    border-radius: 8px;
    border: 1px solid #ccc; 
    padding-top: 10px;
}

#second-currency {
    width: 90px;
    flex: 0 0 90px;
}

#currency-convert1header {
    margin-top: 0px;
    border: solid;
    width: 522px;
    padding-right: 2px;
    cursor: move;
    z-index: 5;
    position: absolute;
    top: 0px;
    right: 0px;
    border-width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    border-color: transparent;
    height: 29px;
    padding-top: 0px;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

.selector-row {
    padding-top: 29px;
}

#exchange-rate {
    text-align: center;
    margin-bottom: 1px;
}

#valuedisplay {
    background-color: white;
    color: black;
}

#pfp:hover {
    transform: translate(-5%, -5%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

#currency:hover {
    transform: translate(-5%, -5%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}
// sivasankar