* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

button {
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    color: #222;
}

.content {
    flex: 1 0 auto;
    width: 90%;
    margin-right: 5%;
    margin-left: 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;
    cursor: pointer;
}

.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);
    -o-transform: rotate(180deg);
    transition: all 0.5s ease;
    transition: all 0.5 ease;
}

.fas {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    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: #f9ebeb;
}

.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);
    -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);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -o-transform: translateY(-6px) rotate(-45deg);
}

.content {
    display: flex;
    margin-top: 5%;
    position: relative;
}

.bagian1 {
    flex: 3;
}

.container-bagian1 {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.list-destinasi-wisata {
    height: 360px;
    overflow-y: auto;
}

.list-destinasi-wisata a {
    display: block;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.list-destinasi-wisata a:nth-child(1) {
    border-top: 1px solid #ddd;
}

.active {
    color: #CB4745 !important;
}

form {
    margin-top: 20px;
}

form button {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    padding: 12px;
    background-color: #fff;
    border-radius: 25px;
    border: 2px solid #222;
}

form button:hover {
    background-color: #222;
    color: #fff;
}

.bagian2 {
    flex: 7;
    margin-left: 10%;
}

.container-bagian2,
.previous-next-btn {
    width: 100%;
}

.container-bagian1 {
    padding-top: 75px;
}

.container-bagian2 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 8%;
}

.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
}

.img-container>img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slides {
    display: none;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
    width: auto;
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.sumber {
    margin-top: 0;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.paragraf>p {
    line-height: 1.5;
}

.previous-next-btn form button {
    padding: 12px 16px;
    width: 100%;
    font-weight: 600;
    border: none;
}

.previous-next-btn form button:hover {
    background-color: #222;
}

.next,
.previous {
    background-color: #CB4745;
    color: #fff;
    border-radius: 25px;
}

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;
    }
    .bagian1 {
        display: none;
    }
    .bagian2 {
        margin-left: 0;
    }
    .container-bagian2 {
        padding: 5%;
    }
}

@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;
    }
    h2 {
        font-size: 18.8px;
    }
    .previous,
    .next,
    .paragraf>p {
        font-size: 15px;
    }
    .navbar li a {
        font-size: 16px;
    }
    .dropdown-content li a,
    .bottom-nav {
        font-size: 14px;
    }
    .sumber {
        font-size: 13px;
    }
}

@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;
    }
    .previous-next-btn {
        flex-direction: column;
        width: 100%;
    }
}

@media screen and (max-width:319px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 16.8px;
    }
    .previous,
    .next,
    .paragraf>p {
        font-size: 14px;
    }
    .sumber {
        font-size: 12px;
    }
    .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;
    }
    h2 {
        font-size: 15.8px;
    }
    .previous,
    .next,
    .paragraf>p {
        font-size: 13px;
    }
    .sumber {
        font-size: 11px;
    }
    .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;
    }
}