@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherits border-box from the parent (html in this case) */
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}



  
#palace{
    margin-top: 5rem;
}



#palace .online-container{
    background-color: white;
    border-radius: 3px;
    width: 75%;
    margin: 0rem auto 5rem;
    padding: 1rem;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#palace .following-users {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem 1rem 1rem 1rem;
    margin-top: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

#palace .user-box {
    display: inline-block; /* Allow user boxes to align horizontally */
    text-align: center; /* Center-align content within each user box */
    margin-right: 1rem; /* Add spacing between user boxes */
    position: relative;
}

/* Profile picture styling */
#palace .profile-pic {
    width: 120px; /* Set the size of the profile picture */
    height: 120px;
    border-radius: 50%; /* Make it circular */
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.7); /* Optional: Add shadow */
    padding: 0.2rem;
}

/* Username styling */
#palace .username {
    position: absolute; /* Position it relative to the parent user-box */
    bottom: 0; /* Align it at the bottom of the profile picture */
    left: 50%; /* Center it horizontally */
    transform: translate(-50%, 50%); /* Adjust to overlap the profile picture slightly */
    background-color: black; /* Add a semi-transparent background */
    padding: 2px 6px;
    box-shadow: 0px 0px 3px black;
    border: solid white 0.12rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: white;
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Optional: Make the text bold */
}

#palace .username:hover {
background-color: rgb(80, 80, 80);
}




#palace a{
    text-decoration: none;
}

#palace a button{
    padding: 0.4em;
    font-size: 1.1rem;
    color: rgb(0, 132, 255);
    background-color: rgb(255, 255, 255);
    border: none;
    margin: 1em auto 0;
    
}

#palace a button:hover{
    background-color: rgb(225, 225, 225);
}




#palace img,
#palace button {
  display: block;
  margin: 0 auto; /* Optional: centers the image and button */
}

#palace a {
  display: inline-block;
}



#palace-title-box{
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: rgb(255, 255, 255);
    width: 60%;
    margin-left: 4vw;
    padding: 10vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}





#palace-box1{
    background-color: rgb(0, 132, 255);
    padding: 1.5em;
    text-align: center;
    max-width: 35em;
    margin-top: 10em;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
    margin-left: 26vw;
    border-radius: 2px;
    rotate: 1deg;
    transition: 0.4s ease;
}





#palace-box1 h2{
    color: white;
}



#palace-box1 #box1-images{
display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 100%;
  overflow: hidden;
  margin-top: 2rem;
}


#palace-box1 img{
    width: 35%;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 50%;
    background-color: white;
    padding: 1rem;
  }


#palace-box2{
background-color: rgb(0, 132, 255);
padding: 2em;
text-align: center;
max-width: 40em;
margin-top: 8em;
margin-left: 10vw;
border-radius: 7px;
box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
rotate: -1deg;
transition: 0.4s ease;
}



#palace-box2 #prevBtn, #nextBtn{
background-color: rgb(0, 132, 255);
color: white;
border: none;
font-size: 1.1rem;
margin-top: 0.3em;
border-radius: 2px;
padding: 0.3em;

}

#palace-box2 #prevBtn:disabled, #nextBtn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

#palace-box2 #prevBtn:disabled:hover, #nextBtn:disabled:hover {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

#palace-box2 #prevBtn:hover, #nextBtn:hover{
    background-color: rgb(0, 88, 170);
}



#palace-box2 h1, #palace-box2 h2{
    color: white;
}


#car-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin: auto;
    margin-top: 2em;
    background-color: rgb(255, 255, 255);
    padding-bottom: 1em;
    border-radius: 3px;
  }
  
  #car-section-container {
    display: flex;
    transition: transform 0.5s ease;
   
  }
  
  #car-section-box {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    height: 400px;
  }
  
  #car-section-box img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    object-fit: cover;
    overflow: hidden;
  }
  


  #dotContainer {
    display: flex;
    justify-content: center;
    margin-top: 1.2em;
  }
  
  #dotContainer .dot {
    height: 0.7em;
    width: 0.7em;
    margin: 0.3em;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #dotContainer .dot.active {
    background-color: #333;
  }
  


  #palace-box3{
    background-color: rgb(0, 132, 255);
    padding: 1.5em;
    text-align: center;
    max-width: 30em;
    margin-top: 8em;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
    margin-left: 38vw;
   
    rotate: 1deg;
    transition: 0.4s ease;
    
}



#palace-box3 img{
    width: 65%;
    background-color: white;
    border-radius: 8px;
    margin-top: 1.5em;
    
    
}

#palace-box3 h2{
    color: rgb(255, 255, 255);
}




#palace-box4{
    background-color: rgb(0, 132, 255);
    padding: 1.5em;
    text-align: center;
    max-width: 35em;
    margin-top: 8em;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
    margin-left: 26vw;
    border-radius: 15px;
    rotate: -2deg;
    transition: 0.4s ease;
    
}




#palace-box4 img{
    width: 100%;
    background-color: white;
    border-radius: 15px;
    margin-top: 1.5em;
    
    
}

#palace-box4 h2{
    color: white;
}





#palace-box5{
    background-color: rgb(0, 132, 255);
    padding: 1.5em;
    text-align: center;
    max-width: 30em;
    margin: 8em auto 5em;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
    margin-left: 26vw;
    border-radius: 6px;
    transition: 0.4s ease;
    
}

#palace-box1:hover, #palace-box2:hover, #palace-box3:hover, #palace-box4:hover, #palace-box5:hover{
    scale: 1.01;
}


#palace-box5 img{
    width: 80%;
    background-color: white;
    border-radius: 8px;
    margin-top: 1.5em;
    
    
}

#palace-box5 h2{
    color: white;
}





@media (max-width: 669px) {
    #palace-title-box, #palace-box1, #palace-box2,#palace-box3,#palace-box4,#palace-box5{
        width: 90%;
        margin: 3rem auto;
        rotate: 0deg;
    }

    #palace-box1 img{
       width: 7rem;
    }
}





#timeline-site{
    background-color: #f4f4f4;
    color: black;
    width: 90%;
    padding: 1.5em;
    margin: 5rem auto 5rem;
    border-radius: 5px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 300px) { /* Desktop */
    #timeline-site {
      width: 100%;
      text-align: center;
    }
  }

#timeline-site h1, h2{
    text-align: center;
}




#timeline-site #car-box{
    margin-top: 8rem;
    text-align: center;
}


#timeline-site #car-box img:hover{
    scale: 1.01;
}


#timeline-site #car-box img{
    max-width: 90%;
    height: auto;
    margin: 0.3rem auto 0.3rem;
    transition: ease 0.4s;
    border-radius: 5px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.7);
}

#timeline-site #car-box p{
    font-size: 1.1rem;
}


#timeline-site #car-box ul{
    margin-top: 2em;
    padding: 0;
}

