h1 {
    background-color:aqua; text-align: center;

}
.mainbody {
    background-image: url('images/sky.jpg');    
}
h2 {
    font-size:40px;
}
.mainbody2 {
    padding-left:2%
}

audio {
    display: block;
    margin: 20px auto;
    width: 300px;
   position: fixed;
    bottom: 10px;
    right: 10px;
}
.nav {
    list-style-type: none;
    margin:0;
    padding-left: 2%;
}
.nav li {
    float: left;
}
.nav li a {
    display: block;
    padding: 20px 20px;
    background-color: aquamarine
}
li a:hover {
  background-color:aliceblue;
}
.nav::after {
    content: "";
    display: table;
    clear: both;
}
/*portal */
.portal {
    width: 20%;
    height: auto;
    display: block;
    float: right;
    margin-top: 10%;
    margin-right: 3%; /* instead of padding-right */
    padding-right: 0;
}
.portal:hover {
    box-shadow: 0 8px 8px rgba(0,0,0,0.4); /* shadow underneath */
    transform: translateY(-8px);             /* shift image up */
    transition: box-shadow 0.2s, transform 0.2s; /* smooth effect */
}
/* Music Gallery Styles */
.musicbody {
    background-image: url('images/1058.GIF');
}
.musicbody a {
    color: white;

}
.music-pics {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/* Art Gallery Styles */
.artbody {
    background-image: url('images/46648946.jpg');
}
.artbody h1 {
    margin-top: 100px;
    margin-bottom: 0;
    text-align: center;
    font-style: italic;
    color: rgb(232, 134, 14, 0.895);
    background-color: rgba(0, 255, 242, 0);
}
.artbody h2 {
    text-align: center;
    font-size: 1.25em;
    font-style: italic;
    color: rgba(232, 134, 14, 0.895);
    background-color: rgba(0, 255, 242, 0);
    margin-top:0;
}
.artbody a {
    text-align: center;
    color:rgb(82, 175, 225);
    display: block;
    margin: 0 auto;
}
.art {
    padding: 5% 15%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    justify-items: center;
}
.art img {
    margin: 0;
    border: none;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
}
.fav {
    position: relative;
    width: 100%;
}

.fav .star-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    object-fit: contain;
}