/* General Resets, Bootstrap Overrides and Defaults */
html {
    font-size: 100%;
}

body {
    background-color: black;
    color: white;
    font-family: "Work Sans", sans-serif;
    margin: 0;
    overflow-x: hidden !important;
}

/* Typography */
h1,
h2 {
    font-family: "League Spartan", sans-serif;
    font-weight: 900;
}

h3,
h4,
h5,
h6 {
    font-family: "Sanchez", serif;
    font-weight: 700;
}

p {
    font-size: 1.5rem;
}

p.mission {
    max-width: 50vw;
    font-size: 2rem;
}

p.sds-about-text {
    max-width: 95%;
    font-size: 2rem;
}

a {
    color: white;
    text-decoration: none;
}

a:hover,
a:active {
    color: #fbae17;
}

a:visited {
    color: #ffffff;
}

h1.contact-title {
    margin-top: -0.1rem;
    margin-bottom: -0.4rem;
}

/* Footer and Nav Dropdown Menu */
footer {
    background-color: #000000;
    padding: 5px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    text-align: center;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.footer.show {
    transform: translateY(0);
}

.footer-content {
    display: flex;
}

.sds-text-end {
    text-align: right;
}

.footer-text,
.copyright-text,
.dropdown-toggle {
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    color: #ffffff;
}

.copyright-text {
    color: #bbbbbb;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3em;
    vertical-align: middle;
    content: "";
    border-top: 0.5em solid;
    border-right: 0.25em solid transparent;
    border-left: 0.25em solid transparent;
    margin-left: 0.255em;
}

.dropdown-menu {
    background-color: #000000;
    color: #ffffff;
}

.dropdown-item {
    color: #ffffff;
    padding: 0 5px;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: #fbae17;
    color: #000000;
}

.navbar-nav .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    transform: translate(0px, 0px) !important;
    top: 100% !important;
}

/* Header and Navigation */
header {
    padding: 5px 0;
    position: fixed;
    width: 100%;
    background-color: #000000;
    z-index: 1030;
    top: 0;
}

nav {
    z-index: 1050;
}

/* Layout and Containers */
.container-fluid,
.row {
    width: 100vw;
    margin: 0;
    padding: 0;
}

.col-auto {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section {
    padding: 0;
    height: 90vh;
}

.text-left {
    text-align: left;
}

section#mission {
    padding-top: 20vh;
}

section#sds-weather {
    padding-top: 5vh;
    padding-bottom: 10vh;
}

section#contact {
    /* height: 80vh; */
    margin-top: 3vh;
    margin-bottom: 3vh;
    padding-bottom: 5vh;
}

.hscrollWrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.hs50 {
    width: 50%;
}

.sds-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.slide-container {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.slide-container.hero-container {
    background-image: url("/assets/images/hero-background.webp"), url("/assets/images/hero-background.jpg");
    min-height: 100vh;
}

.slide-container.about-us {
    background-image: url("/assets/images/about-us-background.webp"), url("/assets/images/about-us-background.jpg");
}

.slide-container.sds-about {
    background-image: url("/assets/images/sds-about-background.webp"), url("/assets/images/sds-about-background.jpg");
    background-position: left top;
}

.hero-container img {
    width: 60%;
}

.hero-h1,
.hero-h3 {
    color: #000000;
}

.justify-center {
    width: 80%;
    max-width: 50vw;
}

/* Contact Form */
.contact-form-container {
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/assets/images/contact-form-background.webp"), url("/assets/images/contact-form-background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(150px);
    z-index: -1;
}

form {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: auto;
}

form .col-md-3 {
    padding: 0;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 93%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #fbae17;
    border-radius: 6px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    resize: both;
    overflow: auto;
}

button.btn.btn-primary,
input[type="button"] {
    width: 93%;
    background-color: #fbae17;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button.btn.btn-primary:hover,
input[type="button"]:hover {
    background-color: #ffffff;
    color: #fbae17;
}

.error {
    color: #fbae17;
    font-size: 0.8rem;
    background-color: #ffffff;
    padding: 0.3rem;
    border: solid 1px red;
    border-radius: 0.5rem;
}

.error:empty {
    display: none;
}

.alert-success {
    background-color: #bbbbbb;
}

.form-control,
.form-control-plaintext,
.form-select {
    width: 93%;
}

/* Images */
img.contact-title {
    width: 15%;
}

img.mission-title {
    width: 10%;
}

img.logo-header {
    width: 100%;
    max-width: min(33vw, 100px);
}

.logo-header {
    width: 100%;
    transition: width 0.3s ease-in-out;
}

.logo-header.shrink {
    width: 50%;
}

img.brand-image {
    width: 100%;
}

#sds-about .img-fluid {
    width: 40%;
}

/* Details */
.ent-details {
    margin-top: 5vh;
}

/* Media Queries */
@media (min-width: 0px) {
    h1 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    section#mission {
        margin-bottom: 20vh;
    }

    .horizontal-scroll {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        overflow-x: hidden;
        width: 200%;
    }

    .horizontal-scroll img {
        width: 100vw;
        height: auto !important;
    }

    .justify-center {
        width: 90%;
        max-width: 900vw;
        padding: 20px 0;
    }

    .footer-text,
    .copyright-text,
    .dropdown-toggle {
        font-size: 0.75rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 4rem;
        line-height: 3.5rem;
    }

    h2 {
        font-size: 2.75rem;
    }

    .footer-text,
    .copyright-text,
    .dropdown-toggle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 5rem;
        line-height: 3.5rem;
    }

    h2 {
        font-size: 3.75rem;
    }

    .horizontal-scroll {
        display: flex;
        flex-wrap: nowrap;
        align-items: normal;
        overflow-x: hidden;
        width: 200%;
    }

    .horizontal-scroll img {
        width: 100vw;
        height: auto !important;
    }
}

@media (min-width: 1400px) {
    h1 {
        font-size: 7rem;
        line-height: 4.5rem;
    }

    h2 {
        font-size: 4.75rem;
    }

    p {
        font-size: 1.5rem;
    }

    p.mission {
        max-width: 50vw;
        font-size: 2rem;
    }

    .justify-center {
        width: 80%;
        max-width: 50vw;
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    header {
        padding: calc(max(10px, 0.1vh)) 0;
        min-height: calc(max(50px, 5vh));
    }

    section#consumer-brands,
    section#enterprise-brands {
        padding-top: 10vh;
    }

    section#mission {
        padding-top: 5vh;
        margin-bottom: 5vh;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content>div {
        margin-bottom: 10px;
    }

    .footer-content>div:last-child {
        margin-bottom: 0;
    }

    .sds-text-end {
        text-align: center !important;
    }

    #sds-about .img-fluid {
        width: 50%;
        padding-top: 20vh;
    }

    #contactForm {
        margin-bottom: 20vh;
    }

    p.mission,
    p.sds-about-text {
        max-width: 90vw;
        padding-top: 5vh;
        font-size: 1.25rem;
    }

    section#about-us .img-fluid {
        max-width: 40%;
    }

    .justify-center {
        width: 100%;
    }

    .navsp {
        max-width: 10px;
    }

    .dropdown-menu a {
        font-size: smaller;
    }
}

.justify-center {
    width: 100%;
}

.logo-container {
    max-width: 125px;
}

.arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
}