/* -------------- banner ----------------------------- */

.deptbanner-container {
    margin-top: 2rem;
    text-align: center;
    background-color: rgb(76, 122, 54);
    padding: 10px;
}

.deptbanner-container>* {
    font-family: kanit;
    color: white;
}

.v1-banner-container {
    margin-top: 2rem;
    text-align: center;
    background-color: gold;
    padding: 5px;
}

.v1-banner-container>* {
    margin-left: 20px;
    font-family: kanit;
    color: black;
}

.v2-banner-container {
    margin-top: 2rem;
    text-align: center;
    background-color: silver;
    padding: 5px;
}

.v2-banner-container>* {
    margin-left: 20px;
    font-family: kanit;
    color: black;
}

.v3-banner-container {
    margin-top: 2rem;
    text-align: center;
    background-color: #b87333;
    padding: 5px;
}

.v3-banner-container>* {
    margin-left: 20px;
    font-family: kanit;
    color: white;
}

/* -------------- ข้อมุลกอง ----------------------------- */

.data>.vittaya-container>.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pic-text>.pic,
.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pic-text>.pic>img {
    margin-top: 15px;
    border: 2px solid #333;
    box-shadow: 5px 5px 1px rgba(119, 119, 119, 0.3);
}

#pic01 {
    width: 30%;
    width: 150px;
    height: 200px;
}


.pic-text>.text {
    position: relative;
}

.pic-text>.text::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 80px;
    background-color: rgb(235, 234, 234, 0.3);
    box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.pic-text>.text>* {
    font-family: kanit;
}


#name {
    margin-top: 20px;
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 980px) {

    #pic01 {
        width: 10%;
        width: 100px;
        height: 130px;
    }

    #name {
        font-size: 14px;
    }

    #position {
        font-size: 12px;
    }

    .pic-text>.text::after {
        width: 220px;
    }
}

@media (max-width: 440px) {
    .vittaya-container>.row {
        display: flex;
        flex-direction: column;
    }
}