:root {
    --bg2: #db9c60;
    --primary: #3e2317;
    --bg: #010101;
    --bg1: #ffffff;
    --bg3: #244038;
    --bg4: #5b9e8b;
}

* , body{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

section {
    padding: 0;
    margin: 0;
}
h1 {
    font-size: 30px;
}

p {
    font-size: 20px;
}

/* header section */
.container {
    height: 100vh;
    width: 100%;
    background-image: url('../img/bg1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 60%;
    padding-bottom: 1rem;
}

.box {
    padding: 2rem;
    font-size: 35px;
    text-align: center;
    height: 70vh;
    width: 40%;
    display: grid;
    justify-content: center;
    align-content: center;
    background:rgba(255, 255, 255, .5);
    box-shadow: 6px 6px 6px 4px #0000004d;
    border-radius: 20px;
    overflow: auto;
}

.box p {
    margin: 5px auto;
    width: 90%;
}

.row-izin {
    text-align: left;
    margin-top: 50px;
}

.row-izin p {
    font-size: 18px;
}

@media (max-width : 1650px) {
    .box {
        font-size: 30px;
    }
    .logo {
        width: 40%;
    }
}
@media (max-width : 768px) {
    .box {
        width: 65%;
        font-size: 12px;
        height: 40vh;
    }
    .logo {
        width: 100px;
    }
    h1 {
        font-size: medium;
    }
    .row-izin p {
        font-size: 11px;
    }
}

/* end sec */

.container-promo {
    height: 100vh;
    width: 100%;
    display: flex;
    margin-top: 0rem;
}

.box-promo {
    width: 70%;
    display: grid;
    padding: 0rem 5rem 2rem 5rem;
    justify-items: center;
}

.txt-promo {
    margin: 50px auto;
    text-align: start;
    display: grid;
    align-items: center;
}

.icon {
    width: 60px;
    font-size: 50px;
    color: red;
}

.txt-bold {
    color: red;
    font-weight: bold;
    font-size: larger;
}

@media (max-width : 1650px) {
    .container-promo {
        display: grid;
        justify-content: center;
        justify-items: center;
        margin-bottom: 15rem;
        height: 1200px;
    }
    .box-promo {
        width: 80%;
    }
}
@media (max-width : 768px) {
    .container-promo {
        margin: 0;
        display: grid;
        align-content: center;
        height: 900px;
    }
    .img-kaabah {
        width: 70%;
        height: auto;
    }
    .box-promo {
        width: 80%;
        padding: 0;
        margin-bottom: 0;
    }
    .box-promo table {
        padding-left: 0;
        font-size: 10px;
    }
    td div {
        font-size: 10px;
    }
    .box-promo .txt-promo {
        font-size: 20px;
    }
    .icon {
        width: 28px;
        margin-right: 7px;
        font-size: 25px;
    }
    table {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    p {
        font-size: small;
    }
}

/* section informasi */

.container-info {
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    background-color: rgba(250, 251, 252);
    padding: 5rem 0 5rem 0;
}

.info-row {
    width: 70%;
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.box-txt {
    list-style: none;
    display: flex;
    background-color: #244038;
    border-radius: 8px;
    margin: 1rem;
    width: 560px;
    height: 100px;
}

.info-row ul {
    display: flex;
    justify-content: center;
    align-content: center;
}

.box-txt li {
    padding: 1rem;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: start;
    color: white;
}

li i {
    width: 20px;
    font-size: 30px;
}

@media (max-width : 2200px) {
    .info-row {
        display: grid;
        align-content: center;
        text-align: center;
    }
    .info-row ul {
        align-content: center;
        display: contents;
    }
}

@media (max-width : 1268px) {
    .info-row {
        display: contents;
        align-content: center;
        text-align: center;
    }
    .info-row ul {
        align-content: center;
        display: contents;
    }
}
@media (max-width : 868px) {
    .box-txt {
        width: 313px;
        height: auto;
    }
    .txt-simpulan {
        width: 90%;
    }
}

/* end sec */

/* section thumbnail */

.container-thumb {
    width: 100%;
    margin: 10px auto;
    overflow: unset;
    text-align: center;
    padding-top: 7rem;
}

.thumbnail {
    margin: 5rem 2rem;
    display: flex;
    justify-content: center;
    justify-items: center;
}

.thumb {
    padding: 0 1.5rem;
    float: left;
    width: 100%;
}

.thumb img {
    width: 90px;
}

.thumb .txt-thumb {
    margin-top: 1rem;
}

.thumb .txt-thumb h1 {
    height: 80px;
    margin-bottom: 1rem;
    display: grid;
    align-items: center;
}

@media (max-width : 2000px) {
    .txt-thumb h1 {
        font-size: 29px;
    }
}

@media (max-width : 1650px) {
    .thumb img {
        width: 90px;
    }
    .txt-thumb h1 {
        font-size: 13px;
    }
    .txt-thumb p {
        font-size: 9px;
    }
}

@media (max-width : 868px) {
    .thumbnail {
        display: grid;
    }
    .thumb {
        width: 80%;
    }
    .thumb img {
        width: 30%;
        padding-top: 1rem;
        margin-top: 3rem;
    }
    .thumb .txt-thumb {
        margin: 0;
    }
    .thumb .txt-thumb h1 {
        margin-bottom: 0;
    }
    .thumb .txt-thumb p {
        font-size: 15px;
    }
}

/* end sec */

/* section penjelasan */

.container-penjelasan {
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    background-color: rgba(250, 251, 252);
}
.txt-penjelasan {
    display: grid;
    text-align: center;
    justify-content: center;
    justify-items: center;
    margin: 5rem 0rem 0.5rem 0rem;
    width: 90%;
    font-size: 30px;
}

.box-penjelasan {
    margin: 2rem 0rem 1rem 0em;
    display: flex;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.card { 
    margin: 3rem 1rem 1rem 1rem;
    background-color: white;
    border-radius: 15px;
}

.row-penjelasan {
    width: 250px;
    margin: 4rem 2.1rem;
    padding: 0 1.5rem;
    float: left;
}

.dua {
    display: flex;
}

.card img {
    width: 70px;
}

.txt-row h1{
    margin-top: 2rem;
    font-size: 20px;
}

.logo_cc {
    width: 15%; 
    margin-bottom: 10px;
}

.container-penjelasan .txt-thumb p {
    font-size: 20px;
}

.container-penjelasan .txt-thumb h1 {
    margin: 4px;
    font-size: 25px;
}

.container-penjelasan .txt-thumb {
    width: 60%;
}

@media (max-width: 2400px) {
    .dua {
        justify-content: center;
        align-items: center;
        justify-items: center;
    }
    .info-logo {
        display: grid;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }
}
@media (max-width : 868px) {
    .dua {
        display: grid;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }
    .card {
        display: grid;
        justify-content: center;
        justify-items: center;
    }
    .row-penjelasan {
        width: 65%;
        margin: 32px;
    }
    .row-penjelasan img {
        width: 50px;
    }
    .row-penjelasan h1 {
        font-size: 15px;
    }
    .container-penjelasan .txt-thumb {
        width: 70%;
    }
    .txt-thumb h1 {
        font-size: 18px;
    }
    .logo_cc {
        width: 40%;
    }
}

/* end sec */

/* section footer  */

.container-konsultasi {
    width: 100%;
    height: 50vh;
    display:grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.btn-konsul {
    align-content: center;
    text-align: center;
    border-radius: 10px;
    padding: 8px;
    width: 1000px;
    height: 75px;
    background-color: #fdd100;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: larger;
    transition: all 0.15s ease;
}

.btn-konsul:hover {
    letter-spacing: 5px;
    opacity: 0.8;
}

.btn-konsul:active {
    opacity: 0.5;
}

.wp-image-262 {
    width: 520px;
}

.container-cardKonsul {
    margin: 0;
    padding: 0;
    overflow: auto;
}

.col-konsul {   
    display: flex;
    justify-content: center;
    align-content: center;
}

.row-konsul {
    background-color: var(--bg1);
    color: black;
    width: 50%;
    height: auto;
    margin: 4rem 2rem 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.row-konsul ul {
    margin-top: 1rem;
    margin-left: 1rem;
    line-height: 40px;
    font-size: 25px;
}
.row-konsul h1 {
    text-align: center;
    padding-bottom: 3px;
    height: 85px;
    margin-top: 10px;
}

@media (max-width: 1250px) {
    .btn-konsul {
        width: 80%;
    }
    .row-konsul h1 {
        font-size: 22px;
    }   
    .row-konsul li {
        font-size: 21px;
    } 
}

@media (max-width : 868px) {
    .col-konsul {
        display: grid;
        justify-items: center;
    }
    .row-konsul {
        width: 70%;
    }
    .row-konsul ul {
        margin-top: 0;
        font-size: small;
        line-height: normal;
    }
    .row-konsul li {
        font-size: 17px;
    }
    .row-konsul h1 {
        font-size: 20px;
        padding-bottom: 2rem;
    }
    .container-konsultasi{
        justify-items: center;
        align-content: center;
        row-gap: 50px   ;
    }
    .container-konsultasi img {
        width: 80%;
    }
    .btn-konsul {
        width: 80%;
        height: 36px;
    }
    .btn-konsul:hover {
        letter-spacing: 1px;
    }
}

/* end sec */

footer {
    display: grid;
    justify-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    text-align: center;
    padding: 20px 0;
}

.footer-flex {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-flex img {
    margin: 0 10px;    
}

.footer-media img {
    width: 40px;

}

.footer p {
    color: #555555;
    font-size: 16px;
}

@media (max-width:767px) {
    .footer p {
        font-size: 14px;
    }
}