@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap');


body{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url(./images/background.jpg);
}


    header{
        display: flex;
        align-items: center;
        margin: 20px;
    }
    
        header p{
            display: flex;
            width: 100%;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 35px;
            text-transform: uppercase;
            text-align: center;
            color: rgb(86, 255, 86);
            text-shadow: 0 0 50px;
        }

        .encryption{
        display: flex;
        padding: 0 5px 122px 5px;
    }
    
    
    main{
            border: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 15px;
            padding: 5px;
            width: 60%;
            height: 600px;
        }

        
        .text{
                background: none;
                border: 2px solid rgb(0, 99, 133);
                border-radius: 10px;
                display: inline-block;
                height: 600px;
                width: 98%;
                padding: 10px;
                font-family: 'IBM Plex Mono', monospace;
                font-size: 30px;
                color:rgb(86, 255, 86);
                resize: none;
            }
            .text:focus-visible{
                outline: none;
            }

            .btnsMain{
                display: flex;
                justify-content: space-evenly;
                border: none;
                padding: 5px 0;
                margin: 8px 0;
            }

                .btnsMain button{
                    border: none;
                    border-radius: 20px;
                    font-size: 18px;
                    height: 40px;
                    width: 190px;
                    margin: 3px;
                    background: rgb(0, 65, 87);
                    color: rgb(86, 255, 86);
                    text-align: center;
                    font-family: 'IBM Plex Mono', monospace;
                    transition: 0.3s;
                }

                .btnsMain button:hover{
                    scale: 1.3;
                }

                .btnsMain button:active{
                    scale: 1;
                }

            
        aside{          
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-left: 15px;
            padding: 5px;
            width: 35%;
            height: 593px;
        }
        
        .modifiedText{
            background: none;
            border: 2px solid rgb(0, 99, 133);
            border-radius: 10px;
            display: flex;
            height: 600px;
            width: 98%;
            padding: 10px;
            color: rgb(86, 255, 86);
            font-family: 'IBM Plex Mono', monospace;
            font-size: 30px;
            resize: none;  
        }
        .modifiedText:focus-visible{
            outline: none;
        }
        
        .btnCopy{
            border: none;
            border-radius: 20px;
            font-size: 18px;
            height: 40px;
            width: 190px;
            margin: 15px 0;
            background: rgb(0, 65, 87);
            color: rgb(86, 255, 86);
            text-align: center;
            font-family: 'IBM Plex Mono', monospace;
            transition: 0.3s;
        }
        .btnCopy:hover{
            scale: 1.2;
        }

        .btnCopy:active{
            scale: 1;
        }


    .footer{
        background-image: linear-gradient(black,rgb(0,65,87));
        border-top: 2px solid black;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        width: 98%;
    }

        .footer p{
            margin: 10px auto;
            color: gray;
        }

        .linkImg{
            width: 40px;
            margin: 0 5px;
            border-radius: 12px;
        }



    @media (max-width:650px) {
        body{
            min-width: 400px;
        }
    
        .header{
        }
        .encryption{
            display: flex;
            align-items: center;
            flex-direction: column;   
        }
        
    
        .main{
            display: flex;
            margin: 0;
            width: 80%;
            height: 450px;
            justify-content: center;
        }

        .text{
            font-size: 16px;
        }
    
        .btnsMain{
            display: flex;
            flex-direction: column;
        }
     
        
        .aside{
            margin: 0;
            height: 300px;
            width: 80%;
        }

        .modifiedText{
            font-size: 16px;
        }

        .footer{
            position: static;
        }
    
        
    }