@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection{
    background-color: #7c7c7c;
}

body{
    font-family: "Poppins", sans-serif !important;
    background-color: #060e11 !important;
}

::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background: transparent;
}
  
::-webkit-scrollbar-thumb {
    background: #1df7f3b9;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #1df7f38c;
}

:root {
    --blue: #08d9d6;
    --light: #1df7f4;
    --gray: #d0d0d0;
}

#blobSvg{
    position: absolute;
    z-index: -100;
    top: 100px;
}

#loadanimation{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #060e11;
    z-index: 9999;
    position: fixed;
}

#loadanimation h1{
    color: white;
    font-size: 70px;
}

#colorbluespan{
    color: #08d9d6;
    font-weight: 600;
}

#scroll{
    position: fixed;
    right: 30px;
    bottom: 30px;
}

#scroll button{
    background-color: #d0d0d0;
    padding: 5px 8px;
    padding-top: 10px;
    border: none;
    transition: all 0.3s ease 0s;
}

#scroll button:hover{
    background-color: #d0d0d0b4;
    transition: all 0.3s ease 0s;
}

#scroll ion-icon{
    color: #060e11;
    width: 20px;
    height: 20px;
}

@media only screen and (max-width: 768px){
    #loadanimation h1{
        font-size: 50px;
        margin-bottom: 60px !important;
    }

    #scroll{
        right: 3%;
    }
}

    header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 5%;
        position: sticky;
        top: 0;
        background: linear-gradient(#060e11, #060e11a4);
        z-index: 999;
    }

    header ul{
        margin-left: -20px;
    }

    #name{
        cursor: pointer;
        color: white;
        text-shadow: 1px 1px 0px var(--light);
    }

    .navlinks{
        display: inline;
        position: relative;
        top: 5px;
        padding: 0px 16px;
    }

    .navlinks a{
        color: white;
        text-decoration: none;
        font-size: 20px;
        font-weight: 500;
        transition: all 0.1s ease 0s;
    }

    .navlinks a:hover{
        text-shadow: 1px 1px 0px var(--light);
        transition: all 0.1s ease 0s;
    }

    .icons ion-icon{
        color: #08d9d6;
        width: 26px;
        height: 26px;
        margin-right: 13px;
        cursor: pointer;
        border-radius: 10px;
        padding: 5px 5px;
        transition: all 0.3s ease 0s;
        border: 1px solid #08d9d6;
        box-shadow: 0px 0px 7px #08d9d6;
    }

    .icons ion-icon:hover{
        background-color: #08d9d6;
        color: white;
        transition: all 0.3s ease 0s;
    }

    nav{
        display: none !important;
        z-index: 999 !important;
    }

    .iconmobile{
        width: 35px;
        height: 35px;
        color: white;
    }

    .iconmobile:hover{
        color: #08d9d6;
    }

    #namemob{
        font-size: 30px !important;
        font-weight: lighter;
        color: white;
        text-decoration: none;
        text-shadow: 1px 1px 0px var(--light);
    }

    #canvas{
        position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #060e11 70%, #08d9d6 50%);
        z-index: 9999 !important;
        display: none;
    }

    #canvasheader{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 20px 4%;
    }

    #linksmobile{
        margin-left: 5%;
    }

    #first{
        margin-top: 35px !important;
    }

    #linksmobile a{
        display: block;
        margin-top: 15px;
        text-decoration: none;
        color: white;
        font-size: 20px;
    }

    #canvas .icons{
        margin-left: 5%;
        margin-top: 40px;
    }

    @media only screen and (min-width: 768px){
        #canvas{
            display: none !important;
        }
    }

    @media only screen and (min-width: 768px) and (max-width: 1000px){
        #name{
            font-size: 30px;
        }

        .navlinks a{
            font-size: 18px;
        }

        .navlinks{
            padding: 0 8px;
        }

        .icons ion-icon{
            width: 22px;
            height: 22px;
        }
    }

    @media only screen and (max-width: 767px){
        nav{
            display: flex !important;
            justify-content: space-between;
            align-items: center;    
            width: 100%;
            padding: 20px 4%;
            position: sticky;
            top: 0;
            background: linear-gradient(#060e11, #060e11a4);
        }

        header{
            display: none;
        }
    }

#section1{
    display: flex;
    flex-direction: row;
    margin: 0px 5%;
}

#textside{
    width: 49%;
}

#hi{
    color: white;
    font-size: 90px;
    padding-top: 180px;
}

