File size: 2,021 Bytes
2b70216
 
50c9d20
 
 
2b70216
 
 
 
50c9d20
 
2b70216
 
 
 
50c9d20
 
 
2b70216
 
 
 
 
50c9d20
 
 
 
 
 
 
 
 
 
 
 
2b70216
 
50c9d20
 
2b70216
 
 
50c9d20
2b70216
 
 
 
 
 
50c9d20
 
2b70216
50c9d20
2b70216
50c9d20
 
 
2b70216
50c9d20
 
 
2b70216
 
50c9d20
 
2b70216
50c9d20
2b70216
 
 
50c9d20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Roboto:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    color: #000;
    /* border:none; */
    text-decoration: none;
}


header {
    height: 80px;
    background-color: #FFC3C3;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
}
header>.left{
    position: relative;
}

header .menu_btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

header .title {
    font-size: 2rem;
    cursor: pointer;
}

header>.sub_header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header>.sub_header a {
    margin-inline: 10px;
    cursor: pointer;
    text-align: center;
}

header>.sub_header a:hover {
    border-bottom: 2px solid #000;
}

header #user_badge {
    border-radius: 50%;
    background-color: #0000004c;
    aspect-ratio: 1;
    color: #fff;
    padding: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width:550px) {

    header {
        height: unset;
        flex-direction: column;
        padding-inline: 0;
    }

    header .menu_btn {
        display: inherit;

    }

    header>.left{
        width:100%;
        text-align: center;
        /* margin-bottom: 10px; */

    }

    .sub_header.hidden{
        display:none;
    }

    header>.sub_header {
        width: 100%;
        flex-direction: column;
        background-color: inherit;
        margin-top: 10px;
    }

    header>.sub_header>div {
        display: flex;
        flex-direction: column;

    }

    header>.sub_header a {
        margin-bottom: 10px;
        padding: 10px;
        border: 2px solid black;
        border-radius: 50px;
        background-color: black;
        color: white;

    }
}