html {
    width: 100%;
    height: 100vh;
    padding: 0;
    box-sizing: border-box;
}

body{
    zoom: 75%;
    display: flex;
    width: 100%;
    height: 100vh;
    padding: 0;
    box-sizing: border-box;
    zoom: 75%;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    background-color: #F9F9F9;
}

img {
    cursor: pointer;
}

.nav-container {
    background-color: white;
    width: 275px;
    transition: width  0.4s ease, transform 0.5s ease ;
    box-shadow: 12px 0px 20px  #e8e8e8;
    z-index: 100;
    left: 0;
    top: 0;
    position: inherit;
    left: 0;
    height: 175vh ;

}


.back {
    display: flex;
    justify-content: end;
    padding: 10px;
    font-weight: bold;
}
.index {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-inline: 25px;
    margin-top: 15px;

} 

.index a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2E3D96;
    font-weight: 500;
}

.index p {
    margin: 0;
    margin-bottom: 1px;
}


.container {
    width: 100%; /* หรือ 100% ถ้าต้องการ */
    min-width: 530px !important;
    height: 700px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0px 3px 5px #C5C5C5;
    border-radius: 10px;
    display: flex;
    padding: 0;
    margin-bottom: auto;
}


.nav {
    width: 30%;
    height: 100%;   
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 50px;
    padding-top: 100px;
    padding-bottom: 70px;
}

.nav a {
    color: #2E3D96 ;
}

.nav h4 {
    font-size: 20px;
}

.content {
    padding-right: 50px;
    width: 70%;
    height: 100%;
    padding-block: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content h3 {
    padding-bottom: 5px;
    color: #575757 ;
    font-size: 20px;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.content .header {
    width: 100%;
    height: 20%;
    background-color: white;
    border: 1px solid #C5C5C5;
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    padding: 30px;
    justify-content: space-between;
}

.header .arrange {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.img-cropped {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 100%;
    position: relative;
    justify-self: center;
    align-self: center;
}

.img-cropped img {
    width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.info {
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: start;
}

.info h5 {
    padding: 0;
    margin: 0;
    color: #575757;
 
}

.info p {
    padding: 0;
    margin: 0;
    color: #9D9D9D;
}

button[type="button"] {
    width: 80px;
    height: 33px;
    border-radius: 5px;
    border: 1.5px solid #C5C5C5;
    color: #9D9D9D;
    background-color: #F9F9F9;
}
.personal {
    display: flex;
    padding: 30px;
    height: 90%;
    flex-direction: column;
    background-color: white;
    border: 1px solid #C5C5C5;
    border-radius: 3px;

}

.personal .arrange {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: end;
}
.arrange h4 {
    color: #575757;
    font-size: 20px;
    font-weight: 600;
}

.content_ {
    background-color: white;
    display: flex;
    flex-grow: 1;
    width: 100%;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap:20px;
    overflow-y: auto;
    justify-content: center;

}

button.logout {
    color: red;
    min-width: max-content;
    background-color: white;
    border: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-block:18px;
    margin-top: auto;
    font-weight: 600;

}
button.logout:hover {
    color: rgb(236, 0, 0);
    text-shadow: 0px 0px 5px #d8d8d8;
    text-decoration: underline;
}

button p {
    padding:  0;
    margin: 0;
}

.card {
    width: 165.5px;
    height: min-content;
    display: flex;
    padding:2%;
    border: 1px solid #8a8a8a;
    background-color: #f9f9f962;
}

.card:hover {
    cursor: pointer;
    box-shadow: 0 3px 5px rgb(206, 206, 206);
}

.card .img-container {
    width: 100%;
    height: 180px;
    border: 1px solid black;
    margin-bottom: 10px;
}

.card p {
    margin: 0;
    font-size: small;
}

.card .header_ {
    font-weight: 600;
    color: #2E3D96;
}

.name {
    font-weight: 700;
    font-size: 15px !important;
    overflow-wrap:normal !important;
    margin-bottom: 5px !important;
}

@keyframes left-scroll {
    from {
        transform:translateX(100%);
    }

    to {
        transform: translateX(-200%);
    }
}

hr {
    margin: 5px;
}

.breadcrumb {
    display: flex;
    height: fit-content;
    flex-direction: row;
    gap: 5px;
    /* background-color: #F9F9F9;
    border: 1px solid #575757; */
    border-radius: 5px;
    padding: 10px;
    margin-right: auto;
    margin-left: 30px;
    margin-top: 30px;
    
}

.here {
    text-decoration: underline !important;
    font-weight: bold;
    color: #1F1F1F;
}

.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 4.5%;
}

.breadcrumb a {
    cursor: pointer;
    color: #1F1F1F;
    text-decoration: none;
}

.logo-container {
    display: flex;
    flex-direction: row;
    height: 100px;
    justify-content: space-between;
    padding-left: 25px;
    align-items: center;
}

footer {
    background-color:#1F1F1F;
    height: auto;
    width: 100%;
    position:inherit;
    bottom: 0;
    margin-top: 200px;
    padding: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 100;


}

footer .foot-container {
    display: flex;
    flex-direction: column;
    color: #d7d7d7;
    width: 25%;
    height: 100%;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

footer .foot-container hr {
    margin-block: 5px;
    margin-top: 1px;
}

footer .foot-container h5 {
    font-size: medium;
    margin: 0;
}
footer .foot-container p {
    font-size: small;
    margin: 0;
}

footer .foot-container .sub-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
footer .foot-container .sub-container a :hover {
    opacity: 80%;
}

.filter-white {
    filter: invert(96%) sepia(0%) saturate(187%) hue-rotate(218deg) brightness(90%) contrast(95%);
}

.page-container {
    display: flex;
    min-height: 135vh;
    flex: 1;
}