website/style.css

334 lines
5.2 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Roboto:wght@300;400&display=swap');
:root {
--accent-color: rgb(227, 154, 228);
--white: rgb(255, 255, 252);
--overlay: #00000069;
}
html,
body {
height: 100%;
margin: 0;
background: var(--overlay);
}
a,
h1,
h2,
h3,
h4,
h5,
p,
li {
font-family: 'Lato', sans-serif;
font-variant: normal;
color: var(--white);
}
button {
background: linear-gradient(1800deg, var(--accent-color), rgba(0, 0, 0, 0.355) 70%);
color: var(--white);
padding: 10px;
border: none;
background-position: 0% 0%;
background-size: 100% 200%;
border-bottom: 5px solid var(--accent-color);
border-radius: 2px;
transition: 0.3s;
}
button:hover {
background-position: 0% 0%;
background-size: 100% 100%;
}
button:active {
filter: hue-rotate(180deg);
}
.paragraph {
align-self: center;
position: relative;
width: 40%;
}
.navbar {
width: 100%;
height: 30px;
background: var(--overlay);
}
.navbar a {
padding: 10px;
text-decoration: underline;
text-decoration-color: rgba(41, 41, 41, 0.507);
text-decoration-thickness: 3px;
text-underline-offset: 8px;
transition: text-decoration-color 0.2s;
}
.navbar a:hover {
text-decoration-color: var(--accent-color);
}
.navbar #active {
text-decoration-color: var(--accent-color);
}
.middlething {
overflow: auto;
position: fixed;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.454);
}
.bgvideo {
filter: brightness(80%);
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}
.title {
margin-left: 10px;
font-size: 30px;
text-align: center;
}
#gallery,
#projects {
display: none;
transition: all .5s ease-in-out;
align-self: center;
position: relative;
width: 40%;
}
.dropdown {
margin-left: 10px;
border-bottom: 3px solid var(--accent-color);
border-radius: 1px;
cursor: pointer;
user-select: none;
}
@-webkit-keyframes glow {
from {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #e60073, 0 0 20px #e60073, 0 0 25px #e60073, 0 0 30px #e60073, 0 0 35px #e60073;
}
to {
text-shadow: 0 0 10px #fff, 0 0 15px #ff4da6, 0 0 20px #ff4da6, 0 0 25px #ff4da6, 0 0 30px #ff4da6, 0 0 35px #ff4da6, 0 0 40px #ff4da6;
}
}
@keyframes slideaway {
from {
display: block;
}
to {
transform: translateY(40px);
opacity: 0;
}
}
::-webkit-scrollbar {
width: 15px;
}
/* Track */
::-webkit-scrollbar-track {
background: transparent;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(65, 65, 65);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(155, 153, 153);
}
.gimage:hover {
width: 1500px;
position: fixed;
float: none;
transition: height 4s;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
.gimage {
transition: height 4s;
width: 100%;
height: auto;
border-radius: 3px;
}
@keyframes rotation {
from {
transform: rotateY(0deg);
rotate: 0deg;
}
to {
transform: rotateY(360deg);
rotate: -360deg;
}
}
.rotate {
animation: rotation 10s linear infinite;
}
input {
background-color: rgba(32, 32, 32, 0.507);
width: 99999000000000000000000000000000000000000%;
border: 0;
border-bottom: 2px solid gray;
outline: 0;
font-size: 1.3rem;
color: white;
padding: 7px;
transition: border-bottom 1s;
}
input:focus {
border-bottom: 2px solid var(--accent-color);
}
.tooltip {
position: relative;
display: inline-block;
color: var(--white);
border-bottom: 1px solid var(--accent-color);
}
.tooltip .tooltiptext {
visibility: hidden;
background-color: #3d3d3dd3;
width: 190px;
color: var(--white);
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: absolute;
z-index: 10;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s ease;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.invert {
padding: 2px;
color: var(--white);
backdrop-filter: blur(100px);
}
.contact {
padding: 10px;
align-self: center;
position: relative;
width: 40%;
backdrop-filter: blur(100px);
vertical-align: baseline;
margin-top: 2px;
}
.contact image {
display: inline-block;
}
.contact p {
padding-left: 10px;
position: absolute;
display: inline-block;
line-height: 10px;
vertical-align: baseline;
}
.contact a {
display: block;
text-decoration: none;
}
.smalimages {
align-self: center;
position: relative;
}
.smalimages img {
width: 88px;
height: 31px;
display: inline-block;
align-self: center;
margin-top: 100px;
}
.link {
color: var(--accent-color);
}
.bottomtext {
backdrop-filter: blur(100px);
text-align: center;
margin-top: 4%;
bottom: 0;
background: var(--overlay);
}
.emote{
width: 30px;
margin-left: 3px;
position: absolute;
}