* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #EEEEEE;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* index */

.index-img {
    object-fit: cover;
    height: 240px;
  }

.navbar-nav {
    flex-direction: row!important;
}

.nav-color {
    color: black;
}

.nav-color:hover {
    color: #37A0E4;
}

.nav-color:after {
    content: "";
    display: block;
    height: 2px;
    background: #37A0E4;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease-in-out;
}

.nav-color:hover:after {
    transform: translateY(0px);
    opacity: 1;
}

.top img {
    object-fit: cover;
    height: 500px;
}

.overlay {
    position: absolute;
}

.title {
    font-size: 4rem;
}

.subtitle {
    font-size: 2rem;
}

.work-thumbnail {
    overflow: hidden;
    position: relative;
}

.work-img {
    object-fit: cover;
    height: 240px;
}

.work-title {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    opacity: 0;
    background-color: rgb(238, 108, 77, 0.8);
    transform: translateY(70px);
    transition: all 0.2s ease-in-out;
}

.work-thumbnail:hover .work-title {
    transform: translateY(0px);
    opacity: 1;
}

/* detail */
.link-color {
    color: #EE6C4D;
}

.link-color:hover {
    color: #c56c55;
    text-decoration: none;
}

.detail-img {
    object-fit: cover;
    width: 100%;
    height: 400px;
  }

/* about */

.avatar img {
    max-width: 150px;
    max-height: 150px;
}

.icon {
    padding: 10px 8px;
}


.star-rating {
	position: relative;
	font-size: 30px;
	word-wrap: normal !important;
}

.star-rating-front {
	position: absolute;
	top: 0;
	left: 0;
    overflow: hidden;
    color: #37A0E4;
}

.star-rating-back {
	color: #ccc;
}

/* contact */

.contact {
    max-width: 500px;
}

.form-control:focus {
    border-color: #EE6C4D;
    box-shadow: none;
}

.card {
    border: none;
}

.formpost {
    margin-bottom: 1rem;
  }

/* category */

a {
    color: black;
  }
  
  a:hover {
    text-decoration: none;
    color: #37A0E4;
  }