@font-face {
    font-family: 'kanit';
    src: url('./font/Kanit/Kanit-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'kanit';
    font-size: 18px;
    font-weight: 500;
}

header {
    padding: 30px;
    color: white;
    background-color: rgba(65, 118, 144, 1);
    text-align: center;
    /* background: url('.././img/header_background_green_django.png') no-repeat; */
    background-size: cover;
    background-position: center;
}

.header_line_2 {
    color: rgba(216, 221, 104, 1);
}

body {
    background-color: rgba(248, 248, 248, 1);
}

button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.nav_bar {
    display: flex;
    box-sizing: border-box;
    color: white;
    background-color: rgba(38, 75, 93, 1);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    position:sticky;
    top: 0;
}

.nav_bar a {
    color: white;
    text-decoration: none;
}

.nav_menu, 
.nav_dropdown
{
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;

    color: white;
    background-color: transparent;
    transition: .5s;
}

.nav_menu:hover, 
.nav_dropdown:hover
{
    background-color: rgba(0, 0, 0, 0.5);
}

.nav_dropdown {
    position: relative;
    display: inline-block;
}

.nav_dropdown:hover .dropdown_list {
    display: block;
}

.dropdown_list {
    display: none;
    position: absolute;
    color: white;
    background-color: rgba(255, 165, 0, 0.85);
    width: 125px;
    margin-left: -5px;
    padding-left: 5px;
    text-align: left;
}

.dropdown_list a:hover {
    color: black;
}

.section_0 {
    background-color: white;
}

.section_0_title {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgba(216, 221, 104, 0.5);
    color: rgba(0, 0, 0, .75);
}

.section_1 {
    padding-top: 15px;
    min-height: 650px;
    background-color: white;
}

.form_search, .img_coming_soon {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, .75);
}

.search_input_text {
    margin-bottom: 10px;
    width: 500px;
    text-align: center;
} 

.search_input_button {
    margin-left: 10px;
    margin-bottom: 10px;
    width: 100px;
    text-align: center;
    color: rgba(0, 0, 0, .75);
}

::placeholder {
    color: rgba(0, 0, 0, .25);
}

.section_2 {
    background-color: rgba(255, 0, 0, 0.75);
}

footer {
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
}

.pagination {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.pagination a {
    float: left;
    margin: 2px;
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(65, 118, 144, 0.5);
    color: rgba(0, 0, 0, .75);

    transition: background-color .3s;
}

.pagination a.active {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(12, 75, 51, 0.5);
    color: white;
    background-color: rgba(65, 118, 144, 1);
}

.pagination a:hover:not(.active) { background-color: rgba(234, 248, 234, 0.75); }
