body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 0;
    font-family: Arial, sans-serif;
}
* {box-sizing: border-box;}
body {
  background-color:#ffcc00;
  margin: 0;
  font-size: 81.25%;
main {
  width: 90%;
  margin: auto;
}}

.heading1 {
    padding-top: 20px;
}
#div1 {
    font-size: 45px;
    background: -webkit-linear-gradient(#ff0055, #ff00ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: cursive;
    place-content: top;
    margin-top: -4%;
    }


    .end_page {
        font-size: 20px;
        font-family: cursive;
        color: black;
        margin-bottom: 0px;
        text-align: center;
        width: 100%;
        margin-top: 95%;
        position: bottom;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: #ffcc00;
        border: 3px #ffcc00;
    }
    
    .end_page a:visited {
        color: rgb(0, 0, 0);
    }
    
    .end_page a:link {
        color: rgb(0, 0, 0);
    }
    
    .end_page a:hover {
        background: -webkit-linear-gradient(#ff0055, #ff00ea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
.grid-container {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 30px;
    margin: 10px 10px;
    justify-content:center
}

.grid-container > div {
    padding: auto;
    text-align:justify;
    row-gap: 5px;
}

#div2, #div3, #div4, #div5, #div6, #div7, #div8, #div9, #div10, #div11, #div12, #div13 {
    display:inline-block;
    align-items: center;
    justify-content:auto;
    height: 115%;
    size-adjust: auto;
}



/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    #div1 {
        font-size: 30px;
        margin-top: 0;
    }

    .end_page {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .grid-container > div img {
        max-width: 100%; 
        height: auto; 
        display: block; 
        width: 100%; 
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    #div1 {
        font-size: 25px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .grid-container > div img {
        max-width: 100%; 
        height: auto; 
        display: block; 
        width: 100%; 
    }
    .grid-container > div {
        padding: 5px;
    }
}