:root{
    --warna_dasar :   #003366;
    --warna_header : linear-gradient(to right, #fabf52, #D4AF37);
    --warna_brosur : #175b91;
    --warna_daftar : linear-gradient(to bottom, #175b91, #40b0bf);
    --warna_komentar : #40b0bf;
    --warna_footer :  #D4AF37;
}

*,
html,
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

html,
body{
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--warna_dasar);
    overflow-y: auto;
}

a{
    text-decoration: none;
}

/* <------------------------ awal header ------------------------> */
header{
    width: 100vw;
    background: var(--warna_header);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 99999;
}

/* logo bisnis */
.logo_bisnis{
    height: 7vh;
    object-fit: contain;
    margin-right: auto;
    margin-left: 3vw;
}

/* navigasi */
nav{
    width: 85vw;
    height: 9vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.menu{
    display: flex;
    list-style: none;
    flex-direction: row;
}

nav a{
    text-decoration: none;
    color: inherit;
    border-right: 2px solid black;
    font-size: 2vw;
    padding: 0 3vw;
}

nav a:hover{
    text-decoration: underline;
}

summary{
    display: none;
}

@media (max-width: 768px) {
    /* logo bisnis */
    .logo_bisnis{
        margin-right: auto;
        margin-left: 3vw;
        height: 4vh;
    }

    /* navigasi */
    #navigasi{
        background: var(--warna_komentar);
        position: absolute;
        right: 0;
        width: 170px;
        height: 200px;
        border-radius: 7px;
        box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.15);
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 99999;
        overflow-y: auto;
        display: none;
    }
    
    summary{
        display: flex;
        font-size: 7vw;
        margin-right: 3vw;
    }

    .menu{
        flex-direction: column;
        z-index: 900;
    }

    .menu li{
        margin: 10px 10px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    nav a{
        font-size: 4vw;
        border-right: none;
    }
}

/* <------------------------ akhir header ------------------------> */

/* <------------------------ awal main ------------------------> */
main{
    background-color: var(--warna_main);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.main_brosur{
    background: var(--warna_brosur);
    position: relative;
    width: 100vw;
    display: flex;
    align-items: center;
    flex-direction: row;
    box-sizing: border-box;
    padding: 5vh 0;
}

.wadah_brosur{
    user-select: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5vw;
}

.wadah_brosur img:first-child{
    margin-left: 15vw;
}

.wadah_brosur img{
    border-radius: 20px;
    width: 70vw;
    min-width: 70vw;
    flex-shrink: 0;
}

.klik {
    position: absolute;
    top: 50%;
    left: 15vw;
    transform: translateY(-50%);
    width: 70vw;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


#sebelum,
#sesudah{
    width: 4vw;
    aspect-ratio: 1 / 1;
    display: none;
}

#sebelum:hover,
#sesudah:hover{
    border: 2px solid rgba(0, 0, 0, 0.274);
    border-radius: 50px;
}

#sebelum{
    margin-right: auto;
}

/* semua daftar brosur */
.daftar_brosur{
    background: var(--warna_daftar);
    width: 100vw;
    height: auto;
    overflow-y: hidden;
    padding-top: 2vh;
}

.judul_daftar{
    width: 90%;
    display: flex;
    margin: auto;
    border-bottom: 2px solid black;
    margin-bottom: auto;
    align-items: flex-end;
    font-size: 2vw;
}

.semua_brosur{
    width: 90%;
    height: auto;
    display: flex;
    margin: auto;
    gap: 2%;
    flex-wrap: wrap;
    overflow-y: hidden;
    padding: 2%;
}

.kotak_brosur{
    border: 2px solid rgba(0, 0, 0, 0.137);
    width: calc(90vw / 6);
    height: 225px;
    border-radius: 10px;
    display: flex; 
    flex-direction: column;
    margin-bottom: 2vh;
    padding: 10px 5px 10px 5px;
}

