@charset "UTF-8";

/*
	GLOBAL
* ----------------------------------------------------------------------------
*/

:root {
    --bg-color:             rgba(255,255,255,1);

	--primary-color: 		rgba(142,199,62,1);
    --primary-color-hov:	rgba(142,167,52,1);
	--secondary-color: 		rgba(245,250,229,1);
	--tertiary-color: 		rgba(38,45,51,1);
    --tertiary-color-hov: 	rgba(21,25,28,1);
	--quaternary-color: 	rgba(106,116,122,1);
	--quinary-color: 		rgba(248,251,252,1);



	--senary-color: 		rgba(0,0,0,1.00);
	--septenary-color: 		rgba(241,241,241,1);
	--octonary-color: 		rgba(207,207,207,1);
	--nonary-color: 		rgba(236,215,196,1);
	--denary-color:         rgba(245,235,226,1);
    --error-red-1:          rgba(255,0,4,1.00);
    --error-red-2:          rgba(170,26,26,1);


    --breakpoints-xs:       320px;
    --breakpoints-s:        375px;
    --breakpoints-m:        768px;
    --breakpoints-m:        992px;
    --breakpoints-l:        1280px;
    --breakpoints-xl:       1600px;

    --aside-width:          360px;
}

body {
	position: 				relative;
	background-color: 		var(--bg-color);
	color: 					var(--tertiary-color);
}
::selection {color: var(--bg-color); background: var(--primary-color);}
::-moz-selection {color: var(--bg-color); background: var(--primary-color);}

body, div, h1, h2, h3, h4, h5, h6, a, p, span, ul, ol, li, dl, dt, dd,
img, form, fieldset, input, button, textarea, blockquote, * {
	margin: 				0;
	padding: 				0;
	border: 				0;
	outline: 				0;
	-webkit-font-smoothing: antialiased;
    font-variant-ligatures: none;
	box-sizing: 			border-box;
}
body {
    font-family: 			"Poppins";
	font-size: 				18px;
	line-height: 			1.4;
	font-weight: 			400;
}



/*
	CONTAINER
* ----------------------------------------------------------------------------
*/
.container {
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
    border: solid 0px red;;
}
    .container.wide {max-width: 100%;}

@media only screen and (min-width: 426px) {
}
@media only screen and (min-width: 992px) {
}
@media only screen and (min-width: 1200px) {
  .container {
		max-width: 1200px;
	}
}

