header {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 60vh;
    display: grid;
    grid-template-rows: 1fr 2fr;
}

header h1 {
    color: white;
    text-align: center;
}

header::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.8);
}

header * {
    z-index: 1;
}

.h {
    text-align: center;
    align-self: center;
}

main {
    z-index: 1;
    position: relative;
    transform: translate(0, -3rem);
}
main .container {
    gap: 1rem;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    position: relative;
    max-width: 1200px;
    box-shadow: 0px 0px 100px rgba(5, 10, 65, 0.356);
    border-radius: 2rem;
    padding: 2rem 1rem;
    z-index: 1;
    background: white;
    & p {
        padding-left: 2rem;
    }

    & .speaker {
        border-left: 1px solid black;
    }

    & button {
        margin-top: 1rem;
        padding: 0.4rem 0.7rem;
        background-color: #152d5a;
        border-radius: 0.4rem;
        color: white;
        font-weight: bold;
        border: none;
        transition: 0.3s;
    }

    & button:not(:disabled):hover {
        transform: scale(1.1);
    }

    & button span::after {
        content: "\e84f";
        font-family: Unicons;
    }

    & button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    & button:disabled span::after {
        content: "";
    }
    & > div {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 760px) {
    main .container {
        border-radius: 0;
        grid-template-columns: 1fr;
        & .speaker {
            border: none;
            border-top: 1px solid black;
        }
    }
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem 1rem;
    justify-items: center;
}

.post-footer {
    text-align: center;
}

.post-footer button {
    margin-top: 1rem;
    padding: 0.4rem 0.7rem;
    background-color: #152d5a;
    border-radius: 0.4rem;
    color: white;
    font-weight: bold;
    border: none;
    transition: 0.3s;
}

.post-footer button:hover {
    transform: scale(1.1);
}

.post-footer button span::after {
    content: "\e84f";
    font-family: Unicons;
}

@media screen and (max-width: 1200px) {
    .cards-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 700px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
    }
}
