@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400&display=swap');

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    direction:rtl;
    box-sizing: inherit;
}

html{
    box-sizing: border-box;
    font-size: 62.5%; // 10px
}

ul{
    list-style-type: none;
}

a{
    text-decoration: none;
  
}

body{
    width: 100%;
    min-height: 100vh;
    font-family: 'shabnam', sans-serif;
    background-color: #f0fafb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
  border-radius:10px;
    position: relative;
    width: 35rem;
    height: 11.5rem;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: height .4s ease-in;
}
.container.active{
    height: 35rem;
    
}

.card{
    position: relative;
    display: flex;
    align-items: center;
  
}

.card-img img{
    width: 80px;

}

.card h2{
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: #222;
    font-family:shabnam;
}
.card h2 span{
    font-size: 1.6rem;
    font-weight: 400;
    color: #777;
}

.container ul {
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 1.5rem;
    padding: 2rem 0;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}
li{
  border-right:2px solid transparent;
  padding-right:20px;
  transition: 0.2s;
  
}
li:hover{
  border-right:10px solid #3edbf0;
  cursor: pointer;
}

.container ul a{
    font-size: 1.5rem;
    color: #444;
  font-family: 'shabnam';
    transition: 0.2s;
}
.fa{
    font-size: 2rem;
    margin-left: 1rem;

}
.container ul a:hover{
    color: #ff761b;
}

.toggle{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
  border-radius:0 30px 0 0;
    background-color: #3EDBF0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.toggle > .fa{
    margin: auto;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: 0.25s;
    font-size: 1.8rem;
}

.container.active .toggle > .fa{
    transform: rotate(-540deg);
}