File size: 2,198 Bytes
60c127b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2338cac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
133
134
135
#main_section {
    margin: 2rem;
    padding: 2rem;
    border-radius: 10px;
    min-height: 500px;
    background-color: #ffe4e4;
    box-shadow: 0px 0px 17px -10px #000;
    display: flex;
    flex-direction: column;
    align-items: center;

}


.header_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

#add_new_skill_btn {
    background-color: blue;
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    border:none;
    cursor: pointer;
}

.line {
    margin: 2rem 0;
    width: 80%;
    border-bottom: 2px solid black;
}

#skills{
    width:100%;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    align-items: center;
}
.skill{
    padding:4rem;
    background-color: #fff;
    border-radius: 10px;
    margin:2rem;
    margin-top:0;
    margin-left:0;
}


#modal{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    border:none;
    outline: none;
    border-radius: 10px;
    padding:2rem;
    background-color: #f0f0f0;
}

#modal>.close_btn{
    position:absolute;
    top:10px;
    right:10px;
    cursor: pointer;
}

#modal>.container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modal>.container>.title{
    font-size: 2rem;
}


#modal .skill_input{
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 1rem;
    padding:1rem 2rem;
    margin-top: 5rem;
    background-color: #fff;
    box-shadow: 0px 0px 10px -8px;
}

#modal .submit_btn{
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: #2b60f2;
    color: #fff;
    padding:0.7rem 1.5rem;
    margin-top: 3rem;
    cursor: pointer;
}

.field{
    display: flex;
    flex-direction: column;
}

.error_msg{
    color: red;
    font-size:0.8rem;
}



@media screen and (max-width: 550px) {
    #main_section {
        margin: 1rem;
        margin-top: 2rem;
        padding: 1rem;
    }
    .skill{
        padding:3rem;
        background-color: #fff;
        border-radius: 10px;
        margin:1rem;
        margin-top:0;
        margin-left:0;
    }
}