@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,700;0,800;1,600&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --main-font: 'Sarabun';
    --font-p: 1.2em;
    --font-min: 1.4em;
    --font-bit: 1.6em;
    --font-midium: 1.8em;
    --font-large: 2.2em;
    --main-color: #0E7DEB;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4);
}

.slides-navigation {
    z-index: 5;
}

.slides-navigation .prev,
.slides-navigation .next {
    width: 40px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}

.slides-navigation a.next {
    right: 20px;
    background-image: url(../img/next.png);
}

.slides-navigation a.prev {
    left: 20px;
    background-image: url(../img/prev.png);
}

.titleMessage {
    position: absolute;
    width: 100%;
    height: 250px;
    top: 50%;
    z-index: 5;
    text-align: center;
    margin-top: -125px;
    font-family: var(--main-font);
}

.titleMessage .heading p {
    color: #fff;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 7px;
}

.titleMessage .heading .main {
    font-size: var(--font-large);
    font-weight: 300;
}

.titleMessage .heading .sub {
    font-size: var(--font-bit);
    font-weight: 300;
}

.section {
    padding: 100px 0;
    font-family: var(--main-font);
    font-size: var(--font-p);
}

.aboutImg {
    width: 40vh;
    height: 35vh;
    border-radius: 50%;
    filter: drop-shadow(34px 0px 12px #000000);
    border-image: 15 15px  30px round;
    text-align: center;
    margin-bottom: 15px;
}

.skillsSection,
.contactSection {
    background-color: var(--main-color);
    color: #fff;
}

.skill {
    text-align: center;
    margin-left: 10px;
}

.chart {
    position: relative;
    width: 152px;
    height: 152px;
    display: inline-block;
    text-align: center;
}

.chart canvas {
    position: absolute;
    left: 0;
    top: 0;
}

.chart .percent {
    color: #000;
    line-height: 152px;
    display: inline-block;
    font-size: var(--font-bit);
}

.chart .percent:after {
    content: '%';
}

.squareItem {
    margin-top: 30px;
    position: relative;
}

.squareInnerContainer {
    position: relative;
    padding: 50px 15px 35px;
    text-align: center;
    border: 2px solid #444;
    border-top: none;
}

.squareInnerContainer:before,
.squareInnerContainer:after {
    content: '';
    position: absolute;
    top: 0px;
    width: 30%;
    border-bottom: 2px solid #444;
}

.squareInnerContainer:before {
    right: 0px;
}

.squareInnerContainer:after {
    left: 0px;
}

.squareContent h2 {
    font-size: var(--font-midium);
    margin-bottom: 10px;
    font-weight: 700;
    color: #e74c3c;
}

.squareContent h3 {
    font-size: var(--font-p);
    font-weight: 300;
    margin: 0;
}

.squareIcon {
    position: absolute;
    left: 62%;
    top: -30px;
    width: 35px;
    height: 25px;
    font-size: var(--font-bit);
    margin-left: -20%;
    color: #444;
}

.contactButton {
    color: #fff;
    padding: 15px 20px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #34D32B;
}

.contactButton:hover {
    text-decoration: none;
    background-color: #FFF;
    transition: 1s;
}

.filter a {
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
    padding: 10px 18px;
    display: block;
    border-radius: 6px;
}

.filter li {
    display: inline-block;
    padding: 5px;
}

.filter .current {
    background-color: var(--main-color);
    border-color: #34D32B;
    color: #fff;
}

.filter {
    text-align: center;
    width: 100%;
}

.section .heading {
    text-align: center;
    padding-bottom: 48px;
    width: 100%;
}

.items li {
    display: inline-block;
    padding: 5px;
}

.itemsContainer {
    width: 100%;
    align-items: center;
}

.items li img {
    width: 100vh;
    height: 40vh;

    -webkit-transition: all 0.2s linear, 1s;
    -moz-transition: all 0.2s linear, 1s;
    -o-transition: all 0.2s linear, 1s;
    -ms-transition: all 0.2s linear, 1s;
    -transition: all 0.2s linear, 1s;
}

.items .item {
    position: relative;
    display: block;
    overflow: hidden;
}

.items .icons {
    position: absolute;
    width: 90px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin: -20px auto 0 -47px;
    text-align: center;
    z-index: 3;
}

.items .icons i {
    color: #fff;
    font-size: 20px;
    margin-top: 9px;
}

.items a {
    width: 40px;
    height: 40px;
    background-color: #e74c3c;
    position: relative;
    display: inline-block;

    -webkit-transition: all 0.2s linear, 1s;
    -moz-transition: all 0.2s linear, 1s;
    -o-transition: all 0.2s linear, 1s;
    -ms-transition: all 0.2s linear, 1s;
    -transition: all 0.2s linear, 1s;
}

.items .imageOverlay {
    width: 100vh;
    height: 40vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;

    -webkit-transition: all 0.2s linear, 1s;
    -moz-transition: all 0.2s linear, 1s;
    -o-transition: all 0.2s linear, 1s;
    -ms-transition: all 0.2s linear, 1s;
    -transition: all 0.2s linear, 1s;
}

.items .item:hover .imageOverlay {
    opacity: 1;
}

.items .openButton {
    float: left;
    left: -200px;
}

.items .projectLink {
    float: right;
    right: -200px;
}

.items .item:hover .openButton {
    left: 0px;
}

.items .item:hover .projectLink {
    right: 0px;
}

.items .item:hover img {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -transform: scale(1.05, 1.05);
}

.items {
    padding: 0px;
    padding-bottom: 2px;
}

.copyrightSection {
    background-color: #000;
    color: #fff;
    padding: 30px 5px;
}

.copyrightSection p {
    margin: 0;
}

#navigation {
    width: 100%;
    background-color: var(--main-color);
    padding: 20px 10px;
    z-index: 100;
}

#navigation li {
    padding: 0 10px;
}

#navigation li a {
    color: #FFF;
}

.navbar-brand,
.navbar-brand:hover {
    color: #FFF;
}

.navbar-toggler-icon {
    background: url(../img/portfolio/icons/menu.png);
    background-size: 100%;
    width: 30px;
    height: 30px;
    color: #fff;
}

.fixedNav #navigation {
    position: fixed;
    top: 0;
}

.loader {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.loader .inner {
    width: 100%;
    height: 100%;
    background: url(../img/portfolio/icons/load.gif) center center no-repeat;
}
