/*****************
**  Box Jawatan **
******************/

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .box-jawatan {
        max-width: calc(100%);
        /* Two boxes per row on smaller screens */
    }
}

/* Media query for even smaller screens */
@media screen and (max-width: 480px) {
    .box-jawatan {
        max-width: calc(100%);
        /* Single box per row on smaller screens */
    }
}

.box-jawatan-container {
    display: flex;
    width: 100%;
    text-align: center;
    align-items: center;
    transition: scale 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 10px;
}

.box-jawatan-container:hover {
    scale: 1.05;
}

.box-jawatan-container:hover > .circle {
    border: #fff 5px solid;
}

.box-jawatan-title>h1 {
    text-align: left;
    font-family: "Century Gothic", 'Helvetica';
    font-size: 24px;
    padding-left: 20px;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 20px;
    /* Create circle */
    background-color: rgba(95, 95, 95, 0.21);
    /* Circle color */
    color: #fff;
    /* Text color */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border 0.1s ease-in-out;
    border: #fff 0px solid;
}

.circle > img {
    height: 40px;
}

.panel-text-container {
    text-align: left;
}

.btn-panel {
    margin-top:30px;
}

/*************************
**  Responsive Settings **
**************************/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .homepage-title h1 {
        color: var(--white);
        font-size: 45px;
        line-height: 40px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 50px;
    }

    .panel-text-container {
        text-align: center;
    }
    
    .btn-panel {
        margin-bottom:30px;
    }

    .box-jawatan-title>h1 {
        font-size: 15px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    body {
        overflow-x: hidden;
    }

    /* .homepage-person {
        display: flex;
        position: absolute;
        height: 100vh;
        right: -30px;
        z-index: 1;
    } */

    .homepage-title h1 {
        /* color: var(--white); */
        /* font-size: 45px; */
        line-height: 40px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 50px;
    }

    .btn-panel {
        margin-bottom:30px;
    }
    
    .box-jawatan-title>h1 {
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .panel-text-container {
        text-align: center;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* .homepage-person { */
        /* text-align: center;
        justify-content: center; */
        /* display: flex; */
        /* position: relative; */
        /* height: 480px;
        z-index: 1; */
    /* } */

    .homepage-title h1 {
        /* color: var(--white); */
        /* font-size: 60px; */
        line-height: 48px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 50px;
    }

    .box-jawatan-title>h1 {
        font-size: 14px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .box-jawatan-title>h1 {
        font-size: 17px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .box-jawatan-title>h1 {
        font-size: 20px;
    }
}