/*
Theme Name: Fundacja Addictive
Author: Małgorzata Raś
Description: Fundacja Grupy Addictive theme. All rights reserved.
Version: 1.0
*/

:root {
    --blue-color: #0000F8;
    --white-color: #FFFFFF;
    --ecru-color: #F0F0F0;
    --black-color: #000000;
    --dark-grey-color: #202020;
    --light-grey-color: #838383;
    --light-blue-color: #5959fc;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
}

/* Backgrounds colors */

.ecru-background {
    background: var(--ecru-color);
    color: var(--black-color);
}

.blue-background {
    background: var(--blue-color);
    color: var(--white-color);
}

.black-background {
    background: var(--black-color);
    color: var(--white-color);
}

.gradient-background {
    background: linear-gradient(111.34deg, #0000F8 0%, #7B61FF 100%);
    color: var(--white-color);
}

/* Wrapper */

.wrapper {
    max-width: 1596px;
    margin: 0 auto;
}

.wrapper img {
    border-radius: 25px;
}

/* Buttons */

.button {
    padding: 16px 30px 16px 36px;
    border-radius: 12px;
    color: var(--black-color);
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.button:hover {
    transform: translate(2px, 0);
}

.button.full {
    background: var(--white-color);
    color: var(--black-color);
}

.button.empty {
    border-color: var(--white-color);
    border: 2px solid;
    color: var(--white-color);
}

.button.blue {
    border-color: var(--blue-color);
    color: var(--blue-color);
}

.button.text {
    padding: 0px;
}

.button.white.text {
    color: var(--white-color);
}

.button.grey.text {
    color: var(--light-grey-color);
}

.button.big-text {
    color: var(--white-color);
    padding: 16px 0px 16px 0px;
    font-weight: 600;
    font-size: 35px;
}

.button.icon-right-white::before {
    content: url('images/arrow-right-white.svg');
    position: absolute;
    top: 50%;
    right: 0px;
    padding-right: 30px;
    transform: translateY(-40%);
}

.button.icon-right-black::before {
    content: url('images/arrow-right-black.svg');
    position: absolute;
    top: 50%;
    right: 0px;
    padding-right: 30px;
    transform: translateY(-40%);
}

.button.icon-right-blue::before {
    content: url('images/arrow-right-blue.svg');
    position: absolute;
    top: 50%;
    right: 0px;
    padding-right: 30px;
    transform: translateY(-40%);
}

.button.icon-top-white::before {
    content: url('images/arrow-top-white.svg');
    position: absolute;
    top: 50%;
    right: -10px;
    padding-right: 30px;
    transform: translateY(-50%);
}

.button.icon-top-white-small::before {
    content: url('images/arrow-top-white-small.svg');
    position: absolute;
    top: 50%;
    right: -10px;
    padding-right: 30px;
    transform: translateY(-50%);
}

.button.icon-top-grey::before {
    content: url('images/arrow-top-grey.svg');
    position: absolute;
    top: 40%;
    right: -50px;
    padding-right: 30px;
    transform: translateY(-50%);
}

.button.icon-right-blue {
    padding-right: 60px;
}

.button.icon-right-black {
    padding-right: 60px;
}

.button.icon-top-white {
    padding-right: 60px;
}

.button.icon-top-white-small {
    padding-right: 40px;
}

/* Header */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1616px;
    top: 0;
    margin: auto;
    padding: 0px 50px;
    z-index: 100;
    transition: all 500ms ease;
}

.nav-wrapper {
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav.scrolled {
    background: var(--blue-color);
    box-shadow: 0 16px 14px -8px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    top: 0;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 52px;
    list-style: none;
    margin: 0px;
}

nav ul li a {
    font-weight: 500;
    font-size: 16px;
    color: var(--white-color);
    text-decoration: none;
}

nav.mobile-nav,
.mobile-menu-container {
    display: none;
}

/* Hero section */

.hero-section {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
}

.hero-section .center h1 {
    font-weight: bold;
    font-size: 80px;
    line-height: 120%;
    color: var(--white-color);
    margin-bottom: 0px;
}

.hero-section .center p {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--white-color);
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Hero single page */

.hero-single-page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 70px;
}

.hero-single-page h1 {
    font-weight: bold;
    font-size: 60px;
    line-height: 120%;
    color: var(--white-color);
    margin-bottom: 0px;
}

.hero-single-page p {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--white-color);
    margin-top: 30px;
    margin-bottom: 0px;
}

