/*==========================================
PAI SMART CLASS
STYLE VERSI 2.0
==========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#08131f;
    overflow:hidden;
}

/*==========================================
BACKGROUND
==========================================*/

#landing{

    position:relative;

    width:100%;
    height:100vh;

    background:url("../assets/background/background_sekolah.jpg")
    center center;

    background-size:cover;

    display:flex;
    justify-content:center;
    align-items:center;

}

.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(5,30,55,.55);

}

/*==========================================
SPLASH
==========================================*/

#splash{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:url("../assets/background/background_sekolah.jpg")
    center center;

    background-size:cover;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:9999;

    color:white;

}

#splash::before{

    content:"";

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(15,76,129,.75);

}

#splash>*{

    position:relative;

    z-index:2;

}

.logo{

    width:90px;

}

#splash h1{

    margin-top:20px;

    font-size:38px;

}

#splash p{

    margin-top:8px;

    opacity:.9;

}

/*==========================================
LOADER
==========================================*/

.loader{

    margin-top:35px;

    width:55px;
    height:55px;

    border:5px solid rgba(255,255,255,.25);

    border-top:5px solid white;

    border-radius:50%;

    animation:putar 1s linear infinite;

}

/*==========================================
CONTENT
==========================================*/

.content{

    position:relative;

    z-index:5;

    width:100%;

    max-width:1100px;

    text-align:center;

    color:white;

    padding:30px;

}

.logo2{

    width:80px;

}

.content h1{

    margin-top:10px;

    font-size:42px;

    font-weight:700;

}

.content h3{

    margin-top:10px;

    font-weight:400;

}

.foto2{

    width:150px;
    height:150px;

    margin:25px auto;

    object-fit:cover;

    border-radius:50%;

    border:5px solid white;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.content h2{

    font-size:30px;

}

.content p{

    margin-top:8px;

}

.content span{

    display:block;

    margin-top:5px;

}

#tanggal{

    margin-top:25px;

    font-size:20px;

}

#jam{

    margin-top:5px;

    font-size:38px;

    font-weight:bold;

}

/*==========================================
JUDUL AKSES
==========================================*/

.judulAkses{

    margin-top:35px;

    font-size:22px;

}

/*==========================================
KARTU AKSES
==========================================*/

.akses-grid{

    margin-top:25px;

    display:grid;

    grid-template-columns:repeat(2,280px);

    justify-content:center;

    gap:35px;

}

.akses-card{

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(16px);

    border-radius:20px;

    padding:28px;

    cursor:pointer;

    transition:.35s;

    border:1px solid rgba(255,255,255,.25);

}

.akses-card:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.28);

}

.icon{

    font-size:55px;

}

.akses-card h2{

    margin-top:15px;

    font-size:28px;

}

.akses-card p{

    margin-top:8px;

    opacity:.9;

}

/*==========================================
MODAL LOGIN
==========================================*/

.modal{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.65);

    z-index:99999;

    justify-content:center;

    align-items:center;

}

.modal-content{

    width:420px;

    background:white;

    border-radius:20px;

    padding:35px;

    text-align:center;

    position:relative;

    animation:fadeIn .35s;

}

.modalLogo{

    width:70px;

    margin-bottom:15px;

}

#closeModal{

    position:absolute;

    right:18px;

    top:10px;

    font-size:30px;

    cursor:pointer;

}

.modal input{

    width:100%;

    padding:14px;

    margin-top:15px;

    border-radius:10px;

    border:1px solid #ccc;

    font-size:16px;

}

.modal button{

    width:100%;

    margin-top:20px;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#0F4C81;

    color:white;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

}

.modal button:hover{

    background:#083b66;

}

/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:768px){

.content{

padding:20px;

}

.content h1{

font-size:30px;

}

.content h2{

font-size:24px;

}

#jam{

font-size:28px;

}

.akses-grid{

grid-template-columns:1fr;

}

.modal-content{

width:92%;

}

}
/*====================================
BUTTON UNIVERSAL
====================================*/

.btn{

    border:none;

    border-radius:10px;

    padding:10px 18px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    color:white;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-2px);

    box-shadow:0 5px 15px rgba(0,0,0,.25);

}

/* Biru */

.btn-primary{

    background:#2563eb;

}

/* Hijau */

.btn-success{

    background:#16a34a;

}

/* Merah */

.btn-danger{

    background:#dc2626;

}

/* Abu */

.btn-secondary{

    background:#475569;

}

/* Oranye */

.btn-warning{

    background:#ea580c;

}

/* Ungu */

.btn-purple{

    background:#7c3aed;

}
/*==========================
FOOTER
==========================*/

.footer{
    margin-top:60px;
    padding:30px 20px;
    text-align:center;
    border-top:1px solid #e5e7eb;
    color:#64748b;
    font-size:14px;
    line-height:1.8;
    background:#fff;
}

.footer p{
    margin:4px 0;
}

.footer b{
    color:#2563eb;
}