@font-face {
    font-family: "calculator";
    src: url("../digital-7-font/Digital7Monoitalic-8xKz.ttf");
  }
body {

    height: 100vh;
   background-color: #000;
    overflow: hidden;
    font-family: 'Bruno Ace', cursive;
    user-select: none;
}
#up-arrow{
    position: absolute;
    top: 88%;
    left: 40%;
    translate: -50%;
    color: #ffffffca;
    font-size: xx-large;
    animation: up-symbol 1.5s alternate-reverse;
}
#magnifying-plus,#magnifying-minus{
    position: absolute;
    top: 88%;
    left: 60%;
    translate: -50%;
    color: #ffffffae;
    font-size: xx-large;
    animation:up-symbol 1.5s alternate-reverse ;
}
.controls-infos-container{
    position: absolute;
    top: 88%;
    left: 50%;
    translate: -50%; 
    text-align: center;
}
.controls-infos-container >span:first-child{
    color: aqua;

}
.controls-infos-container >span:nth-child(2){
    color: #44ff00;

}
.controls-infos-container >span:last-child{
    color: #03a9f4;
}

.frame {
    perspective: 700px;
    position: relative;
    top: 12%;
    left: 50%;
    translate: -50%;
    width:145px;
    height: 145px;
    transform-origin: bottom center;
    animation: spin 2.5s linear infinite;   
}
.frame-mad-mode{
    animation: spin 2s linear infinite ;  
}
.frame-center{
    top: 20%;
    
}

.odd, .even {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--form) ;
    transform-origin: bottom center;
    rotate: calc(36deg * var(--d));
   
}
.odd {
    background-color: var(--c);
    top: 15%;
    height: 85%;
    scale: .3 .5;
    animation: scale 4s ease-in-out infinite alternate-reverse ; 
    box-shadow:inset 0px 0px 6px 0px #ffffff29 ; 
}

.odd2{
    scale: 0 1;
    animation: scale 1s ease-in-out infinite alternate-reverse , spin 15s  alternate-reverse,
    spin2 3s  15s alternate-reverse , turn-round 2s 20s alternate-reverse,
    spin2 15s 41s alternate-reverse , spin 15s 55s alternate-reverse ,spin2 15s 70s alternate-reverse , turn-round 2s 60s alternate-reverse
    , spin 15s 85s alternate-reverse, turn-round2 5s 30s alternate-reverse , spin2 15s 100s alternate-reverse  , spin 15s 105s alternate-reverse , spin2 10s 115s alternate-reverse infinite;  
}

.even { 
    background-color: var(--c);
    box-shadow:inset 0px 0px 7px 0px #ffffff15 ; 
   
}

.even2{
 opacity: .9; 
 animation: color 4s 5s linear infinite alternate-reverse,  
 scale 1s ease-in-out infinite alternate-reverse , spin2 10s  alternate-reverse,
 spin 10s  9s alternate-reverse , turn-round 3s 20s alternate-reverse,
 spin 10s 31s alternate-reverse , spin2 10s 45s alternate-reverse, turn-round2 3s 50s alternate-reverse ,spin1 10s 60s alternate-reverse, turn-round 3s 65s alternate-reverse
 , spin2 10s 75s alternate-reverse infinite, spin1 10s 90s alternate-reverse  , spin2 15s 105s alternate-reverse , spin1 10s 115s alternate-reverse infinite;  
}
.even-animi{
    animation: color 4s 3s linear infinite alternate-reverse;   

}
.mads-sec{
    position: absolute;
    right: 5%;
    top: 4%;
}
.mads-arrows{
    opacity: .6;
    color: gold;
    animation: attention-arrow .8s linear infinite;
    
}

.mads-sec button {
    width: 60px;
    padding: .16rem;
    border-radius: 1rem;
    background-color: gold;
    border: none;
}
.mads-container>button{
    display: block;
    left: 50%;
    translate: -50%;
    font-family: 'Mogra', cursive;
 }
.mads-container{
    width: 70px;
    height: 188px;
    padding: .4rem;
    border-radius: 1rem;
    background-color: #ffffff32;
    position: absolute;
    top: 40px;   
    left: 50%;
    translate: -50%;
    scale: 1 0;
    transform-origin: top center;
    backdrop-filter:hue-rotate(180deg) ;
}
.show-mads-container{
    animation: show-mads 1s forwards;
}
.form1{
    position: absolute;
    top: 10px;
}
.form-color, :disabled{
    color: #060bff;
}
.form2{
    position: absolute;
    top: 50px; 
}

 .mad1, .stop-mad1{
    position: absolute;
    top: 90px;
 }
 .mad2, .stop-mad2{
    position: absolute;
    top: 130px;
 }
 .invert{
    position: absolute;
    top:170px;
 }
 .invert-color{
    color: #a123d7;
}
 