#timeline-site #car-box ul p{
    line-height: 1.4rem;
}



.bmc-button-box{
    text-align: center;
    margin: 2rem auto;
}


.bmc-btn-text{
    font-size: 0.8em;
}


#timeline-site #other-page{
    background-color: #007BFF;
    color: white;
    font-size: 1.03rem;
    padding: 0.4rem;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

#timeline-site #other-page:hover{
    background-color: #0056b3;
}

#timeline-site #car-box-era{
    text-align: center;
    margin: 5rem 0 5rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}








#market-site #ToggleMarketSearchBox{
margin: 0 auto;
background-color: white;
color: white;
font-size: 1.1rem;
padding: 1rem;
text-align: center;
max-width: 50%;
box-shadow: 0px 3px 4px rgba(0,0,0,0.3);
}

#market-site #ToggleMarketSearch{
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 1.1rem;
    padding: 3%;
}


#market-site #ToggleMarketSearch:hover{
    background-color: #0056b3;
    
}


#market-site #market-email-verification-box{
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    max-width: 35rem;
    margin: 3rem auto 5rem;
    border: none;
}

#market-site #market-email-verification-box input, #market-site #market-email-verification-box button{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.1rem;
}

#market-site #market-email-verification-box button{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    margin-top: 1rem;
}


#market-site #market-email-verification-box label{
    margin-top: 2rem;
    display: block;
}



#market-site #market-email-verification-box button:hover{
    background-color: #0056b3;
}

#market-site #market-email-verification-box #verification-message{
    font-size: 1.1rem;
    text-align: center;
    margin: 1rem auto 0;
}




/* Loading Circle */
#market-site #loading-circle {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto 1.5rem;
}





#market-site #listing-form,
#market-site #search-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    max-width: 48rem;
    margin: 2rem auto;
    border: none;
}



#market-site #listing-form #listing-message{
    text-align: center;
    margin: 1.5rem auto;
    font-size: 1.05rem;
}







#market-site #twoForms.active
{
display: block;
}

#market-site #twoForms
{
display: none;
}



#market-site #listing-form h1,
#market-site #search-form h2 {
    color: #007BFF;
    text-align: center;
    margin: 1em auto 1em;
}

#market-site #listing-form .InfoText{
    margin: 2em;
    font-size: 0.95rem;
    text-align: center;
    color: #888;
}

#market-site #listing-form .form-group,
#market-site #search-form .form-group {
    margin-bottom: 15px;
}

#market-site #listing-form label,
#market-site #search-form label {
    font-weight: bold;
    color: #333;
}

#market-site #listing-form input,
#market-site #search-form input,
#market-site #listing-form select,
#market-site #search-form select,
#market-site #listing-form textarea {
    width: 100%;
    padding: 0.4rem;
    border: 0.12rem solid #bbb;
    border-radius: 4px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

#market-site #listing-form textarea {
resize: vertical;
}

#market-site #listing-form #carSound, #market-site #listing-form #carType{
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words wrap properly */
    overflow-wrap: break-word; /* Ensure wrapping for long strings */
    width: 100%; /* Adjust width to fit the container */
    font-size: 1.05; /* Reduce font size for readability */
}

#market-site #listing-form input:focus,
#market-site #search-form input:focus,
#market-site #listing-form select:focus,
#market-site #search-form select:focus,
#market-site #listing-form textarea:focus,
#market-site #search-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

#market-site #listing-form button,
#market-site #search-form button {
    background-color: #007BFF; /* Blue background */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

#market-site #listing-form button:hover,
#market-site #search-form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

#market-site #listing-form .form-group p {
    color: #888;
    font-size: 1rem;
}

#market-site #listing-form input[type="file"] {
    padding: 5px;
}

#market-site #listing-form select {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
}

#market-site #listing-form .form-group select {
    background-color: white;
}










#market-site #Listings-title-box{
    margin: 2em auto 2em;
    width: 100%;
    background-color: white;
    padding: 1em;
    box-shadow: 0px 3px 4px rgba(0,0,0,0.3);
}





#market-site .listing-title {
    color: #007BFF;
    font-size: 1.5rem;
    font-weight: bold;
    word-break: break-all;
}

#market-site .listing-info{
    margin: 1rem 0 1rem;
}

#market-site .listing-info p {
    color: #333;
}

#market-site .listing-info strong {
    color: #007BFF; /* Blue color for labels */
    
}

#market-site .listing-card #PostedAgo {
    color: #777;
    margin-top: 1rem;
    font-style: italic;
    text-align: center;
}


#market-site #Nlf{
    text-align: center;
    font-size: 1.1rem;
}

#market-site #Nlf-box{
    width: 25%;
    background-color: white;
    margin: 0 auto 3em;
    padding: 1em;
    border-radius: 3px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}


#market-site .listing-card a {
    display: inline-block;
    background-color: #007BFF; /* Blue button */
    color: white;
    padding: 0.6rem 0.8rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    width: 100%;
    
}

#market-site .listing-card a:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

#market-site .listing-details {
    text-overflow: ellipsis; /* Ellipsis for long text */
    overflow: hidden;
    white-space: nowrap;
    margin: 0.3rem 0 0.3rem;
}


#market-site .listing-card .status{
    font-size: 1.3rem;
    text-align: center;
}




#market-site .carousel {
    position: relative;
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
}

#market-site .carousel-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: none;
}

#market-site .carousel-image.active {
    display: block;
}

#market-site .carousel-controls {
    text-align: center;
}

#market-site .carousel-dot {
    font-size: 25px;
    color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}

#market-site .carousel-dot.active {
    color: #007BFF; /* Active dot in blue */
}

#market-site .carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

#market-site .carousel-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

#market-site .carousel-button:hover {
    background: rgba(0, 0, 0, 0.7);
}



#market-site #ToggleListingDiv{
    margin: 3rem auto;
    text-align: center;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

#market-site #ToggleListing{
    font-size: 1.1rem;
    padding: 0.4em;
    width: 25%;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    border: none;
}

#market-site #ToggleListing:hover{
    background-color: #0056b3;
}






#market-site #listings-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0 2rem;
  }
  
  #market-site .listing-card {
    width: 100%; /* Default to full width on mobile */
    max-width: 380px; /* Prevent listings from getting too large */
    margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
  }
  
  @media (min-width: 500px) { /* Tablet */
    #market-site .listing-card {
      width: 38%; /* Show 2 listings per row */
    }
  }
  
  @media (min-width: 1024px) { /* Laptop */
    #market-site .listing-card {
      width: 31%; /* Show 3 listings per row */
    }
  }
  
  @media (min-width: 1280px) { /* Desktop */
    #market-site .listing-card {
      width: 23%; /* Show more listings for larger screens */
    }
  }
  




  .seller-site {
    width: 90%;
    margin: 0 auto;
}
.seller-site .back-btn {
    margin-top: 20px;
    padding: 0.4rem;
    background-color: rgb(85, 165, 255);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.seller-site .back-btn:hover {
    background-color: rgb(85, 125, 255);
}
.seller-site .listing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-top: 20px;
}
.seller-site .listing-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
    word-break: break-all;
}

