@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

:root {
    --primary: rgb(31, 82, 153);
    --primaryOppacity: rgba(31, 82, 153, 0.5);
    --secondary: #DF242D;
    --white: #ffffff; 
    --boxShadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

*{
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

section{
    position: relative;
    padding-left: 20%;
    padding-right: 20%;
    margin-top: 100px;
}

.vl{
    border-left: 7px solid black;
    height: auto;
    margin-right: 10px;
}

.title{
    display: flex;
    margin: auto 0;
}

.lihatsemua{
    margin-left: auto;
    padding: 10px 15px 10px 15px;
    color: #fff;
    background-color: var(--primary);
}

.lihatsemua:hover{
    box-shadow: var(--boxShadow);
    cursor: pointer;
}

header{
    background-image: url("../asset/ahy-banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.header-text-wrapper{
    padding: 5% 20%;
}

.header-textbg{
    width: 40%;
    background-color: var(--primaryOppacity);
    padding: 15px;
    font-weight: 700;
    color: #ffff;
    line-height: 150%;
    font-size: 20px;
    margin: 0;
    margin-left: auto;
}





/* --- profil ahy ---*/

.profilbg{
    margin-top: 30px;
}


.profil-nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.profil-nav ul li{
    text-align: center;
    padding: 10px;
    width: 150px;
}

.profil-nav ul .active {
    border-top: 2px solid var(--primary);
    background-color: #F6F6F6;
}

.nav-link:hover{
    cursor: pointer;
    background-color: #F6F6F6;
}


.profil-contentbg{
    background-color: #F6F6F6;
    width: 100%;
    height: auto;
}

.profil-content{
    background-color: #F6F6F6;
    width: 100%;
}

.pc-wrapper{
    display: flex;
    padding: 30px;
    align-items: center;
}

.pc-text{
    margin-right: 50px;
}

.pc-text p{
    line-height: 150%;
    text-align: justify;
    text-justify: inter-word;
}

.pc-text h1{
    margin-top: 10px;
    margin-bottom: 10px;
}


.pc-img-self{
    display: none;
    justify-content: space-between;
}

/* --- instruksi ketum --- */

.instruksi-itembg{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* flex-wrap: wrap;
    justify-content: space-between; */

}

.instruksi-item-wrapper{
    margin: 15px;
    background-color: #F6F6F6;
    
}

.instruksi-item p{
    font-size: 16px;
    text-transform: uppercase;
}

.instruksi-item{
    display: flex;
    padding: 20px;
    justify-content: center;
}

.instruksi-item:hover{
    cursor: pointer;
    background-color: var(--primary);
    color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}



/* Rubrik */

.rubrik-bg{
    background-color: #F6F6F6;
    /* padding: 30px 0; */
}

.rubrik{
    display: flex;
}


input{
    padding: 5px;
    justify-content: center;
    align-items: center;
    
}

input:active{
    border-color: var(--primary);
}

.search-button{
    background-color: var(--primary);
    color: #fff;
   padding: 5px;
   border: 1px solid black;
}

.rubrik-wrapper{
    margin-top: 30px;
    display: flex;
    justify-content: space-between;

}

.rubrik-item{
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid black;
}

.rubrik-item img{
    border-radius: 5px;
    width: 100%;
}

.rubrik-desc{
    padding: 15px 15px 0 15px;
}

.rubrik-desc h3{
    color: var(--primary);
    margin-top: 10px;
    margin-bottom: 5px;
}

.rubrik-item:hover{
    cursor: pointer;
    border: 1px solid var(--primary);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* pidato */

.pidato-wrapper{
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.pidato-wrapper iframe{
    border-radius: 5px;
    width: 100%;
    margin-bottom: 5px;
}

.pidato-item a{
    color: black;
    text-decoration: none;
}

.pidato-item:hover{
    cursor: pointer;
    color: var(--primary);
}

.pidato-item{
    margin: 10px;
    padding: 15px;
}


/* quote */

.quote-bg{
    background-color: #F6F6F6;
}

.quote{
    position: relative;
    background-color: #F6F6F6;
    padding: 100px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.diskusi-button-wrapper{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.diskusi-button{
    align-items: center;
    display: flex;
    flex-shrink: 1;
    width: auto;
    padding: 10px 15px 10px 15px;
    color: #fff;
    background-color: var(--primary);
}

.diskusi-button p{
    margin-right: 10px;
}

.diskusi-button:hover{
    box-shadow: var(--boxShadow);
    cursor: pointer;
}



/* kenal */

.kenal-wrapper{
    /* position: relative; */
    display: flex;
    margin-top: 30px;
}

.ahy-img{
    text-align: end;
}

.ahy-img img{
    margin-left: auto;
    position: absolute;
    top: 20px;
    right: -80px;
    width: 40%;
}

.kenal-sosmed{
    display: flex;
    align-items: center;
    margin-left: auto;
}

.kenal-sosmed img{
    height: 54px;
    width: 54px;
}

.kenal-sosmed i{
    color: var(--primary);
    font-size: 60px;
    margin-left: 10px;

}


/* responsif */


@media (max-width: 1396px){
 
    .pc-wrapper{
        display: block;
    }    

    .pc-img {
        display: none;
    }

    .pc-img-self{
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }

    .pc-img-self img{
        width: 30%;
        height: auto;
    }

    .pc-text{
        margin: 0;
    }

    .instruksi-itembg{
        grid-template-columns: repeat(2, 1fr);
    }

    .ahy-img img{
        top: 150px;
        right: -100px;
        width: 40%;
    }

    
   

}

@media (max-width: 1180px){

    section{
        padding: 0 10%;
    }
   

    .header-textbg{
        margin-left: 0;
        width: 100%;
    }

    .quote{
        padding: 30px;
    }

    
    
}

@media (max-width: 760px){

    .profilbg{
        flex-direction: column-reverse;

    }

    .profil-nav ul{
        display: block;
        width: 100%;
    }

    .profil-nav ul li{
        margin: 0;
        width: 100%;
        padding: 10px 0;
    }

    .rubrik-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        
    }

    .pidato-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .ahy-img img{
        top: 300px;
        right: -40px;
        width: 40%;
    }

        

    
   
    
}

@media (max-width: 650px){
    .instruksi-itembg{
        grid-template-columns: repeat(1, 1fr);
    }

    .rubrik-wrapper{
        display: block;
    }

    .pidato-wrapper{
        display: block;
    }
    
}

@media (max-width: 556px){
    .ahy-img{
        display: none;
    }
}