.stop-mad1 , .stop-mad2{
  z-index: -1;
}


.filter{
    filter: hue-rotate(125deg);
}
.mad-filter{
    filter: hue-rotate(105deg);
}

.rose-center{
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gold;
}

/* Controls section */
.controls{
    position: relative;
    top: 33%;
    left: 50%;
    translate: -50%;
    width: 320px;
    height:270px ;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    row-gap: 1rem;
    background-color: #aaaaaa00;
  
}

.input-none{
   visibility: hidden;
}
.add-infos{
    color: #e4e2e2;
}
 
.f-screen{
  
     display: none; 
     
}
.controls >i{
    position: absolute;
    font-size:  x-large;
    top: 100px;
    right: 6%;
    color: #ffffffcd;
}
.colors-control{
    display: flex;
    justify-content: center;
    column-gap: 3rem;
}
.fc , .sc{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: .5rem;
    
    
}
.fc >div , .sc>div{
    height: 10px;
    user-select: all;
    font-family: "calculator";
    font-size: 18px;
    color: #03c9f4;
}

.color1,.color2{
    text-align: center;
    width: 65px;
    height: 15px;
    padding: .5rem;
    font-size: 11px;
    font-weight: bold;
    scale: 1.3 1;
    color: #eee;
    border-radius: 1rem;
   
}
.color3{
    color: #f44336;
}
.btn-container{
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}
.btn-container>button{
    width: 95px;
    height: 32px;
    font-size: 15px;
    font-style: italic;
    font-weight: bold;
    cursor: pointer;
    border-radius: 1rem;
    background-color: gold;
    border: none;
    font-family: 'Mogra', cursive;
}
.r2-c{
    color:#6200ff;
}
i{
    cursor: pointer;
}
/* Infos section */

.infos-sec{
    position: fixed;
    top: 13px;
    left: -40px;

}

.infos-symbol{
    position: absolute;
    top: 10px;
    left: 50px;
    font-size: 20px;
    color: gold;
    animation: infos-symbol 1s 2 alternate;
}

.infos-container{
    position: absolute;
    top: 30px;
    left: 60px;
    width: 270px;
    height: 440px;
    padding: 1rem ;
    border-radius: 1rem;
    color: #e4e2e2;
    background-color: #eeeeee19;
   font-size: 10.7px;
   transform-origin: top left;
   backdrop-filter: hue-rotate(180deg);
    scale: 0;
}

.show-infos{
animation: show-infos .6s linear forwards;

}
.hide-infos{
    animation: hide-infos .6s linear forwards;
    
    }


.infos-container >h2{
    text-align: center;
    font-family: 'Knewave', cursive;
    font-weight: 700;
    font-size: 8px;
}

.rose-symbol{
    display: inline-block;
    animation: spin 3s infinite linear;
}
h5{
    text-align: center;
    color: #ff9800;
}
.warning{
    position: absolute;
    top: 85px;
    left: 14px;
    height: 350px;
    font-size: 11px;
    color: #327aff;
    writing-mode: vertical-rl;
    word-break: break-all;
}
span{
    font-size: large;
    color: white;
}

.attention{
    display: none;
}
.show-attention{
    display: block;
    position: absolute;
    bottom: 16%;
    left: 50%;
    translate: -50%;
    text-align: center;
    color: red;
    font-size: 18px;
    
}

/* Keyframes section */

@keyframes spin {
    from {
        rotate: -360deg;
    }
}
@keyframes spin2 {
    from {
        rotate: 360deg;
    }
}
@keyframes scale {
   
    to{
        scale: 1 1;
    }
}
 @keyframes color {
    to{
        background-color: #ff7b0118;
    }
} 
@keyframes turn-round {
    to{
        rotate: x 360deg;
    }
}
@keyframes turn-round2 {
    to{
        rotate: x -360deg;
    }
}
@keyframes show-infos{
    from{
        scale: 0;
    }
    to{
        scale: 1;
       
    }
}
@keyframes hide-infos{
    from{
        scale: 1;
    }
    to{
        scale: 0;
       
    }
}

