body{
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4{
    font-family: Arial, Helvetica, sans-serif;
}

p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 21px;
}


#nav-menu{
    display: flex;
    border: 1px solid #022140;
    justify-content: space-between;
    padding: 0 50px;
    position: sticky;
    top:0;
    z-index: 4;
    background-color: #022140;
    color: white;
    /* #0C0032; #190061 #116466 */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    /* display: none; */
}

#home{
    display: flex;
    align-items: center;
}

#home:hover{
    cursor: pointer;
}

#home>div:nth-child(2){
    padding: 0 25px;
}

#home>div:nth-child(2):hover{
    background-color: white;
    color:#022140;
}

#logo>img{
    width: 50px;
    border-radius: 50%;
    margin-right: 5px;
}

#subNav2{
    display: flex;
}

#subNav2>div{
    padding: 0 30px;
}


#subNav2 :hover{
    background-color: white;
    color:#022140;
    cursor: pointer;
}

#about{
    /* background-color: #567572FF;
    background-color: #0063B2FF; */
    background-color: #101820FF;
    width: 100%;
    color: white;
    padding: 50px 0;
}

#subAbout{
    display: flex;
    width: 85%;
    margin: auto;
    
    justify-content: space-between;
}

#profilePic{
    width: 27%;
}

#profilePic>img{
    width: 100%;
    border-radius: 50%;
}

#profileDetails{
    width: 60%;
    padding: 50px;
   
    text-align: left;
}

#profileDetails>h1{
    font-size: 3rem;
    margin: -10px 0;
}

#profileDetails>h1>span{
    color: #5D001E;
    color: red;
}



#profileDetails>p{
    font-size: 19.1px;
}

#profileDetails>div{
    margin-top: 40px;
}

#resume-button-2{
    padding: 12px 30px;
    font-size: 18px;
    letter-spacing: 1.5px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    border: none;
    background-color: #272727;
    color: #D8C3A5;
    text-decoration: none;
    margin-top: 30px;
}

#resume-button-2:hover{
    background-color: #2E151B;
    cursor: pointer;
}

#skills{
    border: 1px solid #0063B2FF;
    padding: 30px;
    text-align: center;
    background-color: #0063B2FF;
    /* background-color: #567572FF; */
}

#skills>h1{
    color: white;
    letter-spacing: 2px;
}


#subSkills{
    display: grid;
    width: 42%;
    margin: auto;
    align-items: center;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 12px;
    margin-bottom: 40px;
}

.skills-card{
    width: fit-content;
    text-align: center;
}

.skills-card>h3{
    width: 90px;
    padding: 8px 22px 8px 8px;
    background-color: aliceblue;
    border-radius: 5px;
    color: #363636;
    margin-bottom: 0px;
}

.skills-card>img{
    background-color: #363636;
    width: 90px;
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
}


#projects{
    border: 1px solid #343148FF;
    padding: 30px;
    text-align: center;
    /* background-color: #2F2FA2; */
    background-color: #343148FF;
  
}

#projects>h1{
    color: white;
    letter-spacing: 2px;
}

#subProject{
    width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 50px;
    gap:50px;
    padding: 15px 0;
}

.project-card{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #fff;
}

.project-card>img{
    width: 100%;
}

.projectContent{
    padding: 0 30px;
    text-align: left;
}

.projectContent>h3{
    text-align: center;
}

.redirectBtn{
    display: flex;
    padding: 0 30px;
    justify-content: space-around;
    margin: 40px 0;
}

.project-tech-stack{
    display: flex;
    justify-content: space-around;
}

.project-tech-stack>div>h4{
    font-size: 16px;
    background-color: #00203FFF;
    color: white;
    padding: 8px;
    margin-right: 12px;
   border: none;
   border-bottom-right-radius: 8px;
   border-top-right-radius: 8px;
}

.redirectBtn>div>button{
    padding: 12px 22px;
    font-size: 18px;
    font-weight: 600;
    background-color: #116466;
    border: none;
    color: white;
    border-radius: 6px;
}

.redirectBtn>div>button:hover{
    cursor: pointer;
}


#contact{
    background-color: #022140;
    padding: 40px 0;
    border: 1px solid #022140;
    color: white;
}

#subContactMe{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

#contactDiv1>h1{
    margin-top: 8px;
}

#contactDiv2{
    width: 60%;
    padding: 0 5%;
}

