/* edit bootstrap */
.navbar-toggler-icon{
    color: black !important;
    background-image: url(../imgs/menu.png) !important;
}

/* public */
body, html{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

section{
    /* background-color: gray; */
    margin-top: 90px;
    padding: 0;
}

section:not(.main-visual){
    margin: 0;
    padding: 10vw 15vw 2vw 15vw;
    /* background-color: white; */
}

@media (max-width: 768px) {
    section:not(.main-visual){
        margin: 0;
        padding: 10vw 5vw 2vw 5vw;
        /* background-color: white; */
    }
}

section h2{
    text-align: center;
    margin-bottom: 3rem;
}

p{
    font-size: 18px;
    line-height: 1.6;
}

.bg-08white{
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1vw;
}

/* nav */
.navbar-brand img{
    max-width: 4rem;
    min-width: 2rem;
    max-height: 4rem;
    min-height: 2rem;
    width: 5vw;
    height: 5vw;
    margin: auto 0;
}

.navbar-brand .main-title{
    font-size: clamp(0.8rem, 2vw, 1.5rem);
}

.navbar-brand .sub-title{
    font-size: clamp(0.4rem, 1vw, 0.8rem);
}

/* main visual */
.main-visual{
    aspect-ratio: 2.3;
    position: relative;
}

.main-visual-title{
    position: absolute;
    bottom: -7.5%;
    right: -15%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4.5vw;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.visual-image-wrapper{
    width: 70%;
    height: 80%;
}

.slick-list, .slick-track{
    width: 100%;
    height: 100%;
}

.visual-image{
    width: 100%;
    height: 100%;
    background-color: white;
}

.visual-image img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* history */
.table-wrapper{
    height: 300px;
}

.date{
    width: 150px;
    vertical-align: middle
}

.table-wrapper td{
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .table-wrapper td{
        display: block;
    }

    .table-wrapper td:not(.date){
        padding-left: 2rem !important;
    }
}

/* about */
.about-wrapper{
    max-width: 1260px;
}

.about-img img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

#about h3{
    margin: 1.5rem;
}

/* organogram */
.organogram-wrapper{
    width: 100%;
}

.organogram-wrapper img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

/* introduce */
.org{
    margin: 2rem 0 5rem 0;
}

.org h3{
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.org div{
    padding: 0;
}

.org-img{
    position: relative;
    padding: 2px !important;
}

.org-img img{
    width: 100%;
    aspect-ratio: 1.5;
    display: block;
    margin: 0 auto; /* Center the image */
    object-fit: cover;
    object-position: center;
}

.org-img p{
    position: absolute;
    bottom: 0;
    left: 2px;
    width: calc(100% - 4px);
    padding: .3rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    font-size: min(2vw, 16px);
}

/* contact */
.contact-campus{
    margin: 2rem 0;
}

.contact-campus h3{
    padding: 2rem 0 1vw 0;
    border-bottom: 1px solid #ccc;
}

/* footer */
footer{
    background-color: #f8f9fa;
    padding: 1rem 0;
}

/* background image */
.background-image {
    position: fixed;
    top: 5%;
    bottom: 0;
    left: -60px;
    width: 180px;
    z-index: -1;
    background-image: url(../imgs/background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.background-image::before{
    content: '';
    position: absolute;
    top: 0;
    left: 40%;
    width: 100%;
    height: 100%;
    background-image: url(../imgs/background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.background-image::after{
    content: '';
    position: absolute;
    top: 0;
    left: 80%;
    width: 100%;
    height: 100%;
    background-image: url(../imgs/background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}