summaryrefslogtreecommitdiff
path: root/css/styles.css
blob: 7957112d5a246f6da78caf06ac2a76a6ae115d36 (plain)
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
body {
  margin: 0;
  background-color: #ab6f94;
  font-family: "Trebuchet MS", sans-serif;
}

.top-container {
  text-align: center;
  height: 100vh;
  padding: 24px;
}

.profile-picture {
  width: 100%;
  border-radius: 50%;
  max-width: 40vh;
  max-height: 40vh;
  box-shadow:
    0 10px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.projects-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 24px;
  gap: 12px;
}

.project {
  text-decoration: none;
  color: black;
  border-radius: 8px;
  flex: 1;
  background-color: #7ac2aa;
  display: flex;
  box-shadow:
    0 8px 12px 0 rgba(0, 0, 0, 0.2),
    0 6px 12px 0 rgba(0, 0, 0, 0.17);
  min-width: 300px;
  transition: transform 250ms;
  padding: 12px;
  gap: 12px;
}

.project:hover {
  background-color: #6dad98;
  transform: translateY(-8px);
  cursor: pointer;
}

.project-logo-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.project-body {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
}

.about {
  margin-left: auto;
  margin-right: auto;
  flex: 1;
  background-color: var(--background-color-2);
  border: 1px solid var(--border-color);
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  max-width: 600px;
  line-break: anywhere;
}

.about-text {
  flex: 4;
  text-align: left;
}

.avatar {
  flex: 2;
}

@media (max-width: 500px) {
  .projects-grid {
    padding: 12px;
  }

  .project {
    min-width: 200px;
  }

  .project-logo-container {
    font-size: 3rem;
  }

  .about {
    flex-direction: column;
    gap: 12px;
  }
}