/*
	HEADER + NAVIGATION
* ----------------------------------------------------------------------------
*/
header {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border-bottom: solid 1px #eee;
    transition: all 0.6s ease;
}
    header.shrink               {box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);}
    header.shrink .container    {height: 80px;}
    header.shrink .logo         {width: 120px;}

    header div.container {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 80px;
        transition: all 0.6s ease;
    }
    @media only screen and (min-width: 992px) {
        header div.container {height: 120px;}
    }
        header .logo {
            width: 120px;
            height: auto;
            transition: all 0.6s ease;
        }
        @media only screen and (min-width: 992px) {
            header .logo {width: 170px;}
        }
        header .logo .turnip {
                fill: rgba(142,199,62,1);
                isolation: isolate;
            }
            header .logo .type {
                fill: rgba(38,45,51,1);
                fill-rule: evenodd;
            }
        header nav {
            display: none;
            margin-left: auto;
            white-space: nowrap;
        }
        @media only screen and (min-width: 992px) {
            header nav {display: block;}
         }
            nav ul {list-style: none;}
            nav li {display: inline;}
            nav a, #nav-mobile a {
                display: inline-block;
                padding: 0 16px;
                font-size: .9em;
                font-family: "Poppins", sans-serif;
                font-weight: 600;
                text-transform: uppercase;
                text-decoration: none;
                color: var(--quaternary-color);
                transition: 0.6s ease;
            }
            nav a:hover, #nav-mobile a:hover {
                color: var(--tertiary-color);
            }
            nav a:after, #nav-mobile a:after {
                content: "";
                display: block;
                margin: 0 auto;
                width: 0%;
                padding-top: 4px;
                border-bottom: 2px solid var(--primary-color);
                transition: 0.6s ease;
            }
            nav a.selected:after, nav a:hover:after, #nav-mobile a:hover:after {
                width: 75%;
            }
            nav a.highlight {
                font-size: 0.85em;
                color: rgba(255,255,255,1);
                background: var(--primary-color);
                border-radius: 99px;
                padding: 12px 22px 6px 22px;
                transition: all 0.6s ease;
            }
            nav a.highlight:after {
                border-bottom: none;
            }
            nav a.highlight:hover {
                color: rgba(255,255,255,0.9);
                transform: scale(1.05);
                background: var(--primary-color-hov);
            }

        #nav-toggle {
            display: inline-block;
            width: 28px;
            height: 30px;
            background: none;
            cursor: pointer;
        }
        @media only screen and (min-width: 992px) {
            #nav-toggle {display: none;}
        }
            #nav-toggle span:after,
            #nav-toggle span:before {
                content: "";
                position: absolute;
                left: 0;
                top: -9px;
            }
            #nav-toggle span:after {top: 9px;}
            #nav-toggle span {
                position: relative;
                display: block;
            }
            #nav-toggle span,
            #nav-toggle span:after,
            #nav-toggle span:before {
                width: 100%;
                height: 5px;
                background-color: var(--tertiary-color);
                transition: all 0.3s;
                backface-visibility: hidden;
                border-radius: 2px;
            }
            #nav-toggle[aria-expanded=true] span {background-color: transparent;}
            #nav-toggle[aria-expanded=true] span:before {transform: rotate(45deg) translate(5px, 5px);}
            #nav-toggle[aria-expanded=true] span:after {transform: rotate(-45deg) translate(7px, -8px);}
            #nav-toggle[aria-expanded=true] + #nav-mobile {
                opacity: 1;
                visibility: visible;
            }

        #nav-mobile {
            position: fixed;
            z-index: 999;
            top: 80px;
            left: 0;
            right: 0;
            overflow: hidden;
            background: var(--bg-color);
            height: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.6s ease;
            text-align: center;
        }
        @media only screen and (min-width: 992px) {
            #nav-mobile {display: none;}
        }
            #nav-mobile ul{
                margin: 30px;
                list-style: none;
            }
                #nav-mobile li      {margin: 5px 0 15px 0;}
                #nav-mobile a       {font-size: 1.2em;}
                #nav-mobile a:after {border-bottom: 3px solid var(--primary-color);}
                
    
/*
	MAIN + GLOBALS
* ----------------------------------------------------------------------------
*/
main {padding-top: 50px;}
@media only screen and (min-width: 992px) {
    main {padding-top: 90px;}
}

    a.button,
    input[type="submit"] {
        display: inline-block;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 30px;
        border-radius: 99px;
        transition: all 0.6s ease;
    }
    a.button:hover,
    input[type="submit"]:hover {
        color: #fff;
        text-decoration: none;
    }
    a.button.primary,
    input[type="submit"],
    button                      {background: var(--primary-color);}
    a.button.primary:hover,
    input[type="submit"]:hover,
    button:hover                {background: var(--primary-color-hov);}
    a.button.secondary          {background: var(--tertiary-color);}
    a.button.secondary:hover    {background: var(--tertiary-color-hov);}

    p {
        font-size: 1em;
        margin: 1rem 0;
    }

    figure {
        margin: 2rem 0;
    }


/*
	FORMS
* ----------------------------------------------------------------------------
*/
    label {
        margin: 12px auto 12px auto;
        max-width: 90%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        font-size: 0.8em;
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        color: var(--quaternary-color);
        text-align: left;
        line-height: 2.5;
    }
    @media only screen and (min-width: 992px) {
        label {max-width: 50%;}
    }
    input[type="text"],
    input[type="email"] {
        height: 43px;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 6px 12px;
        font-size: 0.9em;
        color: var(--tertiary-color);
        background-color: var(--bg-color);
        border-width: 1px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.25);
        border-radius: 3px;
        box-shadow: none;
        transition: border .15s, box-shadow .15s;
    }
    input[type="text"]:focus {
        border-color: #066aab;
        border-width: 1px;
        box-shadow: 0 0 0 1.2px #066aab, 0 1px 2px rgba(0, 0, 0, .15);
    }

    form {
        a.button,
        input[type="submit"],
        button {
            font-size: 0.9em;
        }
    }