.seller-site .listing-info{
    margin: 2rem 0 2rem;
    background-color: #f3f3f3;
    padding: 1rem;
    border: 8px;
}

.seller-site .listing-info p {
    font-size: 1rem;
    margin: 1rem 0;
    word-wrap: break-word;
}


.seller-site .listing-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0 3rem;
}

.seller-site .listing-images img {
    width: 47%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    background-color: #f4f4f4;
    padding: 0.5rem;
}


@media screen and (max-width: 568px) {
    .seller-site .listing-images img {
        width: 100%;
    }
}



.seller-site .listing-details p {
    font-size: 1rem;
    margin: 1rem 0;
    word-wrap: break-word;
}
.seller-site .listing-details strong {
    color: #555;
}


.seller-site .listing-details{
    margin: 3rem 0 3rem;
}


.seller-site #PostedAgo{
    font-style: italic;
    color: #555;
    text-align: center;
    margin-top: 1rem;
}

.seller-site .status{
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;
}


.seller-site #BottomBtn, .seller-site #UpBtn{
background-color: #5e6bff;
color: white;
font-size: 1rem;
padding: 0.4rem;
border: none;
border-radius: 3px;
}

.seller-site #BottomBtn:hover, .seller-site #UpBtn:hover{
    background-color: #808aff;
}


.seller-site .report-section{
    background-color: #f3f3f3;
    margin-top: 3rem;
    padding: 1rem;
    border: 3px;
}



/* Modal Container */
.seller-site .modalShower {
    visibility: hidden;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Modal Content (Image) */
.seller-site .modal-content {
    max-width: 90%; /* Ensure the image doesn't overflow */
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    background-color: white;
    padding: 0.5rem;
}

/* Close Button */
.seller-site .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.seller-site .close:hover {
    color: #ccc;
}








#photo-site {
margin: 5rem auto;
}

/* General form styling */
#photo-site form {
    background-color: #ffffff; /* White form background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 100%; /* Full width by default */
    max-width: 30rem;
    gap: 15px;
    margin: 1.5rem auto;
}

/* Headings */
#photo-site h1, #photo-site h2 {
    color: #007bff; /* Blue text */
    text-align: center;
    margin-bottom: 10px;
}

/* Labels */
#photo-site label {
    color: #333; /* Dark text for contrast */
    font-weight: bold;
}

/* Input and button styling */
#photo-site input[type="text"], 
#photo-site input[type="file"], 
#photo-site button {
    font-size: 1.03rem;
    padding: 0.4rem;
    border-radius: 3px;
    border: 0.12rem solid #bbb; /* Light gray border for inputs */
    outline: none;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    margin-bottom: 1rem;
}

/* Button specific styling */
#photo-site button {
    background-color: #007bff; /* Blue button */
    color: #fff; /* White text */
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

#photo-site button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Preview image styling */
#photos #photo-preview {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 200px;
    border: none;
    border-radius: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    #photo-site {
        flex-direction: column; /* Stack forms on top of each other */
        align-items: center; /* Center align forms */
    }
}

#photo-site #gallery-message {
    display: block !important;
    text-align: center;
    font-size: 1.03rem;
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Space between grid items */
    margin: 20px auto; /* Center the grid container */
    max-width: 1200px; /* Optional: Limit maximum width */
    padding: 20px; /* Optional: Add padding around the grid */
}

/* Individual photo boxes */
.gallery-grid .photo-box {
    background-color: #ffffff; /* White background for each box */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Inner padding for content */
    text-align: center; /* Center text inside the boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Subtle shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}


.gallery-grid .photo-box a{
    display: block;
    font-size: 1.05rem;
    text-decoration: none;
    background-color: #007bff;
    width: 50%;
    padding: 0.4rem;
    margin: 0.5rem auto;
    border-radius: 4px;
    color: white;
}

.gallery-grid .photo-box a:hover{
    background-color: #0060c6;
}

.gallery-grid .photo-box a:active{
    background-color: black;
}




.gallery-grid .photo-box p{
    margin: 0.5rem auto 0.5rem;
    word-wrap: break-word;
}

.gallery-grid .photo-box img{
    width: 100%;
}

/* Hover effect for photo boxes */
.gallery-grid .photo-box:hover {
    transform: scale(1.01); /* Slight zoom on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}


@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


.gallery-grid .photo-box .user-info {
    display: flex;
    align-items: center;  /* Align items vertically */
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.gallery-grid .photo-box .profile-pic {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: black solid 0.15em;
    object-fit: cover;
}

.gallery-grid .photo-box .username {
    font-size: 1rem;
    word-break: break-all;
    margin: 0;
}
















/* Ensure .posting-place doesn't interfere with layout */
.posting-place {

    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box; /* Include padding in width */
}

/* Ensure #image-preview uses flexbox for image layout */
#image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between images */
    margin: 20px 0;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box; /* Account for padding */
}

/* Style individual images */
#image-preview img {
    flex: 1 1 calc(50% - 10px); /* Two images per row */
    max-width: calc(50% - 10px);
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    padding: 5px;
    box-sizing: border-box; /* Padding does not overflow */
}

/* Responsive styling for tablets and smaller screens */
@media (max-width: 768px) {
    #image-preview img {
        flex: 1 1 calc(50% - 10px); /* Two images per row */
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 568px) {
    #image-preview img {
        flex: 1 1 100%; /* One image per row */
        max-width: 100%;
    }
}


.posting-place #preview-posts-images{
    display: none;
}

.posting-place #put-images{
    display: block;
    width: 50%;
    background-color: #007BFF;
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    margin: 2rem auto;
    text-align: center;
}


.posting-place #put-images:hover{
    background-color: #0056b3;
}



.posting-place #posting-message{
    font-size: 1.03rem;
    text-align: center;
    margin: 1rem 0 1rem;
}




.posting-place #posting-form input[type="text"],
.posting-place #posting-form textarea,
.posting-place #posting-form select {
    width: 100%;
    padding: 0.4rem;
    margin-bottom: 1rem;
    border: 0.12rem solid #bbb;
    border-radius: 3px;
    font-size: 1.03rem;
    box-sizing: border-box;
    resize: vertical;
}

.posting-place #posting-form label:not(#put-images) {
   font-size: 0.9rem;
}



.posting-place #posting-form h1{
    text-align: center;
    margin: 1rem 0 1rem;
    display: block;
}

.posting-place #posting-form h4{
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.posting-place #posting-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.03rem;
    cursor: pointer;
}

