*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
  --background:#000;
  --text-background: #530fac;
  --camera-background: orange;
  --btn-background: linear-gradient(45deg, #8ddf4a, orange)
}
#container {
    background-color: var(--background);
    width: 30%;
    height: 595px;
    margin:24px auto;
    border-radius:10px;
    padding-top:34px;
   
}
#text-area {
    background-color: var(--text-background);
    width: 340px;
    height: 456px;
    margin: 25px auto;
}
#front-camera {
    background-color: var(--camera-background);
    width:120px;
    height: 10px;
    margin: 8px auto;
    border-radius: 4px;
}
#camera {
    background-color: #000;
    width: 10px;
    height: 10px;
    margin: 2px auto;
    border-radius:50%;
}
#light {
    width:5px;
    height: 5px;
    background-color:#fff;
    border-radius: 50%;
    padding:2px;
    margin:1px auto;
}
#mobile-btn {
    display: flex;
    justify-content: space-around;
    max-width: 400px;
    margin:2px auto;
}
button {
    width: 130px;
    padding:2px;
    height:26px;
    font-weight: bold;
    border-radius:5px;
    background: var(--btn-background);
    border:2px solid var(--btn-background);
    font-size:15px;
    font-style:italic;
    cursor: pointer;
}
button:hover {
    color: rgb(220, 233, 220);
    background: var(--background);
    border:1px dotted #fff;
}
button:active {
    background:var(--camera-background);
    color: #000;
    border:1px solid var(--camera-background);
}
input {
    display: block;
    margin:41px auto 0 auto;
    padding: 5px 0;
    border-radius: 3px;
    border: none;
    width: 80%;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    background:linear-gradient(45deg, green, #fff);
}
#date-time {
    text-align: right;
    margin:2px 0 2px 0;
    font-weight: bold;
    color: rgb(127, 226, 13);
}
.text {
    font-size: 27px;
    font-weight: bold;
    text-align: center;
    color:rgb(69, 211, 26);
    padding: 2px;
    letter-spacing: 0.5px;
    font-family:Tahoma;
    margin: 32px auto 0 auto;
    display: block;
    width: 60%;

}
#text-area {
    background-color: var(--text-background);
    width: 340px;
    height: 456px;
    margin: 25px auto;
}
/* For mobile tablest*/
@media (max-width: 1200px) {
    #container {
        width: 50%;
        padding-bottom: 23px;
    }
    #text-area {
        width: 80%;
    }
    button {
        width: 100px;
        font-size: 14px;
    }
}
/*For mobile devices*/
@media(max-width: 500px) {
    #container {
        width: 90%;
        height: auto;
    }
    .text {
        font-size: 14px;
        padding: 24px 0;
        margin-bottom: 22px;
    }
    #text-area {
        height: auto;
    }
    button {
        width:70px;
    }
    input {
        margin-top: 2px;
        height:23px;
        font-size: 12px;
    }
}
