* {
    scroll-behavior: smooth;
}
html {
    scroll-snap-type: y mandatory;
}
body {
    font-family: 'Roboto Serif';
}
.active {
    color: red;
}
section {
    height: 100vh;
    position: relative;
    bottom: 0;
    scroll-snap-align: start;
    scroll-padding-top: 50px;
    padding-top: 50px;
    overflow-y: hidden;
}
header {
    font-family: 'roboto',Arial,Helvetica,sans-serif;
    position: fixed;
    z-index: 990;
}
header nav {
    display: flex;
    justify-content: space-between;
}
header nav {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    padding-right: 2rem;
    position: fixed;
    box-shadow: 0px 0px 5px #000;
}
header nav a {
    text-decoration: none;
    color:rgb(10, 61, 93);
    font-size: 0.9rem;
    transition: 0.5s;
}
header nav a:hover {
    color: rgba(229, 107, 31, 0.9);
}
#sm_nav {
    display: none;
}
#btn_open_navsm span:first-child {
    transform-origin: 0% 0%;
}
#btn_open_navsm span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
.slider {
    overflow-x: hidden;
}
.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    padding-top: 50px;
}
.slider .list .item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item .detail {
    position: absolute;
    bottom: 10%;
    width: 800px;
    max-width: 80%;
    margin: auto;
    background-color: rgba(238, 223, 223, 0.2);
    border: none;
    color: #FFF;
    padding: 2rem;
    text-shadow: 0 5px 10px #000;
}
.slider .list .item .detail .title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.6rem;
    margin-bottom: 0.6rem;
}
.slider .list .item .detail .title img {
    width: 20rem;
    border-radius: 20px;
    opacity: 0.9;
}
.slider .list .item .detail .name {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 0.05rem;
    line-height: 3.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(#FFF, rgb(31, 139, 210));
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.slider .list .item .detail figure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.slider .list .item .detail figure figcaption {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3rem;
}
.slider .list .item .detail .desc {
    margin-top: 1rem;
    font-weight: 100;
    font-size: 0.9rem;
    max-width: 50rem;
    text-shadow: 1px 1px 1px #000;
    text-align: justify;
}
.arrows {
    position: absolute;
    top: 80%;
    right: 20%;
    width: 300px;
    max-width: 30%;
    display: flex;
    align-items: center;
}
.arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    box-shadow: 1px 1px 1px #000;
    font-family: monospace;
    color: #d3321d;
    cursor: pointer;
    z-index: 999;
    transition: 0.3s;
}
.slider .list .item:nth-child(1) {
    z-index: 1;
}
.slider .list .item:nth-child(1) .title,
.slider .list .item:nth-child(1) .name,
.slider .list .item:nth-child(1) figure,
.slider .list .item:nth-child(1) .desc {
    transform: translateX(100px);
    filter: blur(50px);
    opacity: 0;
    animation: showDetail 1.2s 1.2s linear 1 forwards;
}
@keyframes showDetail {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item:nth-child(1) .title {
    animation-delay: 0.1s;
}
.slider .list .item:nth-child(1) .name {
    animation-delay: 0.6s;
}
.slider .list .item:nth-child(1) figure {
    animation-delay: 1.1s;
}
.slider .list .item:nth-child(1) .desc {
    animation-delay: 1.6s;
}
/* Action next */
.slider.next .list .item:nth-child(1) > img {
    opacity: 0;
    animation: growImage 2.5s linear 1 forwards;
}
@keyframes growImage {
    to {
        opacity: 1;
    }
}
/* About page */
#about_left {
    width: 65%;
}
.about_desc_top {
    background-color: rgb(10,60,93);
    padding: 2rem 5rem;
    font-size:0.9rem;
}
.about_desc_bottom {
    padding: 0.5rem 5rem;
}
/* History page */
#history_left {
    width: 70%;
    position: absolute;
    z-index: 100;
}
.history_desc {
    background-color: rgb(10,60,93);
    padding: 2rem 5rem;
    color: #FFF;
    font-size:0.9rem;
}
/* Vision page */
#vision_wrapper {
    height:100vh;
}
#vision_desc_wrapper {
    display: flex;
    height: 80%;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}
#vision_left {
    color: #FFF;
    background-color: rgb(10,60,93);
    width: 55%;
    height: 100%;
}
#vision_title {
    padding-top: 3rem;
    padding-bottom:0.3rem;
    padding-left: 3.5rem;
}
#vision_desc {
    text-align: justify;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}
#mission_title {
    padding-top: 0.5rem;
    padding-left: 3.5rem;
}
#mission_list {
    text-align: justify;
    padding: 0.5rem 4.5rem;
}
#vision_middle {
    width:30%;
    height:100%;
    background: url('../../img/page4/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    margin:0 2rem;
}
#vision_right {
    background-color: rgb(238,239,238);
    padding: 2rem 5rem;
    width: 15%;
}
/* Legality page */
#legal_title {
    padding-left: 6rem;
}
#legal_wrapper {
    background-color: rgb(10,60,93);
    width: 90%;
    z-index:100;
}
#legal_statement {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    opacity: 0.6;
    text-align: justify;
    font-size: 0.9rem;
    color: #FFF;
}
#legal_title_desc_wrapper {
    padding-left: 7rem;
    padding-top: 1rem;
    height: 100%;
}
#legal_title_desc {
    color: rgb(229, 107, 31);
    font-weight: 700;
    padding: 0.5rem 0;
}
#legal_desc {
    display: flex;
    font-size: 0.9rem;
    height: 100%;
}
#legal_desc ul {
    margin: 0;
    font-weight: 600;
}
#legal_desc_right {
    padding-left: 2.5rem;
    padding-right: 1rem;
}
/* Client page */
#client_wrapper {
    height: 100vh;
    overflow-y: hidden;
    font-size: 0.9rem;
    display: flex;
}
#client_left {
    padding: 2rem 0 0 5rem;
}
#client_title > div, #client_desc {
    margin-left: 3rem;
}
#client_desc {
    width: 60%;
}
#client_desc p {
    text-align: justify;
}
.client_img {
    height: 40%;
}
#client_img_top {
    background: url('../../img/page7/right-top.png');
    background-size: cover;
    background-repeat: no-repeat;
}
#client_img_bottom {
    background: url('../../img/page7/right-bottom.png');
    background-size: cover;
    background-repeat: no-repeat;
}
#client_bg_top {
    height: 20%;
}
#client_bg_top > div {
    height: 100%;
    background-color: rgb(10,61,93);
}
/* Contact page */
#contact_wrapper {
    padding: 1rem 0 3rem 5rem;
    font-size: 0.9rem;
    width: 50%;
}
#contact_title >div {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    width: 14rem;
    height: 2rem;
    background: url('../../img/page9/contact.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#contact_detail {
    padding-left: 2rem;
    padding-bottom: 1rem;
}
.first_column {
    width: 6rem;
}
#address_wrapper, #phone_wrapper, #email_wrapper {
    display: flex;
}
#email {
    color: blue;
}
#bg_wrapper {
    width: 50%;
}
#contact_img {
    width: 30%;
    height: 60%;
    position: absolute;
    z-index: 100;
    right: 0;
    background: url('../../img/page9/bg.png');
    background-size: cover;
    background-position: bottom;
    border-left: 2rem solid rgb(229, 107, 31);
    border-bottom: 2rem solid rgb(229, 107, 31);
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 150;
    font-family: 'roboto',Arial,Helvetica,sans-serif;
    box-shadow: -1px -1px 10px #d3d1d1;
    background: rgb(54, 60, 63);
    color: rgb(200, 200, 200);
    font-size: 0.6rem;
}