/* Help us section */

.hero-single-page .help-us-section h1 {
    font-size: 60px;
    font-weight: bold;
    line-height: 120%;
    margin-bottom: 0px;
}

.hero-single-page .help-us-section h2 {
    font-weight: bold;
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 0px;
    margin-top: 30px;
}

.hero-single-page .help-us-section p {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    margin-top: 20px;
    margin-bottom: 30px;
}

.help-us-section.bottom {
    margin-top: 70px;
    margin-bottom: 70px;
}

.help-us-section.bottom h3 {
    font-size: 18px;
}

/* Article single page */

.article-single-page {
    display: flex;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.article-single-page .left {
    margin-right: 100px;
}

.article-single-page .left p {
    font-size: 16px;
    margin-top: 30px;
    font-weight: 500;
}

article.article-single-page .left .published p {
    font-size: 14px;
    color: var(--light-grey-color);
}

.article-single-page .left h2 {
    font-size: 40px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.article-single-page .right img {
    width: 600px;
}

/* Foundation section */

.foundation-section {
    display: flex;
    justify-content: space-between;
    color: var(--black-color);
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 70px;
    padding-top: 70px;
}

.foundation-section p {
    margin-top: 30px;
}

.foundation-section .left {
    width: 788px;
}

.foundation-section .left h2 {
    font-weight: bold;
    font-size: 60px;
    line-height: 120%;
    margin: 0px;
}

.foundation-section .right {
    width: 465px;
    align-self: flex-end;
}

.foundation-section .right img {
    width: 450px;
}

.foundation-section .right h3 {
    font-weight: bold;
    font-size: 40px;
    line-height: 120%;
    margin: 0px;
}

.foundation-section .right .button {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Quote section */

.quote-section {
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--black-color);
    padding-bottom: 70px;
    padding-top: 70px;
}

.quote-section h2 {
    font-weight: bold;
    font-size: 60px;
    line-height: 120%;
    margin-bottom: 50px;
    margin-top: 0px;
}

.quote-section p {
    margin-top: 70px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 0px;
}

.quote-section img {
    width: 600px;
}

/* Learn more section */

.learn-more-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.learn-more-section .learn-more-columns-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 70px;
    justify-content: space-between;
    gap: unset;
}

.learn-more-section .learn-more-columns-section img {
    width: 480px;
}

.learn-more-section h3 {
    font-weight: bold;
    font-size: 40px;
    line-height: 120%;
    color: var(--black-color);
    margin-bottom: 70px;
}

/* Buttons section */

.buttons-section {
    padding-bottom: 50px;
    padding-top: 50px;
}

.buttons-section .column-buttons-section {
    display: flex;
    flex-wrap: wrap;
}

.buttons-columns-section {

    margin-left: auto;
    margin-right: auto;
}

.button-column {
    width: 33%;
    display: inline-block;
    align-items: center;
    border-right: 1px solid var(--light-blue-color);
    padding-left: 80px;
    padding-right: auto;
}

.button-column:last-child {
    border-right: none;
    padding-right: 0px;
}

/* Contact section */

.contact-wrapper {
    max-width: 1274px;
    margin: 0 auto;
    padding: 70px 0px;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-section h4 {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 0px;
    margin-top: 0px;
}

.contact-section p {
    padding-right: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-grey-color);
    margin-top: 0px;
    margin-bottom: 0px;
}

.contact-section .left {
    width: 594px;
}

.contact-section .right {
    width: 628px;
    align-self: flex-end;
}

.contact-section .contact-private-policy {
    display: flex;
    align-items: center;
}

.contact-section .button {
    margin-top: 0px;
}

/* Contact section form */

.contact-section form {
    position: relative;
}

.contact-section form input {
    font-weight: 500;
    font-size: 20px;
    color: var(--light-grey-color);
    background: var(--dark-grey-color);
    border-radius: 10px;
    border: none;
    width: 100%;
    padding: 25px 15px;
}

.contact-section .arrow-button::before {
    content: url('images/arrow-right-grey.svg');
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-50%);
}

