body {
    margin: 0;
    padding: 0;
    background-color: #fffbf4; /* Background color changed to white */
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fffbf4; /* Background color changed to white */
    padding: 20px;
    position: relative;
}

h1 {
    color: #fdd656;
    text-align: center;
    font-family: 'Racing Sans One';
    font-size: 6em;
    font-weight: 100;
    margin-bottom: 25px;
}

h4 {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.7em;
    text-align: center;
    margin-bottom: -100px;
}

.design-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.design-item {
    flex: 1 1 calc(50% - 20px); /* Flex-grow, flex-shrink, flex-basis */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    overflow: hidden; /* Ensure the content fits within the box */
    flex-direction: column;
}

.design-item img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio 16:9 */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow to images */
}

.design-item iframe {
    width: 80%; /* Make the YouTube videos smaller */
    aspect-ratio: 16 / 9; /* Maintain aspect ratio 16:9 */
    border: none;
}

.design-description {
    font-size: 0.9em;
    color: #000;
    text-align: center;
    margin-top: 10px;
}

.back-button {
    position: absolute;
    top: 60px;
    left: 30px; /* Moved to the left corner */
    display: block;
    text-decoration: none;
    color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 900;
    transition: color 0.3s ease;
}

.back-button:hover {
    cursor: pointer;
    color: #fdd656; /* Text color on hover */
}

.footer {
    width: 100%;
    height: auto;
    background-color: #fffbf4;
    margin-top: 20px;
    position: relative;
}

/* Footer Section */
footer {
    padding: 60px 20px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: #fffbf4;
}

.footer-separator {
    width: 100%;
    max-width: 1200px;
    height: 2px;
    background-color: black;
    margin: 0 auto;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap; /* Ensure the footer content wraps on smaller screens */
    justify-content: space-between;
    align-items: center; /* Center items vertically */
}

footer .left-footer,
footer .right-footer {
    width: 100%;
    max-width: 45%;
    margin: 10px 0; /* Add margin for spacing */
    text-align: center; /* Center text */
}

footer .footer-content h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    font-style: italic;
}

footer .footer-content p {
    margin: 20px 0; /* Increased margin */
    font-size: 1.2em; /* Increased font size */
    font-style: italic;
}

footer .footer-content a {
    color: rgb(16, 9, 9);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer .footer-content a:hover {
    color: #fdd656;
}

footer .contact-icons {
    margin-top: 10px;
    text-align: center; /* Center icons */
}

footer .contact-icons a {
    margin-right: 10px;
}

footer .contact-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

footer .contact-icons img:hover {
    transform: scale(1.3);
}



footer .footer-links a {
    margin: 0 10px;
    font-size: 0.8em;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .design-item {
        flex: 1 1 100%;
    }

    footer {
        padding: 40px 20px;
    }

    footer .left-footer,
    footer .right-footer {
        max-width: 100%;
    }
}