.kotak_brosur:hover,
.selengkapnya:hover{
    border: 2px solid green;
}

.gambar_produk {
    height: 64%;
    width: 90%;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.deskripsi{
    width: 100%;
    height: 10%;
    text-align: center;
    font-size: var(--huruf_biasa_main);
    margin: auto;
}

.selengkapnya{
    width: 80%;
    height: 15%;
    font-size: var(--huruf_biasa_main);
    margin: auto;
    border-radius: 5px;
    border: 1px solid black;

    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 768px) {
    .main_brosur{
        padding: 2vh 0;
    }

    .wadah_brosur img{
        border-radius: 10px;
        width: 98vw;
    }

    .wadah_brosur img:first-child{
        margin-left: 1vw;
    }

    .klik{
        display: none;
    }

    .judul_daftar{
        font-size: 5vw;
    }

    .semua_brosur{
        width: 95%;
        gap: 1%;
        padding: 2%;
    }

    .kotak_brosur{
        width: calc(90vw / 2);
        height: 175px;
        pointer-events: none;
    } 

    .deskripsi,
    .selengkapnya{
        font-size: 2vh;
    }
}

/* <------------------------ akhir main ------------------------> */

/* <------------------------ awal footer ------------------------> */
footer{
    background: var(--warna_footer);
}

.logo_footer{
    width: 100vw;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 20px 20px;
}

.logo1{
    width: 60vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 3vw;
}

.logo2{
    width: 30vw;
    display: flex;
    justify-content: center;
}

.logo1 img,
.logo2 img{
    width: 25vw;
}

.info_tambahan{
    background: #ad8c1d;
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-direction: row;
    font-size: 18px;
}

.section1{
    width: 60vw;
    margin-top: 4vh;
    margin-bottom: 10vh;
    margin-right: 2vw;
    margin-left: 2vw;
    display: flex;
    flex-direction: row;
}

.kebijakan_privasi{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 10px;
}

.pengiklanan{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 10px;
}

.kebijakan_privasi a:hover,
.pengiklanan a:hover{
    text-decoration: underline;
}

.section2{
    width: 40vw;
    display: flex;
    flex-direction: column;
    margin-top: 4vh;
    margin-bottom: 10vh;
    margin-right: 3vw;
}

.alamat_infomitra{
    margin-bottom: 20px;
}

.contact_infomitra{
    display: flex;
    justify-content: center;
    flex-direction: column;   
}

.telepon,
.instagram,
.email{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
}

.alamat_infomitra:hover,
.telepon:hover,
.instagram:hover,
.email:hover{
    text-decoration: underline;
}

.telepon img,
.instagram img,
.email img{
    width: 25px;
    margin-right: 0.5vw;
}

.izin_usaha{
    margin-top: 10px;
}

@media (max-width: 768px) {
    .logo_footer{
        padding: 10px 10px 10px 10px;
    }

    .logo1{
        width: 100vw;
        gap: 3vw;
        justify-content: center;
    }
    
    .logo2{
        width: 100vw;
        margin-bottom: 5px;
    }
    
    .logo1 img,
    .logo2 img{
        width: 45vw;
    }

    .info_tambahan{
        font-size: 11px;
    }

    .section1{
        width: 50vw;
        margin-right: 1vw;
        margin-left: 1vw;
        display: flex;
        flex-direction: column;
    }

    .kebijakan_privasi{
        width: 100%;
        margin-bottom: 10px;
    }

    .pengiklanan{
        width: 100%;
        height: 10vh;
    }
    
    .section2{
        width: 50vw;
        margin-right: 1vw;
    }

    .alamat_infomitra{
        margin-bottom: 10px;
    }

    .telepon img,
    .instagram img,
    .email img{
        width: 20px;
    }

    .izin_usaha{
        margin-top: 0px;
    }
}
/* <------------------------ akhir footer ------------------------> */