*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body, html{
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    min-width: 1024px;
}
#navbar{
    height: 10vh;
    background-color: #be3144;
    display: flex;
    justify-content: end;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
#navbar ul{
    display: flex;
    align-items: center;
    /* justify-content: end; */
    /* height: 100%; */
}
#navbar ul li{
    list-style-type: none;
}
#navbar ul li a:hover{
    background-color: #45567d;
}
#navbar ul li a{
    color: #fff;
    font-size: 23px;
    overflow: hidden;
    text-decoration: none;
    margin: auto;
    vertical-align: center;
    padding: 18px;
    cursor: pointer;
    transition: 0.25s all;
}
#welcome-section{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
}
#welcome-section h1{
    font-size: 45px;
    color: #fff;
}
#welcome-section p{
    font-size: 20px;
    font-style: italic;
    color: #be3144;
}
#projects{
    padding-top: 80px;
    background-color: #45567d;
    padding-bottom: 30px;
}
#projects h2{
    font-size: 40px;
    max-width: 640px;
    color: #fff;
    border-bottom: 1.5px solid #fff;
    margin: 0px auto 40px;
    padding: 8px;
}
#projects-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 4rem;
    width: 95%;
    max-width: 1280px;
    margin: 0 auto;
    /* margin-bottom: 6rem; */
    margin: 0px auto;
    margin-bottom: 6rem;
}
.project-tile{
    background-color: #3a3d40;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
#projects-grid a p{
    padding: 15px;
    text-align: center;

}
#projects-grid a img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.code{
    color: #3a3d40;
    transition: 0.3s color;
}
#projects-grid a:hover .code{
        color: #dc3a50;
}
#showAll{
    width: max-content;
    margin: 0px auto;
}
#showAllbtn{
    cursor: pointer;
    padding: 15px 20px;
    margin: 0px auto;
    background-color: #3a3d40;
    color: #fff;
    font-size: 18px;
    border: none;
    transition: 0.25s all;
}
#showAllbtn i{
    color: #fff;
    transition: 0.5s all;
}
#showAllbtn:hover{
    background-color: #be3144;
}
#showAllbtn:hover:hover i{
    transform: translateX(2px);
}
#contact{
    background-color: #3a3d40;
    height: 90vh;
    padding-top: 170px;
    padding-bottom: 170px;
}
#contactHeading{
    color: #fff;
    font-size: 70px;
    font-style: italic;
    text-align: center;
}
#contactpara{
    color: #fff;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 2px;
    text-align: center;
}
#socials{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#socials i{
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    margin: 8px;
    transition: 0.25s all;
}
#socials i:hover{
    transform: translateY(2.5px);
}
#redLine{
    height: 3px;
    background-color: #be3144;
}
footer{
    background-color: #3a3d40;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0px 20px;
}
footer p{
    color: #fff;
}
@media screen and (max-width: 768px){
    #contact{
        background-color: #ac2a3b;
    }
}