/*
	SECTION: GENERIC
* ----------------------------------------------------------------------------
*/
section {
    padding-top: 60px;
    padding-bottom: 80px;
    background: var(--quinary-color);

    h1 {
        font-family: "Prata";
        font-size: 2.5em;
        line-height: 1.1em;
        font-weight: 400;
        color: var(--tertiary-color);
        margin-bottom: 16px;
        text-align: center;
    }
    h1:before {
        content: "";
        display: block;
        width: 10%;
        margin: 0 auto;
        padding-top: 18px;
        border-top: 6px solid var(--primary-color);
    }
        h1 span {
            color: var(--primary-color);
        }
    p {
        margin-bottom: 6px;
        font-size: 1em;
        color: var(--quaternary-color);
        text-align: center;
    }
        p span {font-weight: 600;}
    a {
        font-size: 1em;
        color: var(--primary-color);
        font-weight: 400;
        text-decoration: none;
        transition: 0.6s ease;
    }
    a:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }

    .buttons {
        height: auto;
        font-size: 0.9em;
        margin: 24px auto 6px auto;
        text-align: center;
    }
    .buttons a.secondary {margin-top: 1em;}

    @media only screen and (min-width: 490px) {
        .buttons a.secondary {margin-left: 26px;}
        .buttons.solo a.secondary {margin-left: 0px;}
    }
    ul, ol {
        margin-top: 6px;
        padding: 20px;
    }
    ul {
        list-style-image: url(../gfx/bullet.svg);
    }

        li {
            font-size: 1em;
            color: var(--quaternary-color);
            margin-bottom: 6px;
            padding-left: 8px;
        }

}
@media only screen and (min-width: 992px) {
    section {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}


/*
	SECTION: DRIVER + MALWINA
* ----------------------------------------------------------------------------
*/
section#driver {
    padding-top: 40px;
    padding-bottom: 80px;
    background: var(--secondary-color);
}
section#malwina {
    padding-top: 40px;
    padding-bottom: 80px;
    background: var(--bg-color);
}
@media only screen and (min-width: 992px) {
    section#driver {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    section#malwina {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
    #driver .container,
    #malwina .container {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: space-between;
    }
    @media only screen and (min-width: 992px) {
        #driver .container,
        #malwina .container  {
            display: flex;
            align-items: center;
            align-content: center;
            justify-content: space-between;
            height: 600px;
        }
        #driver .container {flex-direction: row;}
        #malwina .container {flex-direction: row-reverse;}
    }
    #driver .info,
    #malwina .info  {
        width: 100%;
        max-inline-size: 100%;
        text-wrap: pretty;
    }
    @media only screen and (min-width: 992px) {
        #driver .info,
        #malwina .info {
            width: 50%;
            max-inline-size: 50%;
        }
        #malwina .info {padding-left: 40px;}
    }
    #driver .gfx {
        padding: 20px 0;
        background: url(../gfx/driver.png) no-repeat;
    }
    #malwina .gfx {
        padding: 10px 0;
        background: url(../gfx/malwina.png) no-repeat;
    }
    #driver .gfx,
    #malwina .gfx {
        width: 100%;
        height: 100%;
        min-height: 300px;
        background-size: contain;
        background-position: center center;
        background-origin: content-box;
    }
    @media only screen and (min-width: 992px) {
        #driver .gfx, #malwina .gfx {width: 50%;}
        #driver .gfx {background-position: right center;}
        #malwina .gfx {background-position: left center;}
    }
    #driver h1,
    #malwina h1 {
        font-family: "Prata";
        font-size: 2.5em;
        line-height: 1.1em;
        font-weight: 400;
        color: var(--tertiary-color);
        margin-bottom: 16px;
        text-align: center;
    }
    #driver h1:before,
    #malwina h1:before {
        content: "";
        display: block;
        width: 10%;
        margin: 0 auto;
        padding-top: 18px;
        border-top: 6px solid var(--primary-color);
    }
        #driver h1 span,
        #malwina h1 span {
            color: var(--primary-color);
        }
    @media only screen and (min-width: 992px) {
        #driver h1,
        #malwina h1 {text-align: left;}
        #driver h1:before,
        #malwina h1:before {margin: 0;}
    }
    #driver p, 
    #malwina p {
        text-align: center;
    }
    #driver p {font-size: 1.1em;}
    #malwina p {font-size: 1em;}
        #driver p span,
        #malwina p span {font-weight: 600;}
    @media only screen and (min-width: 992px) {
        #driver p,
        #malwina p {
            text-align: left;
        }
    }
    #driver .buttons,
    #malwina .buttons {
        text-align: center;
    }
    @media only screen and (min-width: 992px) {
        #driver .buttons,
            #malwina .buttons {
                text-align: left;
            }
    }           