.posting-place #posting-form button:hover {
    background-color: #0056b3;
}

#posting-form.hidden{
    display: none;
}

#posting-form.show{
    display: block;
}







.posting-place #search-form {
    margin-top: 30px;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
}

.posting-place #search-form label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #2c3e50;
}

.posting-place #search-form input,
.posting-place #search-form select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.posting-place #search-form button {
    background-color: #0084ff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.posting-place #search-form button:hover {
    background-color: rgb(0, 71, 223);
}


.posting-place #TogglePosting{
    padding: 0.4rem;
    font-size: 1.1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
}

.posting-place #TogglePosting:hover{
    background-color: #0056b3;
}


.posting-place #Note{
    text-align: center;
    display: block;
    font-size: 0.9rem;
    color: #999;
    padding: 0.5rem;
}



#search-form-div{
    display: none;
}
    
#search-form-div.visible{
display: block;
}
    





















#postsContainer {
    display: grid;
    grid-template-columns: 1fr;  /* Always 1 column */
    gap: 20px;  /* Spacing between posts */
    margin: 0;
    padding: 0;
}

#postsContainer .post {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1200px) {
    #postsContainer {
        max-width: 100%;  /* Allow the container to take full width */
        margin: 0 auto;   /* Center it horizontally */
    }

    #postsContainer .post {
        padding: 15px;  /* Adjust padding for medium screens */
    }
}

@media (max-width: 968px) {
    #postsContainer .post {
        padding: 12px;  /* Further reduce padding for tablets */
    }
}

@media (max-width: 780px) {
    #postsContainer .post {
        padding: 10px;  /* Reduce padding on small screens */
    }
}

@media (max-width: 400px) {
    #postsContainer .post {
        padding: 8px;  /* Reduce padding even further on extra small screens */
    }
}


#postsContainer .post-title {
    font-size: 1.3rem;
    word-break: break-all;
    color: black;
    margin-bottom: 10px;
}



#postsContainer .user-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
   
}

#postsContainer .user-profile-pic {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    border: solid 0.12rem rgba(0, 0, 0, 0.3);
}


#postsContainer .post-username {
    font-size: 1rem;
    word-break: break-all;
    display: inline;
    color: #333;
}

#postsContainer .post-username:hover {
    color: #007BFF;
}



#postsContainer .post-text {
    font-size: 1.03rem;
    color: black;
    word-break: break-all;
    text-align: center;
    display: block;
}


#postsContainer .post-time {
    font-size: 1rem;
    color: #555;
    margin: 5px 0;
    font-style: italic;
    text-align: center;
}

#postsContainer .post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

#postsContainer .upvote-button {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

#postsContainer .upvote-button:hover {
    background-color: #45a049;
}

#postsContainer textarea {
    width: 100%;
    padding: 0.3rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 0.12rem solid #bbb;
    resize: vertical;
}


#postsContainer .reply-form textarea{
    margin-top: 1rem;
}

#postsContainer button {
    background: #007BFF;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

#postsContainer button:hover {
    background: #0056b3;
}



#postsContainer .carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 1.5rem 0;
}

#postsContainer .carousel-image {
    display: none;
    width: 100%;
    height: auto;
}

#postsContainer .carousel-image.active-image {
    display: block;
}

#postsContainer .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

#postsContainer .carousel-prev, #postsContainer .carousel-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

#postsContainer .post #NoImages{
    display: block;
    margin: 2rem 0 2rem;
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
}

#postsContainer .post-search-message{
    display: block;
    margin: 2rem 0 2rem;
    text-align: center;
    font-style: italic;
    font-size: 1.03rem;
    color: white;
    background-color: black;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
}

#postsContainer .comment-created {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    padding: 0;
    font-style: italic;
}


#postsContainer .comment-section {
    margin-top: 1.5rem;
}

#postsContainer .comment-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#postsContainer .comment, #postsContainer .reply-comment {
    margin-left: 0;
    padding: 0.5rem;
    font-size: 0.95rem;
    border: #bbb solid 0.12rem;
    margin: 0.3em 0 0.3em;
    word-break: break-all;
    border-radius: 4px;
}

#postsContainer .reply-comment {
    margin-left: 0.5rem;
    border-left: 2px solid #ddd;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}

.posting-place #ToggleSearch{
    background-color: rgb(133, 105, 255);
    padding: 0.4rem;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
}


.posting-place #ToggleSearch:hover{
    background-color: rgb(133, 145, 255);
}

.posting-place #ToggleSearchDiv{
    text-align: center;
    margin: 3rem 0 1rem;
}






/* Overall form container */
#upp-form {
    width: 100%;
    max-width: 25rem;
    margin: 5rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Arial', sans-serif;
}

#upp-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Form Groups for better layout */
#upp-form .form-group {
    margin-bottom: 1.5rem;
}

/* Label style for the profile picture upload button */
#upp-form #putpicture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #9358ff;
    color: white;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#upp-form #putpicture:hover {
    background-color: #7930ff;
}

#upp-form #putpicture img {
    width: 2rem;
    margin-left: 0.5rem;
}

/* File input hidden */
#upp-form #new_profile_picture {
    display: none;
}

/* Profile picture preview container */
#upp-form #profile_picture_image {
    display: none;
    width: 15rem;
    height: 15rem;
    background-color: #f0f0f0;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 1.5rem auto;
    transition: opacity 0.3s ease;
}

#upp-form #profile_picture_image.show-preview {
    display: block;
    opacity: 1;
}

/* Message Display */
#upp-form #profile-message {
    margin: 1rem;
    font-size: 1.05rem;
    color: #333;
    text-align: center;
}

/* Button to update profile */
#upp-form #update-profile-btn {
    background-color: #007BFF;
    color: white;
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 100%;
}

#upp-form #update-profile-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 480px) {
    #upp-form {
        width: 90%;
    }

    #upp-form #putpicture {
        font-size: 1rem;
        padding: 0.4rem;
    }

    #upp-form #update-profile-btn {
        font-size: 1rem;
        padding: 0.7rem;
    }
}










#account-site{
    margin-top: 4em;
}

#pwdreset-div h2{
    display: block;
    margin-bottom: 1.5rem;
}

#pwdreset-div label{
    display: block;
    margin-bottom: 0.3rem;
}

#pwdreset-div #password-message{
    text-align: center;

}

#pwdreset-div{
    max-width: 30rem;
    padding: 1.2em;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 3px;
    margin: 5rem 0 3rem;
    margin-left: 26vw;
}

#pwdreset-div input{
    width: 100%;
    padding: 0.4em;
    font-size: 1.1rem;
    border: 0.12rem solid #ccc;
  
}

#pwdreset-div button{
    width: 100%;
    padding: 0.4em;
    font-size: 1.1rem;
    margin: 1em 0 1em;
    background-color: #007BFF;
    color: white;
    border: 5px;
}