.coloreffect{
    color: #08d9d6;
    font-weight: 600;
}

#developer{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #08d9d6;
    margin-top: 20px;
    font-size: 40px;
}

#imageside{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #060e11 50%, #08d9d6 50%);
}

#tarik{
    width: 630px;
    filter: drop-shadow(0px 0px 10px #242424);
}

@media only screen and (max-width: 1300px) and (min-width: 900px){
    #hi{
        font-size: 75px;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 900px){
    #tarik{
        width: 500px;
    }
}

@media only screen and (max-width: 899px) and (min-width: 600px){
    #tarik{
        width: 400px;
    }

    #hi{
        font-size: 65px;
        padding-top: 150px;
    }
}

@media only screen and (max-width: 400px) {
    #blobSvg{
        top: -70px !important;
        width: 70% !important;
    }
}

@media only screen and (max-width: 600px){
    #imageside{
        position: absolute;
        width: 80%;
        opacity: 0.6;
        left: 20%;
    }

    #blobSvg{
        top: 40px;
        width: 40%;
    }

    #tarik{
        width: 290px;
    }

    #hi{
        font-size: 60px;
        padding-top: 100px;
    }

    #developer{
        font-size: 35px;
    }

    #textside{
        z-index: 100;
        width: 100%;
    }
}

@media only screen and (max-width: 700px) and (min-width: 600px){
    #tarik{
        width: 350px;
    }
}

/* LOADER */

#preloader{
    background: #060e11;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 999;
} 

.loader {
    width: 48px;
    height: 48px;
    display: flex;
    animation: rotate 1.5s infinite linear;
    position: relative;
    top: 45%;
    left: 46%;
  }
  .loader:before,
  .loader:after {
    content:"";
    flex:1;
    background:#fff;
    animation: mvx 0.5s infinite linear alternate;
  }
  .loader:before {
    background: #08d9d6;
    animation-name:mvrx;
  }

  @keyframes rotate {
    100% {transform: rotate(360deg)}
  }
  @keyframes mvx {
    0% {transform: translateX(-15px)}
    100% {transform: translateX(15px)}
  }
  @keyframes mvrx {
    0% {transform: translateX(15px)}
    100% {transform: translateX(-15px)}
  }
  
@media only screen and (max-width: 600px){ 
    #preloader{
        background-size: 20% !important;
    }
}

/* LOADER END */

.heading{
    text-align: center;
    margin: 100px 0px;
    color: white;
    font-size: 80px;
    text-shadow: 3px 1px 0px #08d9d6;
}

@media only screen and (max-width: 768px){
    .heading{
        font-size: 50px;
        margin: 80px 0px;
        text-align: left;
        margin-left: 5%;
    }
}

#about{
    margin: 30px 5%;
    display: flex;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='700' preserveAspectRatio='none' viewBox='0 0 1440 700'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1039%26quot%3b)' fill='none'%3e%3cpath d='M53 700L753 0L829.5 0L129.5 700z' fill='url(%26quot%3b%23SvgjsLinearGradient1040%26quot%3b)'%3e%3c/path%3e%3cpath d='M513.2 700L1213.2 0L1357.2 0L657.2 700z' fill='url(%26quot%3b%23SvgjsLinearGradient1040%26quot%3b)'%3e%3c/path%3e%3cpath d='M1347 700L647 0L111.5 0L811.5 700z' fill='url(%26quot%3b%23SvgjsLinearGradient1041%26quot%3b)'%3e%3c/path%3e%3cpath d='M935.8 700L235.79999999999995 0L-448.20000000000005 0L251.79999999999995 700z' fill='url(%26quot%3b%23SvgjsLinearGradient1041%26quot%3b)'%3e%3c/path%3e%3cpath d='M850.2523527996354 700L1440 110.25235279963545L1440 700z' fill='url(%26quot%3b%23SvgjsLinearGradient1040%26quot%3b)'%3e%3c/path%3e%3cpath d='M0 700L589.7476472003646 700L 0 110.25235279963545z' fill='url(%26quot%3b%23SvgjsLinearGradient1041%26quot%3b)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1039'%3e%3crect width='1440' height='700' fill='white'%3e%3c/rect%3e%3c/mask%3e%3clinearGradient x1='0%25' y1='100%25' x2='100%25' y2='0%25' id='SvgjsLinearGradient1040'%3e%3cstop stop-color='rgba(8%2c 217%2c 214%2c 0.3)' offset='0'%3e%3c/stop%3e%3cstop stop-opacity='0' stop-color='rgba(8%2c 217%2c 214%2c 0.3)' offset='0.66'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='100%25' y1='100%25' x2='0%25' y2='0%25' id='SvgjsLinearGradient1041'%3e%3cstop stop-color='rgba(8%2c 217%2c 214%2c 0.3)' offset='0'%3e%3c/stop%3e%3cstop stop-opacity='0' stop-color='rgba(8%2c 217%2c 214%2c 0.3)' offset='0.66'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
}

