-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
155 lines (131 loc) · 2.67 KB
/
style.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
@import url('https://fonts.googleapis.com/css2?family=Stardos+Stencil:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Scheherazade+New&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
box-sizing: border-box;
}
body {
font-family: Georgia, 'Times New Roman', Times, serif;
color: rgb(0, 0, 0);
background-color: #f7f7f7;
min-height: 100vh;
background: url(img/wm.jpg) no-repeat center center;
background-size: cover;
display: flex;
align-items: flex-end;
justify-content: center;
}
h3 {
font-family: 'Stardos Stencil', cursive;
}
.container {
display: flex;
flex-flow: column;
align-items: center;
}
.countries {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 3rem;
margin-bottom: 8rem;
font-size: 2rem;
opacity: 0;
transition: opacity 1s;
}
.country {
flex-direction: column;
background-color: rgb(255, 255, 255);
box-shadow: 0 2rem 5rem 1rem rgba(0, 0, 0, 0.753);
font-family: 'Scheherazade New', serif;
font-size: 2rem;
font-weight: 600;
width: 300px;
border-radius: 0.7rem;
margin: 0 3rem;
overflow: hidden;
}
.neighbour::before {
content: 'Neighbour country';
width: 100%;
position: absolute;
top: -4rem;
text-align: center;
font-size: 1.8rem;
font-weight: 600;
text-transform: uppercase;
color: rgb(37, 37, 37);
}
.neighbour {
font-family: 'Scheherazade New', serif;
transform: scale(0.8) translateY(1rem);
margin-left: 0;
}
.country__img {
width: 100%;
height: 17rem;
object-fit: cover;
background-color: #eee;
border-bottom: 5px rgb(88, 88, 88) double;
border-top-left-radius: 0.7rem;
border-top-right-radius: 0.7rem;
}
.country__data {
padding: 2.5rem 3.75rem 3rem 3.75rem;
}
.country__name {
font-size: 2.7rem;
margin-bottom: 0.7rem;
}
.country__region {
font-size: 1.4rem;
font-weight: 800;
margin-bottom: 2.5rem;
text-transform: uppercase;
color: rgb(63, 63, 63);
}
.country__row:not(:last-child) {
margin-bottom: 1rem;
}
.country__row span {
display: inline-block;
margin-right: 2rem;
font-size: 2.4rem;
}
.btn-country {
border: none;
font-size: 2rem;
margin-bottom: 15%;
padding: 2rem 2rem;
border-radius: 0.7rem;
color: black;
background-color: rgba(234, 243, 255, 0.247);
box-shadow: 2px 2px 2px whitesmoke;
cursor: pointer;
}
.images {
display: flex;
}
.images img {
display: block;
width: 80rem;
margin: 4rem;
}
.images img.parallel {
width: 40rem;
margin: 2rem;
border: 3rem solid white;
box-shadow: 0 2rem 5rem 1rem rgba(0, 0, 0, 0.1);
}
.pErr {
margin: 50px 5px 0 5px;
}
.imgErr {
height: 110px;
margin: 0 auto;
}