/* GENERATE STYLES */
@font-face {
    font-family: vazirNormal;
    src: url('../fonts/vazir.eot');
    src: url('../fonts/vazir.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir.woff2') format('woff2'), url('../fonts/vazir.woff') format('woff'), url('../fonts/vazir.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: vazirBold;
    src: url('../fonts/vazir-bold.eot');
    src: url('../fonts/vazir-bold.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir-bold.woff2') format('woff2'), url('../fonts/vazir-bold.woff') format('woff'), url('../fonts/vazir-bold.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

html {
    overflow-x: hidden;
}

/* Page Style */
.ms-left {
    text-align: center;
    width: 100%;
}

.ms-right {
    text-align: center;
    width: 0%;
}

.first-section {
    background: fixed url('../images/header-image.jpg') no-repeat;
    background-size: cover;
    color: aliceblue;
}

.myName,
.myName span {
    font-size: 0;
}

#multiscroll-nav li span {
    margin-left: 1px;
    background-color: #3838387a;
    border: none;
}

#multiscroll-nav li .active span {
    background-color: #383838;
    padding: 5px;
    margin-left: 0px;
}

/* NAVBAR STYLES */
.nav-link {
    position: relative;
    display: inline-block;
    background-color: transparent;
    font-family: vazirBold;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    /* background-color: rgba(0, 0, 0, .7); */
    background-color: #ff6363;
    border-radius: 4px;
    scale: 0;
    transform-origin: right;
    transition: scale 0.25s;
}

.nav-link:hover::before {
    scale: 1;
    transform-origin: left;
}

#holder {
    font-size: 17px;
    font-weight: 100;
}

/* bouncing arrow */

.fa-chevron-down {
    color: #ff6363 !important;
    bottom: 40px;
    margin-left: -30px;
    cursor: pointer;
    position: absolute;
    font-size: 55px;
}

/* Scroll down indicator (bouncing) */

@-webkit-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateX(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-moz-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -ms-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

/* skillbar */
.progress-bar .title-skill {
    font-size: 19px;
    padding: 2px 10px;
    width: 120px;
}

.progress-bar .html5 {
    background-color: #bd0313;
}

.progress-bar .css3 {
    background-color: #0f50c9;
}

.progress-bar .js {
    background-color: #EBB035;
}

.progress-bar .jquery {
    background-color: #06A2CB;
}

.progress-bar .bootstrap {
    background-color: #8f40b1;
}

.progress-bar .php {
    background-color: #606060;
}

.progress-bar .sql {
    background-color: #0f50c9;
}

.progress-bar .percentage-skill {
    font-size: 14px;
    font-family: vazirNormal !important;
}

/* about me */
.about-me-section {
    padding: 0 130px;
}

/* slider style */
/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    height: 400px;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 10px;
    color: rgb(207, 66, 0);
    font-weight: bold;
    font-size: 45px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    color: rgb(207, 66, 0);
    opacity: 0.5;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 1px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.activeSlide,
.dot:hover {
    background-color: #717171;
    opacity: 1;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}


@media only screen and (max-width:810px) {
    .mySlides img {
        height: 100%;
        max-width: 440px;
    }
}

@media only screen and (max-width:768px) {
    .about-me-section {
        padding: 0 0px;
    }
}

@media only screen and (max-width:576px) {
    .progress-bar .title-skill {
        font-size: 15px;
        padding: 1px 10px;
        width: 90px;
    }

    .progress-bar .percentage-skill {
        font-size: 11px;
    }
}

@media only screen and (max-width:500px) {
    .first-section {
        background-attachment: fixed;
        background-attachment: scroll;
    }

    .prev,
    .next {
        top: 100%;
    }
}

@media only screen and (max-width:440px) {
    .mySlides img {
        height: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width:330px) {

    .opaque-bg p,
    #holder {
        font-size: 15px;
    }
}