*{
	padding: 0;
	margin: 0;
}



body{
	background: linear-gradient(135deg, #e0f7fa, #fff);
	justify-content: center;
	 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	 display: flex;
	 flex-direction: column;
	 height: 100vh;
}

footer{
	background-color: black;
	color: white;
	text-align: center;
	padding: 20px;
	margin-top: auto;
	font-family: "Gill Sans Extrabold", sans-serif;
}

       

        h1 {
            color: #333;
            font-size: 3em;
            margin-top: 25px;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
            text-align: center;
        }
 h1:hover {
            transform: scale(1.05);
        }

.flex{
	display: grid;
	font-family: Cursive;
	align-items: center;
	padding: 10px;
}

.wrapper{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}



.textarea-wrapper {
    display: flex;
    align-items: flex-start; /* вирівнює textarea і кнопку по верху */
    gap: 10px; /* відстань між textarea і кнопкою */
}

#txt {
    width: 100%;
    max-width: 600px;
    height: 200px;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#txt:focus {
    border-color: #66afe9;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
    outline: none;
}

#btn1 {
    height: 40px;
    width: 40px;
    font-size: 24px;
    border: none;
    background-color: #66afe9;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

#btn1:hover {
    background-color: #48a1d1;
    transform: scale(1.05);
}

.item {
    border: 2px solid rgb(138, 138, 20); 
    padding: 8px 12px; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); 
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(4px); 
}

.btn img{
	height: 20px;
	width: 20px;
}