@import url('https://fonts.cdnfonts.com/css/bernoru');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --gray: #181818;
    --red: #A6192E;
    --gold: #F5D06B;
    --selection: #000888;
    --font: 'Montserrat', sans-serif;
    --testimonial: 'Courier Prime', monospace;
    --big-font: 'Bernoru', sans-serif;
}

* {
    background-color: var(--gray);
}

body {
    margin: 0;
    padding: 0;
}

header {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 15px;
    height: auto;
    min-height: 80px;
    padding: 10px;
    background-color: var(--red);
    border-radius: 0px 0px 5px 5px;

    a {
        background-color: inherit;
    }

    img {
        display: block;
        width: auto;
        height: 80px;
        background-color: inherit;
    }

    h1 {
        font-size: 30px;
        font-weight: 900;
        margin: 0;
        text-align: center;
    }

    h1::selection,
    h1::-moz-selection {
        background-color: var(--selection);
    }
}

h1 {
    font-family: var(--font);
    text-align: center;
    background-color: inherit;
    color: white;
}

h2 {
    font-family: var(--font);
    background-color: inherit;
    color: white;
}

h3 {
    font-family: var(--font);
    background-color: inherit;
    color: white;
}

p {
    font-family: var(--font);
    background-color: inherit;
    color: white;
}

.testimonial-text {
    font-family: var(--testimonial);
}

figcaption {
    font-family: var(--font);
    background-color: inherit;
    color: white;
    height: 10px;
    width: 400px;
}

nav {
    flex-wrap: wrap;
    display: flex;
    flex: 1 1 min-content;
    min-width: 0;
    gap: 5px;
    padding-right: 15px;
    list-style: none;
    font-family: var(--font);
    background-color: inherit;
    color: white;
    container-type: inline-size;

    a {
        padding: 5px;
        text-decoration: none;
        color: white;
        background-color: inherit;
        transition: background-color 0.5s ease, color 0.5s ease, text-decoration 0.75s ease;
    }

    ul {
        display: flex;
        flex: 1 1 auto;
        flex-direction: row;
        gap: 5px;
        justify-content: flex-end;
        margin: 0;
        padding: 0;
        list-style: none;
        background-color: var(--red);

        li {
            background-color: inherit;
        }
    }

    a:hover {
        text-decoration: underline;
        color: var(--gray);
        background-color: var(--gold);
    }

    a:hover::selection,
    a:hover::-moz-selection {
        text-decoration-color: white;
    }

    a::selection,
    a::-moz-selection {
        background-color: var(--selection);
        color: white;
    }
}

footer {
    background-color: var(--red);

    p {
        font-size: 0.8em;
    }
}

@container (max-width: 400px) {
    nav ul {
        flex-direction: column;
        align-items: flex-end;
    }
}

.align-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: inherit;
    background-color: inherit;
}

.align-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    gap: inherit;
    background-color: inherit;
}

.video-section {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    flex: 1;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-text {
    flex: 1;
}

.button {
    display: inline-block;
    padding: 13px 26px;
    background-color: var(--red);
    color: white;
    text-decoration: none;
	font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    /*border: 2px solid var(--red);*/
    border-radius: 5px;
    transition: background-color 0.2s ease, 
                color 0.2s ease, 
                transform 0.2s ease;
}

.button:hover {
    background-color: #7f1223;
    border-color: #7f1223;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    header {
        flex-wrap: wrap;
    }

    nav {
        background-color: inherit;

        .align-right {
            background-color: inherit;
            display: none;
            width: 100%;
            margin-left: 0;
            padding-right: 0;

            .is-open {
                display: flex;
            }
        }

        ul {
            background-color: inherit;
            width: 100%;
        }

        a {
            background-color: inherit;
        }
    }
}