#pwdreset-div button:hover{
    background-color: #0056b3;
}









#account-site .info-form-box p{
    font-size: 0.9rem;
    color: #555;
}

#account-site .info-form-box textarea{
width: 100%;
font-size: 1rem;
border: solid 0.12rem #bbb;
border-radius: 3px;
padding: 0.6rem;
height: 100px;
resize: vertical;
}

#account-site .info-form-box button[type="submit"]{
background-color: #007BFF;
color: white;
font-size: 1.03rem;
border: none;
border-radius: 3px;
cursor: pointer;
padding: 0.3rem;
max-width: 10rem;
display: block;
margin: 0.7rem auto;
}

#account-site .info-form-box button[type="submit"]:hover{
    background-color: #0056b3;
}

#account-site .info-form-box button[type="button"]{
    background-color: #007BFF;
    color: white;
    font-size: 0.9rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 0.3rem;
    display: block;
}

#account-site .info-form-box button[type="button"]:hover{
    background-color: #0056b3;
}





#account-site .my-profile-container .profile-picture-box {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
    width: 18vw;
    height: 18vw;
    border-radius: 50%;
    overflow: hidden; 
}

#account-site .my-profile-container .profile-picture-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



#account-site .my-profile-container-and-info-form-box{
    display: flex;
    gap: 5%; /* Adjust the gap between the divs */
    justify-content: center; /* Center the items horizontally */
    align-items: flex-start;
}

#account-site .my-profile-container{
    background-color: white;
    border-radius: 4px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    min-width: 42%;
    word-wrap: break-word;
    word-break: break-all;
    text-align: center;
  
}



#account-site .info-form-box{
    min-width: 42%;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 2px;
 
}

#info-form-response.active {
    display: block;
    max-height: none;
}

#info-form-response {
    word-wrap: break-word;
    word-break: break-all;
    display: block;
    margin-top: 2rem;
    max-height: auto;
    text-align: center;
}











#account-site #my-search-form{
margin: 0 auto;
background-color: white;
border-radius: 4px;
padding: 1.5rem;
max-width: 40rem;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}



#account-site #my-search-form input, #my-search-form button, #my-search-form select{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.03rem;
    margin-bottom: 1rem;
    border-radius: 2px;
    border: 0.12rem solid #bbb;
}


#account-site #my-search-form label{
    display: block;
    margin-bottom: 0.3rem;
}


#account-site #my-search-form button{
background-color: #007BFF;
color: white;
border: none;
}

#account-site #my-search-form button:hover{
    background-color: #0056b3;
}
    




#account-site #TogglePosts-div{
    margin: 5rem 20vw 2rem;
    text-align: center;
    padding: 1.5rem;
    max-width: 15rem;
    background-color: white;
    border-radius: 4px;
    border: none;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

#account-site #TogglePosts{
    background-color: rgb(0, 114, 236);
    padding: 0.4rem;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    
}


#account-site #TogglePosts:hover{
    background-color: rgb(0, 114, 176);
}

@media (max-width: 700px) {
    #account-site .my-profile-container, #account-site #TogglePosts-div, #account-site #pwdreset-div, .info-form-box{
        margin: 3rem auto 3rem;
    }

    #account-site .my-profile-container-and-info-form-box{
        display: block;
    }

    #account-site .my-profile-container .profile-picture-box{
        width: 10rem;
        height: 10rem;
    }
}

#account-site #my-posts .search-response {
    color: #333;
    font-size: 1.03rem;
    display: block;
    margin: 2rem;
    text-align: center;
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}



#account-site #my-posts #my-posts-title{
    text-align: center;
    background-color: black;
    border: none;
    border-radius: 5px;
    padding: 0.4rem;
    margin: 2rem 0 2rem;
}

#account-site #my-posts #my-posts-title h1{
    text-align: center;
    color: white;
}


#account-site #posts-box .post-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

#account-site #posts-box{
    word-break: break-all;
}

#account-site #posts-box .post {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#account-site #posts-box .post-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

#account-site #posts-box .user-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

#account-site #posts-box .user-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}


#account-site #posts-box .post-text{
    font-size: 1.03rem;
    color: black;
    word-break: break-all;
    text-align: center;
    display: block;
}


#account-site #posts-box .post-time {
    font-size: 1rem;
    color: #555;
    margin: 5px 0;
    font-style: italic;
    text-align: center;
}

#account-site #posts-box .post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}


#account-site #posts-box textarea {
    width: 100%;
    padding: 0.4rem;
    font-size: 1rem;
    margin-top: 0.7rem;
    border-radius: 4px;
    border: 0.12rem solid #bbb;
}


#account-site #posts-box button {
    background: #007BFF;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

#account-site #posts-box button:hover {
    background: #0056b3;
}


#account-site #posts-box .upvote-button {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

#account-site #posts-box .upvote-button:hover {
    background-color: #45a049;
}



#account-site #posts-box .comment-section {
    margin-top: 20px;
}

#account-site #posts-box .comment-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#account-site #posts-box .comment, #account-site #posts-box .reply-comment {
    margin-left: 0;
    padding-left: 10px;
    border: 0.12rem solid #777;
    margin: 0.3em 0 0.3em;
}



#account-site #posts-box .comment-created {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
    word-wrap: break-word;
    margin: 0.8rem 0 0.4rem;
}

#account-site #posts-box .comment-username {
    font-size: 0.9rem;
    color: black;
    word-wrap: break-word;
    margin: 0;
}

#account-site #posts-box .comment-text {
    font-size: 1rem;
    color: black;
    word-wrap: break-word;
    margin: 1rem 0 1rem;
    resize: vertical;
}


#account-site #posts-box .reply-button {
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    margin: 0.5rem 0 0.5rem;
}


#account-site #posts-box .carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 1.5rem 0;
}

#account-site #posts-box .carousel-image {
    display: none;
    width: 100%;
    height: auto;
}

#account-site #posts-box .carousel-image.active-image {
    display: block;
}

#account-site #posts-box .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

#account-site #posts-box .carousel-prev, #account-site #posts-box .carousel-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

#account-site #posts-box #NoImages{
    display: block;
    margin: 2rem 0 2rem;
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
}


#account-site #toggle-followers{
    background-color: #9358ff;
    color: white;
    border-radius: 3px;
    border: none;
    font-size: 0.9rem;
    padding: 0.3rem;
    cursor: pointer;
}

#account-site #toggle-followers:hover{
    background-color: #7e39ff;
}










#followers-list #followers-container {
    display: block;
    gap: 20px;
    max-height: 350px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

#followers-list .follower-profile-box {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 14rem;
    margin: 0rem auto 1.2rem;
    position: relative;
}

#followers-list .follower-profile-box img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background-color: #f3f3f3;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}

