/* body and stuff */
    body {
      font-family: 'Raleway', Arial, sans-serif;
      color: #FFF;
      margin: 0 auto;
      padding: 0;
      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;
    }
/* header code */
        header, .main, .footer {
          width: 90%;
          max-width: 800px;
          margin: 0 auto; /* Center the content horizontally */
        }

        header {
            background-color: rgba(0, 0, 0, 0.3);
            border: 2px solid #483D8B;
            padding: 2em 1em 1em 1em;
            text-align: center;
            background-image: url('../images/seyfer-logo.png');
            min-width: 340px;
            background-repeat: no-repeat;
            background-size: 80% auto;
            background-position: center center;
            flex-direction: column;
            min-height:  150px;
            max-height: 200px;
            box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
            position: relative; /* Add this line to make the header a positioning context */
        }

        .menu-toggle {
            position: absolute; /* Position the menu toggle relative to the header */
            top: 10px; /* Adjust the top position as needed */
            right: 10px; /* Adjust the right position to align with the right side of the header */
            font-family: Arial, sans-serif; /* Set the font family to Arial */
            font-weight: bold; /* Set the font weight to bold */
            font-size: 14pt; /* Set the font size to 12pt */
            color: #ffffff;
            z-index: 999;
        }

        .navigation {
            position: absolute; /* Position the navigation relative to the header */
            top: calc(100% + 10px); /* Position the navigation below the menu toggle */
            padding: 5px; /* Padding for the navigation */
            display: none; /* Hide the navigation by default */
            right: 10px; /* Adjust the right position to align with the right side of the header */
        }


        .navigation.active {
            display: block; /* Display the navigation when the menu toggle is clicked */
        }

        /* Media query for smaller screen widths */
        @media screen and (max-width: 768px) {
            header {
                background-size: contain; /* Reduce the height of the logo when screen width is less than or equal to 768px */
                background-image: url('../images/seyfer-sales-b.png'); /* Change the background image */
                background-position: center center;
            }
        }

/* Responsive styles */
        @media (max-width: 768px) {
            header {
                padding: 10px;
            }

            .container {
                padding: 20px;
            }
        }

/* Nav Menu */
            .menu-toggle {
                position: absolute; /* Position the menu toggle absolutely */
                top: 10px; /* Adjust as needed */
                right: 5%; /* Adjust as needed */
                color: #FFF;
                opacity: 0.7;
                z-index: 9999;
            }

            .menu-icon {
                cursor: pointer;
                display: inline-block;
                color: #FFF;
            }

            .menu-description {
                margin-left: 5px;
                display: inline-block;
            }

            .navigation {
                position: absolute; /* Position the navigation absolutely */
                top: 20px; /* Adjust as needed */
                right: 10px; /* Adjust as needed */
                display: none; /* Hide navigation by default */
                z-index: 9999;
                opacity: 0.9;
            }

            .navigation.active {
                display: flex; /* Display navigation when active */
                justify-content: flex-end;
                align-items: center;
                margin-right: 20px;
            }

            .primary-nav {
                list-style: none;
                padding: 15px;
                background-color: #07525A;
                border: 1px solid #CEEDEF;
                border-radius: 3px;
            }

            .primary-nav li {
                display: block; /* Display navigation vertically */
                margin-bottom: 10px; /* Adjust spacing between navigation items */
                text-align: left; /* Align navigation items to the right */
            }

            .primary-nav li a {
                color: #CEEDEF; /* Set the color of the menu text */
                text-decoration: none; 
                font-size: 14px;
                font-weight: 600;
                
            }

            .primary-nav li a:hover {
                color: #99C2D2; /* Change color of menu text on hover */
                font-weight: 600;
            }
    /* back to tpp */
          .back-to-top {
            position: fixed;
            bottom: 60px;
            right: 30px;
            background-color: rgba(7, 82, 90, .2);
            border: 1px solid #CEEDEF;
            color: #07525A;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
            opacity: 0; /* Initially invisible */
            transition: opacity 0.3s ease-in-out;
            z-index: 9999;
            }

        .back-to-top:hover {
            background-color: #07525A;
            border: 1px solid #CEEDEF;
            color: #99C2D2;
            font-family: 'Poppins', sans-serif;
            font-style: normal;
            font-size: .8em;
            font-weight: 600; /* font weight */
            }

        /* Show the button when the user scrolls down */
            .back-to-top.show {
            opacity: .9;
            font-family: 'Poppins', sans-serif;
            font-style: normal;
            font-size: .8em;
            font-weight: 600; /* font weight */
            }

/* Logo container - Centered */
        .logo-container {
            text-align: center; /* Center the content horizontally */
            margin-bottom: 20px; /* Add some bottom margin for spacing */
            margin-top: 5%;
        }

        .logo-link {
            display: inline-block; /* Make the logo links display inline-block */
            margin: 0 10px; /* Add some horizontal margin for spacing between logos */
            height: 80px; /* Set the height of the logo links */
        }

        .logo {
            width: auto; /* Allow the width to adjust automatically */
            height: 100%; /* Make the height 100% of the parent element */
        }

        .logo img {
            width: auto; /* Allow the width to adjust automatically */
            height: 100%; /* Make the height 100% of the parent element */
        }

/* header row */
        .custom-hr {
            height: 20px; /* Set the height of the horizontal rule */
            background-image: url("../images/cam.png"); /* 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: 60%;
        }

/* footer stuff */
        .footer {
            position: relative;
            width: 80%;
            margin: auto;
            margin-top: auto;
            bottom: 12px; /* Adjusted to include the additional 10px */
            background-color: rgba(0, 0, 0, 0.6);
            color: #B1D0E0;
            border: 2px solid #483D8B;
            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;
      }
    }
    .footer .footer-nav {
            text-decoration: none;
            color: #ff0000;
        }

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

/* 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: "Arial Narrow";
			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;
    }

    .db-image {
        max-width: 90%;
        min-width: 320px;
        display: block;
        border: 2px solid #483D8B;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
    }

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

        .form-button:hover {
            background-color: #000;
        }
/* Form elements */
        .form-group {
              margin-bottom: 20px;
            }

            .form-group label {
              display: inline-block;
              margin-bottom: 8px;
            }

            .form-group input,
            .form-group textarea {
              width: auto;
              padding: 8px;
              box-sizing: border-box;
              border: 1px solid #ccc;
              border-radius: 4px;
              max-width: 800px; /* Adjust the value based on your needs */
            }

            /* Responsive adjustments for smaller screens */
            @media screen and (max-width: 600px) {
              .form-group input,
              .form-group textarea {
                width: 100%;
                max-width: none; /* Reset max-width for smaller screens if needed */
              }
            }

/* 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: 'Raleway', Arial, sans-serif;
            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: 'Raleway', Arial, sans-serif;
        }