@import url('https://fonts.googleapis.com/css2?family=Leckerli+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --primary-color: #005A9C;
    --sec-color : #4169E1;
    --light:rgb(12, 175, 255);
    --dark: #031d62;
    /* --primary-color:rgb(255, 23, 23);
    --sec-color : rgb(223, 39, 22);
    --light : rgb(255, 84, 84);
    --dark : red; */
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    font-family: "Roboto", sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
h1{
    font-size: 4rem;
}
.marginrl{
    margin: 2rem;
}
.padding-40{
    padding: 0 40px;
}
.btn{
    display: inline-block;
    border: none;
    font-size: 18px;
    color: white;
    border-radius: 8px;
    padding: 0.6rem 2.4rem;

}
span.highlight{
    color: var(--light);
}
/* -----------------------------------------header--------------------------------------------- */

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: black;
    height: 3.8rem;
    width: 100%;
}
nav .active{
    color: var(--sec-color);

}
nav h2{
    color: var(--sec-color);
}
.open-close{
    display: none;
}
.nav-items{
    display: flex;
    color: aliceblue;
    
}
.nav-items a:hover{
    color: var(--sec-color);
    transition: all ease-in-out 100ms;
}
.nav-items li {
    text-decoration: none;
    list-style: none;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 450;
    letter-spacing: 1px;
}
main{
    /* linear-gradient(90deg, #4b6cb7 0%, #182848 100%) */
    /* background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%); */
    background: #020024;
    /* background: linear-gradient(148deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%); */
    /* background: linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); */
    background: linear-gradient(-30deg, #1CB5E0 0%, #000851 100%);
    /* background: linear-gradient(90deg,rgba(10, 6, 107, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);    width: 100vw; */
    /* position: relative; */
    color: white;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
      /* mix-blend-mode: overlay; */
}
.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8rem 0;
}
.content h1{
    text-align: center;
    margin-top: 100px;
}
.content h1 span{
    color: var(--light);
    /* color: rgb(27, 29, 46); */
    color: #010b53;
    font-family: "Leckerli One", cursive;
}
.content p{
    font-size: 1.2rem;
    margin-bottom: 2rem;
    width: 70%;
    text-align: center;
    letter-spacing: 0.8px;
    line-height: 24px;
}
main .btn {
    background: transparent;
    border: 2px solid #031d62;
    margin: 0 1rem;
    color: var(--dark);
}
main .btn:hover{
    /* background: #000000; */
    /* background: linear-gradient(295deg, rgba(0, 0, 0, 1) 0%, rgba(36, 36, 36, 1) 38%, rgba(64, 64, 64, 1) 100%); */
    background-color: #031d62;
    color: #1277ad;
    transition: all 0.1s ease-in-out ;
}
.buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.icon{
    margin: 0px 0 10px 0;
}
.buttons img{
    height: 32px;
    width: 32px;
    
}

/* ---------------------------------------about-------------------------------------- */
#about{
    /* background-color: #151517; */
    /* background-color: #111827; */
    background-color: #0b1c31;
    color: white;
    padding-bottom: 2rem;
    /* height: 25rem; */ 
}
.about{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 0 5rem 0;
}
.about p, .projects p, .contact p{
    text-align: center;
    margin-top: 20px;
    width: 65%;
    letter-spacing: 0.8px;
    line-height: 1.8rem;
    font-size: 1.3rem;
    color: #cfd1d5;

}
.about h1, .projects h1, .contact h1{
    color: var(--sec-color);
}

.knowme-skills{
    display: flex;
    justify-content: space-between;
    gap: 5%;

}
.knowme{
    width: 55%;
}
.skills{
    width: 45%;
}
.knowme-skills h2{
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}
.knowme p{
    color: #f5f5dc;
    color: whitesmoke;
    margin: 1rem 0 1rem 0;
    font-size: 1.2rem;
    letter-spacing: 0.6px;
    line-height: 1.5rem;
    word-spacing: 1px;
}

.knowme-skills .skills button {
    /* background-color: beige; */
    background-color: var(--light);
    color: rgb(21, 17, 24);
    font-size: 16px;
    border-radius: .4rem;
    border: none;
    box-shadow: 2px 3px 10px  rgba(12, 175, 255, .4);
    /* color: rgb(18, 17, 17); */
    padding: 10px 12px;
    margin: 8px 10px;
}
.knowme-skills .skills button:hover {
    transform: scale(1.04) translateY(-2px);
    transition: all .1s linear;
    box-shadow: 0 5px 10px  rgba(12, 175, 255, .6);
}
.learning h2{
    margin: 1rem 0 .5rem 0 ;
}

