* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 300;
}

body {
    margin: 0;
    padding: 0;
    background-color: #18273f;
    color: #c8c8e6;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    font-size: 23px;
}

a {
    color: #c8c8e6;
    text-decoration: none;
    padding: 5px;
}

a:hover {
    background-color: #2f4f81;
}

button {
    font-size: .85em;
    border-radius: 5px;
    padding: 12px 25px;
    border: none;
    font-weight: 500;
    color: white;
    cursor: pointer;
    box-shadow: 0 6px 7px 0 rgba(14, 0, 51, 0.2);
    max-width: 180px;
    height: 45px

}

.btnBlue {
    background-color: #0CC0DF;
}

.btnDarkBlue {
    background-color: #406cf1;
}

.btnPink {
    background-color: #fa01fa;
}

.btnPurple {
    background-color: #4c01fa;
}


form {
    margin: 0 auto;
    background: white;
    padding: 50px;
}

form button {
    background:  -webkit-linear-gradient(left, #0CC0DF, #5E17EB, #fa01fa);
}

form div {
    padding: 10px 0;
    gap: 10px;
}

h1 {
    font-weight: 380;
}

h2 {
    font-weight: 360;
    color: #18273f;
}

header {
    box-shadow: 0 6px 7px 0 rgba(21, 0, 78, 0.712);
}

p {
    line-height: 45px;
}

.gradient-text {
    font-size: 45px;
    background: -webkit-linear-gradient(left, #0CC0DF, #6828ff, #fa01fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* -webkit-text-stroke: 0.25px #c8c8e6;
    text-stroke: 0.25px rgb(7, 6, 6); For other browsers */
}


/* Navigation */

.header-grid-container {
    display: grid;
    grid-template-columns: .75fr 3.25fr;
    height: 90px;
    grid-template-areas:
        "brand navigation";
    text-align: center;
    align-items: center;
    background-color: #200272;
    opacity: 90%;
}

.brand {
    grid-area: brand;
    height: 95%;
}

.brand a {
    display: block;
    height: 100%;
    background-size: contain; /* Adjusts the background size to contain within the element */
    background-repeat: no-repeat;
    background-position: center; /* Centers the image vertically and aligns it to the left */
    background-image: url("../assets/logo.png");
}


.menu-icon {
    margin-right: 20px;
    display: none;
    z-index: 2;
    font-size: 40px;
}
.menu-icon .material-symbols-outlined {
    font-size: 40px;    
}

.navigation {
    display: flex;
    justify-content: right;  /* Center the navigation div contents horizontally */
    align-items: center;
    width: 100%;  /* Ensure the navigation div takes up the full available width */
    padding-right: 7%;

}

.navigation a {
    margin: 0 30px;
}

.navigation ul {
    display: flex;
    list-style-type: none;
    align-items: center;

}

.navigation ul li {
    position: relative;
}


/* Dropdown menu styling */
 .navigation ul li .dropdown {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%; /*Position below the parent menu item  */
}

.dropdown {
    margin: 0;
    width: 205px;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #18273f;
    opacity: 80%;
}

.dropdown a {
    margin: 0;
}

.dropdown li {
    border-bottom: 1px solid #536387;
    margin: 0;
    padding: 10px;
}



/* Mobile Menu */
.mobile-menu {
    height: min-content;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: #18273f;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 60px 0 40px 0;
}

.mobile-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #c8c8e6;
    display: block;
    transition: 0.3s;
}

.mobile-menu a:hover {
    background-color: #2f4f81;
}

.mobile-menu .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.mobile-dropdown {
    display: none;
    padding-left: 32px;
}

.mobile-dropdown a {
    font-size: 20px;
}


@media screen and (max-width: 768px) {

    .header-grid-container{
        text-align: right;
    }

    .navigation {
        display: none;
    }
    .menu-icon {
        display: block;
        cursor: pointer;
    }

}

/* End Navigation */


/* Main Page Content */

.main-bg {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    background-image: url("../assets/pinball.PNG");
    height: 90vh;
    align-self: center;
}

.main-container, .form-main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
 
}

