*{
    margin: 0;padding: 0;box-sizing: border-box;
}
body{
    /* background-color: black; */
}
.main{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 2px white solid;
    width: 60vw;
    height: 70vh;
}
.fanImg{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    margin: 30px 0 ;
}

.on{
    animation: rotation 7s linear infinite;
}
.speed1{
    animation: rotation 3s linear infinite;
}
.speed2{
    animation: rotation 2s linear infinite;

}
.speed3{
    animation: rotation 1s linear infinite;

}
h1{
    text-align: center;
}
button{
    width: 10rem;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
    box-shadow: 5px 5px 15px #21212165;
    /* outline: none; */
    cursor: pointer;
    margin: 0 5px;
    background-color: white;
}
button:hover{
    box-shadow: 5px 5px 15px #212121;
    background-color: black;
    color:white;
}
.btns{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@keyframes rotation {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
@keyframes off {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
/* @media (min-width:1000px) {
    .main{
        width: 40vw;
    }
} */