@font-face {
    font-family: 'Moonglade';
    src: url('fonth.ttf');
}
@font-face {
    font-family: 'Spartan';
    src: url('spartan.ttf');
}
@font-face {
    font-family: 'Minecrafter';
    src: url('minecrafter.ttf');
}

body,html{
    height:100%;
    width:100%;
    padding:0;
    margin:0;
    display:block;
    position:static;
}

.body {
    height:100vh;
    width:100%;
    padding:0;
    margin:0;
    display: flex;
    justify-content: center;
    background: rgb(0, 7, 8);
}

.bocs{
    margin:auto;
    display:inline-block;
    width:300px;
    position:relative;
    border-radius:10px;
    animation: clip 0.75s;
    padding:7px;
    overflow:hidden;
    background:rgb(30,30,30)
}
.bocs img{
    width:35%;
    padding:5%;
    position:relative;
    transform:scale(1);
    margin:auto;
    display:block;
    height:auto;
    z-index:2;
    transition:0.1s;
}
.ah, .bh{
    color:white;
    font-family:'Moonglade';
    display:block;
    text-align:center;
    transition:0.2s;
}
.ah{
    font-size:30px;
}
.bh{
    letter-spacing:1px;
    text-transform:lowercase;
    margin-bottom:10px;
}
.clip{
    position:absolute;
    transition:0.2s;
    top:0;
    right:0;
    width:500px;
    height:500px;
    transform:rotate(-90deg);
    clip-path:ellipse(120px 170px at 100% 100%);
    z-index:1;
}
.bocs:hover .clip{
    clip-path:ellipse(190px 260px at 110% 100%);
}
img:active{
    transform:scale(1.1);
    transition:0.2s;
}
.bocs:hover .sela{
    display:none;
    animation:appear 0.5s;
}
.bocs:hover .sela .sel{
    display:flex;
    justify-content:center;
}

.sela{
    display:none;
    height:20px;
    width:20%;
    margin:auto;
    justify-content:space-around;
}
.sela .silver{
    background:linear-gradient(45deg, rgb(158, 158, 158), rgb(200,200,200));
}
.sela .gold{
    background:linear-gradient(45deg, rgb(255, 217, 0) -20%, rgb(255, 166, 0));
}

.sela .sel{
    height:100%;
    width:20px;
    border:2px solid white;
    margin:auto;
    overflow:hidden;
    border-radius:100%;
    z-index:100;
}
.sela .sel .spimg{
    position:relative;
    height:20px;
    width:20px;
    transform:scale(0.8);
}
.sela .sel:hover .spimg{
    background:url('background-spunta.png');
    background-size:100%;
    z-index:120;
}
.hr{
    border:0;
    background:white;
    height:0;
    width:0;
    margin:0;
    display:block;
    transition: width 0.8s;
}
.bocs:hover .hr{
    margin:7px auto 15px auto;
    height:2px;
    width:30%;
}
.bocs:hover{
    animation:height 1.25s;
    padding-bottom:25px;
}
.sela{
    margin-bottom:8px;
    margin-top:10px;
}

/*BTN*/

.bocs:hover .btn{
    display:block;
}

.bocs .btn, .form .btn{
    width:50%;
    background:white;
    margin:auto;
    margin-top:20px;
    border:none;
    background:linear-gradient(45deg, rgb(157, 255, 0) 20%, yellow);
    outline:3px solid white;
    position:relative;
}

.bocs .btn{
    display:none;
}

.btn.a{
    font-family:'Moonglade';
    padding:10px 0;
    font-size:16px;
}
.btn.b{
    font-family:'Spartan';
    padding:10px 0 7px 0;
    font-size:17px;
}

.btn::before {
    content: '';
    transition: 0.25s;
    mix-blend-mode: exclusion;
    background: white;
    display: block;
    position: absolute;
    bottom: 0;
    width: 0;
    height: 100%;
}

.btn:hover::before {
    width: 100%;
}

.container {
    padding: 7px;
}

a.fix{
    position:fixed;
    top:10px;
    right:10px;
    display:block;
    color:rgba(255,255,255,0.2);
    text-decoration:none;
    font-family:'Moonglade';
    transition:color 0.2s;
    font-size:13px;
    text-transform:uppercase;
    z-index:2;
}
a.fix:hover{
    color:white;
}

@keyframes clip{
    0%{clip-path:circle(0px);}
    100%{clip-path:circle(100%);}
}
@keyframes appear{
    0%{transform:translateY(200px);opacity:0;}
    30%{opacity:0;}
    100%{transform:translateY(0);opacity:1;}
}
@keyframes height{
    0%{height:190px}
    100%{height:265px}
}




/* FORM */

div.form{
    display:inline-block;
    position:relative;
    margin:auto;
    width:525px;
    height:auto;
    padding:15px;
    padding-top:30px;
    border-radius:10px;
    background:rgb(27, 34, 34);
    overflow:hidden;
}
.form form input{
    border:none;
    outline:none;
    border-bottom:1px solid gold;
    animation:drug 15s infinite;
    background:none;
    height:30px;
    font-size:20px;
    color:white;
    font-family:'Spartan';
    padding-bottom:0;
}
.form form .in{
    position:relative;
    display:inline-block;
    margin-bottom:27px;
}
.form form .in .span{
    color:white;
    position:absolute;
    left:0;
    user-select:none;
    bottom:6px;
    transition:0.2s;
    display:block;
    font-family:'Moonglade';
}

.form .h{
    width:calc(100% + 30px);
    height:100px;
    margin:-15px;
    margin-top:-30px;
    background:rgba(255,255,255,1);
    position:absolute;
    z-index:1;
}
.h1{
    display:flex;
    user-select:none;
    margin:auto;
    position:relative;
    vertical-align:middle;
    width:60%;
    margin-top:0;
    padding-top:0;
    transform:translateY(-30px);
    z-index:4;
    position:relative;
}
.h2{
    position:relative;
    height:100px;
}

h1,h2{
    font-family:"Moonglade";
    line-height:100%;
}

h1{
    margin-top:0;
}
h2{
    margin-bottom:0;
    padding-top:5px;
    text-align:left;
}

.form .btn{
    width:100%;
    padding:12px 0;
    font-size:17px;
    margin-top:0px;
}

/* RIMUOVE BACKGROUND IN AUTOFILL */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color:white!important;
}

/* FINE PARTE AUTOFILL */

#card-errors{
    display:none;
}


@keyframes drug{
    0%{filter:hue-rotate(0deg);}
    100%{filter:hue-rotate(360deg);}
}

/* PROVE */

.abcdefghiqwerty{
    color:#292b30
}

#blaze{
    z-index:4;
    position:relative;
    margin:0;
    display:block;
    width:80px;
    padding:10px;
    height:80px!important;
    transform:none;
    height:auto;
    position:relative;
    image-rendering: pixelated;
    user-select:none;
}

button{
    user-select:none;
}