.main-content {
    width: 80%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between; /* Adjust as needed to space items within main-content */
    align-items: center;
}

.left-content {
    width: 40%;
    height: 100%;
    padding: 50px 0;
    box-shadow: inset 0 0 0 100vw rgba(0,0,0,0.85);
}

.main-text-header {
    padding: 20px 0;
    text-align: center;
}

.main-text-description {
    /* display: flex; Use flexbox */
    flex-direction: column; /* Arrange children vertically */
    align-items: center; /* Center children horizontally */
    text-align: center;
    padding: 80px 7.5%
}

.main-buttons {
    margin-top: 45px;
    align-items: center;
    text-align: center;
}

.top-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}





.main-img {
    width: 60%;
}

.main-img img {
    height: auto;
    width: 100%;
    border-radius: 15px;
}


@media screen and (max-width: 768px) {
    .main-bg {
        background-size: auto;
        background-position: center center;
        width: 100vw;
        height: 100vh;
    }

    .main-container {
        height: 85vh;
        width: auto;
    }

    .main-content {
        margin-top: 40px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .left-content {
        width: 100%;
        padding: 0 0 30px 0;    
    }
}

/* End Main Page */


/* Form */

.service-request-content{
    width: 80%;
    padding: 0 5%;
    display: inline-flex;
    height: 100%;
    max-width: 1200px;
    margin-top: 60px;
}

.service-text-description {
    margin: 0 auto;
    width: 50%;
    background: #8e15ff;
    color: #fff;
    padding: 50px 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    text-align: center;
    background-image: url("../assets/circuitry.PNG");
}

.service-form {
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}

.formbold-input-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.formbold-input-flex > div {
    width: 50%;
    display: flex;
    flex-direction: column-reverse;
}

.formbold-textarea {
    display: flex;
    flex-direction: column-reverse;
}

.formbold-form-input {
    width: 100%;
    padding-bottom: 10px;
    border: none;
    border-bottom: 1px solid #DDE3EC;
    background: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    color: #18273f;
    outline: none;
    resize: none;
}

.formbold-form-input::placeholder {
    color: #7988aa;
}

.formbold-form-input:focus {
    border-color: #6A64F1;
}

.formbold-form-label {
    color: #18273f;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    display: block;
    margin-bottom: 18px;
}

.formbold-form-input:focus + .formbold-form-label {
    color: #6A64F1;
}

.formbold-input-file {
    margin-top: 30px;
}

.formbold-input-file input[type="file"] {
    position: absolute;
    top: 6px;
    left: 0;
    z-index: -1;
}

.formbold-input-file .formbold-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.formbold-filename-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}
.formbold-filename {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    line-height: 24px;
    color: #536387;
}
.formbold-filename svg {
    cursor: pointer;
}

.form-button {
    margin-top: 25px;
}

.form-button:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}



.service-text-description h1 {
    text-align: center;
    margin-bottom: 40px;

}

@media screen and (max-width: 849px) {
    .service-request-content{
        display:block;
        width: 100%;
        margin-top: 4px;
        
    }

    .service-text-description {
        margin: 0;
        width: 100%;
        border-radius: 0;
    }

    .service-form {
        border-radius: 0;
    }
}

@media screen and (max-width: 725px) {
    .service-request-content{
        padding: 0;
    }
    .service-text-description{
        text-align: center;
        font-size: 21px;
        padding: 20px;
    }

    .service-text-description h1 {
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 60px;
        border-bottom: 1px solid;
    }
    .service-form {
        padding: 20px;
    }
}

