summaryrefslogtreecommitdiff
path: root/styles.css
blob: 11a7543eea45cf7921da229e89622fda4c53a9b3 (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* Main */
:root {
    /*--clr-neon: hsl(317 100% 54%);*/
    --clr-neon: hsl(189 100% 51%);
    --clr-bg: hsl(323 21% 16%);
  }
  
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh !important;
  background: var(--clr-bg);
  font-family: 'Cormorant SC', serif !important;
}

/* Media Queries*/
@media only screen and (max-width: 1080px) {
  #intro{
    margin-bottom: 25vh;
  }
}

@media only screen and (min-width: 1080px) {
  #intro{
    height: 100vh !important;
    max-height: 100vh !important;
  }
}


#juhend{
  font-family: 'Kanit', sans-serif;
  font-size: larger !important;
}

@media only screen and (max-width: 560px) {
  #juhend{
    margin-bottom: 10%;
  }
}

@media only screen and (min-width: 1080px) {
  #juhend{
    height: 100vh !important;
  }
}



/* Starting button */
.rannakuNupp{
  height: 80vh;
}
  
.neon-button-wrapper {
  display: grid;
  place-items: center;
  font-family: "Balsamiq Sans", cursive;
  color: var(--clr-neon);
}
.neon-button {
  font-size: 3rem;

  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  color: var(--clr-neon);
  border: var(--clr-neon) 0.125em solid;
  padding: 0.25em 1em;
  border-radius: 0.25em;

  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em currentColor;

  box-shadow: inset 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);

  position: relative;
}

.neon-button::before {
  pointer-events: none;
  content: "";
  position: absolute;
  background: var(--clr-neon);
  top: 120%;
  left: 0;
  width: 100%;
  height: 100%;

  transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
  filter: blur(1em);
  opacity: 0.7;
}

.neon-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 2em 0.5em var(--clr-neon);
  opacity: 0;
  background-color: var(--clr-neon);
  z-index: -1;
  transition: opacity 100ms linear;
}

.neon-button:hover,
.neon-button:focus {
  color: var(--clr-bg);
  text-shadow: none;
}

.neon-button:hover::before,
.neon-button:focus::before {
  opacity: 1;
}
.neon-button:hover::after,
.neon-button:focus::after {
  opacity: 1;
}

/* Accordion */
.accordion-item, .accordion-header, .accordion-button{
  background-color: transparent !important;
  border: none !important;
  text-decoration: none !important;
}