-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
112 lines (94 loc) · 1.75 KB
/
menu.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
body{
background: #323949;
}
.content{
display: grid;
grid-template-columns: 60% 40%;
}
.video-container{
display: flex;
justify-content: center;
align-items: center;
}
.video{
width: 100%;
height: 100%;
}
.menu{
margin: 20px 0;
}
.menu-nav{
display: flex;
justify-content: space-between;
align-items: center;
}
.buttons{
margin: 0 15px 0 0;
}
.button-menu{
padding: 10px 20px;
margin: 0 15px 0 0;
border-radius: 30px;
color: #fff;
background-color: #212129;
border: 2px #40445A solid;
font: .75rem 'Montserrat', sans-serif;
cursor: pointer;
}
.button-menu:hover{
border: 2px #fff solid;
transition: border 0.4s ease-in-out;
background-color: #40445A;
}
.menu-title{
font: 1.3rem 'Montserrat', sans-serif;
color: #fff;
margin: 20px
}
.cards-container{
overflow: hidden;
margin: 20px;
display: grid;
grid-template-columns: 30px 300px;
grid-gap: 15px 400px;
}
.card{
width: 300px;
height: 250px;
padding: 10px 20px;
margin: 20px 0;
}
.card-image:hover{
border: 4px #fff solid;
transition: border 0.4s ease-in-out;
}
.card-image{
width: 100%;
height: 100%;
border-radius: 40px;
border: 4px #40445A solid;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 1280px) {
.content{
display: flex;
flex-direction: column;
}
.cards-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.menu{
margin-left: 15px;
}
.video{
height: 100vh;
}
.card {
width: 100%;
height: 100%;
margin: 20px 0;
}
}