You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scripted/WEB/src/CSS/Home.css

399 lines
5.8 KiB

/*Fonts CSS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
/*Default CSS*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow-x: hidden;
position: relative;
font-family: "Orbitron", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
line-height: normal;
}
p, a, li, button, ul {
margin: 0;
padding: 0;
line-height: normal;
text-decoration: none !important;
}
a:hover {
text-decoration: none !important;
}
input:focus, textarea:focus, select:focus {
outline: none;
}
@media (min-width:1700px) {
main .container {
max-width: 100%;
padding: 0 150px;
}
}
/* Animation CSS*/
@keyframes blink {
0%,
22%,
36%,
75% {
color: #ffe6ff;
text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf,
-0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf,
0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174;
}
28%,
33% {
color: #dd07bf;
text-shadow: none;
}
82%,
97% {
color: #991888;
text-shadow: none;
}
}
@keyframes flicker {
from {
opacity: 1;
}
4% {
opacity: 0.9;
}
6% {
opacity: 0.85;
}
8% {
opacity: 0.95;
}
10% {
opacity: 0.9;
}
11% {
opacity: 0.922;
}
12% {
opacity: 0.9;
}
14% {
opacity: 0.95;
}
16% {
opacity: 0.98;
}
17% {
opacity: 0.9;
}
19% {
opacity: 0.93;
}
20% {
opacity: 0.99;
}
24% {
opacity: 1;
}
26% {
opacity: 0.94;
}
28% {
opacity: 0.98;
}
37% {
opacity: 0.93;
}
38% {
opacity: 0.5;
}
39% {
opacity: 0.96;
}
42% {
opacity: 1;
}
44% {
opacity: 0.97;
}
46% {
opacity: 0.94;
}
56% {
opacity: 0.9;
}
58% {
opacity: 0.9;
}
60% {
opacity: 0.99;
}
68% {
opacity: 1;
}
70% {
opacity: 0.9;
}
72% {
opacity: 0.95;
}
93% {
opacity: 0.93;
}
95% {
opacity: 0.95;
}
97% {
opacity: 0.93;
}
to {
opacity: 1;
}
}
@keyframes animate1{
0%{
left: -100%;
}
50%,100%{
left: 100%;
}
}
@keyframes animate2{
0%{
top: -100%;
}
50%,100%{
top: 100%;
}
}
@keyframes animate3{
0%{
right: -100%;
}
50%,100%{
right: 100%;
}
}
@keyframes animate4{
0%{
bottom: -100%;
}
50%,100%{
bottom: 100%;
}
}
/* Main CSS */
.main{
background-image: url(../../assets/img/BackgroundMain.jpg);
height: 100vh;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/*Title CSS*/
.flicker {
animation: shine 2s forwards, blink 3s 2s infinite;
}
.fast-flicker {
animation: shine 2s forwards, blink 10s 1s infinite;
}
.sign{
margin-bottom: 130px;
}
.sign h1 {
font-weight: 600;
margin: auto !important;
display: flex;
justify-content: center;
align-items: center;
width: 40%;
height: 40%;
left: 50%;
top: 50%;
letter-spacing: 0.5rem;
font-family: "Orbitron", sans-serif;
text-transform: uppercase;
font-size: 5em;
color: #ffe6ff;
text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf,
-0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf,
0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174;
animation: shine 2s forwards, flicker 3s infinite;
}
/*Main Button CSS*/
.main .duel{
color: #56fcfc;
}
.log{
color: #fff;
}
.main .duel{
margin-top: 60px;
}
.main a {
letter-spacing: 0.2rem;
padding: 25px 30px;
color: #ff86ff;
height: 50px;
width: 200px;
border: none;
font-weight: 400;
border-radius: 10px;
font-size: 22px;
display: flex;
position: relative;
align-items: center;
justify-content: space-around;
cursor: pointer;
text-transform: uppercase;
transition: 0.5s;
overflow: hidden;
}
.align-items-center{
display: table;
margin: auto;
}
.main .duel:hover{
background: #56fcfc;
color: #000000;
box-shadow: 0 0 5px #56fcfc,
0 0 25px #56fcfc,
0 0 50px #56fcfc,
0 0 100px #56fcfc;
}
.main a:hover {
background: #ff86ff;
color: #000000;
box-shadow: 0 0 5px #ff86ff,
0 0 25px #ff86ff,
0 0 50px #ff86ff,
0 0 100px #ff86ff;
-webkit-box-reflect:below 1px linear-gradient(transparent, #0005);
}
.main a span{
position: absolute;
display: block;
}
.duel span:nth-child(1){
background: linear-gradient(90deg, transparent, #56fcfc);
}
a span:nth-child(1){
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg,transparent,#ff86ff);
animation: animate1 1s linear infinite;
}
.duel span:nth-child(2){
background: linear-gradient(180deg, transparent, #56fcfc);
}
a span:nth-child(2){
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg,transparent,#ff86ff);
animation: animate2 1s linear infinite;
animation-delay: 0.25s;
}
.duel span:nth-child(3){
background: linear-gradient(270deg, transparent, #56fcfc);
}
a span:nth-child(3){
bottom: 0;
right: 0;
width: 100%;
height: 2px;
background: linear-gradient(270deg,transparent,#ff86ff);
animation: animate3 1s linear infinite;
animation-delay: 0.50s;
}
.duel span:nth-child(4){
background: linear-gradient(360deg, transparent, #56fcfc);
}
a span:nth-child(4){
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg,transparent,#ff86ff);
animation: animate4 1s linear infinite;
animation-delay: 0.75s;
}