@media screen and (max-width: 375px) {
    .formbold-input-flex {
        display: block;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .formbold-input-flex > div {
        width: 100%;
    }
}

/* Success Page */

.box-content {
    padding: 0 5%;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-box-container {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 7px 0 rgba(14, 0, 51, 0.712);
}

.box-header {
    text-align: center;
    background: -webkit-linear-gradient(left, #0CC0DF, #540ef5, #fa01fa);
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 20px 0;
}

.box-message {
    margin: 60px 80px 60px 80px;
    background-color: #fff;
    color:#18273f;
    border-radius: 10px;
}

.box-main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
 
}

.dar-main-container {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    background-image: url("../assets/pinball4.PNG");
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
 
}

.dar-content {
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between; /* Adjust as needed to space items within main-content */
    align-items: center;
}

.dar-left-content {
    width: 50%;
    height: 100%;
    padding: 50px 0;
    box-shadow: inset 0 0 0 100vw rgba(0,0,0,0.85);
    justify-content: center; /* centers horizontally */
    align-items: center;    /* centers vertically */
}

.text-content {
    box-shadow: inset 0 0 0 100vw rgba(0,0,0,0.85);
    width: 100%;
    padding: 30px 0;
    
}

@media screen and (min-width: 770px) {
    .box-content {
        width: 65%;
    }
}
@media screen and (max-width: 767px) {
    .box-content {
        margin: 0;
        width: 100%;
        padding: 0;
    }

    .contact-content {
        margin: 3px 0 !important;
        
    }
    .dar-content {
        margin-top: 40px;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .dar-left-content {
        width: 100%;
        padding: 0 0 30px 0;    
    }

    .dar-main-container {
        
    }
}

/* Diagnostics and Repair */

.repair-buttons {
    margin-top: 80px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 40px;
}
/* Coming Soon */

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.form-header {
    margin-bottom: 35px;
}

.beta-form {
    margin-top: 30px;
    border-radius: 12px;
}

.beta-form button {
    margin-top: 40px;
}

@media screen and (max-width: 767px) {
    .content {
        margin: 3px 0;
        width: 100%;

    }
    .message-box-container {
        border-radius: 0;
    }
    .box-header {
        border-radius: 0;
    }
    .box-message {
        margin: 0;
        padding: 10px 10px 25px 10px;
        text-align: center;
    }

    .beta-form {
        margin: 0;
        border-top: 1px solid #313844;
        border-radius: 0;
    }
    
    .beta-form h2 {
        text-align: center;
    }
}

/* Contact Us */

.mobile-container {
    display: block;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}



/* Footer */

.footer-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "branding links links contact";
    text-align: left;
    background-color: #313844;
    padding: 60px;
}

.branding {
    grid-area: branding;
    padding: 10px;
    display: flex;
    align-items: center;
}

.logo {
    width: 50%;
    max-width: 100%;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.links {
    grid-area: links;
    display: flex;
    flex-direction: column; /* Arrange children vertically */
    justify-content: space-between; /* Distribute space evenly between children */
    font-size: 13px;
}

.links-top {
    display: flex;
    justify-content: center; /* Align items horizontally */
    align-self: start;
    width: 100%;
}

.copyright {
    text-align: center;
    font-size: 10px;
    margin-top: auto; /* Pushes the element to the bottom of its parent */
}

.contact {
    grid-area: contact;
    /* text-align: right; */
}

/* .footer-icon {
    float: left;
} */

.links ul {
    list-style: none;
    padding: 0;
}

.links li {
    margin-bottom: 10px; /* Adjust spacing between links */
}

.links li a {
    color: white;
    text-decoration: none;
}

.links-left, .links-right {
    margin-right: 40px; /* Adjust spacing between link columns */

}

.links-left {
    width: 30%;
}

.links-right {
    width: auto;
}

@media screen and (max-width: 768px) {
    .footer-grid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "branding"
            "links"
            "contact"
            "copyright";
        align-items: center;
        text-align: center;
        font-size: 20px;
        padding: 10px 5px;
    }

    .links {
        display: block;
        justify-content: center; /* Center align links on smaller screens */
        font-size: 20px;
        padding: 5px;
        margin-bottom: 40px;
    }
    
    .links-top {
        display: block;
    }

    .links-left, .links-right {
        width: 100%;
    }

    .links li {
        border-bottom: 1px solid #9fb1ee;
        padding: 10px 0;
        margin: 0;
    }

    .contact {
        font-size: 20px;
    }
    .copyright {
        display: none;
    }
}
