* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

header,
.navbar {
    display: flex;
    justify-content: space-between;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    align-items: center;
    height: 75px;
    border-bottom: 1px solid #ddd;
    background-color: #Fff;
    flex-shrink: 0;
    z-index: 999;
}

.logo {
    margin-left: 5%;
}

#navbar {
    margin-right: 5%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar>li {
    padding: 12px 0;
    margin: 0 25px;
}

.navbar>li:nth-child(1) {
    margin-left: 0;
}

.navbar>li:nth-child(5) {
    margin-right: 0;
}

.navbar li a {
    text-decoration: none;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.navbar li a:hover,
.dropdown:hover>a {
    color: #CB4745;
}

.active-navbar {
    color: #CB4745 !important;
}

.dropdown:hover a .fas {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transition: all 0.5s ease;
    transition: all 0.5 ease;
}

a>.fas {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: all 0.5s ease;
}

.dropdown-content {
    position: absolute;
    top: 55px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #222;
    padding: 12px 0;
    display: none;
    width: 200px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    padding: 12px;
}

.dropdown-content li a {
    font-size: 15px;
}

.dropdown-content li:hover {
    background-color: #eec4c3;
}

.menu-bar {
    cursor: pointer;
    background-color: #222;
    padding: 3px;
    margin-right: 5%;
    display: none;
}

.bar {
    width: 16px;
    height: 3px;
    background-color: white;
    margin: 3px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.change {
    transition: 0.5s;
    background-color: #CB4745;
}

.change .bar:nth-child(2) {
    opacity: 0;
}

.change .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    -webkit-transform: translateY(6px) rotate(45deg);
    -moz-transform: translateY(6px) rotate(45deg);
    -ms-transform: translateY(6px) rotate(45deg);
    -o-transform: translateY(6px) rotate(45deg);
}

.change .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    -webkit-transform: translateY(-6px) rotate(-45deg);
    -moz-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -o-transform: translateY(-6px) rotate(-45deg);
}

.title-contact {
    color: #222;
    display: flex;
}

