* {
    box-sizing: border-box;
}   
body {font-family:'Courier New', Courier, monospace;
     background-color: sandybrown;
}
h1 {padding: 10px;
    margin: auto;
    text-align: center;
    font-size: 50px;
    color:rgb(0, 0, 0)
}
.header-content {
    background-color: rgba(125, 125, 125, 0.8);
    border-bottom: 2px solid #000000;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
h2 {padding: 10px;
    margin: auto;
    text-align: center;
    font-size: 30px;
    color:rgb(0, 0, 0)}
h3 {padding: 10px;
    margin: auto;
    text-align: center;
    font-size: 25px;
    color:rgb(0, 0, 0)
}
p {padding: 10px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    color:rgb(0, 0, 0)
}
section {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #000000;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    margin: 32px auto;
    max-width: 800px;
}
main {
    width: auto;
    margin: auto;
    padding: 16px;
}
.background-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.background-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
ul {padding: 10px;
     margin: 20px;
      font-size: 15px;
       color: var(--secondary-color)
    }
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 16px;
}
.nav-item {
    text-decoration: none;
    margin: 0 16px;
    font-size: 18px;
    font-weight: medium;
    background-color: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    border-radius: 8px;
    padding: 8px 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.nav-item a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.nav-item:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}
#___gcse_0 {
    margin: 16px auto;
    width: 600px;
    border: 2px solid #000000;
}

.gsc-control-cse {
    padding: 0;
    width: auto;
}
.slider-wrapper {
  position: relative;
  max-width: 800px;
  max-height: 600px;
  margin: 0 auto;
}
.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.slider img {
  flex: 1 0 100%;
  scroll-snap-align: start;
  object-fit: contain;
}
.collection-grid {
    margin: 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    gap: 40px;
}

.collection-card {
    border: 3px solid rgb(0, 0, 0);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px;
    width: 480px;
    height: 550px;
    max-width: 400px;
    flex-basis: 100%;
    flex-grow: 1;
    flex-shrink: 1;
}

.collection-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 5px solid rgb(0, 0, 0);
}

.collection-card h2 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.collection-card .details {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 16px;
    font-style: italic;
}

.collection-card .description {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 0;
    line-height: 2;
}
@media (width >= 480px) {
    .collection-card {
        flex-basis: 45%;
    }
}
@media (width >= 768px) { 
    .collection-card {
        flex-basis: 30%;
    }   
}
@media (width >= 1024px)  {
    .collection-card {
        flex-basis: 22%;
    }
}
@media (width >= 1280px) {
    .collection-card {
        flex-basis: 18%;
    }
}