:root {
  --bg: #ffffff;
  --text: #000000;
}

/* Dark mode */
body.dark {
  --bg: #121212;
  --text: #ffffff;
}

/* Using variables */
body {
  background: var(--bg);
  color: var(--text);
  transition: 0.5s;
}
/*====================HEADER========================*/
.header {
    font-size: 50px;
    text-align: center;
}
.hidden {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*max-height: 730px; */
    max-width: 550px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
    border: 2px solid #fff;
    /*box-sizing: border-box;*/
    opacity: 1;
    transition: opacity 0.3s ease;
    
}
.fade.hidden {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*max-height: 730px; */
    max-width: 550px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
    border: 2px solid #fff;
    /*box-sizing: border-box;*/
    opacity: 0;
    pointer-events: none;
}
.toggle-btn {
    display: flex;
    color: #fff;
    padding: 20px;
    background-color: #000000;
    width: 20px;
}
.theme-switch {
    position: absolute;
    top: 5px; right: 5px;
    max-width: 50px;
    max-height: 50px;
}
.theme-switch img {
    width: 100%;
    object-fit: cover;
}
.toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px auto;
    width: 150px;
    height: 50px;
    padding: 20px;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 53%);
    border: 1px solid #535353;
}
/*====================Converter container========================*/
.top-part {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    background-color: #0097b9;
    color: #fff;
    height: 200px;
    text-align: center;
}
.header-text {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
    line-height: 38px;
}
.inp {
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    color: #ad0000;
    background-color: #ffffff;
    height: 50px;
    width: 70px;
    margin: 0px auto 25px auto;
    border: 2px solid #ff0000;
    border-radius: 5px;
}
.buttons_container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    gap: 20px;
}
.convet-btn {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(0, 42, 82, 1) 54%);
    color: #fff;
    width: 117px;
    height: 42px;
    text-align: center;
    margin: 0 auto 34px auto;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s all ease-in-out;
}
.convet-btn:hover {
    transform: scale(1.12);
}
.reset {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(128, 0, 0, 1) 54%);
    color: #fff;
    width: 117px;
    height: 42px;
    text-align: center;
    margin: 0 auto 34px auto;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s all ease-in-out;
}
.reset:hover {
    transform: scale(1.12);
}
.bottom-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 35px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    background-color: #000000;
    font-size: 20px;
    font-weight: 600px;
    line-height: 20px;
}
.res-w {
    width: 500px;
    /*height: 109px; */
    background-color: #FFFFFF;
    margin: 0 auto 25px auto;
}
.b-text {
    color: #003c95;
    font-size: 20px;
    line-height: 10px;
    font-weight: 600;
}
.p-t {
    color: #000;
}