* {
    padding: 0px;
    margin: 0px;
    text-decoration: none;
    outline: none;
    border: none;
    position: relative;
    box-sizing: border-box;
    list-style-type: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100svh;
    max-height: 100svh;
    padding: 0% 10%;
    max-width: 100svw;

    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-template-rows: 70px 1fr 70px;
    gap: 20px;
    grid-template-areas:
        "header header"
        "aside main"
        "footer footer";

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    background-image: linear-gradient(to bottom right, #3a003a 30%, #ffb6e9);
    color: #fff;
}

header {
    grid-area: header;
    display: flex;
    justify-content: center;
    align-items: end;
}

.search {
    border: 1px solid #ff66c4;
    border-radius: 10px;
    padding: 10px;
    font-size: 17px;
    width: 80%;
    background-color: #fff0f5;
    color: #800040;
    transition: 0.3s ease;
}

.search:focus {
    outline: none;
    border-color: #ff1493;
    background-color: #ffe6f0;
}

.main-tags {
    grid-area: aside;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    align-content: start;
}

.main-tag {
    padding: 5px 10px;
    background-color: #ff99cc;
    box-shadow: 0px 0px 5px #ff69b4;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: 0.3s ease;
}

.main-tag:hover {
    box-shadow: 0px 0px 7px #e754a6;
    transform: scale(1.1);
    background-color: #ffc1e3;
    color: #800040;
}

.posts {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(255, 228, 245, 0.95);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0px 0px 10px #ffb6e9;
    color: #4a003a;
    transition: 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 0px 15px #ff69b4;
}

.post-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 10px;
    background-color: #ffe6f0;
    border-radius: 10px;
    color: #c71585;
    font-size: 13px;
}

.data {
    border-top: 1px solid #ffb6c1;
    padding: 10px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #AC1754;
    /* background-color: #AC1754; */
}

.likes {
    color: #ff3366;
}

.views {
    color: #cc33ff;
}

footer {
    grid-area: footer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffe6f0;
    font-size: 14px;
}

a {
    color: #ffccf2;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 450px) {
    .main-tag {
        font-size: 10px;
    }
    body {
        padding: 0% 5%;
    }
}
