:root {
    --primary-color: white;
    --secondary-color: black;

    --main-font: Inter;
    --secondary-font: 'Libre Baskerville';
    --third-font: 'Josefin Sans';

    --main-font-color: black;
    --secondary-font-color: rgb(75, 75, 75);
}
html {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--main-font);
}
html, body, header {
    padding: 0;
    margin: 0 !important;
    margin-right: 0 !important;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

main {
    padding-top: 300px !important;
}
#title-text h1 {
    text-indent: 2rem;
    font-size: clamp(1.1rem, calc(0.9rem + 2vw), 3.8rem);
    font-family: var(--secondary-font);
    width: 100%;

    padding-left: 20px;
}
#title-text p {
    text-indent: 2rem;
    font-size: clamp(1.1rem, calc(1.1rem + 0.5vw), 3rem);
    font-family: var(--secondary-font);
    width: 100%;

    padding-left: 20px;
}
#title-text {
    width: 94%;
    margin: 0 auto 120px auto;
}
#title-text h1, #title-text p {

}
#clear-lake {
    float: left;
    padding-right: 20px;

    width: 60vw;
    max-width: 850px;
    align-self: center;
    justify-self: center;
}
@media only screen and (max-width: 750px) {
    #clear-lake {
        width: 90%;
        padding-right: 0;
        float: none;
        display: block;
        margin: 60px auto;
    }
    #title-text h1, #title-text p {
        width: 80%;
        justify-self: center;
        text-align: center;
    }
}
span {
    display: grid;
    grid-template-columns: auto 35vw auto; 
    column-gap: 20px;
    margin: auto;
    width: 80%;
}
#h-2 {
    display: block;
    text-align: center;
    font-size: clamp(2.1rem, calc(2.1rem + 1.2vw), 3.2rem);
    font-family: var(--secondary-font);
}
.header-border {
    width: 100%;
    height: 100%;
    border-bottom: 2px dashed var(--HI-blue);

    /* position: relative;
    top: 70px; */
    transform: translateY(-50%);
}
.icon-large {
    width: 50px;
    height: 50px;
    background-color: var(--HI-blue);
    padding: 20px;
    border-radius: 50%;
}
.icon-large img {
    filter: invert();
    width: 50px;
    height: 50px;
}
.icon-small {
    display: none;

    width: 50px;
    height: 50px;
    background-color: var(--HI-blue);
    padding: 20px;
    border-radius: 50%;
}
.icon-small img {
    display: none;

    filter: invert();
    width: 50px;
    height: 50px;
}
.puzzle-piece-svg {
    margin-left: 4px;
}

article {
    width: 92%;
    margin: 120px auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-auto-flow: row;
    column-gap: 30px;
    align-items: center;
    justify-items: center;
}
.middle-cell {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr auto 1fr;
    height: 100%;
}
.middle-border {
    height: 100%;
    width: 0;
    border: 2px dashed var(--HI-blue);
    margin: auto;
}
.small-middle-border {
    display: none;
    width: 0;
    height: 100px;
    border: 2px dashed var(--HI-blue);
    margin: auto;
}
.number-ball.large {
    background-color: var(--HI-blue);
    color: white;
    font-size: clamp(2.6rem, calc(2.6rem + 0.5vw), 5.6rem);
    text-align: center;
    line-height: 40px;
    justify-self: center;

    padding: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.number-ball.small {
    display: none;
}
article h2 {
    display: inline;
    font-size: clamp(2.4rem, calc(2.4rem + 1.2vw), 3.6rem);
    justify-self: end;
    text-align: right;
    margin-top: 200px;
    margin-bottom: 200px;
}
article p {
    text-indent: 2rem each-line;
    font-size: clamp( 1.2rem, calc(1.1rem + 0.5vw),2.1rem);
    font-family: var(--secondary-font);
}

@media only screen and (max-width: 700px) {
    .middle-border {
        display: none;
    }
    .small-middle-border {
        display: block;
    }
    .middle-cell {
        display: block;
    }
    .icon-large, .icon-large img {
        display: none;
    }
    .icon-small, .icon-small img {
        display: block;
    }
    .number-ball.large {
        display: none;
    }
    .number-ball.small {
        display: block;
        background-color: var(--HI-blue);
        color: white;
        font-size: clamp(2.6rem, calc(2.6rem + 0.5vw), 5.6rem);
        text-align: center;
        line-height: 40px;
        justify-self: center;

        padding: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    article {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }
    article h2, article p {
        text-align: center;
        justify-self: center;
    }
    article h2 {
        margin: 20px auto;
    }
}
