body {
    font-family: 'Poppins', sans-serif;
    padding: 30px;
    background: #f5f5f5;
    color: #333;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.logo b {
    font-weight: 700;
}

.logo a {
    font-size: 17px;
}

.logo p {
    font-size: 15px;
}

a {
    color: dodgerblue;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
    transform: rotate(2deg);
}

.takes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 300px));
    gap: 40px;
    justify-content: center;
}

.takes .h2 {
    overflow:auto;
    text-overflow: ellipsis;
}

.take {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #bcd3c8, rgb(130, 155, 132));
    background-size: 150% 150%;
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.take:hover {
    transform: rotate(8deg);
    background-position: 120% 0;
}

p {
    font-size: 12px;
    color: black;
}

.bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: fit-content;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background-color: dodgerblue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

button:hover {
    background-color: seagreen;
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.5);
}

textarea {
    width: 100%;
    max-width: 300px;
    height: 140px;
    font-size: 18px;
    resize: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    box-sizing: border-box;
}

input[type="text"] {
    width: 100%;
    max-width: 300px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}

button#createpost {
    width: 100%;
    max-width: 320px;
    height: 50px;
    border-radius: 10px;
    background-color: seagreen;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .takes {
        grid-template-columns: 1fr;
    }
}