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

137 lines
2.1 KiB
CSS

@font-face {
font-family: 'Platypi-Regular';
src: url('./fonts/webfonts/Platypi-Regular.woff2');
font-style: normal;
}
@font-face {
font-family: 'Platypi-Bold';
src: url('./fonts/webfonts/Platypi-Bold.woff2');
font-style: bold;
}
body {
background-color: #fffdfb;
font-family: 'Platypi-Regular', serif;
font-size: 41px;
line-height: 3.5rem;
margin: 0;
padding: 0 70px;
box-sizing: border-box;
}
.container {
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
left: 70px;
margin-bottom: 70px;
}
h1 {
font-family: 'Platypi-Bold', serif;
font-size: 50px;
max-width: 20%;
margin: 0;
}
h2 {
font-family: 'Platypi-Regular', serif;
font-size: 40px;
max-width: 30%;
margin: 0;
margin-bottom: -0.5rem;
}
.content-list {
max-width: 633px;
margin: auto;
margin-right: 0;
margin-top: 50px;
}
.content-list a {
color: black;
text-decoration: none;
}
.content-list img {
width: 35px;
height: auto;
vertical-align: middle;
filter: saturate(2);
}
#row1, #row2 {
width: 100%;
}
.about {
font-size: 22px;
line-height: 1.7rem;
max-width: 633px;
margin: auto;
margin-right: 0;
margin-top: 430px;
margin-bottom: 200px;
}
@keyframes wiggle{
25%{
transform: scale(0.8,1.3);
}
50%{
transform: scale(1.1,0.8);
}
75%{
transform: scale(0.7,1.2);
}
}
img:hover{
animation: wiggle 0.6s;
cursor: pointer;
}
@media (max-width: 768px) {
body {
font-size: 28px;
line-height: 2.5rem;
padding: 0 50px;
}
.container {
margin-left: -20px;
margin-bottom: 40px;
}
h1 {
font-size: 40px;
max-width: none;
}
h2 {
font-size: 30px;
max-width: none;
max-width: none;
}
.content-list {
max-width: 100%;
margin-top: 30px;
margin-right: 0;
}
.content-list img {
width: 25px;
}
.about {
padding: 20px;
}
}