.root{
    --navbar-width:300px; 
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* dropdown menu */

.dropdown {
    float: left;
    overflow: hidden;
    margin-right: 100px;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;
    width: 50px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0; 
  }
  
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #b4c5e4;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 16px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

body{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: px 100px;
}

.container{
    margin-top: 20px;
    display: flex;
    padding-top: 0px;
    box-shadow: 0px 0px 15px 2px #1f1f1f5e;
}

aside{
    width: 300px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 15px 3px #1f1f1f;
}

.navbar-p{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.user-logo{
    height: 150px;
    cursor: pointer;
}

.user-logo img{
    height: 100%;
    width: 90%;
    border: 1px solid #1f1f1f;
    border-radius: 50%;
}

nav,
ul{
    width: 100%;
    text-align: center;
    cursor: pointer;
    text-align-last: left;
}

li{
    list-style: none;
    padding: 15px 10px;
    position: relative;
    letter-spacing: 0px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    transform: translateY(0px);
}
li:hover{
    letter-spacing: 1px;
    transform: translateY(1px);
    color: #b4c5e4;
    font-weight: 600;
}
li::before{
    content:'';
    background: #090c9b;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    z-index: -1;
    transition: width 300ms ease-in-out;
}

li:hover::before{
    width: 100%;
    color: #b4c5e4;
}

li img{
    padding-top: 110px;
}

.li-icon{
    padding: 5px 16px;
    position: relative;   
    width: 50px;
    color: #090c9b;
    cursor: pointer;
}

.card{
    height: 500px;
    padding: 30px;
    display: none;
    width: calc(100vw - 450px);
    color: #b4c5e4;
}

.card.active{
    display: block;
}

.card .title{
    font-size: 2rem;
    border-bottom: 1px solid #1f1f1f ;
}

.card .content{
    font-size: 1.5 rem;
}

h2{
    text-align: center;
    text-shadow: 0px 0px 2px 4px #1f1f1f;
    margin: 10px;
}
main .home .content h2 .balance span .totalbalance {
    font-size: 100px;
    color: green;
}
h3{
    text-align: center;
    text-shadow: 0px 0px 2px 4px #1f1f1f;
    margin: 5px;
}
p{
    font-weight: 200;
    text-align: center;
    margin: 5px;
}

content{
    display: flex;
    flex-direction: column;
}

.link-btn{
    width: 300px;
    height: 50px;
    border: 2px solid #b4c5e4;
    background-color: #fff;
    border-radius: 7px;
    margin-left: 31%;
    cursor: pointer;   
    transition: .3s;
}
.keys-btn{
    width: 300px;
    height: 50px;
    border: 2px solid #b4c5e4;
    background-color: #fff;
    border-radius: 7px;
    margin-left: 31%;
    cursor: pointer;
    transition: .3s;   
}
.trans-his{
    width: 300px;
    height: 50px;
    border: 2px solid #b4c5e4;
    background-color: #fff;
    border-radius: 7px;
    margin-left: 31%;
    cursor: pointer;
    transition: .3s;   
}
.trans-his:hover{
    background-color: #b4c5e4;
    border: 2px solid #fff;
}
.pay-btn{
    width: 300px;
    height: 50px;
    font-size: 20px;
    border: 2px solid #b4c5e4;
    background-color: #fff;
    border-radius: 7px;
    /* margin-left: 31%; */
    cursor: pointer;
    transition: .3s;   
}

.link-btn:hover{
    background-color: #b4c5e4;
    border: 2px solid #fff;
}
.keys-btn:hover{
    background-color: #b4c5e4;
    border: 2px solid #fff;
}
.pay-btn:hover{
    background-color: #b4c5e4;
    border: 2px solid #fff;
}
.btn-wrapper{
    margin: 10px;
    display: flex;
    align-content: flex-start;
    align-items: start;
    
}
.home{
    background: #090c9b;
    overflow-y: scroll;

}
.request{
    overflow-y: scroll;
    background: #090c9b;
}
.wallet{
    overflow-y: scroll;
    background: #090c9b;
}
.result{
    overflow-y: scroll;
    background: #090c9b;
}

.selectedLink{
    background: linear-gradient(100deg, #090c9b, skyblue);
    color: #090c9b;
}

.t-btn{
    width: 300px;
    height: 50px;
    background-color: #b4c5e4;
    color: #090c9b;
    border-radius: 10px;
    font-size: large;
    transition: .3s;
    margin-left: 10px;
}

.t-btn:hover{
    background: #fff;
    color: #1f1f1f;
}



.k-btn{
    width: 300px;
    height: 50px;
    background-color: #fff;
    color: #090c9b;
    border-radius: 10px;
    font-size: large;
    transition: .3s;
    margin-top: 10px;
    margin-bottom: 10px;
}

.k-btn:hover{
    background: #b4c5e4;
    color: #fff;
}
.more-btn{
    width: 100px;
    height: 30px;
    margin: 5px;
    border: 1px solid #b4c5e4;
    border-radius: 5px;
    background-color: #fff;
    color: #090c9b;
    transition: .3s;
}
.more-btn:hover{
    background-color: #b4c5e4;
    color: #fff;
}

.more-link-btn{
    width: 100px;
    height: 30px;
    margin: 5px;
    border: 1px solid #b4c5e4;
    border-radius: 5px;
    background-color: #fff;
    color: #090c9b;
    transition: .3s;
}
.more-link-btn:hover{
    background-color: #b4c5e4;
    color: #fff;
}

table {
    display: table;
	max-width: 100%;
    max-height: 300px;
    width: 100%;	
	height: auto;
    display: table;
    background-color: #fff;
    color: #1f1f1f;
    border: 1px solid gray;
    overflow-y: scroll;
    border-radius: 8px;
    table-layout:auto;
    page-break-inside: avoid;
    break-inside: avoid-column;
}
th{
    background-color: #04aa6d;
    color: white;
}
th, td {
    padding: 10px;
    text-align: left;
}

th, td {
    border-bottom: 1px solid #ddd;
}
tr:hover {
    background-color: #090c9b;
    color: #b4c5e4;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:nth-child(even):hover{
    background-color: #090c9b;
    color: #b4c5e4;
}

footer{
    width: 100%;
    background-color: #090c9b;
    margin-top: 20px;
}
.alert{
    background-color: wheat;
    color: #1f1f1f;
    padding: 10px;
    border-radius: 6px;
}
@media screen and (max-width:600px) {
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body{
        width: auto;
    }
    header{
        width: 100%;
        display: flex;
        justify-content:space-between;
        align-items: center;
        font-size: small;
        padding: 10px;
        margin-left: 0;
    }
    .logo{
        height: 65px;
        padding-left: 2px;
        margin-right: -100px;
        align-items: center;
        
    }
    .navbar{
        margin-left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: px;
        padding-left: 100px;
        gap: px;
    }
    .nav-link{
        font-size: x-small;
        margin-left: 0;
        padding: 5px;
    }
    .logout-btn{
        width: 20px;
        margin: 0px;
        padding-right: 70px;
    }
    .btn{
        width: 70px;
        height: 30px;
        font-size: x-small;
        padding: 1px;
        margin: 1px;
        margin-left: 0px;
    }
    /* dropdown menu */
    
    .dropdown {
        float: right;
        overflow: hidden;
        margin-right: 100px;
      }
      
      .dropdown .dropbtn {
        font-size: 16px;
        width: 50px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0; 
        margin-left: 0;
      }
      
      .navbar a:hover, .dropdown:hover .dropbtn {
        background-color: #b4c5e4;
      }
      
      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 16px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
      }
      
      .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        font-size: x-small;
      }
      
      .dropdown-content a:hover {
        background-color: #ddd;
      }
      
      .dropdown:hover .dropdown-content {
        display: block;
      }
    .alert{
        font-size: small;
    }    
    body{
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: px 100px;
        background-color: #11122b;
    }
    p{
        font-size: small;
    }
    .container{
        margin-top: 20px;
        display: flex;
        padding-top: 0px;
        box-shadow: 0px 0px 15px 2px #1f1f1f5e;
        border: 2px white;
    }
    
    aside{
        width: 100px;
        height: 500px;
        color: #f2f2f2;
        font-size: small;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 0px 15px 3px #1f1f1f;
    }
    .navbar-p {
        gap: 25px;
      }
    
      .user-logo {
        height: 80px;
      }
    
      .user-logo img {
        width: 70%;
      }
    
      li {
        padding: 8px;
      }
        li:hover::before {
        width: 100%;
        color: #b4c5e4;
      }
    
      li img {
        padding-top: 80px;
      }
    
      .li-icon {
        padding: 5px 10px;
        width: 30px;

      }
    
      .card {
        width: calc(100vw - 100px);
      }
    
      .card .title {
        font-size: 1.5rem;
      }
    
      .card .content {
        font-size: 1.2rem;
      }
    
      main .home .content h2 .balance span .totalbalance {
        font-size: x-small;
      }
    
      .link-btn {
        width: 150px;
        height: 30px;
        margin-left: 25%;
      }
    .pay-btn {
        width: 150px;
        height: 30px;
        font-size: 12px;
      }
    
      .link-btn:hover,
      .keys-btn:hover,
      .pay-btn:hover {
        background-color: #b4c5e4;
        border: 2px solid #fff;
      }
    
      .btn-wrapper {
        margin: 10px;
        align-items: center;
      }
    
      .home,
      .request,
      .wallet,
      .result {
        overflow-y: scroll;
        background: #090c9b;
      }
    
      .selectedLink {
        background: linear-gradient(100deg, #090c9b, skyblue);
        color: #090c9b;
      }
    .t-btn,
      .k-btn {
        width: 150px;
        height: 40px;
        font-size: small;
        transition: .3s;
      }
    
      .t-btn {
        background-color: #b4c5e4;
        color: #090c9b;
        border-radius: 10px;
        margin-left: 0px;
      }
    
      .t-btn:hover {
        background: #fff;
        color: #1f1f1f;
      }
    
      .k-btn {
        background-color: #fff;
        color: #090c9b;
        border-radius: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
      }
    
      .k-btn:hover {
        background: #b4c5e4;
        color: #fff;
      }
    
      .more-btn,
      .more-link-btn {
        width: 100px;
        height: 30px;
        margin: 5px;
        border: 1px solid #b4c5e4;
        border-radius: 5px;
        background-color: #fff;
        color: #090c9b;
        transition: .3s;
      }
    
      .more-btn:hover,
      .more-link-btn:hover {
        background-color: #b4c5e4;
        color: #fff;
      }
    table {
        display: table;
		max-width: 100%;
        max-height: 300px;
        width: 100%;
        height: auto;
        background-color: #fff;
        color: #1f1f1f;
        border: 1px solid gray;
        overflow-y: scroll;
        border-radius: 8px;
        table-layout: fixed;
        font-size: xx-small;
        
    }
    
      th {
        background-color: #04aa6d;
        color: white;
        text-align: left;
      }
    
      th,
      td {
        padding: 1px;
        text-align: left;
        word-wrap: break-word;
      }
    
      th,
      td {
        border-bottom: 1px solid #ddd;
      }
    
      tr:hover {
        background-color: #090c9b;
        color: #b4c5e4;
      }
    
      tr:nth-child(even) {
        background-color: #f2f2f2;
      }
    
      tr:nth-child(even):hover {
        background-color: #090c9b;
        color: #b4c5e4;
      }
    
      footer {
        width: 100%;
        background-color: #090c9b;
        margin-top: 20px;
      }
    
      .alert {
        background-color: wheat;
        color: #1f1f1f;
        padding: 10px;
        border-radius: 6px;
      }
}

@media screen and (max-width:430px) {
	header{
    display: grid;
    grid-auto-flow: column;
    justify-items: center;
	}
	.navbar{
		display: none;
	}
	.dropdown{
	margin-right: 50px;
    float: none;
    overflow: hidden;
    padding-top: 25px;
	}
    .logout-btn{
        right: 25%;
        height: 15px;
        position: relative;
    }
    .login-box{

        height: 435px;
        margin-top: 2px;
    }
    .login-box .signup {
        margin: 2px;
    }
    .login-container{
    	margin: 1px;
        padding-top: 1px;
    }
    .alert{
        margin-top: 10px;
    }
    .container{

    }
    aside{
        width: 60px;
 
    }
    .link-btn {
        width: 100px;
        height: 30px;
        margin: 0;

    }
    table{
        max-width: 100%;
        max-height: 300px;
        width: 100%;
        height: auto;
        font-size: 10px;
        border-collapse: collapse;
    }
    td, th{
        width: 55px;
        padding: 2px;
        word-wrap: break-word;
        max-width: 200px;
        white-space: normal;
    }
    .navbar-p{
        gap: 5px;
        width: 70px;
    }
    footer{
        width: 100%;
        height: auto;
    }
    .user-logo{
       height: 50px; 
    }
    main{
        width: 300px;
        padding-top: 100px;
    }
    .card{
        width: 300px;
        padding: 5px;
        font-size: x-small;
        text-align: center;
    }
    .contact-form-container{
        margin-top: 20px;
    }

	.logo{
		position: relative;
        top: 50%;
        left: -120%;
	}
}