.homepage-bg {
    position: relative;
    display: flex;
    background-image: url('/static/img/office-bg-enhanced-enhanced.png');
    background-repeat: no-repeat;
    object-fit: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.three-btn-holder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 80%;
    margin: 0;
}

.three-btn-holder a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: calc((100% - 30px) / 4);
    height: 80%;
    margin: 30px;
    text-decoration: none;
}

.three-btn-holder a .button-div {
    display: flex;
    flex-direction: column;
    font-size: 30px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
    backdrop-filter: blur(10px);
    /* Apply blur effect */
    background: rgba(255, 255, 255, 0.8);
    color: black;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    /* Light shadow */
    transition: all 0.3s ease-in-out;
}

.three-btn-holder .button-div:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(33, 33, 33, 0.2);
}

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.file-list {
    margin-top: 20px;
}

.file-list ul {
    list-style-type: none;
    padding: 0;
}

.file-list li {
    padding: 5px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.grid-item a {
    text-decoration: none;
    color: #007bff;
}

.grid-item a:hover {
    text-decoration: underline;
}

.button-div img {
    width: 100%;
    height: 35%;
}



/* login signup btn---------------------------------------------- */
.two-btn-holder {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
    gap: 50px;
}

.two-btn-holder a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: calc((100% - 50px) / 2);
    height: 100px;
    text-decoration: none;
}

.two-btn-holder a .signup-login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    color: white;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 83, 126, 0.531);
    margin: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

a .signup-login-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(33, 33, 33, 0.2);
    color: black;
}

/* user detail showing ----------------------------------------- */
.user-detail-holder {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 20px 0 20px;
    overflow: hidden;
}

.user-img-holder {
    height: 60px;
    width: 60px;
    border-radius: 5px;
}

.user-img-holder img {
    width: 100%;
    height: 100%;
    object-position: top;
    object-fit: cover;
    border-radius: 5px;
}

.user-data-holder {
    height: 60px;
    display: flex;
    gap: 10px;
    width: auto;
    transition: width 0.5s linear;
}

.arrow-btn {
    position: relative;
    display: flex;
    height: 60px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.arrow-btn i {
    font-size: 30px;
}



.rotate {
    transform: rotate(180deg);
    /* Rotate arrow when expanded */
}

.user-hidden-data {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow: hidden;
    transition: width 0.5s linear;
}

.user-data-hidden {
    width: 0;
    height: auto;
}

div p {
    margin-bottom: 7px;
}

#editBtn {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: -8px !important;
}


@media screen and (orientation: portrait) {
    .three-btn-holder {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .three-btn-holder a {
        width: 100%;
    }

    .three-btn-holder a .button-div {
        width: 100%;
        height: 400px;
    }

    .three-btn-holder a .button-div img {
        height: 300px;
    }

    .user-detail-holder {
        flex-direction: column;
        width: 100%;
    }

    .user-data-holder {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    #expandedUserDetails {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: fit-content;
    }

    .user-hidden-data {
        flex-direction: column;
        height: 500px;
        width: 100%;
        transition: height 0.5s linear;
    }
    .user-data-hidden{
        height: 0 !important;
        width: 100%;
        transition: height 0.5s linear;
    }
}