.motor-container {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 4%;
    right: 1%;
}

.rotor-center {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}
.phase-label {
    position: absolute;
    color: yellow;
    font-size: 2rem;
    font-weight: bold;
    z-index: 5;
}
.phase-a {
    top: -12%;
    left: 46%;
}
.phase-b {
    top: 14%;
    right: 5%;
}
.phase-c {
    bottom: 27%;
    right: 7%;
}
.phase-a-desh {
    bottom:1%;
    left: 46%;
}
.phase-b-desh {
    bottom: 25%;
    left: 5%;
}
.phase-c-desh {
    top: 14%;
    left: 5%;
}

.energized {
    background-color: #ff5a5a;
}
.rotor {
    position: absolute;
    width: 120px;
    height: 55px;
    background-color: whitesmoke;
    border-radius: 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg); /* Ensure it starts at 90deg */
    z-index: 2;
    box-shadow: inset 0 0 10px black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation:none; /* Continuous Rotation */
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(90deg); } 
    to { transform: translate(-50%, -50%) rotate(450deg); } 
}
.motor-connection{
    position: absolute;
    top: 30%;
    right: -370%;
    z-index: 10;
    font-weight: bold;
    /* color: white; */
    font-size: 1rem;
}
#motor-red,#motor-yellow,#motor-blue{
    /* border: 2px solid black; */
    margin: 6px;
    padding-left: 15px;
    color: white;
    width: 1.5rem;
}

#motor-yellow{
    margin-left: -1px;
}
#motor-signal{
    position: absolute;
    top: 92%;
    right: -465%;
    z-index: 10;
    font-weight: bold;
    color: white;
    font-size: 1rem;
    width: 1.5rem;
    padding: 0 2px 2px 0;
    text-shadow: 2px 2px 0px black;
    /* border: 1px solid black; */
}
.motor-text{
    position: absolute;
    background-image: url(../assets/plank.png);
    background-size: cover;
    border-radius: 5px;
    padding: 0 10px;
    font-weight: bold;
    font-size: 1.5rem;
    bottom: -10%;
    left: 22%;
    border: 2px solid black;
}
.inverter-connection{
    position: absolute;
    top: 32%;
    right: -205%;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 1rem;
    z-index: 10;
    color: brown;
}
#inverter-red,#inverter-yellow,#inverter-blue{
    padding-right : 10px;
    /* border: 1px solid black; */
    height: 1.4rem;
}
#c1-aqua-in,#c2-aqua-in,#c3-aqua-in{
    position: absolute;
    bottom: -40%;
    right: -167%;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 1rem;
    z-index: 10;
    color: white;
    /* border: 1px solid black; */
    /* height: 1.4rem; */
    padding-bottom: 5px;
}
#c2-aqua-in{
    right: -148%;
}
#c3-aqua-in{
    right: -130%;
}