@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");

* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Sans TC', sans-serif;;
}

.main-header {
    background: linear-gradient(0deg,#48c6ef,#6f86d6);
}

.container {
    display: flex;
    align-items: center;
    padding: 20px;
	max-width: 1200px;
}

.logo {
    width: 100px;
}

.logo img {
    width: 100%;
    vertical-align: middle;
}

.main-nav {
    margin: auto;
	display: flex;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 1rem;
    position: relative;
    transform: translateY(0px);
    transition: 0.3s;
}

.main-nav a:hover {
    transform: translateY(-10px);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    height: 0;
    border-bottom: 1px solid white;
    transition: 0.3s;
}

.main-nav a:hover::after {
    left: 1rem;
    right: 1rem;
    transition: 0.3s;
}

.header-search {
    display: flex;
}

.header-search input, .header-search button {
    border:none;
	background-color: #fff;
	padding: 5px 10px;
}

.header-search input:focus, .header-search button:focus {
    outline: none;
}

.header-search input {
    border-radius: 200px 0 0 200px;
}

.header-search button {
    border-radius: 0 200px 200px 0;
}