/* Footer */

footer {
    background: var(--black-color);
    
}

footer a {
    text-decoration: none;
    color: var(--light-grey-color);
}

footer h5 {
    font-weight: 600;
    font-size: 16px;
    color: var(--white-color);
    margin-bottom: 0px;
    margin-top: 20px;
}

footer ul {
    list-style: none;
    padding-left: 0px;
}

footer ul li {
    margin-top: 20px;
}

footer .links-container {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
    padding: 70px 0px;
    border-bottom: 1px solid var(--dark-grey-color);
    border-top: 1px solid var(--dark-grey-color);
}

footer .footer-adress p {
    margin-top: 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--light-grey-color);
}

footer .copyright {
    padding: 70px 0px;
    margin: 0px;
    font-weight: 600;
    font-size: 16px;
    color: var(--light-grey-color);
}

footer .copyright a {
    color: var(--white-color);
}

/* Contact page */

.legal {
    padding: 50px 0px;
    color: var(--light-grey-color);
    border-top: 1px solid var(--dark-grey-color);
}

.hero-contact-page {
    width: 100%;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 70px;
}

.hero-contact-page h1 {
    font-weight: bold;
    font-size: 60px;
    line-height: 120%;
    color: var(--white-color);
    margin-bottom: 0px;
}

.hero-contact-page h3 {
    font-weight: bold;
    font-size: 18px;
    line-height: 120%;
    color: var(--white-color);
    margin-bottom: 0px;
}

.hero-contact-page p {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--white-color);
    margin-top: 20px;
    margin-bottom: 0px;
}


/* Responsive design */

