html,
body {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.relevant-information {
    height: 50px;
    width: 100%;
    background-color: black;

}

.relevant-information p {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;

}

.relevant-information p:nth-child(1) img {
    width: 14px;
    height: 14px;
}

.relevant-information p:nth-child(2) img {
    width: 12px;
    height: 10px;
}

.relevant-information img {
    width: 15px;
    height: 15px;
}

.container {
    max-width: 960px;
}

.card-deck .card {
    min-width: 220px;
}

header {
    position: fixed;
    top: 0px;
}

nav {
    background-color: white;
}

.navbar-nav {
    display: flex;
    justify-content: right;
}

.navbar-nav li:nth-child(1) a:hover {
    color: #42DDFF;
}

.navbar-nav li:nth-child(2) a:hover {
    color: #1DCBC8;

}

.navbar-nav li:nth-child(3) a:hover {
    color: #FF9900;

}

.navbar-nav li:nth-child(4) a:hover {
    color: #FECA01;

}

.navbar-nav li:nth-child(5) a:hover {
    color: #FE7DC9;

}

.navbar-nav li:nth-child(6) a:hover {
    color: #478DF3;

}

.navbar-brand span {
    color: black;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.navbar-brand p:nth-child(1) {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 21px;
    display: flex;
    align-items: center;
    margin: 0px;
    padding: 0px;
    text-align: justify;
}

.navbar-brand p:nth-child(2) {
    width: auto;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    margin: 0px;
    padding: 0px;
    text-align: justify;
}

.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item a {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 53px;
    color: rgba(0, 0, 0, 0.53);
    padding: 0 15px;
}

.carousel-inner {
    max-height: 750px;
}

.carousel-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 100%;
    height: 100%;
    object-fit: center;
    object-position: center center;
}

.box {
    height: 20px;
}

.box p {
    text-align: center;
    text-justify: auto;
}

.box img {
    width: 120px;
    height: 120px;
}

.introduce {
    background-color: #42DDFF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.introduce p {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 31px;
    line-height: 53px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    text-align: center;
}

.ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.ribbon .box:nth-child(1) {
    background-color: #42DDFF;

}

.ribbon .box:nth-child(2) {
    background-color: #1DCBC8;

}

.ribbon .box:nth-child(3) {
    background-color: #FF9900;

}

.ribbon .box:nth-child(4) {
    background-color: #FECA01;

}

.ribbon .box:nth-child(5) {
    background-color: #FE7DC9;

}

.ribbon .box:nth-child(6) {
    background-color: #478DF3;

}


.About-CYSH {
    background-color: #F0F0F0;
    width: 100%;
    height: 347px;
}

.About-CYSH h1 {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 39px;
    line-height: 53px;
}

.About {
    color: black;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    justify-content: flex-start;
}

.About h1 {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 39px;
    line-height: 53px;
    letter-spacing: 0.02em;
}

.About p {
    width: 480px;
    text-indent: -13px;
    font-family: 'Noto Sans';
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
}

.Vision-CYSH {
    padding-top: 4rem;
}

.arrow1 {
    color: #FFE153;


}

.arrow2 {
    color: #46A3FF;

}

/* .lead {
    text-align: left;
    font-size: 20px;
    font-weight: 800;
    text-indent: -2em;
} */

.right {
    transform: rotate(-45deg);

}



.Vision-box .box {
    height: 321px;
    /* aspect-ratio: 1/1; */

}

.box p {
    font-family: 'Noto Sans';
    font-size: 20px;
    font-weight: 700;
    text-indent: -15px;
}

.box p:nth-child(1) {
    width: 240px;
}

.box p:nth-child(2) {
    width: 220px;
}

.box p:nth-child(3) {
    width: 235px;
}

.box p:nth-child(4) {
    width: 230px;
}

.Vision-box .box:nth-child(1) .bi {
    color: #42DDFF;
    ;
    font-size: 25px;
}

.Vision-box .box:nth-child(2) .bi {
    color: #FE7DC9;
    font-size: 25px;
    margin-right: 20px;
}

.Vision-box .box:nth-child(3) .bi {
    color: #1DCBC8;
    font-size: 25px;
}

.Vision-box .box:nth-child(4) .bi {
    color: #FECA01;
    font-size: 25px;
}

.location {
    background-image: url(img/back.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.locationicon {
    width: 76px;
    height: 68px;
}

.location p {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 39px;
    line-height: 53px;
    color: #F0F0F0;
}

/* .location .background {
  
    position: absolute;
    z-index: -100;
    object-fit: cover;
    height: 1000px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
} */

.location .bi {
    font-size: 60px;
    color: white;
}

.location strong {
    font-size: 40px;
    color: white;
}

.locationimgblock {
    background-color: #9d9d9d;
    width: 880px;
    height: 560px;
}

.locationimg {
    background-color: black;
}

.locationimg:hover {
    filter: alpha(Opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}


footer {
    width: 100%;
    background-color: #7B7B7B;
    padding: 0px 20px 5px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer ul {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-content: space-between;
    flex-direction: column;
    list-style-position: outside;
    list-style: none;
    width: 350px;
}


footer p {
    display: flex;
    flex-direction: row;
    color: white;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    /* background-color: #00E3E3; */
}

li img {
    margin-right: 10px;
    width: 15px;
    height: 15px;
}

ul li:nth-child(3) img {
    margin-right: 10px;
    width: 11px;
    height: 15px;
}

/* footer li p {
    color: white;
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
} */
.community img:hover {
    cursor: pointer;
}

.communitygloball {
    width: 35px;
    height: 35px;
}

.communityyt {
    width: 45px;
    height: 30px;
}

.communityfb {
    width: 33px;
    height: 33px;
}

@media screen and (max-width:1220px) {
    .introduce p {
        font-family: 'Noto Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 25px;
        line-height: 53px;
        letter-spacing: 0.02em;
        color: #FFFFFF;
        text-align: center;
    }


}

@media screen and (max-width:570px) {
    .introduce p {
        font-family: 'Noto Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 13px !important;
        line-height: 53px;
        letter-spacing: 0.02em;
        color: #FFFFFF;
        text-align: center;
    }
}


@media screen and (max-width: 995px) {
    .Vision-box {
        width: 520px;
    }


}

@media screen and (max-width: 1140px) {
    .Vision-box {
        width: 520px;
    }


}

@media screen and (max-width:1160px) {
    .top {
        display: flex;
        flex-direction: column;
    }

    .Information {
        width: 350px;
    }

    .community {
        width: 350px;
    }

}

@media screen and (max-width:1038px) {
    .navbar .container-fluid {
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media screen and (max-width:1013px) {
    .nav-item {
        margin-right: 0px !important;
    }
}

@media screen and (max-width:1400px) {
    .locationimgblock {
        width: 770px;
        height: 490px;
    }
}

@media screen and (max-width:900px) {
    .locationimgblock {
        width: 440px;
        height: 308px;
    }

    .introduce p {
        font-family: 'Noto Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 53px;
        letter-spacing: 0.02em;
        color: #FFFFFF;
        text-align: center;
    }

}

@media screen and (max-width:700px) {
    .introduce p {
        font-family: 'Noto Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 15px;
        line-height: 53px;
        letter-spacing: 0.02em;
        color: #FFFFFF;
        text-align: center;
    }

}

@media screen and (max-width:500px) {
    .relevant-information {
        padding: 0px !important;
    }

    .introduce p {
        font-size: 20px;
        width: 250px;
        line-height: 30px;
        word-wrap: break-word;
    }

    .About p {
        width: 300px;
    }
    .locationimgblock {
        width: auto;
    }
}