296 lines
3.9 KiB
CSS
296 lines
3.9 KiB
CSS
html {
|
|
background: rgb(236, 240, 241);
|
|
}
|
|
|
|
body {
|
|
background: rgb(236, 240, 241);
|
|
font-family: 'Inter';
|
|
font-size: 1.25rem;
|
|
margin: 0;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src :url('fonts/InterDisplay-Regular.woff2');
|
|
font-display: swap;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.content {
|
|
min-height: calc(100vh - 5rem - 2.5rem);
|
|
position: relative;
|
|
width: 50%;
|
|
}
|
|
|
|
.table {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.t-element {
|
|
align-items: center;
|
|
border-radius: 0.4rem;
|
|
box-shadow: 0 1px 3px lightgray;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
margin: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.t-element p {
|
|
margin: 0;
|
|
margin-bottom: 0.7rem;
|
|
}
|
|
|
|
.t-element h4 {
|
|
margin: 0;
|
|
margin-bottom: 0.7rem;
|
|
margin-top: 0.7rem;
|
|
}
|
|
|
|
.service {
|
|
display: block;
|
|
max-width: 10rem;
|
|
}
|
|
|
|
.header-area {
|
|
display: flex;
|
|
height: 5rem;
|
|
background-color: rgb(0, 164, 151);
|
|
justify-content: center;
|
|
}
|
|
|
|
.menu {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 50%;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 3.125rem;
|
|
border-radius: 50%;
|
|
display: block;
|
|
}
|
|
|
|
a.active {
|
|
position: relative;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
margin-left: 0.6rem;
|
|
}
|
|
|
|
a.active:before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 2px;
|
|
bottom: -5px;
|
|
left: 0;
|
|
background-color: #fff;
|
|
}
|
|
|
|
a.hover-underline-animation {
|
|
position: relative;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
margin-left: 0.6rem;
|
|
}
|
|
|
|
a.hover-underline-animation:before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 2px;
|
|
bottom: -5px;
|
|
left: 0;
|
|
background-color: #fff;
|
|
visibility: hidden;
|
|
transform: scaleX(0);
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
a.hover-underline-animation:hover:before {
|
|
transform: scaleX(1);
|
|
visibility: visible;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
small {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: square;
|
|
padding-left: 1rem;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
audio {
|
|
width: 100%;
|
|
}
|
|
|
|
.annotation {
|
|
text-align: left;
|
|
}
|
|
|
|
.donate {
|
|
width: 211px;
|
|
height: 211px;
|
|
}
|
|
|
|
#donate-text {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.donate-link {
|
|
text-decoration: none;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.donate-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.side-image {
|
|
object-fit: contain;
|
|
width: 70%;
|
|
}
|
|
|
|
.content-with-image {
|
|
display: flex;
|
|
}
|
|
|
|
.image-wrapper {
|
|
align-items: center;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.text-wrapper {
|
|
flex: 3;
|
|
}
|
|
|
|
.text-wrapper p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.questionmark {
|
|
animation: rotate 8s infinite;
|
|
display: inline-block;
|
|
margin-left: 0.3rem;
|
|
}
|
|
|
|
@keyframes rotate {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
50% {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(0deg);
|
|
}
|
|
}
|
|
|
|
footer {
|
|
height: 2.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
.content-with-image {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.side-image {
|
|
height: 50%;
|
|
object-fit: contain;
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
.right-section {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 850px) {
|
|
.menu {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.header-area {
|
|
padding-bottom: 1rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.content {
|
|
min-height: calc(100vh - 7rem - 2.5rem);
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
.content {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
width: 80vw;
|
|
}
|
|
|
|
a.hover-underline-animation:before {
|
|
transform: none;
|
|
transition: none;
|
|
}
|
|
a.hover-underline-animation:hover:before {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 370px) {
|
|
.header-area {
|
|
padding-bottom: 4rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.right-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.right-section a {
|
|
margin-bottom: 0.2rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
a.hover-underline-animation:before {
|
|
transform: none;
|
|
transition: none;
|
|
}
|
|
|
|
a.hover-underline-animation:hover:before {
|
|
transform: none;
|
|
}
|
|
}
|