/*--------body-------*/
body {
    background-color: #f5f5f5;  /* Light Gray */
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 1rem;
}

/*--------header-------*/
header {
    width: 100%;
    text-align: center;
    padding: 50px 16px;
    background-image: url(https://i.pinimg.com/originals/08/bb/ea/08bbea96dac73e1a3d9395ae5a6de31a.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 350px;
}

header h1 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

/*--------wrapper-------*/
.wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 5%;
    font-size: 1rem;
    height: 80%;
}

/*--------message-container-------*/
.message-container {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 80%;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/*--------output-container-------*/
.output-container {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    line-height: 1.8;
}

.output-container p {
    margin-bottom: 15px;
}

/*--------nav-------*/
header nav a {
    display: flex;
    text-decoration: none;
    width: 100px;
    box-shadow: 0 4px 8px 0 #ffffff33, 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
}

nav a:hover {
    color: white;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 15px;
    background-color: #38369A;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
}

nav a:link {
    background-color: #9395D3;
}

/*--------main-------*/
main {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

h1, h2, h3 {
    margin-top: 10px;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    color: #D2DBDA;
}

h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

img {
    margin-top: 30px;
    margin-bottom: 10px;
    float: left;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/*--------footer-------*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #020419;
    background-image: 
        url('https://i.pinimg.com/736x/23/f2/f9/23f2f9e0ea92c3367cec9fb69df1d6ea.jpg'), 
        url('https://i.pinimg.com/474x/c8/c1/61/c8c161c8b3e56ecd8820365cfbe7e1cd.jpg');
    background-repeat: no-repeat;
    background-position: left, right;
    background-size: 33%, 33%;
    padding: 30px 10px;
    margin: 0;
    width: 100%;
    color: white;
}

footer p {
    color: white;
    padding: 10px;
    font-size: 1.2rem;
    text-align: center;
}

footer img {
    padding: 10px;
    width: 50px;
    height: auto;
}

/*--------footer box-------*/
.footer {
    background-color: #9395D3;
    padding: 20px;
}

/*--------grid-container-------*/
.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    text-align: center;
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #B3B7EE;
    border-radius: 8px;
    padding: 10px;
}

.grid-item.large {
    grid-column: span 4;
    background-color: transparent;
    font-size: 1.2rem;
    color: #FBF9FF;
}

.grid-item a {
    font-size: 1.5rem;
    color: #FBF9FF;
    text-decoration: none;
}

.a a:hover {
    color: #ff0000;
}

.b a:hover {
    color: #9900ff;
}

.c a:hover {
    color: #eeff00;
}

.d a:hover {
    color: #0037ff;
}

/*--------media queries for responsive design-------*/
@media (max-width: 768px) {
    /* Adjust grid layout for medium screens (tablets) */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item.large {
        grid-column: span 2;
    }

    /* Adjust main content layout to stack vertically */
    main {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    /* Adjust grid layout for small screens (mobile phones) */
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item.large {
        grid-column: span 1;
    }

    /* Adjust main content layout to stack vertically */
    main {
        flex-direction: column;
    }
}

/*--------over and over2 box-------*/
.over, .over2 {
    background-color: #A7D8A6;  /* Soft Green */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.over:hover, .over2:hover {
    transform: scale(1.05);
    background-color: #8BC89B;  /* Slightly darker green on hover */
}

.over img, .over2 img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.over h3 {
    font-size: 1.5rem;
    color: #333;
    margin-left: 15px;
}

/*--------main-box layout-------*/
.main-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

/*--------button styles-------*/
button {
    background-color: #3b8c89;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2b6f6a;
}

/*--------playlist link styles-------*/
#myBtn {
    font-size: 1.2rem;
    padding: 12px 24px;
}

.playlist-link {
    display: inline-block;
    background-color: #38369A;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.playlist-link:hover {
    background-color: #2b6f6a;
}
