html, body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: hidden;
}

/* All page content */
.page-content {
    max-width: 100vw;
    text-align: center;
}

/* Background video container */
.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-wrapper video {
    object-position: -75px 0;
    height: 70vh;
    max-height: 70vh;
    filter: brightness(2);
}
/* Video text container */
.video-text {
    position: absolute;
    color: white;
    mix-blend-mode: overlay;
}
.video-text h1 {
    margin: 0 0 0.25em 0;
}
.video-text h3 {
    margin: 0;
}

/* Section header general */
.section-header h1 {
    margin: 0;
}

/* Services content section */
.services-content {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    display: grid;
    grid-template-rows: 1fr;
    max-width: 1200px;
}

/* Services content links */
.services-content a {
    text-decoration: none;
    color: var(--color-1);
}

/* Services content images */
.service-image {
    padding: 1em;
}
.services-content img {
    height: 200px;
    border-radius: 50%;
}

/* Learn more button */
.services-content button {
    padding: 0.5em 3em;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
}
.services-content button:hover {
    background-color: var(--primary-color);
    color: var(--color-2);
    cursor: pointer;
}

/* All services styling */
.service {
    padding: 1.5em 0;
}
.service:hover {
    background-color: #eee;
}
.service h1 {
    margin: 0;
    font-size: 35px;
}

/* Printer section */
.farsoon-printer {
    background-color: var(--color-1);
}
.farsoon-printer-wrapper {
    display: grid;
    max-width: 100%;
    padding: 1.5em 0.5em;
    max-width: 1200px;
}
.printer-image img {
    width: 100%;
    max-width: 500px;
}
.farsoon-printer h1 {
    color: white;
    font-size: 1.75em;
    margin: 0;
}

/* Printer specs container */
.printer-specs {
    position: relative;
    left: 5%;
    width: 90%;
    display: grid;
    justify-items: center;
}
.printer-specs-wrapper {
    width: 100%;
    height: 100%;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: start;
}
.printer-specs h1 {
    display: none;
}
.printer-specs table {
    width: 100%;
    border-collapse: collapse;
    max-width: 600px;
}
/* Table header */
.printer-specs th {
    background-color: var(--primary-color);
    color: white;
}
.printer-specs th, .printer-specs td {
    padding: 0.5em;
}

/* Table elements */
.printer-specs td {
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}
.printer-specs td:nth-child(odd) {
    text-align: left;
    border-right: 1px solid #ddd;
}

/* Table rows */
.printer-specs tr:nth-child(odd) {
    background-color: #eee;
}
.printer-specs tr:nth-child(even) {
    background-color: var(--color-2);
}

/* get a quote section */
.get-quote-wrapper {
    padding: 1.5em 1em;
}

/* quote information section */
.quote-info {
    padding: 1em;
}
.quote-info img {
    width: 100%;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 500px;
}
.quote-info p {
    margin-bottom: 0;
}

/* upload file section */
.upload-file button {
    padding: 0.75em 4em;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--color-2);
    border-radius: 10px;
    font-size: 16px;
}
.upload-file button:hover {
    background-color: var(--color-2);
    color: var(--primary-color);
    cursor: pointer;
}



/* RESPONSIVE DESIGN */
@media screen {

    @media (min-width: 800px) {
        .services-content { grid-template-columns: repeat(2, 1fr); }
    }
 
    @media (min-width: 1000px) {
        /* Main background video */
        .video-wrapper video { object-position: 0 0; max-width: 100%; max-height: unset; height: auto; }

        /* Services content */
        .services-content { grid-template-columns: repeat(4, 1fr); }

        /* Farsoon printer section */
        .farsoon-printer-wrapper { position: relative; left: 50%; transform: translateX(-50%); grid-template-columns: 1fr 1fr; }
        .section-header.farsoon { display: none; }
        .printer-specs { justify-items: center; align-content: center; }
        .printer-specs table { max-width: unset; }
        .printer-specs-wrapper { display: block; padding: 0; position: relative; top: -25px; }
        .printer-specs h1 { display: block; margin-bottom: 0.5em; }
    }

}