/* ----------------------------------------------projects-------------------------------------- */
#projects{
    background-color: #0f1f33;

}
.projects{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 0 5rem 0;
}
.project-box{
    display: flex;
    padding-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}
.project{
    width: 26%;
    min-width: 280px;
    border-radius: 20px;
    background-color: greenyellow;
    height: 400px;
    margin-bottom: 2rem;
}
.image{
    border: 2px solid red;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 45%;
}
.p-lines{
    border: 2px solid rgb(146, 28, 118);
    height: 55%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


/* -------------------------------------------contact-------------------------------------- */
#contact{
    background-color: rgb(11, 28, 49);
    color: #cfd1d5;
    padding: 7rem 0 3rem 0;
}
.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form{
    width: 50%;
    box-shadow: 0 4px 14px rgb(4, 9, 15);
    margin: 80px 0;
    letter-spacing: 0.6px;
    padding: 40px;
    border-radius: 10px;
}
.contact form label{
    display: inline-block;
    padding: 8px 0;
    border-radius: 6px;

}
.contact form input{
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 6px;
    padding: 20px 8px ;
    border: none;
    background-color: rgba(26, 39, 58, 0.742);
    color: gray;
    font-weight: 500;
    font-size: 16px;
    width: 100%;
    height: 40px;
}
.contact form textarea{
    width: 100%;
    padding: 10px 8px ;
    background-color: rgba(26, 39, 58, 0.742);
    color: gray;
    resize: none;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
}
input:focus,
textarea:focus {
  outline: none;
  border: 2px solid #3d3d42;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.contact .btn{
    background-color: #5083f9;
    margin-top: 1rem;
}




/* --------------------------------------------footer------------------------------------- */
footer {
    /* background-color: rgb(239, 239, 202); */
    /* color: black; */
    color: rgb(209, 206, 206);
    background-color: rgb(10, 9, 9);
    /* color: var(--primary-color); */
    /* color: var(--sec-color); */
}
footer .footer {
    display: flex;
    justify-content: space-between;
    /* margin: 0 3.5%; */
}
footer .footer .right {
    width: 80%;
    margin: 60px 40px 24px 40px;
}
footer .footer .left {
    width: 20%;
    margin: 60px 40px 24px 40px;
}
footer h2 {
    font-weight: 600;
}
footer .footer .right h2{
    margin-bottom: 20px;
}
footer .footer .right p{
    width: 74%;
}
.footer .icon-box{
    /* border: 2px solid black; */
    margin-top: 10px;
}
footer .footer img{
    display: inline-block;
    margin-right: 2px;
    width: 22px;
    height: 22px;
}
footer p.made{
    text-align: center;
    font-size: 14px;
    /* padding: 15px 0 10px 0; */
}
footer p.made:first-of-type{
    padding-top: 1rem;
}
footer p.made:last-of-type{
    padding-bottom: 1rem;
}


@media(max-width:600px){
    body{
        font-size: 14px;
    }
    #home .padding-40{
        padding: 0  ;
    }
    .nav{
        position: fixed;
        width: 100vw;
        top: -200px;
        /* top: 60px; */
        background-color: black;
    }
    .show{
        top: 60px;
    }
    .nav-items{
        padding-bottom: 10px;
        flex-direction: column;
        /* width: 100%; */
        align-items: center;
        gap: 10px;
    }
    .nav-items li{
        font-size: 1.2rem;
        padding: 5px 10px 5px 10px;
    }
   .open-close{
        display: inline-block;
        margin-right: 20px;
    }
    .open-close .close{
        display: none;
    }
    .myself{
        margin-left: 20px;
    }
    .content p{
        width: 80%;
    }
    .about p, .contact p{
        width: 90%;
    }
    div.knowme-skills{
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .knowme, .skills{
        width: 90%;
        margin-bottom: 3rem;
    }
    .contact form{
        width: 85%;
    }
    footer .footer{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer .footer .right{
        width: 90%;
        /* margin: 0; */
        margin: 50px auto 20px auto;
        text-align: center;
    }
    footer .footer .right p{
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    footer .footer .left{
        margin: 0;
        text-align: center;
        width: 90%;
    }
    .footer .icon-box{
        margin-bottom: 1rem;
    }
}