@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap);
html {
    scroll-behavior: smooth;
}

body {
    /* background: url(./icons/bg.jpg); */
    background: url(./icons/bg.jpg);
}

* {
    padding: 0;
    margin: 0;
    font-family: Poppins;
    color: rgb(233, 227, 227);
}

.navbar {
    top: 0px;
    position: fixed;
    display: flex;
    padding: 5px;
    z-index: 2;
    height: 50px;
    width: 100%;
}

.navbar ul {
    position: fixed;
    display: flex;
    right: 10px;
    margin-right: 5px;
    align-items: center;
    top: 10px;
}

.navbar ul li {
    padding-left: 10px;
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 22px;
    padding: 10px;
}

.navbar ul li a:hover {
    transition: 0.2s;
    text-decoration: 6px underline rgb(56 181 124);
    /* text-decoration: 6px underline rgb(0 66 255); */
    ;
}

.logo {
    position: fixed;
    font-size: 35px;
    pointer-events: none;
}

.logo #sp1 {
    color: rgb(76, 75, 75);
    pointer-events: none;
}

.logo #sp2 {
    color: rgb(56 181 124);
    pointer-events: none;
}

.navbar::before {
    content: "";
    background-color: rgb(44, 41, 41);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 70px;
    z-index: -1;
    width: 100%;
}

#hm {
    position: relative;
    display: flex;
    top: 100px;
    padding-bottom: 20px;
}

#hm img {
    width: 55%;
}

#hm .box1 h1 {
    font-size: 65px;
    color: #605e5e;
    padding: 10px;
}

#hm .box1 h1 span {
    color: #605e5e;
}

#hm .box1 h1 span:hover {
    text-decoration: 3px underline rgb(56 181 124);
}

.fa {
    padding: 20px;
    font-size: 25px;
    width: 20px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 60%;
}

.sm a,
.sm button {
    margin: 10px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-github {
    background: white;
    color: black;
}

.wave {
    animation-name: wave;
    animation-duration: 2.1s;
    animation-iteration-count: infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(16deg);
    }
    20% {
        transform: rotate(-6deg);
    }
    30% {
        transform: rotate(16deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(16deg);
    }
    60% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#resume {
    height: 50px;
    background-color: #605e5e;
    border-radius: 15px;
    border: none;
    width: 150px;
}

#resume a {
    font-size: 16px;
    text-decoration: none;
}

#resume:hover {
    background-color: rgb(56 181 124);
}

#hm .box1 p {
    font-size: 40px;
    color: rgb(233, 227, 227);
    padding: 10px;
}

#exp {
    position: relative;
    top: 100px;
}

#exp h1 {
    font-size: 45px;
    text-align: center;
    color: #605e5e;
    text-decoration: 6px underline rgb(56 181 124);
}

.box2 div {
    margin-top: 30px;
}

.job {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.job div {
    margin: 20px 20px;
}

.job img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

.bi {
    width: 20%;
}

.bi h2 {
    font-size: 20px;
}

.bi p {
    font-size: 15px;
}

.ul2 {
    font-size: 20px;
    width: 100%;
}

.job img:hover {
    box-shadow: 2px 2px 10px rgb(182, 182, 182);
}

.skills {
    position: relative;
    top: 70px;
}

.skills h1 {
    font-size: 45px;
    text-align: center;
    color: #605e5e;
    text-decoration: 6px underline rgb(56 181 124);
}

.box4 {
    display: flex;
    flex-direction: column;
    margin: 50px;
    font-size: 25px;
}

.box4 img {
    width: 50%;
}

.sk,
.sk2 {
    display: flex;
    justify-content: center;
}

#blog {
    position: relative;
    top: 90px;
}

#blog h1 {
    font-size: 45px;
    text-align: center;
    color: #605e5e;
    text-decoration: 6px underline rgb(56 181 124);
}

.blog1 {
    display: flex;
    margin-top: 40px;
}

.bl {
    border: 1px solid rgb(182, 182, 182);
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    margin: 15px 15px;
    width: 40%;
}

.bl h3 {
    text-decoration: 3px underline rgb(56 181 124);
}

.bl:hover {
    box-shadow: 2px 2px 10px rgb(182, 182, 182);
}