#contactDiv2>input{
    width: 80%;
    height: 25px;
    margin: 20px 0;
    padding: 8px 18px;
    background-color: #262626;
    color: white;
    outline: none;
    border: none;
}

#contactDiv2>textarea{
    width: 80%;
    height: 80px;
    margin: 20px 0;
    padding: 8px 18px;
    background-color: #262626;
    outline: none;
    border: none;
    color: white;
    color: white;
}

#name, #email:focus{
    outline: none;
}

.icons{
    display: flex;
    border: 1px solid #022140;
    align-items: center;
    margin: auto;
}

#doubleicons{
    margin-top: -20px;
}

.icons>i{
    width: 50px;
    font-size: 24px;
    color: #FF004F;
}

#doubleIcon{
    margin-top: px;
}

#doubleIcon>i{
    font-size: 36px;
    color: gray;
}


#doubleIcon>i:hover{
    color: #FF004F;
    cursor: pointer;
}

#submit{
    background-color: #FF004F;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
}

#ssNavbar{
  display: none;
  position: sticky;
  top: 0;
  color: white;
  background-color: #022140;
  padding: 0px 30px;
}

#ssNav1{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#ssicon{
    margin-top: 16px;
    font-size: 28px;
}


#ssCollection{
    display: none;
    position: fixed;
    width: 50%;
    height: 100vh;
    margin-left: 50%;
    margin-top: -69px;
    background-color: #D8C3A5;
}

.ssMargins{
    margin: 0px 30px;
}

#ssicon2>i{
    padding-top: 5px;
    margin-left: 96%;
    display: flex;
    width: fit-content;
}

#crossicon{
    margin-top: 16px;
    font-size: 32px;
    margin-bottom: 20px;
}

#ssCollection>div>div>h3{
   color: white;
   background-color: #022140;
   padding: 10px 16px;
}


#ssCollection>div>div :hover{
    background-color: white;
    color:#022140;
    cursor: pointer;
}


#githubThings{
    width: 99%;
    display: flex;
    justify-content: space-around;
    margin: auto;
    border: 0px solid red;
}


@media all and (min-width:280px) and (max-width:480px){
    #nav-menu{
        display: none;
    }

    #ssNavbar{
        display: block;
        position: sticky;
    }

    #ssicon2>i{
        margin-left: 80%;
    }

    #subAbout{
        display: block;
        width: 85%;
        margin: auto;
        justify-content: space-around;
    }

    #profilePic{
        width: 40%;
        margin: auto;
    }

    #profileDetails{
        width: 90%;
        padding-left: 0px;
    }
    
    #profileDetails>h1{
        font-size: 2.0rem;
    }
    #skills>h1{
        color: white;
        letter-spacing: 2px;
    }
    
    
    #subSkills{
        width: 85%;
        grid-template-columns: repeat(2,1fr);
    }

    #projects{
        padding: 10px;
    }
    
    #subProject{
        width: 90%;
        grid-template-columns: repeat(1,1fr);
    }

    #contact{
        background-color: #022140;
        padding: 40px 0;
        border: 1px solid #022140;
        color: white;
    }
    
    #subContactMe{
        width: 90%;
        display: block;
    }

    #contactDiv1{
        margin-bottom: 40px;
    }

    #contactDiv2{
        width: 90%;
    }

    #githubThings{
        display: block;
    }
}

@media all and (min-width:481px) and (max-width:767px){
    #nav-menu{
        display: none;
        position: sticky;
    }

    #ssNavbar{
        display: block;
    }

    #ssicon2>i{
        margin-left: 92%;
    }

    #subAbout{
        display: block;
        width: 85%;
        margin: auto;
        justify-content: space-between;
    }

    #profilePic{
        width: 40%;
        margin: auto;
    }

    #profileDetails{
        width: 90%;
        padding-left: 0px;
    }
    
    #profileDetails>h1{
        font-size: 2.0rem;
    }
    #skills>h1{
        color: white;
        letter-spacing: 2px;
    }
    
    
    #subSkills{
        width: 85%;
        grid-template-columns: repeat(3,1fr);
    }

    #projects{
        padding: 10px;
    }
    
    #subProject{
        width: 90%;
        grid-template-columns: repeat(1,1fr);
    }

    #contact{
        background-color: #022140;
        padding: 40px 0;
        border: 1px solid #022140;
        color: white;
    }
    
    #subContactMe{
        width: 90%;
    }

    #githubThings{
        display: block;
    }
}