/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main styling */
html,body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.7em;
background: #333;
}

a {
    color: #fff;
    text-decoration: none;
}

h1, h2, h3 {
    padding-bottom: 2rem;
}

p {
    margin: 1rem 0;
}

/* Utility Classes */
.container {
    margin: auto;
    max-width: 1100px;
    overflow: auto;
    padding: 0 2rem;
}

.text-primary {
    color: #ce2424;
}

.lead {
    font-size: 2rem;
}

/* Standard Button */
.btn {
    display: inline-block;
    font-size: 1.2rem;
    color: #fff;
    background: #333;
    padding: 13px 20px;
    border: none;
    cursor:pointer;
}

.btn-light {
    background: #f4f4f4;
    color: #333;
}

.btn:hover {
    background: #ce2424;
    color: #fff;
}

/* Button Colors */
.bg-light {
    background: #f4f4f4;
    color: #333;
}

.bg-dark {
    background: #333;
    color: #fff;
}

.bg-primary {
    background: #7e0b0b;
    color: #333;
}

/* Showcase Button */
#btn-showcase {
    width: 15rem;
    border-radius: 5px;
    font-weight: bold;
    opacity: 0.7;
}

#btn-showcase:hover {
    opacity: 0.9;
}

.clr {
    clear: both;
}

.text-center {
    text-align: center;
}

.l-heading {
    font-size: 4rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.m-heading {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.error {
    margin-top: 6rem;
    text-align: center;
    height: 70vh;
}

/* Padding */
.py-1 {
    padding: 1.5rem 0;
}
.py-2 {
    padding: 2rem 0;
}
.py-3 {
    padding: 3rem 0;
}

.p-1 {
    padding: 1.5rem;
}
.p-2 {
    padding: 2rem;
}
.p-3 {
    padding: 3rem;
}

/* Navbar */
#navbar {
    display: flex;
    background: #ce2424;
    color: #fff;
    justify-content: space-between;
}

#navbar a {
    color: #fff;
}

#navbar .logo {
    font-size: 2rem;
    padding-top: 1rem;
}

#navbar ul {
    display: flex;
    align-items: center;
    list-style: none;
}

#navbar ul li {
    font-weight: bold;
}

#navbar ul li a {
    padding: 1.5rem;
    text-align: center;
}

#navbar ul li a:hover,
#navbar ul li a.current {
    background: #a53f36;
    color: #fff;
}

header .container-mask {
    background: #ce2424;
}

/* Showcase */
#showcase {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../img/hero_fhd.jpg') no-repeat center center/cover;
    height: 70vh;
}

#showcase .showcase-content {
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

#showcase .showcase-content h1 {
    font-size: 4rem;
    line-height: 1.1;
}

#showcase .showcase-content p {
    padding-bottom: 2rem;
    line-height: 1.7em;
}

/* Contact Form */
#contact {
    display: flex;
    flex-wrap: wrap;
    width: 80vw;
    margin: auto;
}

/* Icon boxes */
#contact .boxes {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    word-break: break-word;
}

.box {
    flex: 1;
    padding: 4rem;
    text-align: center;
}

.box:hover {
    background: #222;
    color: #fff;
}

.box i {
    margin-bottom: 1rem;
}

/* Email Form */

#contact .contact-form {
    flex: 1;
    color: #fff;
}

#contact .contact-form .form-group {
    margin: 0.75rem;
}

#contact .contact-form label {
    display: block;
}

#contact .contact-form input,
#contact .contact-form textarea {
    width: 100%;
    padding: 0.5rem;
}

#contact .contact-form .btn-mail {
    display: block;
    margin: auto;
    width: 15rem;
    border-radius: 5px;
}

#contact .contact-form text {
    height: auto;
}

/* Footer */
#main-footer {
    text-align: center;
    background: #444;
    color: #fff;
    padding: 1rem;
}