<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous" />

<link href="https://fonts.googleapis.com/css?family=Raleway:700&display=swap" rel="stylesheet" />

<!-- Nav Bar Start -->

<nav id="navbar" class="nav">
  <ul class="nav-list">
    <li>
      <a href="#welcome-section">About</a>
    </li>
    <li>
      <a href="#projects">Work</a>
    </li>
    <li>
      <a href="#contact">Contact</a>
    </li>
  </ul>
</nav>

<!-- Nav Bar End -->

<!-- Welcome Section Start -->

<section id="welcome-section" class="welcome-section">
  <img id="profile-image" src="https://images.pexels.com/photos/399772/pexels-photo-399772.jpeg?auto=compress&cs=tinysrgb&h=750&w=1260" alt="Shrikant Dhayje's Profile Image Not Really">
  <div>Photo by <strong><a href="https://www.pexels.com/@vojtech-okenka-127162?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels" target="_blank">Vojtech Okenka</a></strong> from <strong><a href="https://www.pexels.com/photo/silhouette-of-man-standing-on-hallway-399772/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels" target="_blank">Pexels</a></strong></div>
  <h1>Hey, I am Shrikant Dhayje</h1>
  <p>a web developer</p>
</section>

<!-- Welcome Section End -->

<!-- Projects Start -->

<section id="projects" class="projects-section">
  <h2 class="projects-section-header">These are some of my projects</h2>

  <div class="projects-grid">
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://codepen.io/ShriekDj/pen/BapQpae/image/large.png" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        Tribute Page
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/random-quote-machine.png" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        Random Quote Machine
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/calc.png" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        JavaScript Calculator
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/map.jpg" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        Map Data Across the Globe
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/wiki.png" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        Wikipedia Viewer
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a href="https://codepen.io/ShriekDj/pen/BapQpae" target="_blank" class="project project-tile">
      <img class="project-image" src="https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/tic-tac-toe.png" alt="project" />
      <p class="project-title">
        <span class="code">&lt;</span>
        Tic Tac Toe Game
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
  </div>

  <a class="btn btn-show-all" href="https://codepen.io/ShriekDj/" target="_blank">Show All <i class="fas fa-chevron-right"></i></a>
</section>

<!-- Projects End -->
<!-- Contact Start -->

<section class="contact-section" id="contact">
  <div class="contact-section-header">
    <h2>Let's work together</h2>
    <p>How do you take coffee?</p>
  </div>

  <div class="contact-links">
    <a href="#" target="_blank" class="btn contact-details">
      <i class="fab fa-facebook"></i> Facebook
    </a>
    <a id="profile-link" href="https://github.com/shriekdj" target="_blank" class="btn contact-details">
      <i class="fab fa-github"></i> GitHub
    </a>
    <a href="https://twitter.com/shriekdj" target="_blank" class="btn contact-details">
      <i class="fab fa-twitter"></i> Twitter
    </a>
    <a href="mailto:shrikantdhayaje@gmail.com" class="btn contact-details">
      <i class="fas fa-at"></i> Send a mail
    </a>
    <a href="tel:555-555-5555" class="btn contact-details">
      <i class="fas fa-mobile-alt"></i> Call me
    </a>
  </div>
</section>

<!-- Contact End -->
<!-- Footer Start -->

<footer>
  <p>
    Portfolio of Shrikant Dhayje the Web Developer
  </p>
  <p>
    &copy; Created for
    <a href="#" target="_blank">
      freeCodeCamp <i class="fab fa-free-code-camp"></i>
    </a>
  </p>
</footer>

<!-- Footer End -->
/* custom google fonts
Ubuntu
Public Sans = Backup of Ubuntu
if both not work normal sans-serif  
for using there italic version we add :ital@1
*/
@import url('https://fonts.googleapis.com/css2?family=Public+Sans&family=Ubuntu&display=swap');


/* custom variables */