.a {
    width: 100px;
    display: block;
    margin-top: 10px;
    border: none;
    text-align: center;
    transition: 0.5s;
    border-radius: 10px;
    background-color: rgb(59, 59, 59);
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.a:hover {
    background-color: rgb(56 181 124);
    color: rgb(10, 10, 10);
}

.contact {
    position: relative;
    top: 90px;
}

.contact h1 {
    font-size: 45px;
    text-align: center;
    color: #605e5e;
    text-decoration: 6px underline rgb(56 181 124);
}

.cont1 {
    display: flex;
}

.cont1 span {
    position: relative;
    top: 50px;
    height: 300px;
    width: 1px;
    background: #f5f1f1;
}

.con2 {
    text-align: center;
    margin: auto;
}

.con2 p {
    padding: 20px;
    font-size: 25px;
}


/* for tablets */

@media screen and (max-width: 1100px) {
    #hm {
        flex-direction: column;
        top: 70px;
    }
    #hm .box1 h1 {
        font-size: 60px;
        color: #605e5e;
        padding: 10px;
    }
    #hm .box1 h1 span {
        color: #605e5e;
    }
    #hm .box1 p {
        font-size: 30px;
        padding: 10px;
    }
    #hm img {
        width: 100%;
    }
    #exp {
        position: relative;
        top: 70px;
    }
    .box2 {
        margin-top: 40px;
    }
    .job h3 {
        font-size: 15px;
    }
    .skills {
        top: 70px;
        margin-bottom: 70px;
    }
    .box4 {
        display: flex;
        flex-direction: column;
        margin: 50px;
        font-size: 25px;
    }
    .box4 img {
        width: 50%;
    }
    .sk,
    .sk2 {
        display: flex;
        justify-content: space-between;
    }
    #blog {
        display: block;
        position: relative;
        top: 0px;
    }
    .blog1 {
        padding-top: -10px;
    }
    .bl {
        border: 1px solid rgb(182, 182, 182);
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        margin: 10px 10px;
        font-size: 10px;
    }
    .contact {
        position: relative;
        top: 70px;
    }
}


/* for phones */

@media screen and (max-width: 650px) {
    .navbar {
        position: sticky;
        flex-direction: row-reverse;
    }
    .navbar::before {
        position: fixed;
        height: 60px;
        z-index: 1;
    }
    .navbar .logo {
        position: fixed;
        z-index: 2;
        right: 10px;
    }
    .logo {
        font-size: 29px;
    }
    .navbar ul {
        top: 70px;
        position: absolute;
        display: flex;
        flex-direction: column;
        list-style: none;
        margin-left: 2.5px;
        right: 20px;
        margin-top: 29px;
    }
    .navbar ul li a {
        margin-top: 30px;
        padding-top: 10px;
        padding: 10px;
        display: block;
        color: rgb(182, 182, 182);
    }
    #slidebar #toggle {
        position: fixed;
        top: 10px;
        left: 15px;
    }
    #toggle span {
        height: 5px;
        width: 40px;
        background-color: rgb(182, 182, 182);
        display: block;
        margin-top: 4px;
        z-index: 0;
    }
    #slidebar {
        position: absolute;
        width: 300px;
        height: 100%;
        background: #000000d1;
        left: -330px;
        transition: .4s;
        z-index: 10;
        top: 0px;
    }
    #slidebar.active {
        left: -100px;
        position: fixed;
    }
    #hm {
        flex-direction: column;
        top: 0px;
    }
    #hm .box1 {
        font-size: 30px;
        color: rgb(76, 75, 75);
    }
    #hm .box1 h1 {
        font-size: 60px;
        color: #605e5e;
        padding: 10px;
        padding-top: 15px;
    }
    #hm .box1 h1 span {
        color: #605e5e;
    }
    #hm .box1 p {
        font-size: 30px;
        padding: 10px;
    }
    #hm img {
        width: 100%;
    }
    .fa {
        padding: 15px;
        font-size: 10px;
        width: 27px;
        text-align: center;
        text-decoration: none;
    }
    #resume {
        height: 40px;
        background-color: #605e5e;
        border-radius: 10px;
        border: none;
        width: 130px;
    }
    #resume a {
        font-size: 13px;
        text-decoration: none;
    }
    #exp {
        position: relative;
        top: 70px;
    }
    #exp h1 {
        font-size: 35px;
        text-align: center;
    }
    .box2 {
        margin-left: 0px;
        width: 100%;
    }
    .job {
        display: flex;
        width: 100%;
    }
    .job div {
        margin: 0px 0px;
    }
    .job img {
        width: 40px;
        height: 40px;
    }
    .bi {
        width: 34%;
    }
    .bi h2 {
        font-size: 15px;
    }
    .bi p {
        font-size: 8px;
    }
    .ul2 {
        position: relative;
        right: 0px;
        width: 80%;
        font-size: 13px;
    }
    .box4 {
        /* width: 100%; */
        display: flex;
        flex-direction: column;
        margin: auto;
        font-size: 15px;
    }
    .box4 img {
        width: 60px;
    }
    .sk,
    .sk2 {
        display: flex;
        padding: 20px;
    }
    #blog {
        position: relative;
        top: 0px;
    }
    .blog1 {
        display: flex;
        flex-direction: column;
        width: 90%;
    }
    .bl {
        width: 100%;
    }
    .a {
        font-size: 15px;
        width: 100px;
    }
    .contact {
        position: relative;
        top: 30px;
    }
    .contact h1 {
        font-size: 40px;
        text-align: center;
    }
    .cont2 {
        margin-top: 30px;
    }
    .con2 p {
        padding: 10px;
        font-size: 20px;
    }
}