/*
	SECTION: HELP
* ----------------------------------------------------------------------------
*/

#help {
    .flex {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: center;
        gap: 0.2em 2em;
    }
    @media only screen and (min-width: 992px) {
        .flex {
            flex-direction: row;
        }
    }
        .flex div {
            flex-basis: 100%;
            width: 100%;
        }
        @media only screen and (min-width: 992px) {
            .flex div {
                flex-basis: 36%;
            }
        }
            p {
                margin-top: 40px;
                font-weight: 600;
                text-align: left;
            }
}



/*
	SECTION: HELPBOX
* ----------------------------------------------------------------------------
*/
#helpbox {
    padding-top: 0px;
    padding-bottom: 120px;

    .flex {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: center;
        gap: 2em;
    }
    @media only screen and (min-width: 992px) {
        .flex {
            flex-direction: row;
        }
    }
        .flex div {
            flex-basis: 100%;
            width: 80%;
            padding: 2em;
            box-shadow: 0px 0px 12px 0px rgba(38, 45, 51, 0.15);
        }
        @media only screen and (min-width: 992px) {
            .flex div {
                flex-basis: 30%;
            }
        }
        .flex div:nth-child(1) {
            background-color: var(--primary-color);

            h1, p, a {
                color: #fff;
            }
        }
        .flex div:nth-child(2) {
            background-color: var(--tertiary-color);

            h1, p {
                color: #fff;
            }
        }
        .flex div:nth-child(3) {
            background-color: #fff;

            h1, p {
                color: var(--tertiary-color);
            }
        }
            .flex img {
                max-height: 45px;
                display: block;
                margin: auto;
                width: 50%;
            }
            .flex h1 {
                font-size: 1.1em;
                line-height: 1.4em;
                padding-top: 18px;
            }
            .flex h1:before {
                display: none;
            }
            .flex p {
                font-size: 0.7em;
                line-height: 1.2em;
            }
            .flex a {
                font-size: 1.2em;
            }
        p.questions {
            margin-top: 80px;
            font-weight: 600;
        }
        .buttons {
            margin-top: 60px;
        }
}


/*
	SECTION: COUNTERS
* ----------------------------------------------------------------------------
*/
#counters {
    background-color: var(--primary-color);
    .flex {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: center;
        flex-direction: row;
    }
        .flex div {
            flex-basis: 40%;
            padding: 1em 2em;
        }
        @media only screen and (min-width: 992px) {
            .flex div {
                flex-basis: 25%;
            }
        }
            h1 {
                font-size: 2.6em;
                line-height: 1.4em;
                color: #fff;
                margin-bottom: -10px;
            }
            h1:before {
                display: none;
            }
            p {
                margin-top: 2px;
                line-height: 1.2em;
                font-weight: 600;
                color: #fff;
            }

}


