body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: linear-gradient(120deg, #2b2e4a, #1e1f3f);
    background-size: 400% 400%;
    animation: gradientAnimation 10s infinite alternate;
    color: white;
	height: auto; /* 100% yerine auto yap */
    overflow-y: auto; /* y ekseninde kaydırmayı etkinleştir */
}	

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.container {
	height: auto; /* Height değerini auto yap */
    overflow-y: auto; /* İçerik taşarsa kaydırmayı etkinleştir */

    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.glasses-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.glasses-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 200px;
    border-radius: 10px;
    transition: transform 0.5s, box-shadow 0.5s;
}

.glasses-box:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.7);
}

.glasses-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h1 {
    font-size: 2.5em;
    color: #fff;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
}

.details-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.images-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-box {
    width: 100%;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.description-section {
    flex: 2;
    text-align: left;
}

.description-section h3 {
    margin-top: 20px;
    color: #ffffff;
}

.features-section ul {
    list-style-type: square;
    margin-left: 20px;
}

.back-button {
    margin-top: 30px;
    padding: 10px 20px;
    background: #5c6bc0;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
}

.back-button:hover {
    background: #7986cb;
}
