/*
Theme Name: zackruizecao
Theme URI: https://www.zackruizecao.com
Author: Kelvin
Author URI: https:/www.thineover.com
Version: 1.0
*/




:root {
  --font-base: clamp(14px, 0.8vw + 0.5rem, 18px);
  --font-h1: 2.4rem;
  --font-h2: 1.8rem;
  --font-h3: 1.4rem;
  --font-h4: 1.2rem;
  --font-p: 1rem;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, ul, li, ol, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
    text-decoration:none;
}
* {
    box-sizing: border-box;
}
html {
    font-size: var(--font-base);
    scroll-behavior: smooth; /* 启用全局平滑滚动 */
  }





body {
    font-family: 'Poppins', 'Noto Sans SC', "PingFang SC","Helvetica Neue","Helvetica","Arial",sans-serif;
    color: #17294d;
    overflow-x: hidden;
    position: relative;
}
a, input, textarea, button {
    outline: none !important;
}
a {
    color: #17294d;
}
a:focus, a:hover {
    text-decoration: none;
    outline: none;
    cursor: pointer;
}
a, a:visited, a:focus {
    -webkit-transition: all 0.2s ease-out 0s;
       -moz-transition: all 0.2s ease-out 0s;
            transition: all 0.2s ease-out 0s;
}






h1 {
    font-size: var(--font-h1);
    font-weight: 700;
}
h2 {
    font-size: var(--font-h2);
}
h3 {
    font-size: var(--font-h3);
}
h4 {
    font-size: var(--font-h4);
}
h2, h3, h4 {
    font-weight: 500;
}
h1,h2,h3,h4 {
    line-height: 160%;
}
p {
    font-size: var(--font-p);
    line-height: 180%;
}
.en p {
    line-height: 160%;
}
ul {
    list-style: none;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 30px;
    border-radius: 80px;
    cursor: pointer;
}
.btn-blue {
    color: #ffffff;
    background-color: rgba(88,140,219,1);
}
.btn-black {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 1);
}
.btn-blue:hover {
    background-color: rgba(88,140,219,0.8);
}
.btn-black:hover {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
}
.links {
    display: flex;
}
::selection {
    color: #ffffff;
    background-color: #17294d;
}
::-webkit-selection {
    color: #ffffff;
    background-color: #17294d;
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}







.wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
.container {
    max-width: 1920px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
}




@media (min-width: 768px) {
    
    .container {
        padding-left: 48px;
        padding-right: 48px;
    }
    
    
}

@media (min-width: 1200px) {
    
    .btn {
        padding-left: 48px;
        padding-right: 48px;
    }
    .container {
        padding-left: 100px;
        padding-right: 100px;
    }
    
}

@media (min-width: 1440px) {
    
}


    
    
/* Header */



