@font-face {
    font-family: 'host';
    src: url('../fonts/HostGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'host';
    src: url('../fonts/HostGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --color-black: #1f1f1f;
    --color-grey: #777;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'host', sans-serif;
    scroll-behavior: smooth;
}
.container {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    gap: 20px;
    margin: 0 auto;
    border-left: solid 1px rgba(0, 0, 0, 0.15);
    border-right: solid 1px rgba(0, 0, 0, 0.15);
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
    padding: 80px 20px;
}
@media screen and (max-width: 768px) {
    .container {
        padding: 60px 20px;
    }
}

.container--vertical {
    grid-template-columns: 1fr;
}
.container--last {
    border-bottom: none;
}
.container--padding {
    padding: 20px;
    gap: 0;
}

.button {
    border: solid 2px var(--color-black);
    display: inline-block;
    width: 200px;
    margin: 0 auto;
    text-decoration: none;
    border-radius: 10px;
    color: var(--color-black);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.button:hover {
    background: var(--color-black);
    color: white;
}
.textlink {
    transition: all 0.3s ease;
    padding: 0 3px;
    display: inline-block;
    text-decoration: none;
    color: black;
    margin-left: -3px;
    cursor: pointer;
}
.textlink:hover {
    background: black;
    color: white !important;
}

header {
    a {
        text-decoration: none;
        color: var(--color-black);
        display: flex;
        align-items: center;
        
        img {
            width: 50px;
            height: auto;
            display: inline-block;
            margin-right: 10px;
            margin-top: -16px;
        }
    }

    .header__logo {
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 18px;

        span {
            display: inline-block;
            margin: 0 6px;
            font-size: 12px;
            opacity: .5;
        }
    }

    nav {
        ul {
            display: flex;
            gap: 25px;
            list-style: none;

            a {
                text-transform: uppercase;
                font-size: 14px;
                letter-spacing: 1px;
            }
        }
    }

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px 20px;
    }
}

@media screen and (max-width: 768px) {
    header {
        .container {
            padding: 25px 20px;
        }
        .header__logo {
            text-indent: -9999px;
            color: white;

            img {
                width: 30px;
                margin-top: -10px;
            }
        }
        nav {
            ul {
                gap: 15px;

                li {
                    a {
                        font-size: 11px;
                    }    
                }
            }
        }
    }
}

.header {
    h1 {
        font-size: 48px;
        line-height: 1.1;
        font-weight: 700;

        span {
            opacity: .4;
            text-transform: initial;
        }
    }
    img {
        width: 100%;
        border-radius: 10px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        h1 {
            font-size: 32px;
        }
    }
}

.about__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;

    img {
        width: 50%;
        border-radius: 10px;
    }

    .about__item__content {
        width: 50%;

        h3 {
            font-size: 30px;
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }
        p {
            font-size: 18px;
            line-height: 1.5;
            color: var(--color-grey);
        }
    }
}

@media screen and (max-width: 768px) {
    .about__item {
        margin-bottom: 15px;

        img {
            width: 30%;
        }
        .about__item__content {
            width: 65%;

            h3 {
                font-size: 20px;
            }
            p {
                font-size: 16px;
            }
        }
    }
    .about__item:nth-child(2) {
        .about__item__content {
            order: 2;
        }
        img {
            order: 1;
        }
    }
    .about__item:last-child {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 560px) {
    .about__item {
        margin-bottom: 25px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;

        img {
            width: 20%;
            margin-bottom: 7px;
        }
        .about__item__content {
            width: 100%;

            h3 {
                font-size: 20px;
                margin-bottom: 2px;
            }
            p {
                font-size: 15px;
            }
        }
    }
}

.getinvolved {
    text-align: center;

    h2 {
        font-size: 30px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 1px;
    }
    p {
        font-size: 20px;
        line-height: 1.5;
        color: var(--color-grey);
        width: 75%;
        margin: 0 auto 15px;
    }
}
@media screen and (max-width: 768px) {
    .getinvolved {
        h2 {
            font-size: 20px;
        }
        p {
            font-size: 16px;
        }
    }
}
@media screen and (max-width: 560px) {
    .getinvolved {
        .container {
            gap: 0;
        }

        h2 {
            text-align: left;
            margin-bottom: 3px;
        }
        p {
            text-align: left;
            font-size: 15px;
            width: 100%;
            margin-bottom: 20px;
        }
        .button {
            float: left;
            margin: 0;
        }
    }
}

footer {
    ul {
        li {
            list-style: none;
            color: var(--color-grey) !important;
            line-height: 1.5;

            a {
                color: var(--color-grey) !important;
            }
        }
        li:first-child {
            font-weight: bold;
            color: var(--color-black) !important;
        }
    }

    .footer__left {
        grid-column: span 6;
        display: flex;
        align-items: center;

        br {
            display: none;
        }
        img {
            transform: translateY(-5px);
            margin-right: 10px;
        }
    }
    .footer__links {
        grid-column-start: 8;
        grid-column-end: 10;
    }
    .footer__contact {
        grid-column: span 3;
    }
}
@media screen and (max-width: 768px) {
    footer {
        .footer__left {
            font-size: 14px;
            grid-column: span 5;

            br {
                display: block;
            }
        }
        .footer__links {
            grid-column-start: 6;
            grid-column-end: 9;
        }
        .footer__contact {
            grid-column: span 4;
        }
    }
}
@media screen and (max-width: 600px) {
    footer {
        .footer__left {
            grid-column: span 12;
        }
        .footer__links {
            grid-column-start: 1;
            grid-column-end: 5;
        }
        .footer__contact {
            grid-column: span 6;
        }
    }
}

.textpage {
    .container {
        display: block;
        min-height: calc(100vh - 149px - 232px);

        .textpage__content {
            width: 65%;

            h1 {
                font-size: 48px;
                line-height: 1.2;
                font-weight: 700;
                letter-spacing: 1px;
                margin-bottom: 40px;
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .textpage {
        .textpage__content {
            width: 100% !important;
        }
    }
}