body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    
}

header {
    
    background-color: rgba(255, 102, 0, 0.8); /* Slight transparency to see the background */
    color: white;
    text-align: center;
    padding: 1rem 0;
}

h1 {
    
    margin: 0;
    font-size: 2rem;
  
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
    /*background-color: rgba(255, 255, 255, 0.8); /* White background with transparency for readability */
    /*border-radius: 10px;*/
    margin: 2rem;
    opacity: 0.9;
    background-image: url(rekah3.jpg);
    
}

.grid-item {
    background-color: #fff;
    border: 2px solid #ff6600;
    border-radius: 5px;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.5rem;
    text-decoration: none;
    color: #ff6600;
    font-weight: bold;
    background-image: url(rekah2.jpg);
    background-position: unset;
}

.grid-item:hover {
    background-color: green;
    color: #fff;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        margin: 1rem;
    }

    header {
        padding: 0.5rem 0;
    }

    h1 {
        font-size: 1.5rem;
    }
}

.back-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: white;
    color: #060606;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    z-index: 1000;
    
}

.back-button:hover {
    background-color: #e65c00;
}

@media (max-width: 768px) {
    .back-button {
        top: 5px;
        left: 5px;
        padding: 8px 16px;
        font-size: 14px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    padding: 20px;
}

.grid-item {
    display: flex;
    width: auto;
    height: 100px; /* Fixed height for the rectangle */
    border: 3px solid #ff6600;
    text-decoration: none;
    color: #000;
    font-size: 24px;
    position: relative;
    overflow: hidden;
}

.grid-item .left-half {
    width: 175px; /* Fixed width for the image container */
    height: 100%; /* Full height of the rectangle */
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.grid-item .right-half {
    margin-left: 180px; /* Shift the right half to the right, leaving space for the image */
    width: calc(100% - 175px); /* Remaining space for the right half */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 10px;
}

.grid-item .right-half p {
    margin: 0;
    text-align: center;
    color: white;
    font-size: xx-large;
    font-weight: bold;
    font-style: initial;
    
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}

@media (max-width: 576px) {
    .grid-item {
        font-size: 18px; /* Adjust text size for smaller screens */
    }
}

.grid-item:nth-child(1) .left-half {
    background-image: url('reshon.webp'); /* Replace with your image */
}
.grid-item:nth-child(2) .left-half {
    background-image: url('salad.jpeg'); /* Replace with your image */
}

.grid-item:nth-child(3) .left-half {
    background-image: url('tacorashe.jpg'); /* Replace with your image */
}

.grid-item:nth-child(4) .left-half {
    background-image: url('arohaa.jpg'); /* Replace with your image */
}

.grid-item:nth-child(5) .left-half {
    background-image: url('askyot.avif'); /* Replace with your image */
}


.grid-item:nth-child(6) .left-half {
    background-image: url('snacks2.jpg'); /* Replace with your image */
}

.grid-item:nth-child(7) .left-half {
    background-image: url('drinks1.jpeg'); /* Replace with your image */
}



.grid-item:nth-child(8) .left-half {
    background-image: url('sweets1.jpg'); /* Replace with your image */
}