@media (min-width: 1200px) {
    .header {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .header .logo a {
        width: 170px;
        height: 40px;
        background-size: auto 40px;
    }

    
    
}
@media (max-width: 1199px) {
    body.stop {
        overflow-y: hidden;
    }
    .mask {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        opacity: 0;
        overflow-x: hidden;
        text-align: center;
        background-color: #17294d;
        visibility: hidden;
        z-index: 100;
        -webkit-transition: all 1s ease-in-out;
                transition: all 1s ease-in-out;
    }
    

    .mask li {
        display: flex;
        margin: 20px 0;
        justify-content: center;
        visibility:hidden;
        -webkit-animation-duration: 1.0s;
                animation-duration: 1.0s;
        -webkit-animation-fill-mode: both;
                animation-fill-mode: both;
        -webkit-animation-name: fadeInDown;
                animation-name: fadeInDown;
    }
    
    .mask ul li a {
        position: relative;
        -webkit-transform: translateZ(0);
                transform: translateZ(0);
        -webkit-transition: opacity 0.3s ease-in-out;
                transition: opacity 0.3s ease-in-out;
    }
    .mask ul li.active a::after {
        /*content: "";*/
        background-color: #9FD4CA;
        bottom: -8px;
        height: 3px;
        left: 0;
        position: absolute;
        width: 100%;
    }
    .mask .navbar {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
    }
    .mask .navbar ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mask .navbar a {
        display: block;
        color: rgba(255,255,255,0.5);
        font-size: 1.6rem;
        font-weight: 300;
        padding: 0;
        text-decoration: none;
    }
    .mask .navbar .language a {
        font-size: 1.2rem;
    }
    .mask .navbar a:first {
        padding-top: 0;
    }
    .mask.open {
        opacity: 1;
        visibility: visible;
    }
    .mask.open li {
        visibility: visible;
        -webkit-animation-duration: 1.0s;
                animation-duration: 1.0s;
        -webkit-animation-fill-mode: both;
                animation-fill-mode: both;
        -webkit-animation-name: fadeInUp;
                animation-name: fadeInUp;
    }
    .mask.open .nav li:nth-child(1) {
        -webkit-animation-delay: 0.1s;
                animation-delay: 0.1s;
    }
    .mask.open .nav li:nth-child(2) {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }
    .mask.open .nav li:nth-child(3) {
        -webkit-animation-delay: 0.3s;
                animation-delay: 0.3s;
    }
    .mask.open .nav li:nth-child(4) {
        -webkit-animation-delay: 0.4s;
                animation-delay: 0.4s;
    }
    .mask.open .nav li:nth-child(5) {
        -webkit-animation-delay: 0.5s;
                animation-delay: 0.5s;
    }
    .mask.open .nav li:nth-child(6) {
        -webkit-animation-delay: 0.6s;
                animation-delay: 0.6s;
    }
    .mask.open .nav li:nth-child(7) {
        -webkit-animation-delay: 0.7s;
                animation-delay: 0.7s;
    }
    .mask.open .nav li:nth-child(8) {
        -webkit-animation-delay: 0.8s;
                animation-delay: 0.8s;
    }
    .mask.open .nav li:nth-child(9) {
        -webkit-animation-delay: 0.9s;
                animation-delay: 0.9s;
    }
    .mask.open .language li {
        -webkit-animation-delay: 1s;
                animation-delay: 1s;
    }
    
    .mask.open .navbar .active a {
        color: #ffffff;
    }
    

    .toggle-menu {
        display: inline-block;
        position: relative;
        width: 40px;
        height: 40px;
        outline: none;
        padding: 0;
        pointer-events: initial;
        vertical-align: middle;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 200;
    }
    .toggle-menu span {
        content: "";
        display: block;
        width: 32px;
        height: 3px;
        left: 10px;
        position: absolute;
        top: calc(50% - 1px );
        background-color: #17294d;
        -webkit-transform-origin: 50% 50%;
                transform-origin: 50% 50%;
        -webkit-transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear, -webkit-transform 0.2s linear;
    }
    .toggle-menu span:before, .toggle-menu span:after {
        content: "";
        display: block;
        width: 24px;
        height: 3px;
        position: absolute;
        background-color: #17294d;
        -webkit-transform-origin: 50% 50%;
                transform-origin: 50% 50%;
        -webkit-transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear;
                transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear, -webkit-transform 0.2s linear;
    }

    .toggle-menu span:before {
        top: 10px;
    }
    .toggle-menu span:after {
        top: -10px;
    }
    .toggle-menu.active span, .home .header .toggle-menu.active span, .home .header.header-fixed .toggle-menu.active span {
        background-color: transparent;
        -webkit-transition: background 0.2s ease-out;
                transition: background 0.2s ease-out;
    }
    .toggle-menu.active span:before, .toggle-menu.active span:after {
        -webkit-transition: top 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
                transition: top 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
                transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out;
                transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
    }
    .toggle-menu.active span:before {
        top: 0;
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
                transform: rotate3d(0, 0, 1, -45deg);
    }
    .toggle-menu.active span:after {
        top: 0;
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
                transform: rotate3d(0, 0, 1, 45deg);
    }

    .home .header .toggle-menu span, .home .header .toggle-menu span:before, .home .header .toggle-menu span:after,.home .header.header-fixed .toggle-menu.active span:before, .home .header.header-fixed .toggle-menu.active span:after {
        background-color: #ffffff;
    }
    .home .header.header-fixed .toggle-menu span, .home .header.header-fixed .toggle-menu span:before, .home .header.header-fixed .toggle-menu span:after {
        background-color: #17294d;;
    }
}


/* Home ################################ */




@media (min-width: 768px) {

}
@media (min-width: 1200px) {


    
    
}
@media (min-width: 1921px) {

    
    
}





/* Page */

.main {
    min-height: 500px;
}


@media (min-width: 1200px) {


}



/* About ################################ */


@media (min-width: 1200px) {

    
    
}

/* Team ################################ */







/* Projects ################################ */



@media (min-width: 1200px) {
    

}


/* News ################################ */


@media (min-width: 1200px) {

    
}

/* News Post ################################ */


@media (min-width: 1200px) {
    

    
}



.footer {
    color: #ffffff;
    padding: 50px 0;
    background-color: #17294d;
}



@media (min-width: 1200px) {
   .footer {
        padding: 80px 0;
    }

}





