* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    /* outline: red dashed 1px; */
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
}

/* loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    z-index: 9999; /* Ensure the loading screen appears on top of other elements */
  }

  #loading-screen p {
    position: fixed;
    width: 100%;
    text-align: center;
    top:40%;
    color: white;
    font-size: 30px;
    font-weight: bold;
  }

  /* end of loading screen */

#header {
    width: 100%;
    height: 105vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -70px;
}

.container {
    padding: 70px 5% 70px 5%;
}

nav {
    position: fixed;
    padding-top: 30px;
    width: 90%;
    background-color: black;
    display: flex;
    align-items: left;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 140px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 23px;
    position: relative;
}

nav ul li a:hover {
    color: #0bceaf;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #0bceaf;
    position: absolute;
    left: 0;

    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;

}

.header-text {
    margin-top: 20%;
    font-size: 25px;
}

.header-text h1 {
    font-size: 55px;
    margin-top: 20px;
}

.header-text span {
    color: #0bceaf;
}


.cv {
    display: inline-block;
    margin: 50px 0;
    background-color: #0bceaf;
    color: #fff;
    border: 2px solid #0bceaf;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.5s;
    padding: 10px 23px;
}

.cv:hover {
    background-color: #fff;
    color: #0bceaf;
    transform: translateY(-5px);
}

.hire {
    display: inline-block;
    margin-left: 20px;
    padding: 10px 45px;
    color: #fff;
    background-color: #080808;
    border: 2px solid #0bceaf;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.5s;
}

.hire:hover {
    background-color: #fff;
    color: #0bceaf;
    transform: translateY(-5px);
}

/* ---------about me-------- */
#about {
    padding: 80px 0 0 0;
    color: #ffff;

}

.i {
    color: #0bceaf;
}

