*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body{
    background-color: #09090A;
    color: white;
  
    height: 100vh;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 48px;
    width: 100%;
    position: fixed;
    background-color: #09090A;
}
button{
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #8b5cf6;
    background-color: transparent;
    color: #fff;

    display: flex;
    align-items: center;
    gap: 12px;

    font-family: 'Inter';
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;

    cursor: pointer;
}
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0,0,0,0.4);;
} 
.modal-container.show{
  display: block;
}
.modal{
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #ff0000;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation-name: animatemodal;
    animation-duration: .4s;
}
.modal p{
    color: #ff0000;
    font-family: 'Inter';
    font-weight: 600;
}
#close-btn{
    font-size: 3rem;
}
#close-btn{
    cursor: pointer;
    font-size: 2rem;
  
}
/* Modal Animation Section */
@keyframes animatemodal {
    from {
      top: -300px;
      opacity: 0;
    }
    to {
      top: 50%;
      opacity: 1;
    }
}
form{
    display: flex;
    padding: 0 48px;
}
#form-habits{
    display: flex;

    padding: 182px 48px 48px;
    width: fit-content;
}
.habits{
    margin-top: 60px;
    display: flex;
    flex-direction: column;

    gap: 24px;
}
.habit{
    width: 64px;
    height: 64px;

    font-size: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.days{
    display: flex;
    gap: 48px;
    margin-left: 32px;
}
.day{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.day div{
    margin-bottom: 8px;

    font-family: 'Roboto Mono';
    font-size: 20px;
    line-height: 125%;

    color: #a1a1aa;
    text-align: center;
}
input{
    appearance: none;
    -webkit-appearance: none;

    width: 64px;
    height: 64px;
    border: 2px solid #27272a;
    border-radius: 8px;
    background: #18181b;

    cursor: pointer;
}

input:checked{
    background: #8b5cf6;
    border: 2px solid #a78bfa;
}

@media(max-width:570px){
    button div{
        display: none;
    }
}