/*
	SECTION: PLANS
* ----------------------------------------------------------------------------
*/
#preplans {
    padding-top: 120px;
    padding-bottom: 140px;
}
#plans {
    padding-top: 0px;
    padding-bottom: 120px;
    background-color: var(--tertiary-color);

    .flex {
        top: -80px;
        position: relative;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: center;
        gap: 2em;
    }
    @media only screen and (min-width: 992px) {
        .flex {
            flex-direction: row;
        }
    }
        .flex div.plan {
            flex-basis: 90%;
            width: 80%;
            padding: 2em;
            background-color: var(--quinary-color);
            box-shadow: 0px 0px 12px 0px rgba(38, 45, 51, 0.10);
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            align-content: center;
            transition: 300ms ease;
        }
        .flex div.plan:hover {
            background-color: #fff;
            box-shadow: 0px 0px 12px 0px rgba(38, 45, 51, 0.15);
            transform: scale(1.02);
        }
        .flex div.plan:nth-child(2) {
            transform: scale(1.1);
            border: solid 2px var(--primary-color);
        }
        .flex div.plan:nth-child(2):hover {
            background-color: #fff;
            box-shadow: 0px 0px 14px 0px rgba(38, 45, 51, 0.15);
            transform: scale(1.12);
        }
       
        @media only screen and (min-width: 992px) {
            .flex div.plan {
                flex-basis: 30%;
            }
        }
            .flex img {
                max-height: 90px;
                display: block;
                margin: auto;
                width: 50%;
            }
            .flex h1 {
                font-size: 1.3em;
                line-height: 1.4em;
                padding-top: 18px;
            }
            .flex h1:before {
                display: none;
            }
            .flex p {
                font-size: 0.8em;
                line-height: 1.2em;
            }
            .flex p.price {
                font-size: 0.7em;
                font-weight: 600;
                color: var(--tertiary-color);
            }
            .flex p.price span {
                margin-left: 2px;
                font-family: "Prata";
                font-weight: 400;
                font-size: 1.6em;
            }
        .plan-only {
            p {
                font-size: 0.9em;
                color: #fff;
            }
            p:first-child {
                font-weight: 600;
            }
        }
        p.questions {
            margin-top: -20px;
            font-weight: 600;
        }
}




/*
	SECTION: INSTAGRAM
* ----------------------------------------------------------------------------
*/
#instagram {
    padding-top: 120px;
}






/*
	SECTION: CONTACT
* ----------------------------------------------------------------------------
*/

    #contact a:not(.button) {
        color: var(--quaternary-color);
        font-weight: 700;
    }
    #contact img {
        margin-top: 0.4em;
        height: 1.6em;
        vertical-align: -0.65em;
        display: inline-block;
    }


/*
	PAGE
* ----------------------------------------------------------------------------
*/
#page {
    /*h1 {
        text-align: left;
        margin-bottom: 1em;
    }
    h1:before {
        margin: 0 auto 0 0;
    }*/

    h1 {
        margin-bottom: 1em;
    }
    @media only screen and (max-width: 490px) {
        h1 {
            font-size: 2.1em;
        }
    }
    p {
        text-align: left;
    }  

    table.cennik, table.wspolpraca {
        margin: 4em auto 2em auto;
        background-color:#262d33;
        color: #fff;
        font-size: 0.8em;

        td {
            padding: 0.3em 2.6em;
        }
        td.name strong {
            font-size: 1.4em;
        }
        td.price {
            text-align: right;          
        }

        tr:first-child td {
            padding-top: 1.6em;
        }
        tr:last-child td {
            padding-bottom: 1.6em;
        }

        strong {
             white-space: nowrap;
        }
    }
    table.wspolpraca {
        li {
            color: var(--septenary-color);
        }
        margin: 2em auto -3em auto;
    }
    @media only screen and (max-width: 490px) {
        table.cennik, table.wspolpraca {
            td {
                padding: 0.3em 0.6em;
            }
        }
    }
}


