*{ 
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

:root {
    --main-color:#B11116;
    --text-color: #000000;
    --text-color2 : #fff;
    --bg-color2: #fff;
    --color-grey:#EAEAEA;
    --big-font:5rem;
    --h2-font:2.25rem;
    --p-font:20px;
}

*::selection {
    background: var(--main-color);
    color: #fff;
}

body{
    color: var(--text-color);
    background: var(--bg-color2);
}

/* header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 80px;
    background: var(--color-grey);
    color: var(--text-color);
}

.logo { 
    top: 0;
    left: 0;
    width: 100%;
    width:70px;
    height:60px;
}

.navbar{
    display: flex;
}

.navbar a{
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 10px 60px;
    font-weight: 500;
} */

.navbar a:hover {
    color: var(--main-color);
    transition: .4s;
}

#menu-icon{
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.btn { 
    display: inline-block;
    padding: 7px 27px;
    background: #B11116;
    color: #fff;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
}
.btn:hover {
    background-color: #9d0a0a;
    transition: all 0.3s ease 0s;
} 


section {
    padding: 70px 17%;
}
.home {
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    align-items: center;
}
.home-text2 img {
    display: block;
    height: auto;
    left: 100px;
    right: 100px;
    position: absolute;
    top: 100px;
    max-width: 100%;
    width: 1400px;
    margin-top: -60px;
}
.home-text2 img,p{
    position: absolute;
}
.home-text2 .txt-home {
    color: var(--text-color2);
    text-align: center;
    left: 100%;
    top: 100%;
    margin-top: -150px;
    transform: translate(50%);
    -webkit-transform: translate(50%);
    -moz-transform: translate(50%);
    -o-transform: translate(50%);
}
.home-text2 h1{
    line-height: 1.7;
    font-size: 30;
}
.home-text2 p{
    padding-top: 30px;
    font-size: 20;
    line-height: 1.7;
}

.lokasi {
    text-align: center;
    left: 430px;
    right: 350px;
    background: #EAEAEA;
    border-radius: 50px;
    padding: 40px ;
    width: 730px;
    max-width: 100%;
    height: 250px;
    position: absolute;
    top: 495px;
    margin-top: -50px;
}
.txt {
    padding: 30px 10px;
    margin-top: -50px;
    font-size: 20;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0!important;
    background: #fff;
    background-image: none;
    flex: 1;
    padding: 0rem 1.3em;
    color: #4d4a4a;
    cursor: pointer;
    font-size: 1em;
}
select::-ms-expand{
    display: none;
}
.select {
    display: inline-block;
    text-align: left;
    padding: .7em 0em;
    margin-top: 20px;
    width: 35em;
    height: 3em;
    background: #fff;
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    border-radius: 50px;
    border: none;
    position: relative; /* atau absolute */
    right: 0; 
}
.logo-lokasi {
    width: 50px;
    height: 30px;
    margin-bottom: -10px;
    padding-left: 20px;
}

.btn1 { 
    display: inline-block;
    text-align: center;
    padding: .7em 2em;
    margin-top: 20px;
    width: 35em;
    height: 3em;
    background: #198F1E;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    position: relative; /* atau absolute */
    right: 0; 
}
footer{
    padding: 30px 680px;
    margin-top: 100px;
    color: #AEAEAE;
}
footer p{
    margin: 0;
    padding: 0;
    align-items: center;
    text-align: center;
    position: center;
}





/* tampilan untuk layar dengan lebar kurang dari 768px */
@media screen and (max-width: 767px) {
    header {
        padding: 10px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .navbar {
        flex-direction: column;
        background: var(--color-grey);
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 100vh;
        justify-content: space-around;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar.show {
        transform: translateX(0);
    }

    .navbar a {
        display: block;
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid var(--text-color);
    }

    #menu-icon {
        display: block;
    }

    .home {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
        text-align: center;
        padding: 50px 10%;
    }

    .home-text2 img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .home-text2 .txt-home {
        left: auto;
        top: auto;
        margin-top: 20px;
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
    }

    .lokasi {
        left: 10%;
        right: 10%;
        top: 750px;
    }

    .select, .btn1 {
        width: 100%;
    }

    footer {
        padding: 30px 20px;
    }
}

