File size: 2,327 Bytes
32c8469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
body{
    background:#f3f4f6;
    font-family:  Figtree, sans-serif;
}
::-webkit-scrollbar {
    width: 10px;
  }
  /* Track */
::-webkit-scrollbar-track {
    background: none;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius:20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
  
.main_container{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.title{
    font-size:3rem;
    font-weight: 300;
    margin-top: 7rem;
    margin-bottom: 4rem;
}
::placeholder{
    color:#a9a9a9;
}
.input_container{
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    height:45px;
    width:100%;
    margin-inline: 20px;
}
.input_container>input[type="text"]{
    box-shadow:1px 1px 20px -7px #777;
    font-size:1.5rem;
    padding:0.2em 0.5em;
    width:600px;
    border-radius: 10px;
    outline: none;
    border:none;
}
.input_container>input[type="submit"]{
    
    background-color:#777;
    color:#fff;
    outline: none;
    border:none;
    padding:0.5rem 1rem;
    border-radius: 50px;
    margin-left:20px;
    font-size: 1.3rem;
    

    &:hover{
        cursor: pointer;
    }
}



#list_container{
    display:flex;
    flex-direction:column;
    align-items: center;
    height:300px;
    overflow:hidden scroll;
    width: 600px;
}

#list_container>.item{
    width:80%;
    background-color: #fff;
    margin:1rem 0;
    padding:1rem 2rem;
    border-radius:50px;
    box-shadow:1px 1px 20px -7px #777;
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.btn_container{
    display:flex;
    align-items: center;
    justify-content: center;
    height:1.5rem; 
}

.btn_container .delete_btn{
    /* height:100%;  */
    aspect-ratio:1;
    color:red;
    margin-left:20px;
}
.btn_container .check_btn{
    height:inherit;     
    aspect-ratio:1;
    margin-left:20px;
}
.btn_container .delete_btn:hover ,.btn_container .check_btn:hover{
    cursor: pointer;
}


@media only screen and (max-width: 768px) {
    body {
      background-color: lightblue;
    }
    .input_container>input[type="text"]{
        width:60%;    
    }
    #list_container{
        width:90%;
    }
  }