.sub-title {
    display: flex;
    justify-content: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.col1 {
    flex-basis: 35%;
}

.col1 img {
    width: 100%;
    border-radius: 20px;
    margin-top: 8rem;
}

.col2 {
    flex-basis: 100%;
    margin-left: 3rem;
}

.row .col2 .paragraph {
    text-align: center;

}


.row1 .col3 {
    margin-left: 15px;

}

.row1 .col4 {
    margin-left: 40px;
    flex-basis: 35%;
}

/* ----------Quality----- */

.sub-title-quality {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    font-size: 55px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 70px;
   
}
.qrow {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.row1 {
    display: flex;
    justify-content: space-between;
    padding: 50px 0px;
    line-height: 3;
    font-size: 15px;
}

.row1 li {
    font-size: 20px;
}

.col3 {
    margin-right: 20px;
    width: 50%;
}

.col4 {
    margin-left: 20px;
    width: 50%;
}

.subtitle2 {

    padding-bottom: 30px;
    ;
}

.point {
    padding-top: 20px;
}

.paragraph {
    font-size: 20px;
    padding-top: 10px;
    margin-bottom: 20px;
    color: #fff;
}

/* -----------skills------- */
.sub-title-skill {
    display: flex;
    justify-content: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 0px;
   
}

#skill {
    padding: 80px 5%;
    color: #ffff;
}

.represent {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
    font-size: 25px;
}

.skillmain {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 50px;
    grid-row-gap: 90px;
}

.skillmain .skillbar .info {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.info p {
    font-size: 30px;
}

.skillbar .info .percent {
    font-weight: bold;
}

.skillbar .bar {
    width: 100%;
    height: 10px;
    position: relative;
    background-color: #ffffff;
    border-radius: 25px;
    margin-top: 5px;
}

.skillbar .bar span {
    width: 50%;
    height: 100%;
    position: absolute;
    background-color: #0bceaf;
    border-radius: 25px;
}

.skillbar .bar .html {
    width: 90%;
    animation: html 3s;
}

@keyframes html {
    0% {
        width: 0;
    }

    100% {
        width: 90%;
    }
}

.skillbar .bar .php {
    width: 80%;
    animation: php 3s;
}

@keyframes php {
    0% {
        width: 0;
    }

    100% {
        width: 80%;
    }
}

.skillbar .bar .css {
    width: 50%;
    animation: css 3s;
}

@keyframes css {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

.skillbar .bar .js {
    width: 65%;
    animation: js 3s;
}

@keyframes js {
    0% {
        width: 0;
    }

    100% {
        width: 30%;
    }
}

.skillbar .bar .wordpress {
    width: 50%;
    animation: wordpress 3s;
}

@keyframes wordpress {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

.skillbar .bar .linux {
    width: 60%;
    animation: linux 3s;
}

@keyframes linux {
    0% {
        width: 0;
    }

    100% {
        width: 40%;
    }
}


.skillbar .bar .react {
    width: 30%;
    animation: react 3s;
}

@keyframes react {
    0% {
        width: 0;
    }

    100% {
        width: 40%;
    }
}



.skillbar .bar .node {
    width: 45%;
    animation: node 3s;
}

@keyframes node {
    0% {
        width: 0;
    }

    100% {
        width: 40%;
    }
}


/* -----services--- */
.sub-title-services {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 30px;

}

.row-service {
    display: flex;
    justify-content: center;
    text-align: center;
}

.row-service h3 {
    padding-top: 30px;
}

.service1 {
    flex-basis: 50%;
    margin-right: 20px;
}

.service2 {
    margin-left: 20px;
    flex-basis: 50%;
}

ion-icon {
    width: 90px;
    height: 80px;
    color: #0bceaf;
    transition: transform 0.5s;
    margin-top: 30px;
}

ion-icon:hover {
    transform: scale(1.2);

}

/* -----------------blog--------- */
.sub-title-blog {
    display: flex;
    justify-content: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding: 30px;
   
}

.blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
}

.blog1 {
    padding-right: 20px;
}

.blog img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 77%;
    transition: transform 0.5s;

}

.i:hover img {
    transform: translateY(-8px);
}

.btn {
    display: block;
    background-color: #080808;
    color: #fff;
    margin: 10px auto 50px auto;
    width: fit-content;
    border: 2px solid #0bceaf;
    padding: 5px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.btn:hover {
    background: #0bceaf;
    color: #fff;
}

/* ---------------contact---------- */
.sub-title-contact {
    display: flex;
    justify-content: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    padding: 70px 0 80px 0;

}
.crow {
    display: flex;
    justify-content: space-between;
}

.left {
    flex-basis: 35%;
}

.right {
    flex-basis: 60%;
}

.left p {
    display: flex;
}

.left ion-icon {
    width: 40px;

}

.social {
    margin-top: 30px;
}

.social a {
    text-decoration: none;
}

.social ion-icon {
    text-decoration: none;
    font-size: 35px;
    color: #fff;
    margin-right: 15px;
    display: inline-block;
    transition: transform 0.5s;
}

.social ion-icon:hover {
    color: #0bceaf;
    transform: translateY(-5px);
}

.right form {
    width: 100%;

}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background-color: #545756;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 23px;
    border-radius: 6px;
}

form .btn {
    padding: 14px 60px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 23px;
    margin-left: 0px;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #545756;
    font-weight: 300;
    margin-top: 20px;
}



/* --------------css for small screen----------- */
@media only screen and (max-width: 600px) {
    #header {
        background-image: url(images/phone-background.png);
    }
    .header-text {
        margin-top: 50%;
        font-size: 16px;
    }
    .header-text h1 {
        font-size: 30px;
    }
    nav{
        position: relative;
        width: 100%;
    }
    nav ul{
        display: none;
        /* navbar responsive */
    }
    .row{
        flex-wrap: wrap-reverse;
    }
    .col1 {
        flex-basis: 100%;
    }
    .col2 {
        margin-left: 0px;
        width: 100%;    
    }
    .col3 ul li{
        font-size: 17px;
    }
    .col4 ul li{
        font-size: 17px;
    }
    .gmail{
        font-size: 13px;
    }
    .skillmain {        
        grid-template-columns: repeat(1, 1fr);
    }
    .crow {
        flex-wrap: wrap-reverse;
    }
    .left {
        flex-basis: 100%;
    }
    
    .right {
        flex-basis: 100%;
    }
    .col1 img {
        margin-top: 0rem;
    }
       
    
}

#msg {
    color: #61b752;
    margin-top: 10px;
    display: block;
    font-style: bold;
}