/* body and stuff */
    body {
      font-family: 'candararegular';
      color: #0B0707;
      font-size: 1.2em;
      margin: 0 auto;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      background-image: url("../images/bg-01.jpg");
      background-color: #000;
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      text-align: justify;
    }

    @font-face {
        font-family: 'candararegular';
        src: url('fonts/candara-webfont.woff2') format('woff2'),
             url('fonts/candara-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
        }

   .caption {
        text-align: center;
        font-weight: normal;
        font-size: .8em;
        font-family: Arial, sans-serif;
        color: #030042;
        }

   .section-text{
        text-align: left;
        font-weight: bold;
        font-size: 1em;
        font-family: Arial, sans-serif;
        color: #030042;
        }

/* buttons */
       .button {
            font-family: 'candararegular';
            color: #FFF;
            font-size: 1em;
            display: block;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #0B0707;
            padding: 1% 2%;
            margin: auto;
            text-align: center;
            text-decoration: none;
            background-color: #030042;
            border-radius: 4px;
            max-width: 80%;
        }

        .button:hover {
            background-color: #0B0707;
        }

/* nav */
        nav {
            font-family: 'candararegular';
            font-weight: bold;
            display: flex;
            justify-content: center;
            font-size: 0.7em;
            flex-direction: column; /* Stack items vertically */
        }

        nav a {
            color: #FFFFFF;
            background-color: rgba(26, 73, 172, 1.0);
            text-decoration: none;
            margin: 2px; /* Adjust the margin between links */
            padding: 5px 10px; /* Add padding to each link */
            border: 1px solid #030042;
            border-radius: 3px;
            transition: color 0.3s; /* Smooth transition effect */
            width: auto; /* Set a fixed width for each button (adjust as needed) */
            box-sizing: border-box;
            display: block; /* Make each link a block element */
            white-space: nowrap;
        }

        nav a:hover {
            color: #FFFFFF;
            background-color: #0B0707;
        }
/* Back to top button */
        #back-to-top-btn {
          display: none; /* Initially hide the button */
          position: fixed;
          bottom: 10%;
          right: 10%;
          z-index: 99;
          border: 1px solid #030042;
          outline: none;
          background-color: #1A49AC;
          color: white;
          cursor: pointer;
          padding: 10px 15px;
          border-radius: 5px;
        }

        #back-to-top-btn:hover {
          background-color: #0B0707;
        }

/* Header */
        .header {
            background-color: rgba(255, 255, 255, 0.6);
            border: 2px solid #483D8B;
            padding: 2em 1em 1em 1em;
            text-align: center;
            min-width: 340px; /* Set a minimum width */
            max-width: 740px; /* Set a maximum width */
            margin: 0 auto; /* Center the header horizontally */
            background-repeat: no-repeat;
            background-position: center center;
            display: flex; /* Use flexbox */
            justify-content: space-between; /* Align children at opposite ends */
            align-items: center; /* Align items vertically at the center */
            box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
        }

/* Media query for smaller screens */
        @media (max-width: 768px) {
            /* Adjust max-width and margin for smaller screens */
            .header, .main, .footer {
                max-width: 100%;
                margin: 0 auto;
                flex-direction: column;
                padding: 2em 1em;
            }

            .header {
                flex-direction: column; /* Stack items vertically */
            }

            .nav {
                flex-direction: row; /* Change direction to horizontal */
                justify-content: center; /* Center the buttons horizontally */
                margin-top: 10px; /* Add some spacing between the logo and buttons */
            }

            nav a {
                width: auto; /* Allow buttons to expand horizontally */
                margin: 2px 5px; /* Adjust margin for smaller screens */
            }
        }

/* logo */
        .main-logo {
            width: 40%; /* Adjust the width as needed */
            height: auto; /* Maintain aspect ratio */
            min-width: 300px;
        }


/* logo in the upper right corner */
        #header {
            position: relative;
        }

        .logo-link {
            position: absolute;
            bottom: 4px;
            right: 8px; /* Adjust the right position as needed */
        }

        .logo {
            width: 100px; /* Adjust the width as needed */
            height: auto; /* Maintain aspect ratio */
            display: block;
        }
        .logo img {
            width: 100px; /* Adjust the width as needed */
            height: auto; /* Maintain aspect ratio */
            display: block;
        }

    @media only screen and (max-width: 800px) {
      .header {
        background-size: 80% auto;
        padding-bottom: 20%; /* Adjust the padding for smaller screens */
      }
    }

/* Main section */
        .main {
            width: 95%; /* Ensure it takes full width */
            max-width: 740px; /* Set a maximum width */
            margin: 0 auto; /* Center the main content */
            padding: 2%; /* Add some padding */
        }

/* Footer */
        .footer {
            background-color: rgba(255, 255, 255, 0.4);
            border: 2px solid #483D8B;
            position: relative;
            margin: 30px auto 30px; /* Adjusted margin property */
            bottom: 2%;
            width: 80%;
            max-width: 740px; /* Set a maximum width */
            color: #0b0707;
            padding: 1em;
            text-align: center;
            font-size: .9em;
            box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
        }



    @media only screen and (max-width: 600px) {
      .header, .footer {
        padding: 0.5em;
      }

      .main {
        padding: 0.5em;
        text-align: center;
      }
    }
    .footer .footer-nav {
            text-decoration: none;
            color: #0B0707;
        }

        .footer .footer-nav:hover {
            color: #A149AC; /* Change this to the color you want on hover */
        }