#descside{
    width: 60%;
    
}

#descside p{
    color: white;
    font-size: 23px;
    width: 80%;
    padding-top: 15px;
}

#descside button{
    padding: 5px 30px;
    border: 2px solid #08d9d6;
    background-color: #08d9d6;
    font-size: 20px;
    color: #060e11;
    font-weight: 600;
    transition: all 0.3s ease 0s;
}

#descside button:hover{
    background: transparent;
    color: #08d9d6;
    transition: all 0.3s ease 0s;
}

#descside h2{
    color: white;
    text-shadow: 2px 1px 0px #08d9d6;
}

#awardside{
    width: 40%;
}

#awardside h2{
    color: white;
    text-shadow: 2px 1px 0px #08d9d6;
}

.awarddiv{
    display: flex;
    margin-top: 20px;
}

.awarddiv h4{
    padding-left: 15px;
    color: white;
}

.awarddiv ion-icon{
    width: 30px;
    height: 30px;
    color: #08d9d6;
}

.smaller{
    color: #08d9d6;
    font-size: 16px;
    padding-left: 6px;
}

#awards{
    margin: 30px 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

#awards div{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    border-bottom: 2px solid #08d9d68f;
    padding: 20px;
    background: linear-gradient(to left, #08d9d633 20%, #00000000 70%);
}

#awards ion-icon{
    color: #08d9d6;
    width: 40px;
    height: 40px;
}

#awards .smaller{
    padding-left: 0px !important;
}

#awards h4{
    color: white;
}

#awards h1{
    color: #08d9d6;
}

@media only screen and (min-width: 768px) and (max-width: 1000px){
    #descside p{
        font-size: 18px;
        padding-top: 0;
    }
}

@media only screen and (max-width: 767px){
    #about{
        flex-direction: column;
        margin: 20px 5% ;
    }

    #descside{
        width: 98%;
    }

    #descside p{
        width: 90%;
        font-size: 18px;
    }

    #descside button{
        font-size: 18px;
    }

    #awardside{
        width: 80%;
        margin-top: 50px;
    }

    #awards h1{
        font-size: 40px;
    }
}

#skills{
    display: flex;
    margin: 10px 5%;
    /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='2000' height='550' preserveAspectRatio='none' viewBox='0 0 2000 550'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1028%26quot%3b)' fill='none'%3e%3cpath d='M 0%2c83 C 80%2c109 240%2c213.4 400%2c213 C 560%2c212.6 640%2c75.6 800%2c81 C 960%2c86.4 1040%2c253.6 1200%2c240 C 1360%2c226.4 1440%2c27.8 1600%2c13 C 1760%2c-1.8 1920%2c135.4 2000%2c166L2000 550L0 550z' fill='rgba(8%2c 217%2c 214%2c 0.14)'%3e%3c/path%3e%3cpath d='M 0%2c303 C 133.4%2c328.8 400.2%2c435.6 667%2c432 C 933.8%2c428.4 1067.4%2c285 1334%2c285 C 1600.6%2c285 1866.8%2c402.6 2000%2c432L2000 550L0 550z' fill='rgba(8%2c 217%2c 214%2c 0.13)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1028'%3e%3crect width='2000' height='550' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e"); */
}

#frontend{
    width: 50%;
    margin-left: 4%;
}

#backend{
    width: 50%;
}

.progresses{
    display: flex;
    width: 90%;
    height: 20px;
    margin-top: 10px;
}

.skillname{
    color: white;
    margin-top: 30px;
}

.completed{
    background-color: #08d9d6;
}

.left{
    background-color: #d0d0d0;
}

@media only screen and (max-width: 767px){
    #skills{
        flex-direction: column;
    }

    #frontend, #backend{
        width: 100%;
    }

    #frontend{
        margin-top: -40px;
        margin-left: 0;
    }

    .progresses{
        width: 100%;
    }
}


