@font-face {
    font-family: stylish-font;
    src: url('/american-auction-new-design/fonts/Handikraf.ttf')
        format('truetype');
}

@font-face {
    font-family: text-font-bold;
    src: url('/american-auction-new-design/fonts/Helvetica\ Compressed\ Regular.otf')
        format('truetype');
}

:root {
    --primary: #d10f1c;
    --text-white: #fff;
    --dark: #000000;
    --light-background: #f0f0f0;
    --header-background: #f0f0f09d;
    --dark-background: #c4c4c4;
    --gradiant-left: linear-gradient(
        198deg,
        rgba(209, 15, 28, 1) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    --gradiant-right: linear-gradient(
        48deg,
        rgba(209, 15, 28, 1) 0%,
        rgba(0, 0, 0, 1) 100%
    );
}

/* width */
/*::-webkit-scrollbar {*/
/*    width: 15px;*/
/*}*/

/* Track */
/*::-webkit-scrollbar-track {*/
/*    background-color: var(--dark);*/
/*}*/

/* Handle */
/*::-webkit-scrollbar-thumb {*/
/*    background: var(--primary);*/
/*    border: 3px solid var(--dark);*/
/*    border-radius: 10px;*/
/*    min-height: 7% !important;*/
/*}*/

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-white);
} */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

/* form-controls */
.form-control:focus {
    border: 1px solid var(--primary);
    box-shadow: none;
}

i:hover {
    color: var(--dark);
}

.carousel .carousel-indicators button.active {
    background-color: var(--primary);
}

/* Text Styling */
.plain-text {
    font-family: helvetica;
    font-weight: 500;
}

.plain-text-bold {
    font-family: text-font-bold;
    font-size: 64px;
}

.stylish-text {
    font-family: stylish-font;
    color: var(--primary);
    font-size: 72px;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: var(--text-white);
}

/* Header Styles */
.logo {
    width: 170px;
}

.aa-logo {
    width: 70px;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.navbar-expand-lg {
    background-color: var(--header-background);
}

.header-img {
    margin-right: 5px;
    border-right: 1px solid var(--primary);
}

header .navbar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.navbar li {
    margin-left: 25px;
}

.navbar li a {
    text-decoration: none;
}

.navbar li a:hover {
    color: var(--primary);
    /* border-bottom: 1px solid var(--primary); */
}

/* Buttons */
.btn-style {
    border-radius: 2px;
    padding: 2px 10px;
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-style:hover {
    color: var(--text-white);
    background-color: var(--dark);
}

.btn:active {
    color: var(--text-white) !important;
    border-color: var(--dark) !important;
    background-color: var(--dark) !important;
}

.btn-style i:hover {
    color: var(--text-white);
}

.btn-dark {
    border-radius: 2px;
    padding: 2px 10px;
}

/* Carousel */
.carousel-inner {
    height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 1000; /* Adjust the value based on your layout */
}

/* .home-section-overlay::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("/american-auction-new-design/images/webp/clouds.webp");
  background-repeat: no-repeat;
  background-position: bottom;
  opacity: 1;
  z-index: 1;
} */

.carousel-caption {
    color: var(--dark);
    z-index: 2;
    width: 100%;
    margin-top: -60px;
}

.hero-stylish-text {
    font-size: 106px;
}

.hero-text {
    font-size: 64px;
    line-height: 10px;
}

/* About Section */
.about {
    height: 70dvh;
    background-color: rgb(255 255 255 / 50%);
    background-blend-mode: color;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.heading {
    color: var(--primary);
    font-size: 105px;
    letter-spacing: 10px;
}

.aaa-heading {
    font-size: 64px;
    margin-top: -40px;
    color: var(--black);
}

/* Footer */
.footer {
    /*margin-top: 30px;*/
    background: rgb(209, 15, 28);
    background: linear-gradient(
        198deg,
        rgba(209, 15, 28, 1) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    color: var(--text-white);
    padding: 50px 0 30px 0;
}

.footer-logo {
    width: 270px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.links a {
    font-weight: normal !important;
    text-decoration: none !important;
    color: var(--text-white) !important;
}

.links a:hover {
    font-style: normal;
    color: var(--dark);
    border-bottom: 2px solid var(--dark);
}

.links ul li {
    list-style: none;
    margin-bottom: 10px;
}

.links ul {
    padding: 0;
}

.foot-contact {
    padding: 10px 0px;
    color: var(--text-white);
    font-family: helvetica;
    font-weight: 800;
}

.location img {
    margin-right: 10px;
    max-width: 15px;
}

.location .address {
    font-size: 13px;
}

.address:hover {
    text-decoration:underline;
}

.social-media {
    margin-top: 10px;
}

.footer-social-icon {
    width: 30px;
}

.after-footer {
    padding: 10px 30px;
    background-color: var(--dark);
    color: var(--text-white);
    font-size: 12px;
}

/* Scroll to top */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark);
    color: var(--text-white);
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

#scrollToTopBtn img {
    width: 25px;
}

#scrollToTopBtn:hover {
    background-color: var(--primary);
    box-shadow: 0px 0px 2px 1px var(--dark);
}

/* Remove Arrows/Spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.addCarSuccess {
    display: none;
}

/* Auction Time for timed auctions */
/* .auction-time {
  padding: 7px;
  background-color: #0d2fdcba;
  color: var(--text-white);
  border-radius: 7px;
} */

/* Loader */

#modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black overlay */
    z-index: 9999; /* Ensure it's on top */
}

/* .loader {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

/* New Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    height: 100%;
}

.loading {
    --size: 17px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: calc(var(--size) / 2);

    height: calc(var(--size) * 5);
}

.loading div {
    width: var(--size);

    height: var(--size);

    border-radius: var(--size);

    background-color: var(--text-white);
    animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
    25% {
        height: calc(var(--size) * 5);
        background-color: var(--primary);
    }

    50% {
        height: var(--size);
        background-color: var(--dark);
    }
}

.loading :nth-child(2) {
    animation-delay: 0.2s;
}

.loading :nth-child(3) {
    animation-delay: 0.4s;
}

.loading :nth-child(4) {
    animation-delay: 0.6s;
}

.loading :nth-child(5) {
    animation-delay: 0.8s;
}

.please-wait {
    font-size: 12px;
    color: var(--primary);
}

td {
    align-items: center;
    vertical-align: middle;
}

/* Add To Watch */
#success-alert,
#fail-alert {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 99999;
    border-width: 2px 0 0 0;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

#fail-alert {
    border-color: var(--primary);
}

#success-alert {
    border-color: green;
}


/* Nav */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.blink {
    animation: blink 1s linear infinite;
}



/* Header Menu Dropdown CSS */
.dropdown-menu .nav-link {
  padding: 8px 12px;
  color: #333;
  font-size: 15px;
  border-radius: 6px;
  transition: background 0.2s ease;
  display: block;
}

.dropdown-menu .nav-link:hover {
  background-color:rgb(178, 1, 1);
  color:rgb(255, 255, 255);
  text-decoration: none;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
