/*
Theme Name: Astra Child
Template: astra
Author: T3-Zavr
Description: Astra Child Theme
Version: 1.0.0
*/

@import url('../astra/style.css');

.ast-container {
    flex-direction: column;
}

.custom-block {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.custom-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 60%;
    padding: 30px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.custom-image img {
    max-width: 300px;
    border-radius: 10px;
}

.custom-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons style */
.custom-buttons .btn {
    display: inline-flex;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease;
    align-items: center;
    justify-content: center;
}

.custom-button.glow-enabled {
    box-shadow: 0 0 10px var(--btn-glow-color);
}

.custom-button.glow-enabled:hover {
    box-shadow: 0 0 20px var(--btn-glow-color);
}

/* Button 1 */
.custom-buttons .btn:first-child {
    background-color: var(--btn1-bg-color);
    color: var(--btn1-text-color);
}

.custom-buttons .btn:first-child:hover {
    background-color: var(--btn1-hover-color);
}

/* Button 2 */
.custom-buttons .btn:last-child {
    background-color: var(--btn2-bg-color);
    color: var(--btn2-text-color);
}

.custom-buttons .btn:last-child:hover {
    background-color: var(--btn2-hover-color);
}


@media (max-width: 768px) {
    .custom-content {
        flex-direction: column;
        gap: 10px;
        max-width:100%;
    }

    .custom-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .custom-image img {
        max-width: 100%;
        border-radius: 10px;
    }

    .custom-block {
        padding: 40px 10px;
    }
}

.page-content {
    margin: 40px auto;
    padding: 20px;
}