#followers-list .follower-username {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 1);
    color: white;
    border: white solid 1px;
    box-shadow: 0px 0px 3px black;
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}


#followers-list .follower-username:hover {
background-color: rgb(100, 100, 100);
}





/* Modal Container */
.single-post-site .modalShower {
    visibility: hidden;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Modal Content (Image) */
.single-post-site .modal-content {
    max-width: 90%; /* Ensure the image doesn't overflow */
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    background-color: white;
    padding: 0.5rem;
}

/* Close Button */
.single-post-site .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.single-post-site .close:hover {
    color: #ccc;
}




.the-post-container{
    max-width: 45rem;
    margin: 3rem auto 3rem;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    background-color: white;
}

.the-post-container .images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    
}

.the-post-container .grid-image {
    width: calc(50% - 5px);
    object-fit: cover;      
    height: auto;         
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 0.3rem;
    cursor: pointer;
}

.the-post-container #back-button{
    background-color: #007BFF;
    color: white;
    font-size: 1.03rem;
    padding: 0.4rem;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    background-color: #3333b7;
}

.the-post-container #back-button:hover {
    background: #0056b3;
}

.the-post-container textarea {
    width: 100%;
    padding: 0.4rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 0.12rem solid #bbb;
}

.the-post-container button {
    background: #007BFF;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.the-post-container button:hover {
    background: #0056b3;
}


.the-post-container .post-title {
    font-size: 1.5rem;
    color: #333;
    word-wrap: break-word;
    margin: 2rem 0 2rem;
}

.the-post-container .post-text {
    font-size: 1.05rem;
    color: black;
    word-wrap: break-word;
    margin: 2rem 0 2rem;
}

.the-post-container .user-info {
    display: flex;
    align-items: center;
    margin: 0 0 3rem;
}

.the-post-container .user-profile-pic {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 10px;
}

.the-post-container .post-username {
    font-size: 1.1rem;
    color: #555;
    word-wrap: break-word;
}



.the-post-container .post-time {
    font-size: 1rem;
    color: #777;
    font-style: italic;
    margin: 1rem 0 1rem;
    display: block;
    text-align: center;
}

.the-post-container .post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.the-post-container .upvote-button {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.the-post-container .upvote-button:hover {
    background-color: #45a049;
}



.the-post-container .post #NoImages{
    display: block;
    margin: 2rem 0 2rem;
    text-align: center;
    font-style: italic;
    font-size: 1.03rem;
    color: #555;
}


.the-post-container .comment, .the-post-container .reply-comment {
    margin-left: 0;
    padding-left: 10px;
    border: 0.12rem solid #777;
    margin: 0.3em 0 0.3em;
}

.the-post-container .comment-section {
    margin-top: 20px;
}

.the-post-container .comment-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.the-post-container .comment-created {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
    word-wrap: break-word;
    margin: 0.8rem 0 0.4rem;
}

.the-post-container .comment-username {
    font-size: 0.9rem;
    color: black;
    word-wrap: break-word;
    margin: 0;
}

.the-post-container .comment-text {
    font-size: 1rem;
    color: black;
    word-wrap: break-word;
    margin: 1rem 0 1rem;
}

.the-post-container .reply-button {
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    margin: 0.5rem 0 0.5rem;
}


















#report-form{
    max-width: 40rem;
    background-color: white;
    border-radius: 3px;
    margin: 6rem auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}


#report-form h2{
    margin-bottom: 1.5rem;
}

#report-form input, #report-form textarea, #report-form select{
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

#report-form input, #report-form textarea, #report-form select, #report-form button{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.1rem;
    border: solid #bbb 0.12rem;
    margin-bottom: 1rem;
}


#report-form button{
    border-radius: 2px;
    background-color: #007BFF;
    color: white;
    border: none;
}


#report-form button:hover{
    background-color: #0056b3;
}

#report-form #back{
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 3px;
    border: none;
}

#report-form #back:hover{
    background-color: #0056b3;
}


#report-form #response-message{
    margin: 2rem 0;
    font-size: 1.1rem;
    text-align: center;
}














#manage-listings-site #title-div{
 text-align: center;
 word-break: break-all;
 margin: 5rem auto;
 background-color: white;
 color: black;
 box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
 max-width: 20rem;
padding: 0.3rem;
}


#manage-listings-site #model-box{
    text-align: center;
    margin: 5rem auto;
    background-color: white;
    border: 3px;
    padding: 1rem;
    width: 85%;
    word-break: break-all;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

#manage-listings-site #model-box button{
    padding: 0.4rem;
    font-size: 1.03rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    margin: 1rem 1rem 1rem;
    cursor: pointer;
}



#manage-listings-site #model-box button:hover{
    background-color: #0056b3;
}


#manage-listings-site .image-gallery {
    display: none; /* Hide the gallery initially */
    flex-wrap: wrap; /* Allow the images to wrap when space is tight */
    justify-content: center; /* Center the images horizontally */
    gap: 10px;
    margin-top: 2rem;
}

/* Individual image styling */
#manage-listings-site .car-image {
    flex: 1 1 45%; /* Default is two images per row on larger screens */
    max-width: 45%; /* Ensure the images don't exceed half of the available space */
    text-align: center; /* Center image */
    border-radius: 3px;
    background-color: #f4f4f4;
    padding: 0.5rem;
}

#manage-listings-site .car-img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    cursor: pointer;
}

/* Tablet and larger screens: two images per row */
@media (min-width: 768px) {
    #manage-listings-site .car-image {
        flex: 1 1 45%; /* Two images per row */
        max-width: 45%;
    }
}

/* Mobile screens: one image per row */
@media (max-width: 767px) {
    #manage-listings-site .car-image {
        flex: 1 1 100%; /* One image per row */
        max-width: 100%;
    }
}





/* Modal Container */
#manage-listings-site .modalShower {
    visibility: hidden;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Modal Content (Image) */
#manage-listings-site .modal-content {
    max-width: 90%; /* Ensure the image doesn't overflow */
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    background-color: white;
    padding: 0.5rem;
}

/* Close Button */
#manage-listings-site .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

#manage-listings-site .close:hover {
    color: #ccc;
}



#manage-listings-site .edit-form{
    max-width: 100%;
    padding: 1rem;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

#manage-listings-site .edit-form input, #manage-listings-site .edit-form select, #manage-listings-site .edit-form textarea{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.03rem;
    margin-bottom: 1rem;
}


#manage-listings-site .edit-form label{
    display: block;
    margin-bottom: 0.3rem;
}


/* Container for the image previews */
#manage-listings-site .image-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default: 2 images per row */
    gap: 10px; /* Spacing between images */
    margin: 1rem 0;
}

/* Ensure the images fill their grid cells */
#manage-listings-site .image-preview img {
    width: 100%; /* Full width of the grid cell */
    height: auto; /* Maintain aspect ratio */
    background-color: #f4f4f4;
    border-radius: 3px;
    padding: 0.5rem;
}

