*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: rgb(240, 240, 240);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    transition: .3s ease all;
}
/* 
SWITCH
*/

.switch {
    background: black;
    border-radius: 1000px;
    border: none;
    position: relative;
    top: 0;
    left: 0;
    margin: 5px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    outline: none;
  }
  
  .switch::after {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    background: #F1F1F1;
    top: 0;
    left: 0;
    right: unset;
    border-radius: 100px;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
  }
  
  .switch.active {
    background: whitesmoke;
    color: #000;
  }
  
  .switch.active::after {
    right: 0;
    left: unset;
  }
  
  .switch span {
    width: 30px;
    height: 25px;
    line-height: 25px;
    display: block;
    background: none;
    color: #fff;
  }
  body.dark .switch span{
      color: orange;
  }
/* 
CONTENIDO
*/
.container{
    margin: 40px auto;
    padding: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
}
h1{
    font-size: 50px;
    color: darkslategray;
    margin-bottom: 40px;
}
.botones{
    text-align: center;
    display: flex;
    justify-content: center;

    width: 100%;
    height: 30px;
    padding: 0 20px;
}
.botones .start{
    background: crimson;
    display: inline-block;
    padding: 5px 20px;
    margin:0 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    transition: .3 ease all;
}
.botones .start:hover{
    letter-spacing: 2px;
  
}
.botones .start i{
    display: none;
}
.botones .stop{
    background: dodgerblue;
    display: inline-block;
    padding: 5px 20px;
    margin: 0 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    transition: .3 ease all;
}
.botones .stop:hover{
    letter-spacing: 2px;
  
}
.botones .stop i{
    display: none;
}
.botones .play{
    background: darkolivegreen;
    display: inline-block;
    padding: 5px 20px;
    margin: 0 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    transition: .3 ease all;
}
.botones .play:hover{
    letter-spacing: 2px;
  
}
.botones .play i{
    display: none;
}
.botones .empty{
    background: rgb(1, 1, 26);
    display: inline-block;
    padding: 5px 20px;
    margin: 0 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    transition: .3 ease all;
}
.botones .empty:hover{
    letter-spacing: 2px;
  
}
.botones .empty i{
    display: none;
}
textarea{
    width: 40%;
    margin-top: 10px;
    color: brown;
    font-size: 18px;
    font-weight: bold;
    border: none;
}
/* 
FOOTER
*/
footer{
    margin-top: 60px;
    text-align: center;
    transition: .3s ease all;
    }
    footer:hover{
        letter-spacing: 2px;
    }
    footer a{
        text-decoration: none;
        color: rgb(53, 52, 52);
    }
   
/* 
MODO OSCURO
*/
body.dark{
    background: rgb(19, 18, 18);
}
body.dark h1{
    color: darkturquoise;
}
body.dark .botones .start{
    color: black;
}
body.dark .botones .stop{
    background: aqua;
    color: black;
}
body.dark .botones .play{
    background: lightgreen;
    color: black;
}
body.dark .botones .empty{
    background: burlywood;
    color: black;
}
body.dark textarea{
    background: rgb(29, 28, 28);
    color: whitesmoke;
}
body.dark footer {
    color: rgb(66, 65, 65);
  }
  body.dark footer a{
    color: rgb(100, 167, 163);
  }
  body.dark footer a:hover{
    color: aqua;
  }


@media screen and (max-width:900px) {
textarea{
    width: 60%;
}
}
@media screen and (max-width:700px) {
    textarea{
        width: 80%;
    }
    }
@media screen and (max-width:460px) {
    textarea{
        width: 90%;
    }
    .botones .start{
        margin: 0 10px;
        font-size: 14px;
       
    }
    .botones .stop{
        margin: 0 10px;
        font-size: 14px;
     
    }
    .botones .empty{
        margin: 0 10px;
        font-size: 14px;
     
    }
    .botones .play{
        margin: 0 10px;
        font-size: 14px;

    }
   
}
@media screen and (max-width:400px) {
    .container{
        margin: 20px 0;
    }
    h1{
        font-size: 40px;
    }
    .botones .start{
        margin: 0 5px;
      
    }
    .botones .start p{
        display: none;
    }
    .botones .start i{
        display: block;
        cursor: pointer;
    }


    .botones .stop{
        margin: 0 5px;
      
    }
    .botones .stop p{
        display: none;
    }
    .botones .stop i{
        display: block;
    }

    .botones .play{
        margin: 0 5px;
      
    }
    .botones .play p{
        display: none;
    }
    .botones .play i{
        display: block;
    }

    .botones .empty{
        margin: 0 5px;
       
    }
    .botones .empty p{
        display: none;
    }
    .botones .empty i{
        display: block;
    }
}

@media screen and (max-width:300px) {
    h1{
        font-size: 30px;
    }
    .botones .start{
        
        margin: 0 2px;
    }
    .botones .stop{
       
        margin: 0 2px;
    }
    .botones .play{
    
        margin: 0 2px;
    }
    .botones .empty{
        margin: 0 2px;
    }
}
