File size: 1,865 Bytes
babeaf6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.main-container 
{
  flex-direction: row;
}

.radio-buttons 
{
  display: flex;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.custom-radio input 
{
  opacity: 0;
  height: 0;
  width: 0;
}

.radio-btn 
{
  margin: 8px;
  width: 160px;
  height: 185px; 
  border: 2.4px solid transparent;
  display: inline-block;
  border-radius: 8px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 16px #c3c3c367;
  cursor: pointer;
}

.radio-btn > i {
  color: #ffffff;
  background-color: #FFDAE9;
  font-size: 16px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) scale(1.6);
  border-radius: 40px;
  padding: 2.4px;
  transition: 0.5s;
  pointer-events: none;
  opacity: 0;
}

.radio-btn .hobbies-icon 
{
  width: 110px; 
  height: 110px; 
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.radio-btn .hobbies-icon img
{
  display:block;
  width:100%;
  margin-bottom:16px;
}
.radio-btn .hobbies-icon i 
{
  color: #FFDAE9;
  line-height: 64px;
  font-size: 40px;
}

.radio-btn .hobbies-icon h4
{
  color: rgb(214, 214, 214);
  font-size: 12px; 
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing:0.8px; 
}

.custom-radio input:checked + .radio-btn 
{
  border: 1.6px solid #FFDAE9;
}

.custom-radio input:checked + .radio-btn > i 
{
  opacity: 1;
  transform: translateX(-50%) scale(0.8);
}

@keyframes pulse {
  0%,
  100% {
     box-shadow: 0 0 0 0 rgba(173, 216, 230, 0.4);
  }
  25% {
     box-shadow: 0 0 0 10px rgba(173, 216, 230, 0.15);
  }
  50% {
     box-shadow: 0 0 0 20px rgba(173, 216, 230, 0.55);
  }
  75% {
     box-shadow: 0 0 0 10px rgba(173, 216, 230, 0.25);
  }
}

.pulse-animation-1 {
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 8px;
}

.pulse-animation-2 {
  animation: pulse 2.2s infinite ease-in-out;
  border-radius: 8px;
}