*,
*::before,
*::after{
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
}
body.dark {
	background: #292C35;
}
#dark{
    padding-left: 15px;
}
.checkbox {
	opacity: 0;
	position: absolute;
    padding: 20px;
}

.label {
	background-color: #111;
	border-radius: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px;
	position: relative;
	height: 16px;
	width: 30px;
	transform: scale(1);
}

.label .ball {
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	height: 12px;
	width: 12px;
	transform: translateX(0px);
	transition: transform 0.2s linear;
}

.checkbox:checked + .label .ball {
	transform: translateX(12px);
}



.main{
    width: 100%;
    height: 100vh;
   display: grid;
    place-items: center;
  
}
.container{
    width: 25rem;
    height: 40rem;
   background-image: linear-gradient(pink,purple);
    border-radius: 2rem;
    box-shadow: 0 1.2rem 3rem 0.5rem rgba(0,0,0,0.2);
    padding: 3rem;
    text-align: center;
}
#dark{
    margin-left: 15rem;
}
.container h2{
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    word-spacing: 0.5rem;
    color: #171717;
    margin: 2rem 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 500;
    text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.3);
}
.container h3{
    color: #cccaca;
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
    margin-bottom: 4rem;
    font-weight: 300;
}
#img{
    width: 15rem;
    height: 15rem;
    margin: auto;
}
img{
    width: 100%;
    height: 100%;
    box-shadow: 0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4);
    border-radius: 50%;
    object-fit: cover;
}
.music-c{
    width: 20rem;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 5rem;
}
.music-c .fa{
    color: black;
    font-size: 2rem;
    cursor: pointer;
    filter: drop-shadow(0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4));
}
.music-c .fa:hover{
    color: grey;
}
.anime{
    animation: rotatePlayer 3s linear infinite;
}
@keyframes rotatePlayer{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
.dark-mode {
    background-color: black;
    color: white;
  }
  @media only screen and (max-width:700px){
    #dark{
        padding-left: 0px;
    }
    .container{
        width: 20rem;
        height: 30rem;
        padding: 2rem;
        margin-top: -50px;
    }
    .container h2{
       font-size: 2rem;
        font-weight: 400;
    }
    .container h3{
        font-size: 1rem;
        margin-bottom: 3rem;
        font-weight: 200;
    }
    #img{
        width: 10rem;
        height: 10rem;
        margin: auto;
    }
    .music-c{
        width: 10rem;
        margin-top: 3rem;
    }
    .music-c .fa{
      font-size: 1.5rem;
    }
   
}