/* Adjust layout for smaller screens */
@media screen and (max-width: 700px) {
    #manage-listings-site .image-preview {
        grid-template-columns: 1fr; /* One image per row */
    }
}







#about{
    word-wrap: break-word;
}




#about #updates-container {
    width: 50%;
    max-width: 50rem;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 19vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}



#about #updates-container h1 {
    text-align: center;
    margin: 0;
}




#about #privacy-container {
    width: 75%;
    max-width: 50rem;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 13vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#about #privacy-container h1{
    text-align: center;

}


#about #rule1-box {
    width: 50%;
    max-width: 50rem;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 13vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#about #rule2-box {
    width: 50%;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 25vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#about #rule3-box {
    width: 50%;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 39vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

#about #rule4-box {
    width: 50%;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-left: 19vw;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}




@media (max-width: 659px) {
    #about #rule1-box, #about #rule2-box, #about #rule3-box, #about #rule4-box, #about #form-box, #about #updates-container{
        width: 90%;
        margin: 1rem auto;
        padding: 1rem;
    }
}

/* Base styles */
#info-container #info-box {
    width: 100%;
    border-collapse: collapse;
}

#info-container #info-box th, #info-box td {
    text-align: left;
    padding: 10px;
}

#info-container #info-box th {
    background-color: #f4f4f4;
}

#info-container{
    margin: 8rem auto 7rem;
}

#info-container .table-container {
    overflow-x: auto;
    background-color: #f3f3f3;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media screen and (max-width: 300px) {
    #info-container #info-box {
        display: block;
    }

    #info-container #info-box thead {
        display: none; /* Hide table headers */
    }

    #info-container #info-box tbody tr {
        display: block; /* Stack rows */
        margin-bottom: 20px; /* Add spacing between rows */
    }

    #info-container #info-box td {
        display: flex;
        justify-content: space-between;
        padding: 5px;
    }

    #info-container #info-box td:before {
        content: attr(data-label); /* Add labels for each data */
        font-weight: bold;
        width: 50%;
    }
}

/* Add data-labels to table cells for mobile view */
#info-container #info-box td[data-label] {
    padding-left: 0;
}







#about #form-box {
    width: 60%;
    background-color: white;
    color: #007BFF;
    margin: 7rem;
    padding: 1.5rem;
    box-sizing: border-box;
    margin: 0 auto 8rem;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#about #form-box h1{
    margin-bottom: 1.5rem;
}

#about #form-box label{
    margin: 0.5rem 0 0.5rem;
    display: block;
}


#about #form-box input, #about #form-box textarea, #about #form-box select, #about #form-box button{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.03rem;
}


#about #form-box textarea, #about #form-box select{
    border: solid #999 0.12rem;
    border-radius: 3px;
} 

#about #form-box button{
    background-color: #007BFF;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    margin-top: 1.5rem;
}


#about #form-box button:hover{
    background-color: #0056b3;
}


#about #form-box #feedback-message{
    text-align: center;
    display: block;
    margin-top: 1.2rem;
    font-size: 1.03rem;
}


#about p {
    font-size: 1.1rem;
}








#feedback-container{
    margin-top: 2rem;
}



#user-feedback-box{
    border: solid 0.12rem #bbb;
    border-radius: 4px;
    margin-top: 1rem;
    padding: 0.5rem;
    word-break: break-all;
}


#ProfileUsernameEmail{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}


#ProfileUsernameEmail{
    word-break: break-all;
    
}


#user-feedback-box img{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-right: 10px;
    border: black solid 0.12rem;
}


#user-feedback-box p{
    font-size: 0.9rem;
}














#form-container{
    padding: 1.2rem;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.3);
    margin: 7rem auto;
    min-width: 50%;
}

#form-container h2{
    display: block;
    margin: 1rem 0 1rem;
}

#form-container input{
    width: 100%;
    padding: 0.4rem;
    margin-bottom: 1rem;
    font-size: 1.03rem;
    border: 0.12rem #bbb solid;
    border-radius: 3px;
}

#form-container #message{
    text-align: center;
    margin: 1rem 0;
    font-size: 1.03rem;
}

#form-container label{
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

#form-container button[type="submit"]{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.03rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}


#form-container button[type="submit"]:disabled{
background-color: #ccc;
color: #666;
cursor: not-allowed;
border: 1px solid #aaa;
opacity: 0.7;
}


#form-container button[type="submit"]:disabled:hover{
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #aaa;
    opacity: 0.7;
}


#form-container button[type="submit"]:hover{
    background-color: #0056b3;
}

#form-container #link{
    margin: 0.5rem
}


#form-container .spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid transparent;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

#form-container #submitting {
    display: none; /* Initially hidden */
    color: #007bff; /* Blue text */
    font-size: 1.03rem;
    display: flex; /* Use flexbox to align spinner and text horizontally */
    align-items: center; /* Vertically center the text and spinner */
    justify-content: center; /* Horizontally center the content of this div */
    margin-top: 1rem;
}









#register-site #loading-circle {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0.5rem auto 0.5rem;
    display: none;
}


#register-site #email-verification-section,
#register-site #registration-form{
    width: 50%; /* Take up full width */
    max-width: 50rem; /* Limit width to 50rem on large screens */
    background-color: white;
    margin: 5rem auto;
    text-align: center;
    padding: 1.2rem;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 669px) {
    #register-site #email-verification-section,
    #register-site #registration-form{
        width: 90%;
    }
}


#register-site #email-verification-section input, 
#register-site #registration-form input
{
    width: 100%;
    padding: 0.4rem;
    font-size: 1.03rem;
    margin: 0.5rem 0 0.5rem;
}


#register-site #email-verification-message{
    font-size: 1.03rem;
    text-align: center;
    margin: 1rem 0 1rem;
}

#register-site button{
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 0.5rem;
    width: 100%;
    font-size: 1.03rem;
}

#register-site button:hover{
    background-color: #0056b3;
}



#register-site #code-verification-section{
    margin-top: 1.5rem;
}


#register-site #put-profile-picture{
    font-size: 1.03rem;
    background-color: #6a00ff;
    color: white;
    padding: .6rem;
    border-radius: 3px;
    margin: 0.5rem auto 0.5rem;
    display: block;
    text-align: center;
    cursor: pointer;
}

#register-site #put-profile-picture:hover{
    background-color: #8c3aff;
}


#register-site #register-message{
    display: block;
    text-align: center;
    font-size: 1.03rem;
}


#request-register:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

/* Custom style for the successfully disabled #request-register */
#request-register.disabled-success {
    background-color: #4caf50; /* Green color */
    color: white;
    border: 1px solid #3e8e41;
    cursor: not-allowed;
    opacity: 0.6;
}



#request-register.disabled-success:hover {
    background-color: #45a049; /* Darker green */
}


