:root {
    --site-width: clamp(300px, 96vw, 1200px);
    --site-padding: calc(calc(100vw - var(--site-width))/2);

    --secondary-colour: #1b98a8;
    --third-colour: #3a3a3a;
    --minor-colour: rgb(255, 255, 255);
    
    --main-font: Roboto;
    --secondary-font: "Expletus Sans";
}
main {
    width: clamp(280px, 84vw, 1500px);
    padding: 0 calc(calc(100vw - clamp(280px, 96vw, 1500px))/2);
    margin: calc(120px + 6vw) auto 100px auto;
}
h1 {
    font-size: 3rem;
    color: var(--secondary-colour);
    background-color: white;
    z-index: 2;
    position: relative;
    text-align: center;
    padding: 0 20px;
    width: clamp(215px, 30%, 30%);
}
.h-border-line {
    width: 35%;
    height: 3px;
    display: inline-block;
    z-index: 1;
    background-color: var(--secondary-colour);
    position: relative;
    top: 62px;
}
main > span:first-child {
    display: flex;
    margin: auto;
}
h2 {
    font-size: 2rem;
    text-align: center;
}
main > h2 {
    font-size: 3rem;
    color: var(--secondary-colour);
}
p {
    width: 80%;
    margin: auto;
    font-size: 1.4rem;
    text-indent: 1.4rem;
}
#site-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-flow: row;
    column-gap: 4.5%;
    margin-top: calc(60px + 4vw);
    margin-bottom: 120px;

}
#maintenance-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 4.5%;
    grid-auto-flow: row;
    margin-bottom: 120px;
    margin-top: 100px;
}
@media only screen and (max-width: 1003px) {
    #site-pricing, #maintenance-pricing {
        grid-template-columns: 1fr;
        row-gap: 6%;

        margin-bottom: 340px;
    }
    #faq h2 {
        padding-left: 0;
    }
}
.price-unit {
    border: 2px solid black;
    box-shadow: 10px 10px 5px #7070C2;
    border-radius: 16px;
    background-color: rgb(250,250,250);
    padding: 20px;

    z-index: 2;
    display: block;
    position: relative;
    will-change: transform;
    transform: scale(1);
    transition: transform 0.1s ease;

    h3 {
        font-size: 1.4rem;
        margin-top: 10px;
        margin-bottom: 0;

        display: flex;
        justify-content: space-between;
        color: #7070C2;
    }
    .price-number {
        font-size: 1.4rem;
        font-weight: 500;
        color: rgb(70,70,70);
    }
    .price-subtitle {
        font-size: 0.9rem;
    }
    .recommended {
        margin-top: 0;
        color: white;
        background-color: #9d9df0;
        font-size: 1.6rem;
        font-weight: 500;
        border: 2px solid black;
        border-radius: 15px 15px 0 0;
        padding: 10px 20px 10px 10px;

        display: inline;
        z-index: -1;
        position: relative;
        bottom: 62px;
        right: 22px;
    }
    p {
        font-size: 1.3rem;
        text-indent: 0;
        width: 100%;
        margin-top: 20px;
    }
    h4 {
        font-size: 1.4rem;
        color: var(--secondary-colour);
    }
    li {
        font-size: 1.2rem;
        list-style-image: url('../icons/checkmark.png');
        margin-bottom: 10px;
    }
}
@media only screen and (min-width: 1004px) {
    .price-unit:hover {
    transform: scale(1.05);
    }
}
.site-2, .maintenance-2 {
    box-shadow: 10px 10px 5px #1b98a8;
    border-top-left-radius: 0;
    background-color: white;

    >:not(.recommended) {
        transform: translateY(-25px);
    }
}
#faq {
    width: 100%;
    padding: 0;
    margin: 150px 0;
}
#contact-span {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;

    h2 {
        color: var(--secondary-colour);
        font-size: 3rem;
        text-align: left;
    }
    a {
        align-self: center;
    }
    button {
        color: white;
        line-height: 100%;
        align-self: center;
        padding: 20px 40px;
        p {
            font-size: 1.6rem;
            justify-self: start;
            text-align: left;
        }
        div {
            margin-left: 20px;
        }
    }
}
@media only screen and (max-width: 750px) {
    #contact-span {
        flex-direction: column;
        align-items: center;
        h2 {
            text-align: center;
        }
    }
}