/* ===================== HTML LAYOUT ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: arial;
}

:root{
    --bg-color: #000018;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: auto;
    /* scroll-behavior: smooth;
    scrollbar-color: var(--main-color) transparent;
    scrollbar-width: thin; */
}

html, body {
    scroll-behavior: smooth;
    scrollbar-color: var(--main-color) transparent;
    scrollbar-width: thin;
    scrollbar-arrow-color: var(--main-color);
    /* scrollbar-3dlight-color: var(--main-color);
    scrollbar-track-color: var(--main-color); */
}

/* body::-webkit-scrollbar {
    display: none;
} */
/* ====================== END OF HTML LAYOUT ============================== */


/* ============================ HEADER LAYOUT =============================== */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

.header.sticky {
    background: #000018;
}

.logo{
    position: relative;
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}
/* ================================ END OF HEADER LAYOUT ================================== */


/* ============================== LOADING LAYOUT ========================================== */
#mainContent {
    display: none;
}

#loading{
    width: 200px;
    height: 200px;
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
}

#loading h1{
    color: var(--main-color);
    text-align: center;
    font-size: 6rem;
    align-items: center;
}

#loading .circle{
    border-radius: 50%;
    border-left: 4px solid;
    border-right: 4px solid;
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rounds 2s infinite;
}

#loading .color1{
    border-color: var(--main-color);
    width: 220px;
    height: 220px; 
}

#loading .color2{
    border-color: var(--second-bg-color);
    width: 200px;
    height: 200px;
    animation-delay: 0.2s; 
}

#loading .color3{
    border-color: var(--main-color);
    width: 180px;
    height: 180px; 
    animation-delay: 0.4s; 
}

#loading .color4{
    border-color: var(--second-bg-color);
    width: 160px;
    height: 160px; 
    animation-delay: 0.6s; 
}
/* ============================= END OF LOADING LAYOUT */


/* ========================= NAVBAR LAYOUT ================================= */
a{
    text-decoration: none;
}

.navbar{
    position: relative;
}

.navbar a{
    position: relative;
    font-size: 1.7rem;
    color: white;
    font-weight: 500;
    margin-left: 3.5rem;
    transition: 3s;
}

.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
}

#menu-icon{
    position: relative;
    font-size: 3.6rem;
    color: var(--main-color);
    cursor: pointer;
    display: none;
}
/* ================================ END OF NAVBAR LAYOUT ======================================== */

/* ================================================================== */
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
/* =============================================================== */


