234 lines
4.2 KiB
CSS
Executable file
234 lines
4.2 KiB
CSS
Executable file
:root {
|
|
--theme: #42866d;
|
|
--theme-light: #4c954e;
|
|
--theme-light-hover: #80c786;
|
|
--max-width: clamp(0px, calc(100% - 50px), 1280px);
|
|
}
|
|
|
|
a {
|
|
color: var(--theme-light);
|
|
text-decoration: none;
|
|
}
|
|
img {
|
|
width: 100%;
|
|
pointer-events: none;
|
|
border-radius: 10px;
|
|
}
|
|
video {
|
|
width: 100%;
|
|
}
|
|
button {
|
|
background: var(--theme-light);
|
|
color: white;
|
|
border-radius: 4px;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
transition: 0.3s background;
|
|
}
|
|
button:hover {
|
|
background: var(--theme-light-hover);
|
|
}
|
|
#highlight {
|
|
color: var(--theme-light);
|
|
}
|
|
::selection {
|
|
background-color: var(--theme-light);
|
|
color: inherit;
|
|
}
|
|
|
|
body {
|
|
background: rgba(225,228,232,1);
|
|
font-family: 'Zen Maru Gothic', sans-serif;
|
|
width: 100%;
|
|
max-width: var(--max-width);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#footer {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
background: var(--theme);
|
|
color: white;
|
|
padding: 0px 100%;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform: translate(-50%);
|
|
width: 100%;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
max-width: var(--max-width);
|
|
align-items: center;
|
|
color: white;
|
|
position: fixed;
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
top: 0px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
z-index: 10;
|
|
}
|
|
header h1 {
|
|
font-size: 24px;
|
|
}
|
|
hb {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
height: 60px;
|
|
width: 100%;
|
|
z-index: 8;
|
|
}
|
|
.menu {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 200px;
|
|
cursor: default;
|
|
}
|
|
.menu a {
|
|
font-weight: bold;
|
|
color: white;
|
|
padding: 8px 20px;
|
|
border-radius: 4px;
|
|
transition: 0.3s background;
|
|
}
|
|
.menu a:hover {
|
|
background: var(--theme-light-hover);
|
|
cursor: pointer;
|
|
}
|
|
.socials a {
|
|
color: white;
|
|
margin-left: 14px;
|
|
}
|
|
|
|
banner img {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
opacity: 0.2;
|
|
filter: saturate(0);
|
|
/* transition: 2s object-position;
|
|
animation: 2s banner ease; */
|
|
}
|
|
banner::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 200px;
|
|
opacity: 1;
|
|
background: var(--theme);
|
|
z-index: -2;
|
|
}
|
|
|
|
#for-banner {
|
|
color: white;
|
|
margin: 0px 0px 90px 0px;
|
|
}
|
|
|
|
#extra-menu {
|
|
background: white;
|
|
margin: -34px 0px 0px 0px;
|
|
padding: 0px 100%;
|
|
left: 50%;
|
|
position: absolute;
|
|
width: 100%;
|
|
transform: translate(-50%);
|
|
}
|
|
#extra-menu button {
|
|
color: black;
|
|
background: transparent;
|
|
font-weight: bold;
|
|
border-bottom: 4px transparent solid;
|
|
border-radius: 0px;
|
|
transition: 0.3s border-color, 0.3s background;
|
|
}
|
|
#extra-menu button:hover {
|
|
background: var(--theme-light-hover);
|
|
}
|
|
#extra-placeholder {
|
|
margin-top: 260px;
|
|
text-align: center;
|
|
padding: 0px;
|
|
margin-bottom: 130px;
|
|
}
|
|
.extra-content {display: none;}
|
|
.extra-content {margin-top: 140px;}
|
|
|
|
.content {
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
width: 100%;
|
|
max-width: var(--max-width);
|
|
}
|
|
|
|
.grid-40auto {
|
|
display: grid;
|
|
grid-template-columns: 40% auto;
|
|
}
|
|
.vertical-center {
|
|
align-items: center;
|
|
}
|
|
|
|
td {
|
|
text-align: center;
|
|
padding: 10px 0px;
|
|
}
|
|
|
|
form {
|
|
display: grid;
|
|
grid-gap: 6px;
|
|
}
|
|
input, textarea {
|
|
border: none;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
}
|
|
textarea {
|
|
height: 140px;
|
|
resize: none;
|
|
}
|
|
|
|
@keyframes banner {
|
|
from {object-position: 0px 0px;}
|
|
to {object-position: 0px -240px;}
|
|
}
|
|
@keyframes bigBanner {
|
|
from {transform: scale(1.2);}
|
|
to {transform: scale(1);}
|
|
}
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
#grid-5050 {grid-template-columns: auto !important;}
|
|
}
|
|
@media only screen and (max-width: 750px) {
|
|
header {margin-bottom: 70px;}
|
|
.header::before {height: 155px !important}
|
|
banner img {
|
|
object-position: 0px !important;
|
|
height: 260px !important;
|
|
}
|
|
banner::before {
|
|
height: 260px !important;
|
|
}
|
|
#for-banner {
|
|
margin: 100px 0px 54px 0px !important;
|
|
}
|
|
.menu {
|
|
position: absolute !important;
|
|
top: 80px !important;
|
|
left: 0px !important;
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|