:root {
    --primary-color: white;
    --secondary-color: black;
    --HI-blue: rgb(0, 54, 148);

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

    --main-font-color: black;
    --secondary-font-color: rgb(35, 35, 35);
}
html {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--main-font);
}
html, body {
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
main {
    margin-bottom: 250px;
}
#title-screen {
    background-image: url(../images/index/title-background.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    padding-top: 140px;
    anchor-name: --title-anchor;
}
main h1 {
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: clamp(3rem, calc(3rem + 0.5vw), 5rem);

    width: 80%;
    padding-top: 120px;
    margin: 0 0 0 10vw;

    anchor-name: --heading-anchor;
}
main h1 span {
    font-family: var(--secondary-font);
    font-style: italic;
}
#container {
    width: 76%;
    margin: auto;
}
main #title-description {
    font-size: 2rem;
    text-indent: 2rem;
    font-family: var(--secondary-font);
    color: rgb(212, 212, 212);

    max-width: 800px;
    padding-bottom: 300px;
    margin: 300px 5vw 0 10vw;
    
}
main #title-overlay {
    background-color: white;
    opacity: 0;

    position: absolute;
    position-anchor: --title-anchor;
    width: anchor-size(--title-anchor);
    height: anchor-size(--title-anchor);
    top: anchor(top);
    left: anchor(left);
}

#our-process {
    text-align: center;

    margin-top: 100px;

    background-color: var(--primary-color);
}
#our-process-flex {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin: auto;
    width: clamp(190px, 80%, 550px);
}
#our-process h2 {
    font-size: clamp(2rem, calc(3rem + 0.4vw), 4rem);
    font-family: var(--main-font);
    color: var(--secondary-color);

    position: relative;
    bottom: 20px;
}
.headline-line {
    display: inline-block;
    background-color: var(--secondary-font-color);

    height: 3px;
    width: 30px;
}

.connector {
    width: 0;
    height: 150px;
    margin: auto;
    border-left: 4px dashed var(--secondary-font-color);
}

.process-object {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;

    margin: 90px auto;
}
.process-object h3 {
    grid-row: 1;
    font-size: clamp(1.6rem, calc(2.5rem + 0.4vw), 4rem);
    color: var(--secondary-font-color);

    box-sizing: border-box;
    width: clamp(240px, 70%, 400px);
    margin: auto;
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 3px dotted var(--secondary-font-color);
}
.process-object.grid-right h3 {
    grid-column: 2;
}
.process-object.grid-left h3 {
    grid-column: 1;
}
.process-object p {
    font-size: clamp(1rem, calc(1rem + 1vw), 5rem);
    font-family: var(--secondary-font);
    text-align: center;

    grid-row: 2;

    display: block;
    margin: auto;
    width: 60%;
    max-width: 580px;
}
.process-object.grid-right p {
    grid-column: 2;
}
.process-object.grid-left p {
    grid-column: 1;
}

#gardenview-img-painted, #gardenview-img-real {
    margin: auto;
    padding-right: 10vw;
    max-width: 80%;
}
#gardenview-img-real {
    padding-right: 0;
    margin-left: 14vw;
    margin-top: 2vw;

    border-radius: 15px;
}

#rusty-bucket-img {
    grid-row: span 2;
    margin: auto;
    max-width: 80%;
}
 .process-object:last-child h3, .process-object:last-child p {
    grid-column: span 2;
 }

@media only screen and (max-width: 700px) {
    .process-object {
        grid-template-rows: auto 1fr 1fr 1fr;
        grid-template-columns: 1fr;
    }
    .process-object h3, .process-object p {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}
@media only screen and (max-width: 450px) {
    main h1, main #title-description {
        text-align: center;
        text-indent: 0;

        margin: auto;
        padding-left: 0;
        padding-right: 0;
    }
    main #title-description {
        margin-top: 300px;
    }
}