.title {
    background-image: linear-gradient(180deg, #eec4c3, #fff);
    flex: 1;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

h1 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 40px;
}

span {
    font-size: 20px;
    margin-bottom: 5px;
}

.underline {
    width: 60px;
    height: 7px;
    background-color: #222;
    border-radius: 10px;
}

.contact {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.bonjeruk,
.sukarara,
.hikayat-jonggat {
    border: 1px solid #ccc;
    border-radius: 25px;
    margin-bottom: 40px;
    width: 70%;
    padding: 20px 20px 0 20px;
    box-shadow: 8px 8px 5px #aaaaaa;
}

.bonjeruk:after,
.sukarara:after,
.hikayat-jonggat:after {
    content: "";
    display: block;
}

.underline2 {
    height: 1px;
    background-color: #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.name {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.icon>.fas,
.icon>.fab {
    margin-right: 30px;
    background-color: #CB4745;
    border: 2px solid #222;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 26px;
    vertical-align: middle;
    padding: 2px;
}

.icon {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}

footer {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #CB4745;
    color: #fff;
    margin-top: 75px;
}

.bottom-nav {
    font-size: 15px;
}

.bottom-nav-and-logo,
.copyright {
    margin: 20px 0;
}

.bottom-nav-and-logo,
.bottom-nav,
.list-logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.list-logo a img,
.bottom-nav-member {
    flex: 1;
    margin: 0 15px;
}

.list-logo a:nth-child(1) img,
.bottom-nav-member:nth-child(1) {
    margin-left: 0;
}

.list-logo a:nth-child(4) img,
.bottom-nav-member:nth-child(4) {
    margin-right: 0;
}

.member,
.simple-text {
    margin-bottom: 15px;
    font-weight: 700;
}

.submember {
    margin-bottom: 10px
}

.submember a {
    color: #fff;
    text-decoration: none;
}

.submember a:hover {
    text-decoration: underline;
}

.bottom-nav,
.text-logo {
    width: 48%;
}

.bottom-nav-and-logo,
.copyright {
    margin-right: 5%;
    margin-left: 5%;
}

.copyright {
    text-align: center;
    font-weight: 700;
    color: #fff;
    padding: 20px;
}

@media screen and (max-width:1146px) {
    .bottom-nav-and-logo {
        flex-direction: column;
    }
    .bottom-nav {
        width: 100%;
    }
    .text-logo {
        width: 60%;
        margin-left: 20%;
        margin-top: 20px;
    }
    .simple-text {
        text-align: center;
    }
}

@media screen and (max-width:921px) {
    .menu-bar {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        right: -5%;
        top: 75px;
        margin-right: 0;
        width: 100%;
        background-color: #fff;
        border: 1px solid #ddd;
    }
    .navbar>li:nth-child(1) {
        margin-left: 25px;
    }
    .navbar>li:nth-child(5) {
        margin-right: 25px;
    }
    .show-navbar {
        display: block;
    }
    .show-navbar .navbar {
        flex-direction: column;
    }
    .dropdown-content {
        border: none;
        position: relative;
        top: 0;
        width: calc(100% + 50px);
        border-radius: 0;
        margin-top: 25px;
        background-color: #f9ebeb;
        margin-left: -25px;
        padding-left: 25px;
        padding-right: 25px;
    }
    .dropdown-content li {
        padding-left: 0;
    }
    .dropdown-content li a {
        font-size: 17px;
    }
    .dropdown-content li:hover {
        background-color: transparent;
    }
    .title-contact {
        display: block;
    }
    .title {
        background-image: none;
    }
    .title,
    .contact {
        flex: 1;
    }
    h1 {
        text-align: center;
    }
    .underline {
        margin-right: auto;
        margin-left: auto;
        display: block;
    }
    .bonjeruk,
    .sukarara,
    .hikayat-jonggat {
        width: 75%;
    }
}

@media screen and (max-width:800px) {
    .list-logo a img {
        height: 80px;
    }
}

@media screen and (max-width:725px) {
    .list-logo a img {
        height: 70px;
    }
}

@media screen and (max-width:655px) {
    .bottom-nav {
        flex-direction: column;
    }
    .bottom-nav-member {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .text-logo {
        width: 70%;
        margin-left: 15%;
    }
    .list-logo a img {
        height: 60px;
    }
}

@media screen and (max-width:639px) {
    h1 {
        font-size: 28px;
    }
    span,
    .name {
        font-size: 18px;
    }
    .name,
    .underline2 {
        margin-left: -10px;
        margin-right: -10px;
    }
    .bonjeruk,
    .sukarara,
    .hikayat-jonggat {
        width: 90%;
    }
    .icon>.fas,
    .icon>.fab {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .icon {
        font-size: 15px;
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        margin-right: -20px;
        margin-left: -20px;
    }
    .navbar li a {
        font-size: 16px;
    }
    .dropdown-content li a,
    .bottom-nav {
        font-size: 14px;
    }
}

@media screen and (max-width:590px) {
    .text-logo {
        width: 80%;
        margin-left: 10%;
    }
    .list-logo a img {
        height: 50px;
    }
}

@media screen and (max-width:390px) {
    .text-logo {
        width: 55%;
        margin-left: 22.5%;
    }
    .list-logo {
        flex-wrap: wrap;
    }
    .list-logo a img {
        margin: 10px;
        height: 50px;
    }
    .list-logo a:nth-child(1) {
        margin-left: 10px;
    }
    .list-logo a:nth-child(4) {
        margin-right: 10px;
    }
}

@media screen and (max-width:375px) {
    .icon {
        font-size: 14px;
    }
}

@media screen and (max-width:319px) {
    h1 {
        font-size: 24px;
    }
    span,
    .name {
        font-size: 16px;
    }
    .icon {
        font-size: 13px;
    }
    .navbar li a {
        font-size: 15px;
    }
    .dropdown-content li a,
    .bottom-nav {
        font-size: 13px;
    }
}

@media screen and (max-width:279px) {
    h1 {
        font-size: 22px;
    }
    span,
    .name {
        font-size: 15px;
    }
    .icon {
        font-size: 12px;
    }
    .navbar li a {
        font-size: 14px;
    }
    .dropdown-content li a,
    .bottom-nav {
        font-size: 12px;
    }
}

@media screen and (max-width:278px) {
    .text-logo {
        width: 100%;
        margin-left: 0%;
    }
    .list-logo {
        flex-direction: column;
        align-items: center;
    }
}