/* TES 05-08-2026 */

:root{
    --color1: #66371B;
    --color2: #B4B33D;
    --color3: #E3D8C1;
    --color4: #F7F1E1;
    --color5: #81754B;
    --color6: #3F3F2C;
    /*
    color1: rgb(41,54,129)
    color2: rgb(66,116,217)
    color3: rgb(149,204,221)
    color4: rgb(208,231,230)
    */

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.hero{
    min-height: 100vh;
    width: 100vw;
    background-color: var(--color4);
    /*background-color: var(--color4);*/

}
header{
    min-height: 300px;
    height: 700px;
    max-height: 1000px;
    width: 100%;
    overflow: hidden;
    background-image: url("../images/static/background2.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    backdrop-filter: blur(3px);
}
nav{
    min-height: 20%;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 0;
    align-items: center;
    backdrop-filter: blur(5px);
    padding-bottom: 10px;
    overflow-x: 1;
    /*border: 1px solid black;*/
}
nav a{
    color:var(--color3);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 2%;
}
nav a:hover{
    color: var(--color5);
}

.title-container{
    height: 80%;
    width: 100%;
    background-color:  rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    text-align: center;
    /*backdrop-filter: blur(2px);*/
    /*border: 1px solid black;*/
}

.title-text{
    margin-top: 5% ;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    align-items: center;
    color: var(--color4);
}
.sub-title-text{
    font-size: clamp(1rem, 6vw, 3rem);
    color: var(--color3);
    font-weight: 800;
}
.header-logo{
    width: auto;
    height: 100px;
}
.sosmed-link{
    display:flex;
    justify-content:center;
    align-items:center;
    font-size: 1rem;
    width:220px;
    height:55px;
    margin-top: 100px;
    background-color:var(--color2);
    border:none;
    color:var(--color4);
    text-decoration:none;
    border-radius:8px;
    transition: 0.3s;
}
.sosmed-link:hover{
    background-color: var(--color4);
}

/*==============================*/
/*            Main              */
/*==============================*/

main{
    width: 100%;
    min-height: 400px;
    height: auto;
    /*border: 1px solid black;*/
    background-color: var(--color4);
    padding: 5% 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.card{
    background-color:var(--color3);
    height: 300px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
}
.judul-artikel{
    font-size: 2rem;
    font-weight: 700;
    color: var(--color2);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}
.ringkasan{
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color5);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
}

/*==============================*/
/*            Footer            */
/*==============================*/
footer{
    width: 100%;
    min-height: 100px;
    /*border: 1px solid black;*/
    background-color: var(--color5);
    display: flex;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.foot-text{
    font-size: 2rem;
    color: var(--color4);
    justify-self: center;
}