*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}
html,body{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}
body::-webkit-scrollbar{
    display: block;
    width: 6px;
    background-color: #131200;
}
body::-webkit-scrollbar-thumb{
    display: block;
    width: 5px;
    background-color: #f9f9f9;
    border-radius: 10px;
}
#main{
    width: 100%;
    
}

#home{
    width: 100%;
    height: 91vh;
    background-color: #131200;
    color: #f9f9f9;
}
.logo{
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    /* border: 5px solid #f9f9f9; */
    padding: 5px;
    margin-top:5px;
    border-radius: 50%;
    border: 5px solid #f9f9f9;
    color: #f9f9f9;
}

.nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 30px;
    font-size: 3vh;
    width: 100%;
    position:sticky;
    /* overflow: auto; */
    top:0;
    height:9vh;
    background-color: #131200;
    z-index: 1000;
}

.nav-bar ul{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap:20px;
    padding: 10px;
}

.nav-bar a{
    color: #f9f9f9;
    text-decoration: none;
    font-weight: bold;
}

.nav-bar a:hover{
    /* background-color: #f9f9f9; */
    border-bottom: 3px solid #f9f9f9;
    /* color: #131200; */
    /* border-radius: 50px; */
    /* padding: 0 15px; */
}

.heading{
    /* margin-top: 16vh; */
    padding-top: 140px;
}
.heading h1{
    opacity: .8;
    line-height: .85;
    font-size: 12vw;
    text-transform: uppercase;
}
.heading .main-heading{
    margin: auto auto 5px 3%;
}
.heading .sub-heading{
    /* margin-left: 30%; */
}
.block-heading{
    margin-left: 20%;
    width: fit-content;
}
.heading h5{
    font-size: 1.5vw;
}
.block-heading h5{
    text-align: right;
}

.sub-text{
    margin-top: 60px;
    font-size: 2.5vh;
    text-transform: uppercase;
    text-align: right;
    padding-right: 2vh;
}
.sub-text h6{
    margin: 4px;
}

.main-footer{
    width: 100%;
    position: absolute;
    bottom: 20px;
    padding: 0 2vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}
.main-footer a{
    font-size: 2.2vh;
    color: #f9f9f9;
    text-transform: uppercase;
    text-decoration: solid;
}

#skills-page{
    width: 100%;
    height: auto;
    padding-bottom: 7vh;
    background-color: #f9f9f9;
    color: #222222;
    padding-top: 15px;
}


.heading-skills h1{
    text-transform: uppercase;
    font-size: 10vw;
    margin-bottom: 5vh;
    margin-left: 2vh;
    line-height: 1;
}

.rest-items,.mern-items{
    padding: 10px 15vh;
    display: flex;
    flex-wrap: wrap;
    gap: 3vh;
    justify-content: center;
    font-size: max(1.4vw, 20px);
}
.skills-list i{
    font-size: 50px;
}
.skills-list .rest-items{
    margin: auto;
    width: 80%;
    /* background-color: red; */
}
.items, .m-items{
    display: flex;
    align-items: center;
    border: 5px solid #131200;
    border-radius: 10px;
    padding: 20px;
}
.skills-list  i{
    padding-right: 10px;
}

#projects-page{
    width: 100%;
    background-color: #131200;
    padding-top: 15px;
    padding-bottom: 2vh;
    color: #f9f9f9;
}

.heading-project h1{
    text-transform: uppercase;
    font-size: 8vw;
    margin-top: 5vh;
    margin-bottom: 8vh;
    margin-left: 2vh;
    line-height: 1;
}
.project-list{
    color: #131200;
    gap:20px;
    width:90%;
    margin:5vh auto;
}
.news-app{
    height: 44vw;
    width: 65vw;
    padding: 10px 0;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 15px;
    margin:auto;

    display: flex;
    flex-direction: column;
}
.backend-projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.jwt-auth,.cookie-auth,.url-short{
    margin: 50px;
    width: 300px;
    height: 180px;
    background-color: #f9f9f9;
    color:#131200;
    text-align: center;
    border-radius:15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    font-size: large;
}
.jwt-auth-heading,.cookie-auth-heading,.url-short-heading{
    margin-top: 30px;
}
.news-app-link, .jwt-auth-link,.cookie-auth-link,.url-short-link{
    margin-top:auto;
    display: flex;
    justify-content: center;
    text-decoration: none ;
}
.news-app-link h3, .jwt-auth-link h3, .cookie-auth-link h3, .url-short-link h3{
    display: flex;
    align-items: center;
    justify-content: center;
    bottom:10px;
    width: 150px;
    color: #f9f9f9;
    height:40px;
    background-color: #131200;
    border-radius: 35px;
    transition:ease-in-out 0.25s;
}
.news-app-link h3:hover, .jwt-auth-link h3:hover,.cookie-auth-link h3:hover,.url-short-link h3:hover{
    border-radius: 10px;
}
.news-app-img img{
    margin-top:10px;
    width: 100%;
}


#contact-page{
    width: 100%;
    color:#131200;
    background-color: #f9f9f9;
    padding-top: 15px;
    padding-bottom: 10vh;
}
#contact h1{
    margin-bottom:5vh;
    margin-left:2vw;
    font-size:8vw;
    display: flex;
}

.mail,.phone,.location{
    margin-top: 1vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap:10px;
}

.icons,.icons h2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
#contact img{
    width:40px;
    height: 40px;
}

#footer{
    color: #f9f9f9;
    width: 100%;
    height:5vh;
    background-color: #131200;
}
.madeby{
    padding:1vh;
    display: flex;
    flex-wrap: wrap;
    gap:8px;
    align-items: center;
    justify-content: center;
}
.madeby img{
    width:20px;
    height: 20px;
}


