:root{
    --main-bg-color:  #F3F5FC;
    --second-bg-color: #0A3871;
    --third-bg-color: #495057;;
}

main{
    min-height: 100vh;
    background-color: var(--main-bg-color);
    padding: 10% 0%;
}
#container-encrypt{
    padding: 0 5%;
}
#waiting-encrypt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}
#text-to-encrypt{
    width: 100%;
    height: 200px;
    font-weight: 400;
    font-size: 32px;
    line-height: 150%;
    color: var(--second-bg-color);
    border: 0;
    resize: none;
    outline: none;
    background-color: var(--main-bg-color);
}
#text-to-encrypt::placeholder{
    color: var(--second-bg-color);
}
#waiting-encrypt small{
    color: var(--third-bg-color);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    margin-top: 40px;
    margin-bottom: 20px;
}
#container-buttons-script{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#encrypt{
    width: 332px;
    height: 67px;
    border: 1px solid var(--second-bg-color);
    color: #FFFFFF;
    background: var(--second-bg-color);
    border-radius: 24px;
}
#decrypt{
    width: 332px;
    height: 67px;
    color: var(--second-bg-color);
    border: 1px solid var(--second-bg-color);
    border-radius: 24px;
    margin: 20px 0;
    background-color: transparent;
}
#working-encrypt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    padding: 32px;
    margin: auto;
}
#working-encrypt div{
    width: 100%;
}
#container-img{
    display: none;
}
#msg-grup span{
    display: block;
    color: #343A40;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    margin-bottom: 20px;
}
#msg-grup p{
    color: var(--third-bg-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    margin: 0;
    padding: 0 10%;
}
#container-result-encrypt{
    display: none;
    flex-direction: column;
}
#container-result-encrypt p{
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    color: var(--third-bg-color);
}
#copy-text-result{
    display: block;
    margin: auto;
    width: 279px;
    height: 67px;
    background-color: transparent;
    border: 1px solid var(--second-bg-color);
    border-radius: 24px;
    margin-top: 35px;
    color: var(--second-bg-color);
}
#encrypt:hover, #decrypt:hover, #copy-text-result:hover{
    transform: scale(105%);
    -webkit-transform: scale(105%);
    -moz-transform: scale(105%);
    -ms-transform: scale(105%);
    -o-transform: scale(105%);
}
@media screen and (min-width:768px){
    #text-to-encrypt{
        height: 550px;
    }
    #container-buttons-script{
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 40px;
    }
    #copy-text-result{
        width: 100%;
    }
}
@media screen and (min-width:1024px){
    main{
        padding: 0 0%;
    }
    #waiting-encrypt{
        padding-left: 10%;
    }
    #container-encrypt{
        display: flex;
    }
    #working-encrypt{
        position: relative;
        max-width: 400px;
        height: 944px;
        top: -45px;
    }
    #text-to-encrypt{
        width: 580px;
        height: 658px;
        margin-bottom: 10px;
    }
    #container-img{
        display: block;
        width: 100%;
    }
    #container-img img{
        object-fit: contain;
        width: 100%;
    }
    #encrypt{
        width: 280px;
        height: 60px;
    }
    #decrypt{
        margin-left: 10%;
        width: 280px;
        height: 60px;
    }
    #container-buttons-script{
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 40px;
    }
    #container-result-encrypt{
        height: 100%;
        word-wrap: break-word;
    }
    #container-result-encrypt-p{
        height: 85%;
    }
}