
/* 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(12px,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(8px,1vw,20px);
    font-family: "Arial", sans-serif;
    color: black;
    text-align: left;
    text-wrap: nowrap;
    padding:5px 0;
}

.title-2 .title-2-1 div:nth-child(1) {
    height: 50%;
    font-size: clamp(60px, 1vw, 70px);
    font-family: "Arial", sans-serif;
    text-align: center;
    color: black;
    line-height: 1;
}

.title-2 .title-2-1 div:nth-child(2) {
    height: 2px;
    background: rgb(234, 144, 20);
}

.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-2 .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 {
    font-size: clamp(10px,0.8rem, 30px);
}

.title-2-1-1 span {
    width: 100%;
    white-space: nowrap;
    text-align: center;
    display: block;
}

.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{
    max-height: 140px;
    margin-top: 10%;
}

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

.title-2{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.title-2 div {
    min-width: 0;
    width: 50%;
}

.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;
}

.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 {
    position: relative;
}

.content-2-1 {
    position: absolute;
    top: 5%;
    left: 15%;
    width: 30%;
    z-index: 1;
}

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

.content-2-1>div:nth-child(2){
    width: 100%;
    margin: 5% 0;
}

#video_2{
    display: block;
}

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

.content-3 .title{
    padding-top: 20px;
}

.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);
}
