body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}



#map {
    height: 50%; /* Adjust to make space for the controls */
    width: 100%;
}

#deck-controls {
    text-align: center; /* Center the buttons */
    padding: 10px 0;
}

/* Media Queries for Mobile responsiveness */
@media (max-width: 768px) {
     #logo {
        height: 40px; /* Adjust this value based on appearance */
        width: auto;  /* Width will be 3 times the height due to the 3:1 ratio */
     }

    #map {
        height: 50%; /* Reduce height for better control visibility on mobile */
    }

    #deck-controls {
        flex-direction: column; /* stack buttons vertically on smaller screens */
    }

    #deck-controls .btn {
        margin: 5px 0; /* Add vertical margin between stacked buttons */
        width: 100%; /* Make the buttons full width on smaller screens */
    }

    #location-search {
        margin-top: 10px;
    }
}
.about-button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    transition: background-color 0.3s;
}

.about-button:hover {
    background-color: #2980b9;
}

.deck-card {
    position: relative;
    width: 250px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
}

.overlay-logo {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 100px; /* Adjust as needed */
}

#sponsorLogo {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid #e0e0e0;
    padding: 10px;
    background-color: white;
    z-index: 1000;
} 

.hidden {
    display: none;
}
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    background-color: #fff; /* Change this to your desired color */
}








h1 {
    font-family: 'LexendPeta-Black', sans-serif; /* Replace 'Your Google Font' with the name of the font you chose */
    font-size: 3rem;
    text-align: center;
 
}
#deckForm {
  padding: 5px;
  background-color: #00ffee;
}
.special-a img {
    width: 100px; /* Adjust as needed */
    height: 100px; /* Adjust as needed */
    vertical-align: middle;
 /* This ensures the image aligns well with the surrounding text */
}


@font-face {
    font-family: 'LexendPeta-Black'; /* Give a name to your font */
    src: url('LexendPeta-Black.woff2') format('woff2'),
          
    font-weight: normal;
    font-style: normal;
}
#sponsorDisplay {
  background-color:  #00ffee;
  font-size: .5rem;
  padding: 5px;
  font-family: 'LexendPeta-Black', sans-serif; /* Replace 'Your Google Font' with the name of the font you chose */
  text-align: center;
  
}

#sponsorDisplay h2 {
  font-size: 1rem;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 1.2rem;
    }
    .special-a img {
    width: 35px; /* Adjust as needed */
    height: 35px; /* Adjust as needed */
    vertical-align: middle;
 /* This ensures the image aligns well with the surrounding text */
}
#sponsorDisplay {
    
 
    font-size: .5rem;
    text-align: center;
  }
#sponsorDisplay h2 {
  font-size: .75rem;
}
}

.sponsor-card {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 250px;
    margin: 10px auto;
}

.sponsor-card img {
    max-width: 80%;
    margin-bottom: 10px;
}

.sponsor-card a {
    color: #0077cc;
    text-decoration: none;
}

.sponsor-card a:hover {
    text-decoration: underline;
}
.deck-card {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 200px;
    position: relative;
}

.image-container {
    position: relative;
}

.deck-image {
    max-width: 100%;
    border-radius: 5px;
}

.deck-card .dealer-logo {
    max-width: 80%;   /* Max width relative to its container (the card) */
    height: auto;     /* Keep aspect ratio */
    display: block;   /* To allow margin auto */
    margin: 10px auto; /* Center the logo horizontally */
}






.deck-card {
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 2px 12px #aaa;
    background-color: #fff;
    max-width: 150px;  /* match the width of the images/videos */
    overflow: hidden;  /* hide any content that goes outside the box */
    word-wrap: break-word;  /* break long strings of text to next line */
    position: relative; /* for positioning the overlay logo */
}

.deck-card h3 {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;  /* if the title is too long, end it with ... */
   margin: 10px 0;
}

.deck-card p {
    font-size: 10px;
    margin: 5px 0;
}

.deck-card .deck-image {
    max-width: 100%; /* this ensures the image never exceeds the card's width */
    height: auto;
}

.overlay-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;  /* adjust as needed */
    height: 30px;  /* adjust as needed */
}

.deck-image, .deck-video {
    max-width: 300px; /* or whatever default width you want */
    max-height: 200px; /* or whatever default height you want */
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deck-video {
    width: 100%; /* make sure video takes the full width of its container */
}