/*
	POST
* ----------------------------------------------------------------------------
*/
#post {
    .container.flex {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: space-between;
    }
        p.subtitle {
            font-size: 0.8em;
            margin-top: -0.6em;
            margin-bottom: 2em;
            text-transform: uppercase;
        }
        
        div.articles {
            width: 100%;
        }
        div.articles.flex {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            align-content: flex-start;
            justify-content: center;
            gap: 1em;
            flex-wrap: wrap;
        }
            article {
                width: 100%;
                border-radius: 6px;
                border: solid 1px var(--denary-color);
                padding: 0.6em;
                transition: all 0.3s ease;

                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                }
                h2 {
                    color: var(--tertiary-color);
                    text-align: center;
                    font-size: 0.8em;
                    font-weight: 600;
                    max-height: 2.6em;
                    line-height: 1.2em;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    @supports (-webkit-line-clamp: 2) {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: initial;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }
                }
                a:hover {
                    text-decoration: none;
                }
            }
            article:hover {
                border: solid 1px var(--primary-color);
                box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.06);
            }
            .datetime {
                text-transform: uppercase;
                
            }
            .tags {
                text-transform: uppercase;
                margin-bottom: 2rem;
                color: var(--quaternary-color);
                font-size: 0.6em;
                width: 60%;
                margin: 0 auto;
                margin-bottom: 1.8rem;

                a {
                    font-weight: 600;
                    color: var(--quaternary-color);
                }
            }

        aside {
            width: 100%;

            div {
                margin: 0 0 2em 0;
            }
            h3 {
                text-align: center;
            }
            h3:after {
                content: "";
                display: block;
                width: 15%;
                margin: 0.6em auto;
                border-top: 2px solid var(--primary-color);
            }
            li {
                list-style: none;
                margin-bottom: 0px;
                text-align: center;
            }
            a {
                font-size: 0.8em;
                font-weight: 600;
            }
        }
        div.pagination {
            width: 100%;
            height: 100px;
            display: flex;
            gap: 2em;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            align-content: center;
        }
            div.pagination a {
                font-size: 0.7em;
                font-weight: 400;
                text-transform: uppercase;
                color: var(--quaternary-color);
            }
            div.pagination a:hover {
                text-decoration: none;
                color: var(--tertiary-color-hov);
            }
            .arrow {
                border: solid var(--quaternary-color);
                border-width: 0 1px 1px 0;
                display: inline-block;
                padding: 2px;
                margin-bottom: 2px;
            }
            .arrow:hover {
                border: solid var(--tertiary-color-hov);
            }
                .right {
                    transform: rotate(-45deg);
                    -webkit-transform: rotate(-45deg);
                }
                .left {
                    transform: rotate(135deg);
                    -webkit-transform: rotate(135deg);
                }
    
    @media only screen and (min-width: 490px) {
        div.articles.flex {
            flex-direction: row;
        }
            article {
                width: 45%;
            }
    }
    @media only screen and (min-width: 728px) {
        div.articles.flex {
            flex-direction: row;
        }
            article {
                width: 30%;
            }
    }
    @media only screen and (min-width: 992px) {
    .container.flex {
        flex-direction: row;
    }
        div.articles {
            width: calc(100% - var(--aside-width));
        }
        div.articles.flex {
            flex-direction: row;
        }
            article {
                width: 30%;
            }
        aside {
            width: var(--aside-width);
            div {
                margin: 0 0 0 4em;
            }
            h3 {
                text-align: left;
            }
            h3:after {
                width: 50%;
                margin: 0.6em 0;
            }
            li {
                text-align: left;
            }
        }
        div.pagination {
            width: calc(100% - var(--aside-width));
        }
    }
        
}



/*
	FOOTER
* ----------------------------------------------------------------------------
*/
footer {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: var(--tertiary-color);

    .flex {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: center;
    }
    @media only screen and (min-width: 992px) {
        .flex {
            flex-direction: row;
        }
    }
        .flex div {
            flex-basis: 50%;
            padding: 1em 0;
        }

        a {
            font-size: 1em;
            color: var(--primary-color);
            font-weight: 400;
            text-decoration: none;
            transition: 0.6s ease;
        }
        a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }
        p {
            color: #fff;
            margin: 0;
        }

        div.links {
            display: flex;
            flex-wrap: row;
            gap: 0 1em;

                a {
                    font-size: 0.7em;
                    font-weight: 600;
                    color: #fff;
                }
                a:hover {
                    text-decoration: none;
                    color: var(--primary-color-hov);
                }
        }
        div.copyrights {
            p {
                font-size: 0.7em;
                line-height: 1.2em;
                text-align: center;
            }
            @media only screen and (min-width: 992px) {
                p {
                    text-align: right;
                }
            }
            span.studio71 {
                font-size: 0.8em;
                color: var(--quaternary-color);

                a {
                    color: var(--quaternary-color);
                }
                a:hover {
                    text-decoration: none;
                    color: var(--primary-color-hov);
                }
            }
        }
}