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

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    background: #0b0b0b;
    margin: 100px 100px 100px 200px
}
.code-editor {

       
        background-color: #1d1e22;
        
        
        
        
        







        }
        









button{
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.sidebar{
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 75px;
    height: 100%;
    background: #3968e8;
    transition: all 0.4s;
}

body.open .sidebar{
    width: 240px;
}

.sidebar-inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
}

.sidebar-header{
    display: flex;
    align-items: center;
    height: 68px;
    padding: 0 1.25rem 0 0;
    background: rgba(0, 0, 0, 0.1);
    border-left: 3px solid transparent;
    transition: all 0.4s;
}

.sidebar-header:hover{
    border-left: 3px solid #f9f7f7;
}

.sidebar-burger{
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
}

.sidebar-burger > i, body.open .sidebar-burger > i{
    font-size: 25px;
    color: #f9f9f9;
    transition: all 0.4s;
}

.sidebar-burger:hover > i, body.open .sidebar-burger:hover > i{
    color: #bdbdbd;
}

.sidebar-logo{
    height: 30px;
    opacity: 0;
    transition: all 0.4s;
}

body.open .sidebar-logo{
    opacity: 1;
    transition: all 0.4s;
}

.sidebar-menu{
    display: grid;
}


.sidebar-menu > button{
    display: flex;
    gap: 12px;
    align-items: center;
    height: 55px;
    font-family: "Ubuntu";
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    padding: 0 22px;
    border-left: 3px solid transparent;
    transition: all 0.4s;
}
.sidebar-menu > button:hover{
    border-left: 3px solid #f9f9f9;
}

.sidebar-menu > button.has-border{
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1rem;
}

.sidebar-menu > button > i{
    font-size: 25px;
    color: #f9f9f9;
    transition: all 0.4s;
}

.sidebar-menu > button:hover > i, .sidebar-menu > button:hover > span{
    color: #bdbdbd;
}

.sidebar-menu > button > span{
    color: #f9f9f9;
    opacity: 0;
    transition: all 0.4s;
}

body.open .sidebar-menu > button > span{
    opacity: 1;
    transition: all 0.4s;


    body{
        margin: 0;
        background: #fafafa;
        color: #262626;
        font-family: 'Segoe UI';
    }
    
    .sidebar{
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 250px;
        height: 100%;
        padding: 40px 10px 30px 10px;
        background: #fff;
        border-right: 1px solid #dbdbdb;
        transition: 0.3s;
    }
    
    .sidebar-header{
        width: 100%;
        margin-bottom: 44px;
    }
    
    .logo-icon{
        display: none;
        font-size: 28px;
        height: 35px;
        width: 51px;
        text-align: center;
    }
    
    .logo-img{
        margin-left: 14px;
        height: 32px;
    }
    
    .sidebar button{
        height: 60px;
        background: transparent;
        border: 0;
        padding: 0;
        font-family: inherit;
        cursor: pointer;
    }
    
    .sidebar button > span{
        display: flex;
        align-items: center;
        gap: 12px;
        height: 48px;
        padding: 0 12px;
        border-radius: 24px;
        line-height: 1;
    }
    
    .sidebar button:hover > span{
        background: #f2f2f2;
    }
    
    .sidebar button:hover > span :is(i, img){
        scale: 1.05;
    }
    
    .sidebar button > span > span{
        transition: 0.3s;
    }
    
    .sidebar button i{
        position: relative;
        font-size: 28px;
        transition: 0.2s;
    }
    
    .sidebar button img{
        width: 28px;
        height: 28px;
        transition: 0.2s;
    }
    
    .sidebar button i > span{
        display: grid;
        place-items: center;
        height: 20px;
        padding: 0 4px;
        border-radius: 10px;
        position: absolute;
        top: -5px;
        right: -10px;
        border: 1px solid #fff;
        background: #ff2f40;
        color: #f9f9f9;
        font-size: 12px;
        font-family: 'Segoe UI';
    }
    
    .sidebar button i > em{
        display: block;
        width: 10px;
        height: 10px;
        background: #ff2f40;
        position: absolute;
        border-radius: 10px;
        top: 2px;
        right: -1px;
        border: 1px solid #fff;
        color: #f9f9f9;
        font-size: 12px;
        font-family: 'Segoe UI';
    }
    
    .sidebar button span{
        font-size: 17px;
    }
    
    .sidebar > nav{
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .sidebar > nav button:last-child{
        margin-top: auto;
    }
    
    @media (width < 500px){
        .logo-img{
            display: flex;
        }
    
        .logo-icon{
            display: block;
        }
    
        .sidebar{
            width: 72px;
        }
    
        .sidebar button > span{
            width: 50px;
        }
    
        .sidebar button > span > span{
            opacity: 0;
            visibility: hidden;
        }
    
    }

}


.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 180px;
    width: 280px;
    border-radius: 25px;
    background: lightgrey;
    overflow: hidden;
    transition: 100ms ease;
    box-shadow: rgba(0, 0, 0, 0.15) 2px 3px 4px;
  }
  
  /* ---------- Info section ---------- */
  
  .info-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 75%;
    color: white;
  }
  
  .left-side {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: 1;
    padding-left: 18px;
  }
  
  button {
    display: block;
    border: none;
    background: transparent;
  }
  
  .weather {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
  }
  
  .weather div {
    display: flex;
    align-items: center;
  }
  
  .weather div:nth-child(1) {
    width: 40%;
    height: auto;
  }
  
  .temperature {
    font-size: 34pt;
    font-weight: 500;
    line-height: 8%;
  }
  
  .right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    padding-right: 18px;
    z-index: 1;
  }
  
  .right-side > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .hour {
    font-size: 19pt;
    line-height: 1em;
  }
  
  .date {
    font-size: 15px;
  }
  
  /* ---------- Background ---------- */
  .background-design {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #ec7263;
    overflow: hidden;
  }
  
  .circle {
    background-color: #efc745;
  }
  
  .circle:nth-child(1) {
    position: absolute;
    top: -80%;
    right: -50%;
    width: 300px;
    height: 300px;
    opacity: 0.4;
    border-radius: 50%;
  }
  
  .circle:nth-child(2) {
    position: absolute;
    top: -70%;
    right: -30%;
    width: 210px;
    height: 210px;
    opacity: 0.4;
    border-radius: 50%;
  }
  
  .circle:nth-child(3) {
    position: absolute;
    top: -35%;
    right: -8%;
    width: 100px;
    height: 100px;
    opacity: 1;
    border-radius: 50%;
  }
  
  /* ---------- Days section ---------- */
  .days-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 25%;
    background-color: #974859;
    gap: 2px;
    box-shadow: inset 0px 2px 5px #974859;
  }
  
  .days-section button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #a75265;
    box-shadow: inset 0px 2px 5px #974859;
    cursor: pointer;
    transition: 100ms ease;
    gap: 5px;
  }
  
  .days-section button:hover {
    scale: 0.9;
    border-radius: 10px;
  }
  
  .days-section .day {
    font-size: 10pt;
    font-weight: 500;
    color: white;
    opacity: 0.7;
  }
  
  .icon-weather-day {
    display: flex;
    align-items: center;
    width: 20px;
    height: 100%;
  }







