*{margin:0;padding:0;box-sizing:border-box}body{background-color:#17202a}html{font-family:Urbanist,sans-serif;font-size:62.8%;font-weight:100}.Toastify__toast,p,a,li,input{font-size:1.6rem;letter-spacing:.12rem;line-height:1.5;color:#fff}button{padding:.8rem 3.2rem;border-radius:.3rem;cursor:pointer;border:0;background-color:#14b881;box-shadow:#0000000d 0 0 .8rem;letter-spacing:1.5px;text-transform:uppercase;font-size:1.5rem;transition:all .3s ease;position:relative;overflow:hidden}button:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#fff3;border-radius:50%;transform:translate(-50%,-50%);transition:width .5s ease,height .5s ease}button:hover:after{width:300%;height:300%}button:hover{background-color:hsl(160,80,48%);color:#fff;box-shadow:#09ac7399 0 7px 19px}.main-section{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:0rem}.section-form{padding:1.6rem;background-color:#212f3d;border-radius:.6rem;margin:3.2rem auto;animation:fadeIn .6s ease;scroll-margin-top:4rem}.section-form form{display:flex;gap:1.2rem;flex-wrap:wrap}.section-form input{width:24rem;color:#212f3d;border:.1rem solid gray;outline:none;border-radius:.3rem;padding:.8rem 1.2rem;transition:all .3s ease}.section-form input:focus{border-color:#19e6a2;box-shadow:0 0 10px #09ac7366}.section-posts{width:90%}.section-posts ol{display:grid;grid-template-columns:repeat(3,1fr);gap:3.2rem;counter-reset:post-counter}.section-posts ol li{display:flex;flex-direction:column;justify-content:space-between;background-color:#212f3c;padding:1.6rem 1.6rem 1.6rem 3.2rem;border-radius:.3rem;border-left:.2rem solid #fff;position:relative;list-style:none;counter-increment:post-counter;transition:transform .3s ease,box-shadow .3s ease;cursor:pointer}.section-posts ol li:hover{transform:translateY(-5px);box-shadow:0 10px 20px #0000004d}.section-posts ol li:before{content:counter(post-counter) ".";position:absolute;left:1rem;top:.2rem;font-size:1.2rem;color:#19e6a2;font-weight:700}.section-posts ol li .btn-delete{margin-left:1.2rem;background-color:#e74c3c}.section-posts ol li .btn-delete:hover{color:#fff;box-shadow:rgb(167,54,13 / 60%) 0 7px 19px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media(min-width:768px)and (max-width:1024px){.main-section{padding:2rem}.section-form{width:90%;margin:2.5rem auto;padding:2rem}.section-form form{justify-content:center;gap:1.5rem}.section-form input{width:100%;max-width:300px}.section-posts{width:95%}.section-posts ol{grid-template-columns:repeat(2,1fr);gap:2rem}.section-posts ol li div{display:flex;gap:1rem;flex-wrap:wrap}.section-posts ol li div button{flex:1}}@media(max-width:767px){.main-section{padding:1.5rem 1rem}.section-form{width:95%;margin:2rem auto;padding:1.5rem}.section-form form{flex-direction:column;gap:1rem}.section-form input{width:100%;font-size:1.5rem;padding:1rem}.section-form button{width:100%;padding:1.2rem}.section-posts{width:100%;padding:0 1rem}.section-posts ol{grid-template-columns:1fr;gap:1.6rem}.section-posts ol li div{display:flex;flex-direction:column;gap:.8rem;margin-top:1rem}.section-posts ol li div button{width:100%}.section-posts ol li .btn-delete{margin-left:0}}button:disabled{opacity:.5;cursor:not-allowed!important;pointer-events:none;box-shadow:none}button:disabled:hover{background-color:#14b881;box-shadow:none}
