You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
1.5 KiB

*,
*::before,
*::after {
box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
html {
--scroll-behavior: smooth;
scroll-behavior: smooth;
overflow-x: hidden;
}
body {
text-rendering: optimizeSpeed;
-webkit-font-smoothing: antialiased;
line-height: 1.6;
font-family: "KoHo", sans-serif;
font-size: var(--font-size__base);
background: var(--dark);
color: var(--light);
overflow-x: hidden;
}
h1 {
font-size: 45px;
}
h2 {
font-size: 32px;
margin-bottom: var(--gap-s);
@media screen and (min-width: 768px) {
font-size: 38px;
}
}
h3 {
font-size: 20px;
margin-bottom: 10px;
@media screen and (min-width: 768px) {
font-size: 24px;
}
}
h4 {
font-size: var(--font-size__base);
}
ul,
ol {
list-style: none;
margin: 0;
padding: 0;
}
a, a:visited {
text-decoration: none;
cursor: pointer;
transition: all 0.4s ease;
color: var(--green-lighter);
}
a:hover {
color: var(--blue-lighter);
transition: all 0.4s ease;
}
img,
picture {
max-width: 100%;
display: block;
}
// Scrollbar
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--green) transparent;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 5px;
}
*::-webkit-scrollbar-track {
background: none;
}
*::-webkit-scrollbar-thumb {
background-color: var(--green);
border-radius: 5px;
border: none;
}