/* Custom styles that override Bootstrap */
.content-1 video {
    width: 100%;
}

#video,
#video_2 {
    width: 100%;
    z-index: -1;
}

.title-1 div:nth-child(1) {
    font-size: clamp(18px, 2vw, 70px);
    font-weight: bold;
    font-family: "Arial", sans-serif;
    color: #0047bb;
    text-align: left;
    text-wrap: nowrap;
}

.title-1 div:nth-child(2) {
    font-size: clamp(12px, 2vw, 25px);
    font-family: "Arial", sans-serif;
    color: #0047bb;
    text-align: left;
    text-wrap: nowrap;
    padding: 5px 0;
}

.title-2 .title-2-1 div:nth-child(1) {
    font-size: clamp(10px, 1vw, 18px);
    font-family: "Arial Blob", sans-serif;
    text-align: left;
    color: #0047bb;
    font-weight: bold
}

.title-2 .title-2-1 div:nth-child(2) {
    flex: 1;
}

.title-2 .title-2-1:nth-child(3) div:nth-child(1) span::after {
    content: "。";
    font-size: clamp(50px, 1vw, 60px);
    color: black;
    position: absolute;
    top: -50%;
    left: 100%;
}

.title-3 .title-2-2 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.title-3 .title-2-2 img {
    transition: all 0.5s ease-in-out;
    width: 15%;
}

.title-2 .title-2-2 img:hover {
    transform: scale(1.1);
}

.title-2-1-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
}

.title-2-1-1 span {
    width: 100%;
    white-space: nowrap;
    text-align: left;
    display: block;
    color: rgb(109, 109, 109);
    font-size: clamp(8px, 1vw, 16px);
}

.content-4 {
    background: url(../imgs/home/75@2x-8.png) no-repeat;
    background-size: 100% 100%;
}

.item-header {
    background-color: rgb(244, 244, 244);
    border-radius: 1.5rem;
    overflow: hidden;
}

.item-content-date {
    font-size: 1rem;
    color: rgb(109, 109, 109);
    font-family: 'Arial', sans-serif;
}

.item-content-title {
    color: rgb(242, 166, 24);
    font-size: 2rem;
}

.item-content-text {
    color: rgb(109, 109, 109);
    font-size: 1rem;
}

/* Animations */
@keyframes intoAni {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Main content sections */
.content-1 {
    position: relative;
    z-index: 1;
}

.title-1 {
    margin-top: 10%;
}

.title-1 div {
    font-size: clamp(12px, 3vw, 48px);
    line-height: 1.2;
}

.title-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2rem;
    flex: 1;
}

.content-4 {
    padding: 10rem 0rem;
}

/* Video elements */
#video2 {
    z-index: -2;
}

/* Custom styles specific to index page */
.content-1 .video {
    cursor: pointer;
    width: 20rem;
    height: 5rem;
    position: absolute;
    left: 35%;
    bottom: 0rem;
}

.content-1 .video img:nth-child(1) {
    width: 10rem;
    height: 4rem;
    z-index: 2;
    position: absolute;
    top: 1rem;
    left: 4rem;
}

.content-1 .video img:nth-child(2) {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.content-1 .video img:nth-child(3) {
    height: 150%;
    position: absolute;
    top: -1rem;
    right: -5rem;
}

/* News & Events section */
.content-4>div .list .item {
    height: 30rem;
    box-shadow: 0px 0px 5px 0px #cecece;
    transition: 0.5s;
    border-radius: 1.5rem;
    padding: 1rem;
    background-color: white;
    cursor: pointer;
}

.item-content {
    padding: 1rem 0rem;
    transition: all 0.5s ease-in-out;
}

.item-content-title {
    width: 100%;
    height: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.item-content-title img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.title-2-1 {
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.title-2-1 img {
    width: 25%;
}

.title-2-2 {
    text-align: center;
}

.item-content-text {
    padding: 1rem 0rem;
    line-height: 1;
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.content-2 {
    width: 100%;
    background: url(../imgs/home/mhnlGv@2x-8.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* .title-2,.title-3{
    width: 50%;
} */

.content-2-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 70%;
}

@media (max-width: 768px) {
    .content-2-1 {
        top: 10%;
        left: 10vw;
    }

    .content-2-1>div:nth-child(2) {
        margin: 10% 0 !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .title-3 .title-2-2 {
        justify-content: center !important;
    }
}

.content-2-1>div:nth-child(2) {
    width: 100%;
    margin: 0 0 10% 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;

}

#video_2 {
    display: block;
}

.content-3 {
    background: url(/static/imgs/home/75@2x-8.png) no-repeat;
    background-size: 100% 100%;
}

.content-3 .title {
    padding-top: 3rem;
}

.title-3 {
    flex: 1;
}

.title-3 img {
    width: 100%;
}

.content-3 {
    background: url(../imgs/home/75@2x-8.png) no-repeat;
    background-size: 100% 100%;
}

.list {
    height: 30rem;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    overflow-x: auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.list::-webkit-scrollbar{
    display: none;
}

.list_item {
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 0px 13px 2px #ddd;
    transition: 0.3s;
    padding: 10px;
    border-bottom: none;
    overflow: hidden;
    flex-shrink: 0;
}

.list_item:hover {
    transform: scale(1.01)
}

.list_item_img {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.item_title {
    font-size: clamp(12px, 1vw, 16px) !important;
}

.more_news {
    width: 100%;
    /* height: 50px; */
    padding: 10px;
    text-align: center;
}

.more_news a {
    width: 100px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    background: #0047bb;
    color: white !important;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

.more_news a:hover{
    transform: scale(1.01);
}