/*
    CSS for index page.
*/

* {
    scroll-behavior: smooth;
    margin: auto;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;

    background: url("../assets/background/singapore2.png") no-repeat center center fixed;
    background-size: cover;
    background-color: rgba(240,240,240, 0.1);
    background-blend-mode: multiply;

    color: black;
    max-width: 1024px;
    min-width: 800px;
    display: flow-root;
}

h1 {
    font-weight: 800;
    font-size: 48px;
    text-align: center;
    text-decoration: none;
    color: black;
    text-shadow: 1px 1px 1px grey;
}

h1 a {
    text-decoration: none;
    color: black;
    text-shadow: 1px 1px 1px grey;
}

h1 a:link {
    text-decoration: none;
    color:blue;
}

h1 a:active {
    color: red;
}

h1 a:visited {
    color: purple;
}

h1 a:hover {
    background-color: pink;
}

h2 {
    font-weight: 800;
    font-size: 36px;
    text-shadow: 1px 1px 1px grey;
    padding: 40px 0px 40px 20px;
}

p {
    text-align: justify;
    padding: 10px 6px;
    font-size: 20px;
    text-shadow: 1px 1px 1px grey;
    background-color: rgba(240,240,240, 0.8);
}

p a {
    text-decoration: none;
}

.content p {
    border-radius: 5px;
}

.content p span {
    font-weight: bolder;
}

/*
    Alphabet link section
*/

#alphabet {
    text-align: center;
    letter-spacing: 4px;
    font-weight: bold;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}

#alphabet a {
    text-decoration: none;
}


/*
    top five section
*/

#top h3 {
    text-align: center;
    letter-spacing: 4px;
    font-weight: bold;
    font-size: 18px;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}

#top {
    
}

#top h3 span {
    font-weight: bolder;
}

#top5 {
display: inline-block;
    width: 49%;
    text-align: justify;
    font-weight: normal;
    padding: 8px;
    margin-left: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
    text-decoration: none;

}

#top5 a {
        text-decoration: none;

}

#bottom5 {
    display: inline-block;

    width: 49%;
    text-align: justify;
    font-weight: normal;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
    text-decoration: none;
}

#bottom5 a {
        text-decoration: none;

}

/*
    advert section
*/

#advert_box_1 {
    width: 95%;
    height: 200px;
}

.advert1 {
    display: inline-block;
    width: 32%;
    height: 200px;
}

#advert_box_1 p {
    text-align: center;
    font-size: 1em;
    color: white;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}

/*
    footer
*/

#bottom_navigation {
    text-align: center;
    font-size: 1em;
    color: black;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
    width: 60%;
}

#bottom_navigation li {
    list-style: none;
    display: inline;
    
}

#bottom_navigation li a:link {
    text-decoration: none;
    color:blue;
}

#bottom_navigation li a:active {
    color: red;
}

#bottom_navigation li a:visited {
    color: purple;
}

#bottom_navigation li a:hover {
    background-color: pink;
}

/*
    Dynamic pages
*/

#usercomment, #userscore {
    margin-top: 10px;
    text-align: justify;
    padding: 10px 6px;
    font-size: 20px;
    text-shadow: 1px 1px 1px grey;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}

/*
    Search pages
*/

#results {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}

/*
    Add new DC
*/

#overlay {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    padding: 8px;
    margin-top: 20px;
    background-color: rgba(240,240,240, 0.8);
    border-radius: 5px;
}