@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #1e1e1e;
    font-family: 'Prompt', sans-serif;
}

.container{
    height: 100vh;
    width: 60vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container h1{
    color:bisque;
}

.btn{
    margin: 2rem 0rem;
    border:none;
    height: 5rem;
    display: block;
    width: 5rem;
    background-color: dodgerblue;
    border-radius: 100%;
    font-size: 2rem;
    color: white;
}
button:active{
    background-color: rgb(224, 102, 32);
}
.btn-record{
    background-color: black;
    
}


.span{
    display: flex;
    justify-content: center;
    align-items: center;
}
h1{
    scale: (0);
}
h1:hover{
    color: #00ffe2;
    scale: (1);
}

.content{
    font-family: monospace;
    font-size: 20px;

}

p{
    color: yellow;
}

label{
    position: relative;
    width: 120px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #777; */
    cursor: pointer;
}

label::before{
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: #444;
    border-radius: 4px;
}

label input{
    position: absolute;
    appearance: none;
}

.icon{
    position: absolute;
    left: 0;
    width: 60px;
    height: 100%;
    /* background: #f00; */
    transition: 0.5s;
}

label input:checked ~ .icon{
    left: 60px;
}

.icon::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(#000, rgb(75, 72, 72), #e3e3e3);
    filter: blur(1px);
    /* z-index 1 hará que se vea este lado después */
    z-index: 1;
}

.icon::after{
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 10px;
    height: 100%;
    background: #9d9d9d;
    filter: blur(1px);
}
.shadow{
    position: absolute;
    top: 30px;
    left: -12px;
    width: 84.85px;
    height: 300px;
    background: linear-gradient(180deg, rgba(0,0,0,0.1),
    transparent, transparent);
    transform-origin: top;
    transform: rotate(315deg);
    pointer-events: none;
}
.iconBox{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#000, #a3aaba);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1),
    15px 15px 15px rgba(0, 0, 0, 0.1),
    20px 20px 15px rgba(0, 0, 0, 0.1),
    30px 30px 15px rgba(0, 0, 0, 0.1), 
    inset 1px 1px 2px #fff;  
} 

.iconBox ion-icon{
    color: #000;
    font-size: 1.5em;
    --ionicon-stroke-width: 50px;
    transition: 0.5s;

}

label input:checked ~ .icon .iconBox ion-icon{
    color: #00ffe2;
    filter: drop-shadow(0 0 5px #00ffe2) drop-shadow(0 0 15px #00ffe2);
    
}