:root {
  --main-white: #f0f0f0;
  --main-red: #be3144;
  --main-blue: #45567d;
  --main-gray: #303841;
}

/* Base reset*/
* {
  margin: 0;
  padding: 0;
}

/* Box Sizing and font sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  
  /* Set font size for easy rem calculations
   * default document font size = 16px, 1rem = 16px,
  changing defauld size to 10 px but by percentage
  10px = 16px * percentage
  per = 10px/16px
  per = 0.625
  so for actual percentage of 100 so
  100*0.625 = 62.5 %
  */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* A few media query to set some font sizes at different screen sizes.
 * This helps automate a bit of responsiveness.
 * The trick is to use the rem unit for size values, margin and padding.
 * Because rem is relative to the document font size
 * when we scale up or down the font size on the document
 * it will affect all properties using rem units for the values.
*/

/* I am using the em unit for breakpoints
 * The calculation is the following
 * screen size divided by browser base font size
 * As an example: a breakpoint at 980px
 * 980px / 16px = 61.25em
*/

/* 1200px/16px = 75em */
@media (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

/* 980px/16px = 75em */
@media (max-width: 61.25em) {
  html {
    font-size: 58%;
  }
}

/* 460px/16px = 28.75em */
@media (max-width: 28.75em) {
  html {
    font-size: 55%;
  }
}

body {
  font-family: 'Ubuntu', 'Public Sans', sans-serif;
  font-size: 1.8rem;/* now it is 18px */
  font-weight: 400; /* it is a regular weight */
  line-height: 1.4;
  /* the background not gonna be white so text*/
  color: var(--main-white);
}

h1,
h2 {
  font-family: 'Ubuntu', 'Public Sans', sans-serif;
  font-weight: 700;/* for boldness*/
  text-align: center;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 4.2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none; /* remove underline */
  color: var(--main-white);
}

img {
  display: block;
  width: 100%;
}


/* nav */
.nav {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--main-blue);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

@media (max-width: 28.75em) {
  .nav {
    justify-content: center;
  }
  
  .nav-list {
    margin: 0 1rem;
  }
}

.nav-list a {
  display: block;
  font-size: 2.2rem;
  padding: 2rem;
}

.nav-list a:hover {
  background: var(--main-red);
}

/* Welcome Section */
.welcome-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #000;
  /* #3a3d40 this is darker blue
     #181719 more darker blue */
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
  /* from left-down side to the center of right upper to the center */
}

#profile-image {
  width: 15%;
  border: 2px solid var(--main-blue);
  border-radius: 50%;
}

.welcome-section > p {
  font-size: 3rem;
  font-weight: 200;
  font-style: italic;
  color: var(--main-red);
}

/* Project Section */

.projects-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-blue);
}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;
  border-bottom: 0.2rem solid var(--main-white);
}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

/* "Automagic" image grid using no media queries */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  background: var(--main-gray);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  z-index: 9;
}

.code {
  color: var(--main-gray);
  transition: color 0.3s ease-out;
}

.project:hover .code {
  color: #ff7f50;
}

.project-image {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
}

.project-title {
  font-size: 2rem;
  padding: 2rem 0.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

.btn-show-all {
  font-size: 2rem;
  background: var(--main-gray);
  transition: background 0.3s ease-out;
  z-index: 8;
}

.btn-show-all:hover {
  background: var(--main-red);
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

/* Contact Section */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 80vh;
  padding: 0 2rem;
  background: var(--main-gray);
}

.contact-section-header > h2 {
  font-size: 6rem;
}

@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 4rem;
  }
}

.contact-section-header > p {
  font-style: italic;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 2.4rem;
  /* #1f1f1f is a very darkish red */
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}

/* Footer */

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  background: var(--main-gray);
  border-top: 4px solid #4568dc;
}

footer > p {
  margin: 2rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}
// Acually coded by @lasjorg I Just Traid to Written It Again With other Details
// eslint-disable-next-line no-unused-vars
const projectName = "portfolio";
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js