#projects{
    margin: 20px 5%;
}

#projects1, #projects2{
    display: flex;
}

#projects2{
    margin-top: 40px;
}

.projectcard{
    margin: 0px 20px;
    box-shadow: 7px 4px 0px #08d9d680;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.projectcard:hover{
    box-shadow: none;
    transition: all 0.3s ease 0s;
}

.projectcard img{
    transition: all 0.3s ease 0s;
    width: 100%;
}

.projectcard img:hover{
    opacity: 0.75;
    transition: all 0.3s ease 0s;
}

.projectcard h2{
    text-align: center;
    padding: 20px 0px;
    background-color: #08d9d6;
    color: #060e11;
    transition: all 0.3s ease 0s;
}

.projectcard h2:hover{
    background-color: #08d9d6b4;
    transition: all 0.3s ease 0s;
}

@media only screen and (max-width: 1100px) and (min-width: 860px){
    .projectcard h2{
        font-size: 25px;
    }
}

@media only screen and (max-width: 859px) and (min-width: 768px){
    .projectcard h2{
        font-size: 20px;
    }
}

.hide{
    visibility: hidden;
}

@media only screen and (max-width: 767px){
    #projects{
        background-image: none;
    }

    #projects1, #projects2{
        flex-direction: column;
    }

    #projects2{
        margin-top: 0px !important;
    }

    .hide{
        display: none;
    }

    .projectcard{
        box-shadow: none;
        margin-top: 30px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

#contact{
    margin: 20px 5%;
    display: flex;
    justify-content: center;
}

#contact h1{
    position: absolute;
    font-size: 200px;
    color: #7a7a7aa6;
    z-index: -10;
}

#contactform{
    background-color: #000000c5;
    width: 35%;
    padding-bottom: 50px;
}

#contactform input, textarea{
    transition: all 0.3s ease 0s;
    display: block;
    border-radius: 0 !important;
}

#contactform input:focus, textarea:focus{
    outline: none;
    background-color: #08d9d618;
    transition: all 0.3s ease 0s;
}

input[type=text]{
    margin-top: 50px !important;
}

input[type=text], input[type=email]{
    background-color: transparent !important;
    border: none;
    color: white;
    height: 40px;
    font-size: 20px;
    border-bottom: 2px solid #08d9d6;
    width: 70%;
    margin-left: 15%;
    margin-top: 20px;
}

textarea{
    width: 70%;
    margin-left: 15% !important;
    margin-top: 20px !important;
    border-bottom: 2px solid #08d9d6 !important;
    background-color: transparent !important;
    border: none;
    color: white;
    height: 100px;
    font-size: 20px !important;
}

#sendmessage{
    padding: 5px 30px;
    border: 2px solid #08d9d6;
    background-color: #08d9d6;
    font-size: 20px;
    color: #060e11;
    font-weight: 600;
    transition: all 0.3s ease 0s;
    margin-left: 15%;
    margin-top: 20px;
    border-radius: 0 !important;
}

#sendmessage:hover{
    background: transparent;
    color: #08d9d6;
    transition: all 0.3s ease 0s;
}

.center{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media only screen and (max-width: 767px){
    #sendmessage{
        font-size: 18px;
    }
}

@media only screen and (max-width: 1290px) and (min-width: 1000px){
    #contact h1{
        font-size: 150px;
    }

    #contactform{
        width: 40%;
    }
}

@media only screen and (max-width: 999px) and (min-width: 768px){
    #contact h1{
        font-size: 120px;
    }

    #contactform{
        width: 60%;
    }
}

@media only screen and (max-width: 767px) and (min-width:500px){
    #contact h1{
        font-size: 70px;
    }

    #contactform{
        width: 90%;
    }
}

@media only screen and (max-width: 499px){
    #contact h1{
        font-size: 60px;
    }

    #contactform{
        width: 90%;
    }

    input[type=text], input[type=email], textarea{
        width: 90%;
        margin-left: 5% !important;
        font-size: 18px !important;
    }
    
    #sendmessage{
        margin-left: 5%;
    }

    svg{
        margin-top: 50px !important;
    }

    #copyright{
        padding-bottom: 0 !important;
        padding-top: 50px;
    }
}

#copyright{
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #08d9d6;
    padding-bottom: 30px !important;
}

#copyright h5{
    color: #7c7c7c;
    color: #060e11;
}

svg{
    margin-top: -50px;
}