/* paypal products */
    .paypal-item {
        width: 98%;
        max-width: 100%; /* Limit maximum width */
        font-size: .8em;
        display: flex;
        flex-wrap: wrap; 
        justify-content: flex-start;
        align-items: flex-start; 
        margin-bottom: 20px; /* Adjust margin */
    }

    .paypal-item img {
        flex: 0 0 50%; /* Allow the image to take 50% of the available space */
        max-width: 340px; /* Limit maximum width of the image */
        min-width: 320px;
        height: auto;
        border: 2px solid #483D8B;
    }

    .paypal-item .info {
        flex: 1; /* Allow the text container to take the remaining space */
        padding: 2%; /* Add padding as needed */
    }

   .part-title {
        text-align: left;
        font-weight: bold;
        font-size: 1em;
        font-family: Arial, sans-serif;
        color: #030042;
        }

   .part-desc {
        text-align: justify;
        font-weight: normal;
        font-size: 1em;
        font-family: Arial, sans-serif;
        color: #0B0707;
        min-width: 300px;
       padding-bottom: 2%;
        }

/* form css */
        #carForm {
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.3);
            }

    #carForm input,
    #carForm textarea {
        margin-bottom: 10px;
        padding: 8px;
        width: 30px;
        max-width: 72%;
        min-width: 300px;
        margin-left: auto;
        margin-right: auto;
        }

    #carFormContainer {
        background-image: url('../images/drop-bg.jpg');
        background-size: cover;
        background-position: center;
        background-color: #8be6da; /* Fallback color in case the image doesn't load */
        padding: 20px;
        }


    .dz-preview{
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        margin: 10px;
        }

/* fady text */
		.fader {
			-webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
			mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
			height: 720px;
			width: 100%;
			overflow-y: scroll;
			color: rgba(255,255,255,.7);
			align: center;
			font-family: 'candararegular';
			font-size: 1.5 em;
			font-weight: bold;
			color: #666666;
			text-decoration: none;
			padding-bottom: 5%;
			}
	
        @media only screen and (max-width: 760px) {
        .fader {
            height: auto;
            font-size: 1em;
            padding-bottom: 10%;
          }
        }
        
/* photo styles */
    /* larger screens */
        @media (min-width: 768px) {
            #sorting-links {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
            }

            .pics {
                width: calc(33.33% - 20px); /* Adjust the width as needed */
                margin-bottom: 20px;
            }
        }

    /*  mobile screens */
        @media (max-width: 767px) {
            .pics {
                width: 100%;
            }
        }

    .home-image {
        max-width: 90%;
        min-width: 320px;
        display: block;
        margin: 0 auto; /* This will center the image */
        border: 2px solid #483D8B;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
    }
    .home-image-noline {
        max-width: 90%;
        min-width: 320px;
        display: block;
        margin: 0 auto; /* This will center the image */
    }

/* form buttons */
       .form-button {
            font-family: 'candararegular';
            color: #FFF;
            font-size: 1em;
            display: block;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #0B0707;
            padding: 1% 2%;
            margin: auto;
            text-align: center;
            text-decoration: none;
            background-color: #030042;
            border-radius: 4px;
            max-width: 80%;
        }

        .form-button:hover {
            background-color: #0B0707;
        }
/* Form elements */
        .contact-form {
            max-width: 400px;
            margin: 0 auto;
        }
        .form-group {
            margin-bottom: 10px;
            width: 70%;
            display: inline-block; /* Added new style */
            margin-right: 10px; /* Added new style */
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .form-group textarea {
            height: 150px;
        }
        .form-button {
            font-family: 'candararegular';
            font-size: .9em;
            color: #FFF;
            background-color: #030042;
            border: 1px solid #0B0707;
            padding: 10px 20px;
            border-radius: 5px;
            text-align: center;
            text-decoration: none;
            background-color: #030042;
            cursor: pointer;
            width: auto;
        }

/* You Tube */

        .ytp-pause-overlay {
            display: none !important;
        }
        .youtube-button {
            display: block;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #000000;
            padding: 2%;
            margin: auto;
            text-align: center;
            font-family: 'candararegular';
            text-decoration: none;
            background-color: #483D8B;
            border-radius: 4px;
            max-width: 80%;
            color: #FFF;
        }
    
/* Responsive iframe wrapper */
        .iframe-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

        .iframe-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none; /* Remove the border */
        }

        /* Video container */
        .video-container {
            width: 100%;
            max-width: 800px; /* Adjust the maximum width as needed */
            margin: 0 auto; /* Center the container */
            text-align: center;
        }

        /* Additional styling for the info div */
        .info-container {
            text-transform: capitalize;
            color: #FFF;
            margin: 5%;
            font-family: 'candararegular';
        }

.custom-hr {
    height: 8px; /* Set the height of the horizontal rule */
    background-image: url("../images/chrome-bar.jpg"); /* Specify the path to your image */
    background-repeat: no-repeat; /* Ensure the image is not repeated */
    background-size: 100% 100%; /* Adjust the size of the image to fit the <hr> */
    border: none; /* Remove the default border */
    margin: 20px auto; /* Adjust the margin as needed */
    width: 100%;
}