-
Notifications
You must be signed in to change notification settings - Fork 2
/
responsive.css
115 lines (106 loc) · 1.92 KB
/
responsive.css
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
@media only screen and (max-width: 1018px) {
.login {
display: none;
}
.hamburger {
display: block;
position: relative;
z-index: 100;
margin-left: auto;
margin-right: 0;
padding: 0 1rem;
user-select: none;
height: 100%;
appearance: none;
border: none;
outline: none;
background: black;
cursor: pointer;
}
.hamburger span {
display: block;
width: 32px;
height: 4px;
margin-bottom: 5px;
position: relative;
background-color: white;
border-radius: 6px;
z-index: 1;
transform-origin: 0 0;
transition: 0.4s;
}
.hamburger.is-active span {
background-color: white;
}
.hamburger.is-active span:nth-child(1) {
transform: translate(0px, -2px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
opacity: 0;
transform: translateX(15px);
}
.hamburger.is-active span:nth-child(3) {
transform: translate(-3px, 3px) rotate(-45deg);
}
.hamburger.is-active:hover span {
background-color: white;
}
.menu {
display: flex;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.673);
backdrop-filter: blur(10px);
position: absolute;
align-items: center;
justify-content: space-evenly;
flex-direction: column;
transform: translateY(-150vw);
transition: all 0.25s linear;
z-index: 9;
opacity: 0;
border-radius: 100%;
padding: 0;
}
.menu p:nth-child(1) {
margin-top: 50px;
}
.menu p {
color: white;
font-weight: 500;
margin: 10px;
}
.visible.menu {
opacity: 1;
transform: translateY(0vw);
position: fixed;
border-radius: 0;
}
}
@media only screen and (max-width: 768px) {
.hero-right {
display: none;
}
.hero-left {
min-width: 0;
}
}
@media only screen and (max-width: 570px) {
.box {
flex-direction: column;
}
.box1 {
flex-direction: column-reverse;
}
.content,
.content1 {
border-left: none;
border-right: none;
border-top: 1px solid black;
}
.testimonial {
flex-direction: column;
}
}