#register-site #profile-preview {
    width: 12rem; /* Adjust size as needed */
    height: 12rem; /* Adjust size as needed */
    border-radius: 50%; /* Makes the container circular */
    background-color: #f1f1f1;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 1.5rem auto 1.5rem; /* Centered */
}

#register-site #profile-preview img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Maintain the circular shape */
    object-fit: cover; /* Maintain aspect ratio and cover the area */
}













.all-users-site #user-search-toggle-box{
max-width: 15rem;
padding: 1rem;
background-color: white;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
margin: 5rem auto 2rem;
}


.all-users-site #user-search-toggle{
    width: 100%;
    font-size: 1.03rem;
    padding: 0.4rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.all-users-site #user-search-toggle:hover{
    background-color: #0056b3;
}


.all-users-site #user-search-form{
    width: 75%;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    margin: 2rem auto 2rem;
}

.all-users-site #user-search-form input, .all-users-site #user-search-form select{
    width: 100%;
    font-size: 1.03rem;
    padding: 0.4rem;
    margin-bottom: 1rem;
}

.all-users-site #user-search-form button{
    width: 100%;
    font-size: 1.03rem;
    padding: 0.4rem;

}


.all-users-site #user-search-form label{
    font-size: 0.9rem;
}


#users-title{
    max-width: 10rem;
    background-color: white;
    padding: 1rem;
    display: block;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}


#users-container #NoUsers{
    font-size: 1.03rem;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    margin: 4rem auto 4rem;
    width: 50%;
    padding: 1rem;
    text-align: center;
}





.the-users-layout-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem; /* Space between user boxes */
    padding: 1.5rem;
    justify-content: center;
}


.the-users-layout-container .the-user-box {
    padding: 0.8rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.user-profile-pic {
    display: block; /* Ensure it behaves like a block element */
    margin: 0.5rem auto 0.5rem auto; /* Center the image and add space below it */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    padding: 0.3rem;
    border: solid black 0.12rem;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.user-username {
    display: inline; /* Ensure the username link starts on a new line */
    margin: 0.5rem 0; /* Add some space above and below */
    font-size: 1rem;
    font-weight: bold;
    text-align: center; /* Center align the username text */
    text-decoration: none; /* Remove underline */
    color: #007BFF;
}

.user-username:hover {
    text-decoration: underline; /* Add underline on hover */
}

.the-users-layout-container .user-created-at {
    font-size: .85rem;
    margin: 0.5rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-style: italic;
    color: #555;
}


.the-users-layout-container .user-followers {
    font-size: .85rem;
    margin: 0.5rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #222;
}












.the-user-page{
    margin: 5rem 0 5rem;
}

.the-user-page .the-user-profile{
    background-color: white;
    height: auto;
    width: 45%;
    text-align: center;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    word-break: break-all;
}


.the-user-page #toggle-followers{
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem;
}


.the-user-page #toggle-followers:hover{
    background-color: #0056b3;
}



.the-user-page .NoFollowers{
    font-size: 1rem;
}

.the-user-page .the-user-profile img{
    width: 18vw;
    height: 18vw;
    border-radius: 50%;
    object-fit: cover;
    background-color: white;
    padding: 0.5rem;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.7);
}

.the-user-page .the-user-profile .username{
color: black;
font-size: 1.2rem;
margin: 1rem;
}


.the-user-page .the-user-profile #follow-btn{
background-color: #9358ff;
color: white;
font-size: 1rem;
padding: 0.4rem;
border: none;
border-radius: 3px;
cursor: pointer;
}

.the-user-page .the-user-profile #follow-btn:hover{
    background-color: #af83ff;
}
    


.the-user-page .login-message{
    font-size: 0.9rem;
}

.the-user-page .the-user-info{
    width: 45%;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    text-align: center;
}

.the-user-page .the-user-info .user-joined{
    font-size: 1rem;
    color: #333;
    text-align: center;
}

.the-user-page .the-user-info .user-joined span{
    color: black;
    font-weight: bold;
}


.the-user-page .the-user-info .user-description{
    text-align: center;
    margin: 1rem 0 1rem;
    word-wrap: break-word;
    word-break: break-all;
}

.the-user-page .the-user-info h2{
    display: block;
}

.the-user-page .the-user-info h3{
    margin: 3rem 0 1rem;
    display: block;
}


.the-user-page .profile-and-info{
    display: flex;
    gap: 5%;
    justify-content: center;
    align-items: flex-start;
}

.the-user-page #toggle-info{
    background-color: #5e6bff;
    color: white;
    font-size: 1rem;
    border-radius: 3px;
    border: none;
    padding: 0.4rem;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.the-user-page #toggle-info:hover{
    background-color: #7782ff;
 
}



.the-user-page .the-user-not-found{
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    text-align: center;
    padding: 0.3rem;
}





.the-user-page .user-posts-container{
    text-align: center;
    background-color: white;
    padding: 1rem;
    margin: 5rem auto 0;
    width: 90%;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    
}

.the-user-page .user-posts-container .post{
    width: 90%;
    background-color: #f9f9f9;
    margin: 3rem auto;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    word-break: break-all;
}

.the-user-page .user-posts-container .post h2{
    margin: 0.5rem;
}

.the-user-page .user-posts-container .post .PostedAt{
    font-style: italic;
    font-size: 0.9rem;
    color: #333;
}




.contact-form{
    width: 50%;
    background-color: white;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    margin: 5em auto 5em;
    padding: 1.5em;
    
}

.contact-form h1{
    font-size: clamp(1.2rem, 2.3vw, 2rem);
    text-align: center;
}

@media (max-width: 600px) { /* Adjust the max-width as needed */
    .contact-form {
        width: 100%; /* Full width on small screens */
    }
}

.contact-form input, .contact-form textarea{
width: 100%;
padding: 0.3em;
font-size: clamp(1rem, 1.5vw, 1.1rem);
margin-bottom: 0.5em;
resize: vertical;
}

.contact-form button[type="submit"]{
    font-size: clamp(1rem, 2vw, 1.1rem);
    min-width: 50%;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0.4em;
}


.contact-form button[type="submit"]:hover{
    background-color: #0056b3;
}


.contact-form #contact-message{
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin: 0.5em 0 1em 0;
}





.spinner {
    display: none; /* Hidden by default */
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #007BFF; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1em;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}









.store-site .product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px;
}



@media (max-width: 1300px) {
    .store-site .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .store-site .product-container {
        grid-template-columns: 1fr;
    }
}

.store-site .product-item {
    text-align: center;
    border: 0.1em solid rgba(0, 0, 0, 0.3);
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);

    /* Allow individual heights */
    align-self: start;

    /* Optional: Set a minimum height to maintain uniformity */
    min-height: 250px; /* Adjust to your design */
}

.store-site .product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}














