/**
 * Theme Name:        Agnieszka
 * Theme URI:         https://example.com/fabled-sunset
 * Description:       Custom theme description...
 * Version:           1.0.31
 * Author:            Damian Sakwiński
 * Author URI:        https://example.com
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       fabled-sunset
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--base);
    border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
    text-decoration-thickness: .0625em !important;
    text-underline-offset: .15em;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.background-primary {
    background: var(--wp--preset--color--primary);
}

/*#home-main-content {*/
/*    max-width: var(--wp--style--global--wide-size);*/
/*    margin: 0 auto;*/
/*    display: grid;*/
/*    grid-template-columns: 50% 50%;*/
/*    place-items: center;*/
/*}*/

#home-main-content {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding-bottom: 35px;
}

#home-main-content > figure {
    grid-row: 2;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid transparent;
    background-image: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 5px;
}

#menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

#language-list {
    grid-row: 1;
    grid-column: 2;
    place-self: center;
}

#navigation {
    display: flex;
    justify-content: space-evenly;
    place-items: center;
    grid-column: span 2;
}

#need-support-wrapper {
    padding-top: var(--wp--preset--spacing--60);
}

#need-support {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.need-support-block {
    padding: 15px;
    background-color: white;
    border-radius: 20px;
}

#need-support-block-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 769px) {
    #home-main-content {
        grid-template-columns: 50% 50%;
    }

    #home-main-content > figure {
        grid-row: 1 / span 2;
        grid-column: 2;
    }

    #menu-items {
        grid-template-columns: 20% 60% 20%;
    }

    #language-list {
        grid-row: 1;
        grid-column: 3;
        place-self: center;
    }

    #navigation {
        grid-column: 2;
    }

    #menu-items-wrapper {
        max-width: var(--wp--style--global--wide-size);
    }

    #need-support-wrapper {
        max-width: var(--wp--style--global--wide-size);
        margin: auto;
    }
}

#home-main-image {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: 0 0;
}

@media (min-width: 1028px) {
    #home-main-image {
        width: 400px;
        height: 400px;
    }

    #home-main-content > figure {
        width: 400px;
        height: 400px;
    }

    #home-primary-title {
        align-self: end;
        justify-self: flex-start;
    }

    #home-primary-content {
        align-self: baseline;
    }

    #need-support {
        grid-template-columns: 40% 60%;
    }

    #need-support > h2 {
        grid-column: span 2;
    }

    #need-support-block-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    #home-main-image {
        width: 600px;
        height: 600px;
    }

    #home-main-content > figure {
        width: 600px;
        height: 600px;
    }
}

h1 {
    font-size: 40pt;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.gap-10 {
    grid-gap: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.pb-10 {
    padding-bottom: 10px;
}

.w-90wv {
    width: 90vw;
}

.m-auto {
    margin: auto;
}

.font-35 {
    font-size: 35pt;
}

.mb-0 {
    margin-bottom: 0;
}

.grid-gap-20 {
    grid-gap: 20px;
}

.grid-gap-10 {
    grid-gap: 10px;
}

.mt-0 {
    margin-top: 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.global-max-width {
    max-width: var(--wp--style--global--wide-size);
}

.m-auto {
    margin: auto;
}

.pt-35 {
    padding-top: 35px;
}

.pb-35 {
    padding-bottom: 35px;
}