/* ================================== HERO LAYOUT =========================================== */
.home{
    display: flex;
    align-items: center;
    padding: 0 9%;
    background: url(images/profile.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.home-content{
    max-width: 60rem;
}

.home-content h1{
    position: relative;
    display: inline-block;
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h1 span{
    color: var(--text-color);
}

.home-content .text-animate{
    position: relative;
    width: 32.8rem;
}

.home-content .text-animate h3{
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--main-color);
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -33rem 0;
}

.home.show-animate .home-content .text-animate h3{
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.home-content .text-animate h3::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--main-color);
    z-index: -1;
}

.home.show-animate .home-content .text-animate h3::before{
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home-content p{
    position: relative;
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
}

.btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

.btn-box .btn{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s; 
}

.btn-box .btn:nth-child(2){
    background: transparent;
    color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover{
    color: var(--bg-color);
}

.btn-box .btn:nth-child(2)::before{
    background: var(--main-color);
}

.btn-box .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #000018;
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before{
    width: 100%;
}
.btn-box .btn:hover{
    color: var(--main-color);
}

.home-sci{
    position: absolute;
    bottom: 0.5rem;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover{
    color: #000018;
}

.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before{
    width: 100%;
}

.home-imgHover{
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: transparent;
    border: 2px solid transparent;
    transition: 3s;
}
.home-imgHover:hover{
    background: #000018;
    opacity: .8;
}
/* ================================== END OF HERO LAYOUT ========================================== */


/* ============================================================ ABOUT LAYOUT ================================================================ */
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: #060f2e;
    padding-bottom: 6rem;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
}

.heading{
    position: relative;
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-img{
    position: relative;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img{
    object-fit: cover;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: .2rem solid var(--main-color);
    /* transition: 0.5s ease-in-out; */
}

/* .about-img img:hover {
    transform: scale(1.1);
} */

span{
    color: var(--main-color);
}

.about-img .circle-spin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    animation: aboutSpinner 8s linear infinite;
}

.about-content{
    text-align: center;
    justify-content: center;
    align-items: center;
}

.about-content h3{
    position: relative;
    display: inline-block;
    font-size: 2.6rem;
}

.about-content p{
    position: relative;
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.btn-box.btns{
    display: inline-block;
    width: 15rem;
}

.btn-box.btns a::before{
    background: #060f2e;
}

.btn-holder{
    background: #000018;
    width: 100%;
    height: 10%;
    border: 3px solid black;
}
/* =============================== END OF ABOUT LAYOUT ==================================== */


/* ============================================== SERVICES LAYOUT ============================== */
.services{
    background: #060f2e;
    scroll-behavior: smooth;
}

.services h2{
    position: relative; 
    margin-bottom: 4rem;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services-container{
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.services-container .services-box{
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem #060f2e;
    overflow: hidden;
    display: flex;
}

.services-box img{
    width: 100%;
    object-fit: cover;
    transition: .5s ease;
    border: 3px solid var(--main-color);
    transition: 0.5s ease-in-out;
}

.services-box:hover img{
    transform: scale(1.1);
}

.services-box .services-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}

.services-box:hover .services-layer{
    transform: translateY(0);
}   

.services-layer h4{
    font-size: 2.1rem;
}

.services-layer p{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.services-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
    transition: 0.5s ease-in-out;
}

.services-layer a:hover {
    background: #000018;
    color: var(--main-color);
}

.services-layer a i{
    font-size: 2rem;
    color: var(--second-bg-color);
    transition: 0.5s ease-in-out;
}

.services-layer a i:hover {
    color: var(--main-color);
}
/*  ==================================================== END OF SERVICES LAYOUT ======================================== */


/* =========================================================== TESTIMONIAL LAYOUT ===================================== */
.testimonial{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 5rem;
    background: #060f2e;
}

.testimonial .testimonial-row{
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.testimonial-row .testimonial-column{
    flex: 1 1 40rem;
}

.testimonial-column .title{
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    margin: 0 0 1.5rem 2rem;
}

.testimonial-column .testimonial-box{
    position: relative;
    border-left: .2rem solid var(--main-color);   
}

.testimonial-box .testimonial-content{
    position: relative;
    padding-left: 2rem;
}

.testimonial-box .testimonial-content::before{
    content: '';
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background: var(--main-color);
    border-radius: 50%;
}

.testimonial-content .content{
    position: relative;
    padding: 1.5rem;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
    overflow: hidden;
    z-index: 1;
}

.testimonial-content .content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}
.testimonial-content .content:hover::before{
    width: 100%;
}

.testimonial-content .content .name{
    font-size: 1.5rem;
    color: var(--main-color);
    padding-bottom: .5rem;
}

.testimonial-content .content .name i{
    padding-right: .5rem;
}

.testimonial-content .content h3{
    font-size: 2rem;
}

.testimonial-content .content p{
    font-size: 1.6rem;
    padding-top: .5rem; 
}
/* ================================ END OF TESTIMONIAL LAYOUT ===================================== */


/* ============================= WHY CHOOSE ME LAYOUT ========================================= */
.whychooseme h2{
    position: relative;
    margin-bottom: 5rem;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.whychooseme-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.whychooseme-container .whychooseme-box{
    flex: 1 1 30rem;
    background: #000018;
    padding: 3rem 2rem 4rem;
    text-align: center;
    border-radius: 2rem;
    border: .2rem solid #000018;
    transition: .5s ease; 
    cursor: pointer;
}

.whychooseme-box h3{
    font-size: 2.6rem; 
}

.whychooseme-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem; 
}

.whychooseme-container .whychooseme-box:hover{
    border: 5px solid var(--main-color);
    transform: scale(1.02);
}

.whychooseme-box i{
    font-size: 7rem;
    color: var(--main-color);
}

.whychooseme-box a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--main-color);
    border-radius: 50%;
    transition: 0.5s ease-in-out;
}

.whychooseme-box a:hover {
    transform: scale(1.5);
}

.whychooseme-box a i{
    font-size: 2rem;
    color: #000018;
}
/* ==================================== END OF WHY CHOOSE ME LAYOUT ========================================= */


/* ============================================================== SKILLS LAYOUT ================================================= */
.skills{
    min-height: auto;
    padding-bottom: 7rem;
    background: #060f2e;
}

.skills h2{
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.skills .skills-row{
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.skills-row .skills-column{
    flex: 1 1 40rem;
}

.skills-column .title{
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    margin: 0 0 1.5rem;
}

.skills-column .skills-box{
    position: relative;
}

.skills-box .skills-content{
    position: relative;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    padding: .5rem 1.5rem;
    z-index: 1;
    overflow: hidden;

}

.skills-box .skills-content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

.skills-box .skills-content:hover::before{
    width: 100%;
}

.skills-content .progress{
    padding: 1rem 0;
}

.skills-content .progress h3{
    font-size: 1.7rem;
    display: flex;
    justify-content: space-between;
}

.skills-content .progress{
    color: var(--text-color);
}

.skills-content .progress .bar{
    height: 2.5rem;
    border-radius: .6rem;
    border: .2rem solid var(--main-color);
    padding: .5rem;
    margin: 1rem 0;
}

.skills-content .progress .bar span{
    display: block;
    height: 100%;
    border-radius: .3rem;
    background: var(--main-color);
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(1) .bar span{
    width: 85%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(2) .bar span{
    width: 78%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(3) .bar span{
    width: 65%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(4) .bar span{
    width: 5%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(1) .bar span{
    width: 79%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(2) .bar span{
    width: 100%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(3) .bar span{
    width: 40%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(4) .bar span{
    width: 70%;
}
/* ================================================== END OF SKILLS LAYOUT ============================================ */


/* ================================== PROJECTS LAYOUT =============================================== */
.projects {
    background: #060f2e;
}

.project-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.project-box .numb {
    font-size: 8rem;
    -webkit-text-stroke: .07rem var(--main-color);
    color: transparent;
    line-height: 1;
}

.project-box {
    position: relative;
}

.project-details {
    display: none;
}

.project-details.active {
    display: block;
}

.project-box h3 {
    color: var(--main-color);
    font-size: 3.5rem;
    margin: .8rem 0 2rem;
}

.project-box p {
    font-size: 1.6rem;
}

.project-box .tech {
    margin: 2rem 0;
    color: var(--main-color);
    border-bottom: .1rem solid var(--text-color);
    padding-bottom: 2rem;
}

.project-box .view-project a {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* padding: 1.3rem; */
    font-size: 20px;
    overflow: hidden;
    color: var(--main-color);
    border-radius: 50%;
    border: 2px solid var(--second-bg-color);
    background: var(--second-bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.project-box .view-project a:hover{
    color: #000018;
}

.project-box .view-project a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.project-box .view-project a:hover::before{
    width: 100%;
}

.project-box .view-project a:first-child {
    margin-right: 1.5rem;
}

.project-box .view-project a:first-child i {
    transform: rotate(135deg);
}

.project-box .view-project a span {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%) scale(.9);
    font-size: 1.6rem;
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: .6rem;
    pointer-events: none;
    background: var(--text-color);
    color: #000018;
    opacity: 0;
    /* scale: .9; */
    transition: .2s;
}

/* .project-box .view-project a:hover span {
    top: -70%;
    opacity: 1;
    scale: 1;
} */

.project-box .project-carousel {
    position: relative;
    width: 100%;
    height: 45rem;
    border-radius: 1rem;
    overflow: hidden;
}

.project-carousel .img-slide {
   display: grid;
   grid-auto-flow: column;
   grid-auto-columns: 100%;
   gap: 2rem;
   height: inherit;
   transition: .5s;
   object-fit: cover;
}

.project-carousel .img-item {
    /* border: 2px solid var(--main-color); */
    height: inherit;
    object-fit: cover;
}

.project-carousel .img-item img {
    border: 2px solid var(--main-color);
    display: block;
    width: 100%;
    height: 80%;
    object-fit: cover;
    transition: 0.5s ease-in-out;
}

.project-carousel .img-item img:hover {
    transform: scale(1.1);
    border: 2px solid var(--main-colors);
}

.project-box .navigation {
    text-align: right;
    /* z-index: 99999; */
    /* margin-bottom: 4rem; */
}

.project-box .navigation button {
    display: inline-flex;
    padding: .4rem;
    background: var(--main-color);
    /* border: .2rem solid var(--main-color); */
    border: none;
    border-radius: .6rem;
    font-size: 30px;
    color: #000018;
    cursor: pointer;
    position: relative;
    top: -55px;
}

.project-box .navigation button.disabled {
    /* border-color: var(--second-bg-color); */
    color: var(--main-color);
    border: none;
    background: var(--second-bg-color);
}

.project-box .navigation .arrow-right {
    margin-left: 1rem;
}
/* ================================================================ END OF PROJECTS LAYOUT ======================================= */


/* ============================================================= CONTACT LAYOUT ================================================= */
.contact{
    min-height: auto;
    padding-bottom: 7rem;
    background: #060f2e;
}

.contact form{
    max-width: 70rem;
    margin: 30px auto;
    text-align: center;
}

.contact form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box .input-field{
    width: 49%;
    margin: .8rem 0;
}

.contact form .input-box .input-field input,
.contact form .textarea-field textarea{
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: transparent;
    border-radius: .6rem;
    border: .2rem solid var(--main-color);
}

.contact form .input-box .input-field input::placeholder,
.contact form .textarea-field textarea::placeholder{
    color: var(--text-color);
}

.contact form .textarea-field{
    margin: .8rem 0 2.7rem;
    display: flex;
}

.contact form .textarea-field textarea{
    resize: none;
}

.contact form .btn-box.btns .btn{
    cursor: pointer;
}
/* =================================================================== END OF CONTACT LAYOUT ===================================================== */


/* ================================= SOCIAL MEDIA LAYOUT ================================================== */
.social-media {
    position: absolute;
    width: 170px;
    display: flex;
    justify-content: space-between;
    /* align-items: center;
    place-content: center;
    place-items: center;
    text-align: center; */
}

.social-media a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.social-media a:hover{
    color: #060f2e;
}

.social-media a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.social-media a:hover::before{
    width: 100%;
}
/* ==================================================== END OF SOCIAL MEDIA =========================================================== */


/* =============================== FOOTER STRUCTURE ================================================== */
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--second-bg-color);
    padding: 2rem 9%;
    cursor: pointer;
}

.footer-text p{
    font-size: 1.6rem;
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

.footer-text,
.footer-iconTop{
    position: relative;
}

.footer-iconTop a:hover::before{
    width: 100%;
}

.footer-iconTop a i{
    font-size: 1.5rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i{
    color: var(--main-color);
}
/* =========================================== END OF FOOTER STRUCTURE ==================================== */


/* ================================================================== ANIMATION RELOAD AND SCROLL LAYOUT ================================================ */
.animate{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000018;
    z-index: 98;
}

.animate.home-img{
    width: 45%;
}

.logo .animate,
.navbar .animate,
#menu-icon .animate,
.home.show-animate .animate{
    animation: showRight 1s ease forwards;
    animation-delay: calc(.1s * var(--i));
}

.animate.scroll{
    transition: 1s ease;
    transition-delay: calc(.1s / var(--i));
    animation: none;
    background: #060f2e;
}

.footer .animate.scroll{
    background-color: var(--second-bg-color);
}

.testimonial .testimonial-box .animate.scroll{
    width: 105%;
}

.about.show-animate .animate.scroll,
.testimonial.show-animate .animate.scroll,
.skills.show-animate .animate.scroll,
.footer.show-animate .animate.scroll,
.services.show-animate .animate.scroll,
.whychooseme.show-animate .animate.scroll,
.projects.show-animate .animate.scroll{
    transition-delay: calc(.1s * var(--i));
    width: 0;
}
/* ================================== END OF ANIMATION RELOAD AND SCROLL LAYOUT ================================ */


/* ========================================================== BREAKPOINT ================================= */
/* ===================================== MEDIA QUARIES ==================================== */
@media (max-width: 1200px) {
    html{
        font-size: 55%;
    }    
}

@media (max-width: 991px) {
    #loading h1{
        font-size: 8rem;
    }
    .header{
        padding: 2rem 4%;
    }
    section{
        padding: 10rem 4% 2rem;
    }
    .home{
        padding: 0 4%;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .services-container{
        grid-template-columns: repeat(2, 1fr);
    }
    .whychooseme{
        padding-bottom: 7rem;
    }
    .services{
        padding-bottom: 7rem;
    }
    footer{
        padding: 2rem 4%;
    }
    .footer{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        background: var(--second-bg-color);
        padding: 2rem 9%;
    }
    .footer-text p{
        font-size: 1.6rem;
    }
}

@media (max-width: 850px) {
    .home{
        justify-content: center;
        background: #000018;
    }
    .home-imgHover{
        display: none;
    }
    .home-content{
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;    
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .services-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 788.00px) {
        .header{
        background: #000018;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        z-index: 1;
        background: var(--main-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        transition: .25s ease;
        transition-delay: .25s;
    }
    .navbar.active{
        left: 0;
        transition-delay: 0s;
    }
    .navbar .active-nav{
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: -1; 
        background: #000018;
        border-top: .1rem solid rgba(0, 0, 0, .2);
        transition: .2s ease;
        transition-delay: 0s;
    }
    .navbar.active .active-nav{
        left: 0;
        transition-delay: .2s;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .2s ease;
        transition-delay: 0s;
    }
    .navbar.active a{
        transform: translateX(0);
        transition-delay: .25s;
    }
}

@media (max-width: 768px) {
    .header{
        background: #000018;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        z-index: 1;
        background: var(--main-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        transition: .25s ease;
        transition-delay: .25s;
    }
    .navbar.active{
        left: 0;
        transition-delay: 0s;
    }
    .navbar .active-nav{
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: -1; 
        background: #000018;
        border-top: .1rem solid rgba(0, 0, 0, .2);
        transition: .2s ease;
        transition-delay: 0s;
    }
    .navbar.active .active-nav{
        left: 0;
        transition-delay: .2s;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .2s ease;
        transition-delay: 0s;
    }
    .navbar.active a{
        transform: translateX(0);
        transition-delay: .25s;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .services-container{
        grid-template-columns: repeat(2, 1fr);
    }
    .whychooseme h2{
        margin-bottom: 3rem;
    }
    .project-container {
        grid-template-columns: 1fr;
    }
    .project-container .project-box:first-child {
        order: 1;
    }
}

@media (max-width: 617px) {
    .services-container{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    html{
        font-size: 50%;
    }
    .home-content h1{
        display: flex;
        flex-direction: column;
    }
    .home-sci{
        width: 160px;
    }
    .home-sci a{
        width: 38px;
        height: 38px;
    }
    .home-imgHover{
        display: none;
    }
    .social-media {
        width: 160px;
    }
    .social-media a{
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 462px) {
    html{
        font-size: 40%;
    }
    #loading h1{
        font-size: 11rem;
    }
    .home{
        justify-content: center;
        background: #000018;
    }   
    .home-content h1{
        font-size: 5.2rem;
    }
    .home-imgHover{
        display: none;
    }
    .services{
        padding: 10rem 4% 5rem 5%;
    }
    .project-box .navigation button {
        position: relative;
        top: -30px;
    }
    .contact form .input-box .input-field{
        width: 100%;
    }
    .footer{
        flex-direction: column-reverse;
    }
    .footer p{
        margin-top: 2rem;
    }
} 

@media (max-width: 371px) {
    html{
        font-size: 40%;
    }
    #loading h1{
        font-size: 11.5rem;
    }
    .home{
        justify-content: center;
    } 
    .home-content{
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }  
    .home-content h1{
        font-size: 5rem;
    }
    .home-imgHover{
        display: none;
    }
}

@media (max-width: 312.99px) {
    html{
        font-size: 30%;
    }
    #loading h1{
        font-size: 14rem;
    }
    .home{
        justify-content: center;
    } 
    .home-content{
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }  
    .home-content h1{
        font-size: 5rem;
    }
    .home-imgHover{
        display: none;
    }
}
/* ======================================================= END OF BREAKPOINT ============================================= */
/* ==================================== END OF MEDUA QUARIES ================================================== */


/* =========================================== ANIMATION ================================================= */
@keyframes homeBgText{
    0%, 
    10%, 
    100%{
        background-position: -33rem 0;
    }
    65%,
    85%{
        background-position: 0 0;
    }
}

@keyframes homeCursorText{
    0%, 
    10%, 
    100%{
        width: 0;
    }
    65%,
    75%,
    85%{
        width: 100%;
        opacity: 1; 
    }
    75%,
    81%{
        opacity: 0;
    }
}

@keyframes aboutSpinner{
    100%{
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes showRight{
    100%{
        width: 0;
    }
}

@keyframes rounds{
    0%{
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50%{
        transform: translate(-50%, -50%) rotate(-180deg);
    }

    100%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
}
/* ============================== END OF ANIMATION =================================== */