2024-02-04 16:29:54 +00:00
|
|
|
/* MOBILE AND GLOBAL STYLES */
|
|
|
|
|
|
|
|
/* applies to screens smaller than 500px (first breakpoint) */
|
|
|
|
/* and above unless overwritten below */
|
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600&display=swap');
|
|
|
|
|
2024-02-08 17:21:26 +00:00
|
|
|
:root {
|
2024-02-19 20:42:24 +00:00
|
|
|
|
2024-02-08 17:21:26 +00:00
|
|
|
}
|
|
|
|
|
2024-02-04 16:29:54 +00:00
|
|
|
body {
|
2024-02-19 20:42:24 +00:00
|
|
|
font-family: 'Outfit', sans-serif;
|
2024-02-08 17:21:26 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-02-19 20:42:24 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeImage {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2024-02-04 16:29:54 +00:00
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
#textWindow {
|
2024-02-08 17:21:26 +00:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
2024-02-19 20:42:24 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-02-08 17:21:26 +00:00
|
|
|
background-size: cover;
|
2024-02-19 20:42:24 +00:00
|
|
|
transition: opacity 1s forwards; /*transition does not work for images*/
|
|
|
|
position: relative;
|
2024-02-08 17:21:26 +00:00
|
|
|
}
|
2024-02-04 16:29:54 +00:00
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
#textWindow #background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2024-02-08 17:21:26 +00:00
|
|
|
height: 100%;
|
2024-02-19 20:42:24 +00:00
|
|
|
z-index: -2;
|
|
|
|
}
|
2024-02-08 17:21:26 +00:00
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
#textWindow #background-transition {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
|
|
|
opacity: 0;
|
2024-02-19 22:13:06 +00:00
|
|
|
transition: opacity 1s;
|
2024-02-19 20:42:24 +00:00
|
|
|
}
|
2024-02-08 17:21:26 +00:00
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 10vw;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#titleBanner {
|
|
|
|
padding-left: 5%;
|
|
|
|
padding-right: 5%;
|
|
|
|
transition: color 1s, background-color 1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.black {
|
|
|
|
background-color: #000;
|
|
|
|
color: #fff;
|
2024-02-08 17:21:26 +00:00
|
|
|
mix-blend-mode: multiply;
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
.white {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000;
|
|
|
|
mix-blend-mode: lighten;
|
|
|
|
}
|
|
|
|
|
|
|
|
#colorSelector {
|
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 10px;
|
|
|
|
align-items: center;
|
2024-02-19 22:13:06 +00:00
|
|
|
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #ffffff50;
|
|
|
|
border-radius: 10px;
|
2024-02-08 17:21:26 +00:00
|
|
|
}
|
|
|
|
|
2024-02-19 20:42:24 +00:00
|
|
|
#colorSelector input {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#colorSelector label {
|
|
|
|
font-size: 1.5em;
|
2024-02-08 17:21:26 +00:00
|
|
|
}
|
2024-02-04 16:29:54 +00:00
|
|
|
|
|
|
|
/* TABLET STYLES */
|
|
|
|
|
|
|
|
@media screen and (min-width: 500px) {
|
|
|
|
|
|
|
|
/* applies to screens wider than 499px */
|
2024-02-08 17:21:26 +00:00
|
|
|
|
2024-02-04 16:29:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* DESKTOP STYLES */
|
|
|
|
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
|
|
|
|
|
|
/* applies to screens wider than 999px */
|
|
|
|
|
|
|
|
}
|