-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle3.css
More file actions
101 lines (101 loc) · 1.99 KB
/
style3.css
File metadata and controls
101 lines (101 loc) · 1.99 KB
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
.wrapper{
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.background-container{
width: 100%;
min-height: 100vh;
display: flex;
}
.bg-1{
flex: 1;
background-color: rgb(180, 243, 175);
}
.bg-2{
flex: 1;
background-color: rgb(163, 236, 240);
}
.about-container{
width: 85%;
min-height: 80vh;
position: absolute;
background-color: white;
box-shadow: 24px 24px 30px #6d8dad;
display: flex;
justify-content: center;
align-items: center;
padding: 20px 40px;
border-radius: 5px;
}
.image-container{
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.image-container img {
width: 500px;
height: 500px;
margin: 20px;
border-radius: 10px;
}
.text-container{
flex: 1;
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
font-size: 22px;
}
.text-container h1{
font-size: 70px;
padding: 20px 0px;
}
.text-container a{
text-decoration: none;
padding: 12px;
margin: 50px 0px;
background-color: rebeccapurple;
border: 2px solid transparent;
color: white;
border-radius: 5px;
transition: .3s all ease;
}
.text-container a:hover{
background-color: transparent;
color: black;
border: 2px solid rebeccapurple;
}
@media screen and (max-width: 1600px){
.about-container{
width: 90%;
}
.image-container img{
width: 400px;
height: 400px;
}
.text-container h1{
font-size: 50px;
}
}
@media screen and (max-width: 1100px){
.about-container{
flex-direction: column;
}
.image-container img{
width: 300px;
height: 300px;
}
.text-container {
align-items: center;
}
}