frog-website/stylesheet.css

128 lines
2.0 KiB
CSS

:root {
--color: #161616;
--primary-color: #E04855;
--on-primary: black;
--dark: #161616;
--on-dark: #E04855;
--space-xsmall: 5px;
--space-medium: 20px;
}
body {
background-image: url(img/background.jpg);
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
text-align: justify;
line-height: 25px;
color: var(--color);
}
h1{
font-family: "Knewave", system-ui;
text-transform: uppercase;
text-align: center;
margin: var(--space-xsmall);
}
p {
margin-bottom: var(--space-medium);
}
.content {
margin: 2em auto 0 auto;
max-width: 1100px;
}
.separator {
width: 150px;
height: 125px;
display: block;
margin-left: auto;
margin-right: auto;
background-image: url(img/frog.png);
}
.separator:hover {
background-image: url(img/frog-hover.png);
}
.separator:active {
background-image: url(img/frog-cwak.png);
}
fc-menu {
background-image: url(img/background-black-red.jpg);
margin-bottom: 1em;
height: 2.4em;
overflow: hidden;
transition: height 0.5s;
}
fc-menu .pure-menu-heading {
color: var(--primary-color);
font-weight: 900;
font-size: large;
}
fc-menu .pure-menu-link {
color: #DB2937;
}
fc-menu.open {
height: 14em;
}
fc-menu-toggle-button {
width: 34px;
height: 34px;
position: absolute;
top: 0;
right: 0;
display: none;
cursor: pointer;
}
fc-menu-toggle-button .bar {
display: block;
background-color: #777;
width: 20px;
height: 2px;
border-radius: 100px;
position: absolute;
top: 18px;
right: 7px;
transition: all 0.5s;
}
fc-menu-toggle-button .bar:first-child {
transform: translateY(-6px);
}
.open fc-menu-toggle-button .bar {
transform: rotate(45deg);
}
.open fc-menu-toggle-button .bar:first-child {
transform: rotate(-45deg);
}
.fc-right-menu {
text-align: right;
}
@media (max-width: 47.999em) {
.fc-right-menu {
text-align: left;
}
fc-menu-toggle-button {
display: block;
}
}