/* dvfsupport.com - single static page */

/* Roboto is served from this folder. One variable font file covers every weight used below. */
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-latin.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #1b1b1d;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 36px;
}

/* ---------- Header ---------- */

.site-header {
    background-color: #fff;
    border-bottom: 5px solid #ad383c;
    text-align: center;
    line-height: 0;
}

.site-header img {
    width: 462px;
    max-width: 100%;
    height: auto;
}

/* ---------- Main section ---------- */

.support {
    flex: 1 0 auto;
    padding: 100px 0 50px;
    background-image: linear-gradient(194deg, #339abf 46%, #20364c 82%);
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}

.intro {
    margin-bottom: 25px;
    padding: 0 220px;
    text-align: center;
    color: #fff;
}

.intro h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    line-height: 50px;
}

.intro p {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 42px;
}

/* ---------- Cards ---------- */

.cards {
    display: flex;
    gap: 24px;
    margin-bottom: 25px;
}

.card-column {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    position: relative;
    width: 100%;
    margin: 25px 0;
    padding: 150px 0;
    border: 1px solid #ad383c;
    border-radius: 9px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Dark tint over the photo so the white text stays readable */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 9px;
}

.card-it {
    background-image: url("../images/server.jpg");
}

.card-it::before {
    background-color: rgba(0, 0, 0, 0.14);
}

.card-analytics {
    background-image: url("../images/analytics.jpg");
}

.card-analytics::before {
    background-color: rgba(0, 0, 0, 0.52);
}

/* Fixed height so both cards match whether they hold one line or three */
.card-text {
    position: relative;
    min-height: 90px;
}

.card-text h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    text-align: center;
}

/* ---------- Buttons ---------- */

.ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px 50px;
    border-radius: 50px;
    background-color: #c7c7c7;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.ticket-button:hover {
    background-color: #2f3439;
    color: #fff;
}

.ticket-button svg {
    margin-right: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ticket-button span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 26px;
    text-transform: uppercase;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 25px 0;
    background-color: #fff;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: rgba(29, 29, 31, 0.4);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 18px;
    text-transform: uppercase;
}

.site-footer a {
    color: #007df7;
    text-decoration: none;
}

.site-footer a:hover {
    color: #2f3439;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1280px) {
    .support {
        padding: 25px;
    }

    .intro {
        padding: 0 50px;
    }
}

@media (max-width: 600px) {
    .cards {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 420px) {
    .intro {
        padding: 0;
    }
}
