|
|
@ -1,7 +1,13 @@ |
|
|
|
body, html { |
|
|
|
body, html { |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
margin: 0; |
|
|
|
margin: 0; |
|
|
|
overflow: hidden; /* Prevents scrollbar from appearing */ |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#main{ |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
body { |
|
|
|
body { |
|
|
@ -10,12 +16,33 @@ justify-content: center; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.logo { |
|
|
|
.logo img { |
|
|
|
max-width: 100%; |
|
|
|
transition: transform 0.5s ease-in-out; |
|
|
|
height: auto; |
|
|
|
} |
|
|
|
transition: transform 0.3s, scale 0.3s; |
|
|
|
|
|
|
|
|
|
|
|
#text { |
|
|
|
|
|
|
|
opacity: 0; |
|
|
|
|
|
|
|
transition: opacity 0.5s ease-in-out; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
width: 50vw; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.logo:hover { |
|
|
|
#main:hover .logo img { |
|
|
|
transform: scale(1.5) rotate(360deg); /* Rotates the logo 360 degrees */ |
|
|
|
transform: scale(1.5) rotate(360deg); /* Adjust the scale factor as needed */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#main:hover #text { |
|
|
|
|
|
|
|
opacity: 1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
body, html{ |
|
|
|
|
|
|
|
font-family: CustomFont, sans-serif; /* Use the custom font as the fallback */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@font-face { |
|
|
|
|
|
|
|
font-family: CustomFont; |
|
|
|
|
|
|
|
src: url('static/fonts/c1-kenangan.regular.otf') format('truetype'); /* Change 'your-font.ttf' to the actual font file name */ |
|
|
|
} |
|
|
|
} |