@media(max-width: 1100px) {

    /* Buttons */

        .button {
            padding: 12px 12px 12px 12px;
            font-size: 12px;
        }

        .button.icon-right-black {
            padding-right: 40px;
        }

        .button.icon-right-black::before {
            padding-right: 12px;
        }

        .button.icon-right-blue {
            padding-right: 40px;
        }

        .button.icon-right-blue::before {
            padding-right: 12px;
        }

        .button.icon-right-white {
            padding-right: 40px;
        }

        .button.icon-right-white::before {
            padding-right: 12px;
        }

        .button.icon-right-grey {
            padding-right: 40px;
        }

        .button.icon-right-grey::before {
            padding-right: 12px;
        }

    /* Wrapper */

        .wrapper {
            padding: 0 50px;
        }

        .contact-wrapper {
            padding: 0 168px;
        }

    /* Nav */

        nav {
            width: 100%;
            left: 0;
            right: 0;
            padding: 0px 50px;
        }

        nav.scrolled {
            padding: 0px 50px;
        }

        nav ul {
            gap: 16px;
            padding-left: 70px;
        }

        nav ul li a {
            font-size: 12px;
        }

        nav.mobile-nav {
            display: none;
        }

    /* Hero section */

        .hero-section .center h1 {
            font-size: 50px;
        }

        .hero-section .center p {
            font-size: 12px;
        }

    /* Foundation section*/

        .foundation-section {
            display: flex;
            flex-wrap: wrap;
        }

        .foundation-section .left {
            width: 100%;
        }

        .foundation-section .right {
            width: 100%;
            display: flex;
            padding-top: 70px;
        }

        .foundation-section .left p {
            font-size: 12px;
        }

        .foundation-section .right p {
            font-size: 12px;
        }

        .foundation-section .left h2 {
            font-size: 30px;
        }

        .foundation-section .right h3 {
            font-size: 26px;
        }

    /* Quote section */

        .quote-section h2 {
            font-size: 30px;
        }

        .quote-section p {
            font-size: 12px;
            margin-top: 30px;
        }

    /* Learn more section */

        .learn-more-section h2 {
            font-size: 30px;
        }

        .learn-more-section .learn-more-columns-section {
            display: flex;
            flex-wrap: unset;
            justify-content: space-between;
            gap: unset;
        }

        .learn-more-section .learn-more-columns-section img {
            width: 280px;
        }

    /* Buttons section */

        .buttons-section {
            padding-bottom: 30px;
            padding-top: 30px;
        }

        .button.big-text {
            font-size: 18px;
        }

        .button-column {
            padding-left: 50px;
        }

    /* Contact section */

        .contact-section {
            padding-top: 50px;
            padding-bottom: 50px;
        }

        .contact-section .left h4 {
            font-size: 24px;
        }

        .contact-section .left p {
            font-size: 12px;
        }

        .contact-section form input {
            font-size: 14px;
            padding: 18px 15px;
        }

    /* Footer */

        footer h5 {
            font-size: 12px;
            margin-top: 20px;
        }

        footer .footer-adress p {
            margin-top: 20px;
            font-size: 12px;
        }

        footer .copyright {
            font-size: 12px;
        }

        footer ul li {
            margin-top: 15px;
        }

    /* Hero single page */

        .hero-single-page p {
            font-size: 12px;
        }

        .hero-single-page h1 {
            font-size: 50px;
        }

        .article-single-page .left p {
            font-size: 12px;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        .article-single-page {
            flex-wrap: wrap;
        }

        article.article-single-page .left .published p {
            font-size: 10px;
            color: var(--light-grey-color);
        }
        
    /* Help us section */

        .hero-single-page .help-us-section p {
            font-size: 12px;
            margin-top: 15px;
        }

        .hero-single-page .help-us-section h3 {
            font-size: 14px;
        }

        .hero-single-page .help-us-section h1 {
            font-size: 40px;
        }

        .hero-single-page .help-us-section h2 {
            font-size: 25px;
        }

        .help-us-section.bottom p {
            font-size: 12px;
        }

        .help-us-section.bottom h3 {
            font-size: 14px;
        }

    /* Contact page */

        .hero-contact-page h1 {
            font-size: 40px;
        }

        .hero-contact-page p {
            font-size: 12px;
            margin-top: 15px;
        }

        .hero-contact-page h3 {
            font-size: 14px;
        }

        .legal p {
            font-size: 12px;
        }

}

@media (max-width: 1010px) {
    
    /* Navigation */

        nav {
            display: none;
        }

        nav.mobile-nav {
            display: flex;
        }

        nav.mobile-nav.scrolled {
            padding: 0px 50px;
            background: var(--blue-color);
            box-shadow: 0 9px 21px -5px rgba(0, 0, 0, 0.3);
        }

        .mobile-menu-container {
            position: fixed;
            height: 380px;
            width: 100%;
            top: 0;
            left: 100%;
            background: var(--black-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 200;
            transition: all 600ms ease;
            border-radius: 0 0 8px 8px;
        }

        .mobile-menu-container.active {
            left: 0;
        }

        .mobile-menu-container .close-icon {
            position: fixed;
            top: 37px;
            right: 53px;
            opacity: 0;
            pointer-events: none;
            transition: all 300ms ease;
        }

        .mobile-menu-container.active .close-icon {
            opacity: 1;
            pointer-events: auto;
        }

        .mobile-menu-container ul {
            list-style: none;
            padding: 0;
            border-top: 1px solid var(--dark-grey-color);
            padding: 0 50px;
            margin-top: 90px;
            margin-bottom: 40px;
            width: 100%;
            padding-top: 30px;
        }

        .mobile-menu-container ul li {
            text-align: left;
            margin-top: 15px;
            margin-bottom: 15px;
            font-size: 12px;
        }

        .mobile-menu-container ul li a {
            text-decoration: none;
            color: var(--white-color);
        }

    /* Quote section */

        .quote-section img {
            width: 451px;
        }

    /* Learn more section */

        .learn-more-section .learn-more-columns-section img {
            width: 230px;
        }

    /* Foundation section */

        .foundation-section .right {
            flex-wrap: wrap;
        }

    /* Contact section */

        .contact-wrapper {
            padding: 0 70px;
        }

    /* Buttons */

        .button.big-text {
            font-size: 16px;
        }

    /* Buttons section */

        .button-column {
            width: 32%;
        }

    /* Footer */

    footer .links-container {
        gap: 20px;
    }
}


@media (max-width: 700px) {

        /* Navigation */

        nav.mobile-nav {
            padding: 0 25px;
            width: 100%;
        }

        .mobile-menu-container ul {
            padding: 0 25px;
        }

        .mobile-menu-container .close-icon {
            right: 27px;
        }

        nav.mobile-nav.scrolled {
            padding: 0px 25px;
        }

        .mobile-menu-container ul {
            margin-top: 80px;
            margin-bottom: 0px;
        }

        .mobile-menu-container {
            height: 315px;
        }

        /* Wrapper */

        .wrapper {
            padding: 0 25px;
        }

        .contact-wrapper {
            padding: 0 25px;
        }

        /* Hero section */

        .hero-section p {
            width: 100%;
        }

        .hero-section .center h1 {
            font-size: 40px;
        }

        /* Single page */

        .hero-single-page h1 {
            font-size: 40px;
        }

        .article-single-page .left h2 {
            font-size: 30px;
        }

        .article-single-page .right img {
            width: 300px;
        }

        .article-single-page .left {
            margin-right: 0px;
        }

        /* Help us section */

        .hero-single-page .help-us-section h1 {
            font-size: 30px;
        }

        /* Contact page */

        .hero-contact-page h1 {
            font-size: 30px;
        }

        /* Foundation section */

        .foundation-section .right img {
            width: 300px;
        }

        /* Quote section */

        .quote-section img {
            width: 300px;
        }

        /* Learn more section */

        .learn-more-section .learn-more-columns-section img {
            width: 300px;
            margin-top: 30px;
        }

        .learn-more-section h2 {
            margin-bottom: 0px;
        }

        .learn-more-section {
            text-align: center;
        }

        .learn-more-section .learn-more-columns-section {
            flex-direction: column;
            align-items: center;
        }

        /* Buttons section */

        .button-column {
            width: 100%;
            display: flex;
            flex-direction: column;
            border-right: none;
            padding-left: 0px;
        }

        .button-column::after {
            content: "";
            width: 70px;
            align-items: center;
            border-bottom: 1px solid var(--light-blue-color);
        }

        .button-column:last-child::after {
            border-bottom: none;
        }

        .buttons-columns-section .button.big-text {
            margin-bottom: 10px;
            margin-top: 10px;
        }

        /* Contact section */

        .contact-section {
            flex-direction: column;
        }

        .contact-section .left {
            width: 310px;
            text-align: center;
            margin: auto;
            margin-bottom: 30px;
        }

        .contact-section .right {
            width: 310px;
            text-align: center;
            margin: auto;
        }

        /* Footer */

        footer .links-container {
            display: grid;
            grid-template-columns: 2fr 2fr;
        }

        footer .links-container .links:nth-child(1) {
            grid-row: 1;
        }

        footer .links-container .links:nth-child(2) {
            grid-row: 1;
        }

        footer .links-container .links:nth-child(3) {
            grid-row: 2;
        }

        footer .links-container .links:nth-child(4) {
            grid-row: 2;
        }

        footer .links-container .links:nth-child(5) {
            grid-row: 3;
        }

}

@media (max-width: 400px) {

    .hero-section .center h1 {
        font-size: 35px;
    }
}