|
|
/*Fonts CSS */
|
|
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
|
|
|
|
|
|
|
|
|
/*Default CSS*/
|
|
|
* {
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
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 .buttons {
|
|
|
max-width: 100%;
|
|
|
padding: 0 150px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/* Main CSS */
|
|
|
html{
|
|
|
scroll-behavior: smooth;
|
|
|
background-image: url(../../assets/img/background2.jpg);
|
|
|
height: 100vh;
|
|
|
background-position: center;
|
|
|
background-repeat: no-repeat;
|
|
|
background-size: cover;
|
|
|
}
|
|
|
|
|
|
|
|
|
body{
|
|
|
display: flex;
|
|
|
font-family: "Orbitron", sans-serif;
|
|
|
flex-direction: row;
|
|
|
align-items: stretch;
|
|
|
height: 95%;
|
|
|
margin-top: 10px;
|
|
|
padding: 0;
|
|
|
|
|
|
--light: hsl(220, 50%, 90%);
|
|
|
--primary: hsl(255, 30%, 55%);
|
|
|
--focus: hsl(210, 90%, 50%);
|
|
|
--border-color: hsla(0, 0%, 100%, .2);
|
|
|
--global-background: hsl(220, 25%, 10%);
|
|
|
--background: linear-gradient(to right, #0e1538, #061663);
|
|
|
--shadow-1: hsla(236, 50%, 50%, .3);
|
|
|
--shadow-2: hsla(236, 50%, 50%, .4);
|
|
|
}
|
|
|
|
|
|
.enigme{
|
|
|
width: 25%;
|
|
|
height: 100%;
|
|
|
color: aliceblue;
|
|
|
margin-left: 20px;
|
|
|
background: rgba(0,0,0,0.6);
|
|
|
box-sizing: border-box;
|
|
|
box-shadow: 0 15px 25px rgba(0,0,0,);
|
|
|
border-radius: 10px;
|
|
|
padding: 10px;
|
|
|
margin-left: 10px;
|
|
|
margin-right: 20px;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Button Css */
|
|
|
|
|
|
.buttons{
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
|
|
|
.compiler_class .buttons div{
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
.buttons .btn{
|
|
|
position: relative;
|
|
|
width: 120px;
|
|
|
height: 60px;
|
|
|
display: inline-block;
|
|
|
background: transparent;
|
|
|
margin: 20px;
|
|
|
}
|
|
|
|
|
|
|
|
|
.buttons .btn:before, .buttons .btn:after
|
|
|
{
|
|
|
content:'';
|
|
|
position: absolute;
|
|
|
inset: 0;
|
|
|
transition: 0.5s;
|
|
|
background: #f00
|
|
|
}
|
|
|
|
|
|
|
|
|
.buttons .btn:nth-child(1):before, .buttons .btn:nth-child(1):after
|
|
|
{
|
|
|
background: linear-gradient(45deg, #00ccff, #0e1538, #d400d4)
|
|
|
}
|
|
|
|
|
|
.buttons .btn:nth-child(2):before, .buttons .btn:nth-child(2):after
|
|
|
{
|
|
|
background: linear-gradient(45deg, #d400d4, #0e1538, #fb5942);
|
|
|
}
|
|
|
|
|
|
.buttons .btn:hover:before
|
|
|
{
|
|
|
inset: -3px;
|
|
|
}
|
|
|
|
|
|
.buttons .btn:hover:after
|
|
|
{
|
|
|
inset: -3px;
|
|
|
filter: blur(10px);
|
|
|
}
|
|
|
|
|
|
.buttons .btn span{
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
display: inline-block;
|
|
|
background: #0e1538;
|
|
|
z-index: 10;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
font-size: 1.2em;
|
|
|
text-transform: uppercase;
|
|
|
letter-spacing: 2px;
|
|
|
color: #fff;
|
|
|
border: 1px solid #040a29;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.buttons .btn span::before{
|
|
|
content:'';
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: -50%;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
background: rgba(255,255,255,0.075);
|
|
|
transform: skew(25deg)
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.buttons .btn .noAnimation {
|
|
|
animation: none;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
|
|
|
/* Console CSS*/
|
|
|
|
|
|
.compiler_class{
|
|
|
width: 30%;
|
|
|
}
|
|
|
|
|
|
#console{
|
|
|
font-size: .8rem;
|
|
|
opacity: 0.85;
|
|
|
letter-spacing: 1px;
|
|
|
background-color: #040a29;
|
|
|
color: #fff;
|
|
|
border: solid 1px #414141;
|
|
|
padding: 10px;
|
|
|
margin-left: 10px;
|
|
|
margin-right: 10px;
|
|
|
max-width: 95%;
|
|
|
max-height: 85%;
|
|
|
line-height: 1.5;
|
|
|
border-radius: 5px;
|
|
|
resize: none;
|
|
|
}
|
|
|
|
|
|
|
|
|
/* Ace CSS*/
|
|
|
|
|
|
.ace{
|
|
|
width: 45%;
|
|
|
max-height: 100%;
|
|
|
margin-bottom: 0;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
|
|
|
/* Text Css */
|
|
|
|
|
|
.enigme h1{
|
|
|
font-size: 2rem !important;
|
|
|
font-weight: 700;
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
.enigme .sign{
|
|
|
margin-top: 10px;
|
|
|
margin-right: 10px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
.enigme h2{
|
|
|
font-size: 1.5rem;
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
.enigme p{
|
|
|
font-size: 1rem;
|
|
|
font-weight: 400;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
|
|
|
#result{
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
|
|
|
/* Modal CSS */
|
|
|
|
|
|
.modal-container {
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
z-index: 10;
|
|
|
|
|
|
display: none;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
|
|
|
/* --m-background is set as inline style */
|
|
|
background: var(--m-background);
|
|
|
}
|
|
|
|
|
|
.modal-container:target {
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
.modal {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
width: 95%;
|
|
|
height: 25%;
|
|
|
padding: 4rem 2rem;
|
|
|
border-radius: .8rem;
|
|
|
|
|
|
color: aliceblue;
|
|
|
background: var(--background);
|
|
|
box-shadow: var(--m-shadow, .4rem .4rem 10.2rem .2rem) var(--shadow-1);
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.modal__title {
|
|
|
font-size: 3.2rem;
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
.modal__btn {
|
|
|
margin-top: 4rem;
|
|
|
padding: 1rem 1.6rem;
|
|
|
border: 1px solid var(--border-color);
|
|
|
border-radius: 100rem;
|
|
|
|
|
|
color: inherit;
|
|
|
background: transparent;
|
|
|
font-size: 1.4rem;
|
|
|
font-family: inherit;
|
|
|
letter-spacing: .2rem;
|
|
|
|
|
|
transition: .2s;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.modal__btn:nth-of-type(1) {
|
|
|
margin-right: 1rem;
|
|
|
}
|
|
|
|
|
|
.modal__btn:hover,
|
|
|
.modal__btn:focus {
|
|
|
background: var(--focus);
|
|
|
border-color: var(--focus);
|
|
|
transform: translateY(-.2rem);
|
|
|
}
|
|
|
|
|
|
|
|
|
.link-2, #fleche {
|
|
|
width: 4rem;
|
|
|
height: 4rem;
|
|
|
border: 1px solid var(--border-color);
|
|
|
border-radius: 100rem;
|
|
|
|
|
|
color: inherit;
|
|
|
font-size: 2.2rem;
|
|
|
|
|
|
position: absolute;
|
|
|
top: 2rem;
|
|
|
right: 2rem;
|
|
|
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
|
|
|
transition: .2s;
|
|
|
}
|
|
|
|
|
|
#fleche{
|
|
|
display: none;
|
|
|
position: absolute;
|
|
|
top: 7rem;
|
|
|
right: 2rem;
|
|
|
}
|
|
|
|
|
|
.link-2::before {
|
|
|
content: '×';
|
|
|
|
|
|
transform: translateY(-.1rem);
|
|
|
}
|
|
|
#fleche::before {
|
|
|
content: '->';
|
|
|
|
|
|
transform: translateY(-.1rem);
|
|
|
}
|
|
|
|
|
|
.link-2:hover,
|
|
|
.link-2:focus, #fleche:hover, #fleche:focus {
|
|
|
background: var(--focus);
|
|
|
border-color: var(--focus);
|
|
|
transform: translateY(-.2rem);
|
|
|
} |