:root{
    --my-red: rgb(245, 18, 18);
}

body{
    background-color: rgb(6, 7, 6);
    margin: 0px;
   padding: 0px;
}
main{
    margin-top: 75spx;
}
.bg-dark{
    background-color:rgba(6, 7, 6, 1) !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 41, 41, 0.801);
}
.nav-link:hover{
    color: var(--my-red) !important;
}
#welcome-section{
    width:100%;
    height: 100vh;
    text-align: center;
    font-family: "Permanent Marker", "cursive";
    padding: 35vh 0;
    color: rgb(255,255,255);
    /* using linear-gradient to set the pattern for the background. */
    background: rgb(75,75,75);
    background: linear-gradient(0deg, rgba(75,75,75,1) 0%, rgba(6,7,6,1) 92%);
    /* background-color: rgb(65, 63, 63);
    background: linear-gradient(62deg, #292a2c 0%, #0f0e0f 100%); */
}
#welcome-section>h1{
    font-size: 4vw;
}
.red-paragraph{
    color: rgba(253, 66, 66, 0.931);
    font-size:2vw;
    font-weight: bold;
    font-family: "Poppins", "sans-serif";
}
#skills-section{
    width:100%;
    min-height: 100vh;
    background-color: rgb(233, 233, 233);
    /* for a radial background color */
    /* background: rgb(177,177,177);
    background: radial-gradient(circle, rgba(177,177,177,1) 11%, rgba(85,85,85,1) 54%); */
    text-align: center;
    padding: 8vh 0 8vh 0;       
}
.h2-headings{
    text-align: center;
    color: rgba(255, 29, 29, 0.801);
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Cabin Sketch", "cursive";
}
.h2-headings>h2{
    padding: 5px;
    font-size: 3vw !important;
}
#skills-container{
    
    width: 60vw;
    min-height: 100%;
    margin:9vh auto; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 10vh 5vh;
}
#projects{
    padding-top: 7vh;
    padding-bottom: 7vh;
    background: rgb(13,13,13);
    background: linear-gradient(0deg, rgba(13,13,13,1) 0%, rgba(113,113,113,1) 92%);
}
.project-tile{
    text-align: center;
    opacity: 0.8;
}
.project-tile:hover{
    opacity: 1;
    transition: transform 500ms;
    transform: scale(1.1);
}
.project-desc{
    width: 100%;
    color: rgba(243, 243, 243, 0.87);
    font-family: "Poppin","monospace";
    font-size: 1.5vw;
    background-color: rgb(42, 44, 42);
}


#projects-container{
    width: 60vw;
    margin: 9vh auto;
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    gap: 10vh;
    align-items: center;
    justify-items: center;
}
.project-img{
    width: 100%;
    height: auto;
}

#contact{
    background-color: rgb(0, 0, 0);
}
#contact-me{
    color: rgb(255,255,255);
    text-align: center;
    padding: 5vh 0;
    font-size: 3vw;
    font-family: "Poppins","sans-serif";
}

#social-handles-container{
    width: 40vw;
    padding: 5vh 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-items: center;
    align-items: center;
}
#madeby{
    font-family: monospace;
    background-color: black;
    color: rgb(255,255,255);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 5vh;
}
footer>#madeby{
    position: absolute;
    
}
#heart-img{
    transform: scale(0.4);
}
.social-links{
    /* scales down the size of the image used */
    transform: scale(0.9);
}
.social-links:hover{
    transition: transform 1s;
    transform: translate(0,-7px);
}

/* Setting up the media queries for responsive design on small devices */
@media(max-width: 800px){
    
    #welcome-section>h1{
        font-size: 9vw;
    }
    .red-paragraph{
        font-size: 6vw;
    }
    .h2-headings>h2{
        padding: 5px;
        font-size: 9vw !important;
    }
    #skills>h2{
        
        font-size: 9vw !important;
    }
    .skill-img{
        transform: scale(0.6);
    }

    /* Express image is causing some problem in mobile devices .. so hiding it in mobile devices. */
    #express{
        display: none;
    }

    #skills-section{
        width:100%;
        min-height: 100vh;
    }

    #skills-container{
    
        width: 60vw;
        margin: 0 auto;
        display: grid; 
        grid-template-columns: 1fr 1fr;
        gap: 8vh 0;
    }
    #projects-container{
        grid-template-columns: 1fr;
    }
    #contact-me{
        font-size: 5vw;
    }
    .social-links{
        transform: scale(0.7);
    }
    #social-handles-container{
        padding-top: 4vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3vh 0;
    }
}