@keyframes infos-symbol{
    to{
        scale: 1.3;
    }
}
@keyframes up-symbol{
    to{
        scale:1.2
    }
}
@keyframes show-mads{
    to{
        scale: 1 1;
    }
}
@keyframes attention-arrow {
    to{
        opacity: 1;
       transform: translateY(35px) scale(1.6);

    }

}

/* Media section */


@media(max-width:800px){
   
    button{
        
        font-size: 15px;
    } 
    #magnifying{
        display: none;
    }
    .infos-container{
        width: 250px;
        height: 450px;
        line-height: 13px;
    }
    .infos-sec{
        position: absolute;
        translate: 15px 8px;

    }
    .controls-infos-container{
        top: 89%;
    }
    .controls-infos-container>span{
        font-size: 11.2px;

    }
    #up-arrow{ 
        left: 13%; 
        font-size:27px ;   
    }
    #magnifying-plus,#magnifying-minus{
       
        left: 87%;
        font-size:27px ; 
    }
    .frame-magnifying{
        scale: 1.15;
    }
    .show-attention{
        bottom: 13%;
        font-size: 12px;
    }
    .fc >div , .sc>div{
        font-size: 16px;
    }
}
@media(min-width:800px){
    .frame{
        top: 22%;
        scale: 1.4;
    }
   .frame-center{
    top: 25%;
    
   }
   .frame-magnifying{
    scale: 1.4;
}
    .controls{
        top: 50%;
        scale: 1.2;
    }
    .infos-sec{
        position: absolute;
        translate: 12vw 40px;
        scale: 1.2 ;
    
    }
    .infos-container >h2{
        font-size: 14px;
    }
    .controls-infos-container{
        
        font-size: 18px;
    }
    #up-arrow{ 
        left: 21%; 
        font-size:27px ;   
    }
    #magnifying-plus,#magnifying-minus{
        left: 79%;
        font-size:27px ; 
    }
    .mads-sec{
        right: 15%;
        top: 8.5%;
        
    }
    .frame-center{
      scale: 1.3;
    }
    .frame-magnifying{
        scale: 1.5;
    }
    .mads-sec{
     
        scale: 1.1;
    }
}
@media(min-width:1200px){
    .infos-sec{
        position: absolute;
        translate: 26vw 60px;
        scale: 1.35 ;
    
    }
   
    #up-arrow{ 
        left: 33%; 
        font-size:30px ;   
    }
    #magnifying-plus,#magnifying-minus{
        left: 67%;
        font-size:30px ; 
    }
    .mads-sec{
        right: 30%;
        top: 8.5%;
        scale: 1.2;
    }
    
}

/* Colors Ids */
#white{
    background-color: #ffffff18;
    
}
#black{
    background-color: #2b2a2a2b;
}

#blueviolet{
    background-color: #ff01ea18;

}
#yellow{
    background-color: #ffd90018;

}
#red{
    background-color: #fc282818;
}
#green{
    background-color: #09fa0918;
}
#blue{
    background-color: #0084ff18;
}
#orange{
    background-color: #ff980018;
}
#cyan{
    background-color: #00ffff18;
}
#lightblue{
    background-color:#00bfff18;
}
#coral{
    background-color:#fe865a18;
}
#hotpink{
    background-color:#fd82c018;
}
#lightsalmon{
    background-color:#d97c5818;
}
#orchid{
    background-color:#d74dd318;
}
#lime{
    background-color:#45de8c18;
}
#aquamarine{
    background-color: #13e59f18;
}
#lawngreen{
    background-color: #bff56813;
}
#turquoise{
    background-color: #46f6e418;
}
#yellowgreen{
    background-color: #d4f78e18;
}
#darkorange{
    background-color: #ff8c0018;
}
#deebskyblue{
    background-color: #00bfff18;
}
#gold{
    background-color: #ffd70018;
}
#chocolate{
    background-color: #fb6f0c12;
}
#chartreuse{
    background-color: #ff004c12;
}
#magenta{
    background-color: #f838f818;
}
#violet{
    background-color: #ff01ff18;
}
#tomato{
    background-color: #ff634718;
}
#silver{
    background-color: #c0c0c030;
}
#blue-violet{
    background-color: #5900fd18;
}
#brawn{
    background-color: #ff4b0018;
}
#orange2{
    background-color: #ad511a22;
}
