:root {
    --white: #fff;
    --gray: #ddd;
    --black: #000;
    --green: #7CBB1D;
    --red: #E50114;
    --blue: #2F9FDB; 
    --yellow: #F9C338;
    --purple:#C33F91;
    --headings-font: 'Montserrat';
    --regular-font: 'Open Sans';
}

.toast {
    position: fixed;
    top: 10px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050; /* High z-index to ensure it's on top */
}

#main-navbar {
    background-color: var(--gray);
}

#main-navbar-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width:100%;
    max-width: 960px;
}

#navbar-toggler-btn {
    position: absolute;
    left: 24px;
}

#logo-image {
    width: 105px;
    height: auto;
}

#main-navbar-links {
    font-family: var(--headings-font);
}


.navbar-nav .nav-link {
    color: black !important;
    font-weight: 900 !important;
    font-size: 1.15rem !important;
}

.dropdown-menu li a {
    color: black !important;
    font-weight: 900 !important;
}

.dropdown-menu li a:active {
    background-color: var(--white) !important;
}

.contact-me-mobile-buttons {
    background-color: var(--yellow);
    border: 2px solid var(--black);
    height: 75px;
}

#h1-container {
    position: relative;
}

.max-width-container {
    max-width: 960px;
}

h1 {
    width: 720px;
    height: 112px;
    text-align: center;
    position: absolute;
    left: calc(50% - 360px);
    top: calc(50% - 56px);
    z-index: 100;
    background-color: var(--black);
    opacity: 0.75;
    color: var(--white);
}

button.estimate-buttons,
button.estimate-buttons:hover,
button.estimate-buttons:focus,
button.estimate-buttons:active,
button.estimate-buttons:not(:disabled):not(.disabled):active,
button.estimate-buttons:not(:disabled):not(.disabled).active,
.show > button.dropdown-toggle.estimate-buttons {
    background-color: var(--yellow) !important; /* Override background color */
    border: 2px solid var(--black) !important; /* Override border */
    box-shadow: none !important; /* Remove box-shadow if needed */
}

#contact-form .max-width-container {
    background-color: var(--gray);
}

#max-width-form {
    width: 100%;
    max-width: 500px;
}

footer {
    background-color: var(--black);
    color: var(--white);
}

footer ul a {
    text-decoration: none;
    color: white;
}

#modal-form-container {
    background-color: var(--gray);
}


@media screen and (max-width: 991px) {
    h1 {
        width: 600px;
        left: calc(50% - 300px);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        padding: 0;
        font-size: 1.45rem;
        width: 400px;
        height: 100px;
        left: calc(50% - 200px);
        top: calc(50% - 50px);
    }
}

@media screen and (max-width: 475px) {
    h1 {
        font-size: 1.3rem;
        width: 350px;
        left: calc(50% - 175px);
    }
}

@media screen and (max-width: 420px) {
    h1 {
        height: 80px;
        font-size: 1.1rem;
        width: 300px;
        left: calc(50% - 150px);
        top: calc(50% - 50px);
    }
}

@media screen and (max-width: 350px) {
    h1 {
        font-size: 0.9rem;
        width: 250px;
        height: 60px;
        left: calc(50% - 125px);
        top: calc(50% - 30px);
    }
}

@media screen and (max-width: 300px) {
    h1 {
        font-size: 0.8rem;
        width: 220px;
        height: 40px;
        left: calc(50% - 110px);
        top: calc(50% - 15px);
    }
}


@media screen and (max-width: 465px) {
    .contact-me-mobile-links {
        font-size: 10px;
    }
}

@media screen and (max-width: 572px) {
    .contact-me-mobile-links {
        font-size: 14px;
    }
}

@media screen and (min-width: 768px) {

    #logo-image {
        width: 129px;
    }

    #desktop-button-contact-overlay {
        background-color: var(--yellow);
        border: 2px solid var(--black);
    }
}
