/* Use Custom Font */
@font-face {
    font-family: 'HindVadodara';
    src: url('/Fonts/HindVadodara-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans';
    src: url('/Fonts/NotoSansGujarati-Bold.ttf') format('truetype');
}

/* Reset some default styles */
body,
ul {
    margin: 0;
    padding: 0;
}

/* General styles for the audio guide page */
body {
    font-family: 'Times New Roman', serif;
    background-color: antiquewhite;
    /* Vintage paper background color */
    width: 100%;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal overflow */
}

/* Navigation bar styles */
nav {
    background-color: rgba(255, 245, 238, 0.8);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 23.5px;
    font-weight: bolder;
    letter-spacing: 0px;
    color: #4d2200;
    font-family: 'HindVadodara';
}

/* Main content styles */
main {
    padding: 20px;
}

#back {
    display: flex;
    justify-content: center;
    margin-bottom: -20px;
}

#back button {
    background-color: #4d2200;
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: 'NotoSans';
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-weight: bolder;
    margin: 15px;
    margin-top: 0px;
}

#back button:hover, #back button:focus {
    background-color: #723300;
}

/* Audio guide section styles */
#audio-guide {
    text-align: center;
}

#audio-guide h2 {
    margin-bottom: 20px;
    color: #4d2200;
    /* Vintage gold color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0px;
    font-size: 30px;
    font-family: 'NotoSans';
}

/* CSS */
.button1 button {
    background-color: #4d2200;
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: 'NotoSans';
    font-size: 20px;
    font-weight: 500;
    height: 50px;
    width: 200px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 17px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-weight: bolder;
    margin: 15px;
    margin-top: 0px;
}

.button1 button:hover,
.button1 button:focus {
    background-color: #723300;
}

.audio-player {
    margin: 20px auto;
    width: 50%;
    max-width: 600px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: center;
}

.audio-player audio {
    width: 100%;
}

/* Track list styles */
.image img {
    height: 1000px;
    width: 1200px;
}

/* Footer styles */
footer {
    background-color: black;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    color: white;
    font-weight: bolder;
    font-size: 20px;
}

#end {
    display: flex;
    justify-content: center;
}

#end h3 {
    font-size: 40px;
    color: #4d2200;
}

/* Responsive design */
@media (max-width: 768px) {

    .audio-player {
        width: 90%;
    }

    .image img {
        width: 400px;
        height: 300px;
    }

    .logo {
        text-align: center;
    }

    #back {
        display: flex;
        justify-content: center;
        margin-bottom: -20px;
    }

    #end h3 {
        text-align: center;
    }
}