/*
    Typeface: Glacial Indifference
    Author: Alfredo Marco Pradil, Hanken Design Co.
    License: SIL OFL
    Source: https://hanken.co/products/glacial-indifference
*/

/* Regular */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('fonts/GlacialIndifference-Regular.woff2') format('woff2'),
         url('fonts/GlacialIndifference-Regular.woff') format('woff');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

/* Bold */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('fonts/GlacialIndifference-Bold.woff') format('woff2'),
         url('fonts/GlacialIndifference-Bold.woff2') format('woff');
    font-display: swap;
    font-style: normal;
    font-weight: 700;
}

body {
    padding: 0;
    margin: 0;

    background: repeating-linear-gradient(90deg, #86b89f, #86b89f 1.5rem, #2b695b 1.5rem, #2b695b 3rem);
    color: #4a4a4a;

    font-family: 'Glacial Indifference', Arial, Helvetica, sans-serif;
    letter-spacing: 0.125rem;
    line-height: 1.5;
    text-align: center;
}

nav {
    position: sticky;
    z-index: 1000;
    top: 0;

    background: repeating-linear-gradient(90deg, #86b89f, #86b89f 1.5rem, #2b695b 1.5rem, #2b695b 3rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    height: 3rem;
    padding: 1.5rem 1rem
}

.logo {
    height: 3rem;
}

.nav-links {
    display: flex;
    box-sizing: border-box;
    gap: 1rem;
    justify-content: center;
    padding: 0;
    margin: 0;

    list-style: none;
}

.nav-links li {
    display: inline;
}

.nav-links li a {
    padding: 0.5rem 1rem;

    color: white;

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.25rem;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: 0.0625rem 0.0625rem 1rem black;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #f35659;

    text-shadow: none;
}

.nav-links li a:hover::after {
    width: 0;
}

.burger-menu {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    
    display: none;
    box-sizing: content-box;
    width: 2rem;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    border: none;

    background: none;
    color: white;

    font-family: 'Glacial Indifference', Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}

.burger-menu:hover {
    background: none;
}

.burger-menu::before, .burger-menu::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 2rem;

    content: '\2261';
    transition: opacity 0.3s ease;
}

.burger-menu::before {
    content: '\2261';
}

.burger-menu::after {
    font-size: 1.5rem;

    content: '\2715';
    opacity: 0;
}

.burger-menu.active::before {
    opacity: 0;
}

.burger-menu.active::after {
    opacity: 1;
}

.hero {
    padding: 3rem 1rem;

    background: linear-gradient(135deg, #2b695b, #86b89f);
    color: white;
}

h1, h2 {
    color: #2b695b;

    font-family: 'Glacial Indifference', Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.25rem;
    line-height: 1.2;
    text-transform: uppercase;
}

h3 {
    color: black;

    font-family: 'Glacial Indifference', Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.25rem;
    line-height: 1.2;
}

a {
    display: inline-block;

    color: #f35659;

    font-weight: 700;
    text-decoration: none;

    transition: text-decoration 3s ease;
}

a::after {
    display: block;
    width: 0;
    height: 1px;

    background-color: #f35659;

    content: '';
    transition: 0.3s;
}

a:hover::after {
    width: 100%;
}

strong {
    color: #2b695b;

    font-weight: 700;
}

section {
    padding: 50px 20px;
    border-bottom: 2px solid #86b89f;
}

section:nth-child(odd) {
    background-color: #ffffff;
}

section:nth-child(even) {
    background-color: #86b89f;
}

img {
    max-width: 100%;
}

.timer {
    color: #f35659;

    font-size: 1.5rem;
    font-weight: 700;
}

.container {
    box-sizing: border-box;

    max-width: 90rem;
    margin: 0 auto;
}

.two-columns {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;

    padding: 0 1rem;
}

.left-column, .right-column {
    flex: 1;
    min-width: 18.75rem;

    text-align: left;
}

.left-column {
    align-self: flex-start;
    margin-right: 1rem;
}

.right-column {
    margin-left: 1rem;
}

ul {
    display: inline-block;
    margin: 0;

    text-align: left;
}

li {
    padding: 0.5rem;
    
    font-size: 1rem;
}

button {
    padding: 0.5rem 1rem;
    border: none;

    background-color: #f35659;
    color: white;

    font-family: 'Glacial Indifference', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #d8454d;
}

footer {
    color: white;

    font-weight: 700;
}

@media (max-width: 768px) {
    .nav-container {
        height: 2rem;
        padding: 1rem;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);

        height: 2rem;
    }

    .nav-links {
        position: absolute;
        top: 4rem;
        left: 0;

        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: calc(100vh - 4rem);
        padding: 0.5rem 0;

        background: white;

        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        color: #2b695b;
        text-shadow: none;
    }

    .burger-menu {
        display: block;
    }

    .two-columns {
        flex-direction: column;
        text-align: center;
    }

    .left-column, .right-column {
        width: 100%;;
    }

    .left-column {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .right-column {
        margin-left: 0;
    }

    .hide-mobile {
        display: none;
    }
}