* {
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  color: silver;
  text-align: center;
  line-height: 1.5;
  width: 100%;
}

nav {
  font-family: 'Eczar';
  position: fixed;
  height: 5rem;
  padding: 1% 0;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(black, dimgray);
  text-transform: uppercase;
  border-bottom: 0.3rem solid tomato;
  z-index: 9999;
  color:white;
  font-size: 1.2rem;
  letter-spacing: -.02rem;
}

header {
  padding: 10% 0 5% 0;
  color: white;;
  background:
  radial-gradient(black 15%, transparent 16%) 0 0,
  radial-gradient(black 15%, transparent 16%) 8px 8px,
  radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
  radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
  background-color:#282828;
  background-size:16px 16px;
}

section {
  min-height: 200px;
  padding: 1% 0;
  background-color: dimgray;
  color: black;
}

/** FOOTER SECTION **/
footer .social {
  width: 100%;
  height: 10rem;
  margin: 0 auto;
  padding: 0.5rem 0;
  background: linear-gradient(black, dimgray);
}

footer h2 {
  font-family: 'Eczar';
  text-align: center;
  font-size: 2rem;
  margin: 0.5rem 0;
  color: tomato;
}

.icons {
  float: left;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.icons ul {
  clear: left;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  text-align: center;
}

.icons ul li {
  display: block;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  right: 50%;
}

.icons ul li a {
  display: block;
  margin: 0.4em 0;
  padding: 0.4em;
  color: #bcbcbc;
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  width: 3.2rem;
  height: 3.2rem;
}

.icons a i {
  color: white;
  font-size: 1.8rem;
}

.icons ul li a:hover {
  background:tomato;
  color: white;
}

 /** NAVIGATION SECTION **/
nav .logo {
  display: block;
  float: left;
  margin-left: 2rem;
}

nav .logo a {
  color: white;
  text-decoration: none;
  transition: all .4s ease 0s;
}

nav .nav-menu {
  float: right;
}

nav .nav-menu li {
  display: inline-block;
}

nav .nav-menu li a {
  margin-right: 2rem;
  color: white;
  text-decoration: none;
  transition: all 0.4s ease 0s;
}

nav .nav-menu li.active {
  text-decoration-line: underline;
  font-weight: 500;
}

nav .nav-menu li a:hover {
  color:tomato;
}

nav a:hover {
  cursor: pointer;
  color: tomato;
}


/** HEADER SECTION **/
header {
  text-align: center;
  font-weight: 500;
  border-bottom: 2px solid tomato;
}

header #about-me {
  margin: 0 auto;
  width: 50%;
  text-align: center;
  font-size: 1rem;
}

.profile {
  width: 20%;
  border-radius: 50%;
}

.about-img {
  margin: 0 auto;
  object-fit: cover;
  border: 1px dotted tomato;
  padding: 5px;
}

/** RECENT WORK SECTION **/
.content a:hover {
  color:tomato;
}

.content h2 {
  font-family: 'Eczar';
  text-align: center;
  margin: 1.5rem auto;
  font-size: 2.5rem;
  color: white;
  text-shadow: 2px 2px black;;
  /* font-style: italic;;  */
}

.project-box {
  display: flex;
  background: lightgray;
  width: calc(100% - 2rem);
  min-height: 28rem;
  margin: 1rem;
  /* border: 15px ridge rgb(80, 80, 80); */
}

.box {
  width: 60%;
  color:black;
  font-weight:bold;
  text-decoration: none;
  padding: 10px;
  /* border: 2px solid white; */
  align-content: center;
}

.box img {
  background-color: white;
  padding: 4px;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 4px 5px black;
}

.box h3 {
  display: none;
}

.description {
  width: 40%;
  min-height: 100%;
  text-align: center;
  /* border: 3px solid green; */
}

.description h4 {
  font-size: 0.9rem;
  font-weight: normal;
  text-align: left;
  padding: 0 1rem;
}

.description h3 {
  font-family: 'Eczar';
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.box a {
  color: white;
  text-decoration: none;  
  transition: all .4s ease 0s;
  font-weight: 500;
}

.description .links {
  font-family: 'Eczar';
  color: black;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2rem auto;
  padding-bottom: 1rem;
}

.description a {
  color: black;
  font-weight: 500;
  text-decoration: underline;
  transition: all .4s ease 0s;
}

#opagrappa {
  float: right;
  overflow: hidden;
}

#cribtrakr, #plughubs {
  float: left;
  overflow: hidden;
}

#og {
  float: left;
  text-align: center;
}

#ct, #ph {
  float: right;
  text-align: center;
}

.description .devicons {
  margin: 2rem auto;
  font-size: 2rem;
  font-weight: bolder;
}

.view-project-hover {
  color: white;
  opacity: 0;
  background-color: tomato;
  font-size: 1em;
  transition: all .3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  left: 0;
  padding: 0.5rem;
  right: 0;
}

.image img {
  transition: all 0.3s ease;
}

.image:hover > .view-project-hover {
  opacity: 1;
}

.image img:hover  {
  filter: grayscale(100%);
}

.image {
  display: inline-block;
  position: relative;
}

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


 /** RESPONSIVE DESIGN **/

 @media only screen and (max-width: 480px) {
  nav {
    height: 3.2rem;
    width: 100%;
    text-align: center;
  }

  nav .nav-menu {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 0.8rem;
  }

  nav .logo {
    display: none;
  }

  header h2 {
    font-size: 1.2rem;
    margin: 0.1rem auto;
  }

  header h3 {
    font-size: 1.0rem;
    margin: 0.2rem auto;
  }

  header h4 {
    width: 80%;
    font-size: 0.9rem;
    margin: 0.4rem auto;
  }

  header #about-me {
    width: 90%;
    font-size: 0.8rem;
    margin: 0.6rem auto 0;
  }

  .about-img {
    margin-top: 3rem;
  }

  .content h2 {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .project-box {
    display: block;
  }

  .box h3 {
    display: block;
    font-size: 1rem;
    margin: 0.5rem auto 0.3rem;
  }

  .description {
    width: auto;
    margin: 0;
  }

  .description h3 {
    display: none;
  }

  .description h4 {
    font-size: 0.75rem;
    margin: 0;
  }

  .description .devicons {
    font-size: 1rem;
    margin: 0.3rem auto;
  }

  .description .links {
    font-size: 0.6rem;
    margin: 0.3rem auto;
  }

  .view-project-hover {
    font-size: 0.6em;
    padding: 0.2rem;
  }

  .box {
    width: auto;
    margin: auto;
  }

  .box img {
    padding: 5px;
  }

  footer h2 {
    margin: 0.3rem 0;
    font-size: 1.2rem;
  }

  footer .social {
    height: 6rem;
    padding: 0 auto;
    margin: 0 auto;
  }

  footer .icons {
    margin: 0.4rem auto;
    height: 2.5rem;
  }

  .icons ul li {
    padding: 0;
  }

  .icons ul li a {
    margin: 0 auto;
    padding: 0;
    width: 2.5rem;
    height: 2.0rem;
  }

  .icons a i {
    font-size: 1.2rem;
  }
}
 
  
@media screen and (min-width: 481px) and (max-width: 768px) {
  nav {
    height: 4rem;
  }
  nav .nav-menu {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1.4rem;
  }

  nav .logo {
    display: none;
  }

  header h2 {
    font-size: 1.4rem;
  }

  header h3 {
    font-size: 1.2rem;
  }

  header h4 {
    width: 80%;
    font-size: 1.0rem;
    margin: 0 auto;
  }

  header #about-me {
    width: 90%;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .about-img {
    margin-top: 3rem;
  }

  .project-box {
    min-height: 16rem;
  }

  .content h2 {
    margin: 1rem 0 1.5rem;
    font-size: 1.5rem;
  }

  .description {
    width: 50%;
    margin: auto;
  }

  .box h3 {
    display: none;
  }

  .description h3 {
    display: block;
    font-size: 1.2rem;
    margin: 3rem auto 0.5rem;
  }

  .description h4 {
    font-size: 0.9rem;
    margin: 0;
  }

  .description .devicons {
    font-size: 1rem;
    margin: 0.3rem auto;
  }

  .description .links {
    font-size: 0.8rem;
    margin: 0 auto;
  }

  .view-project-hover {
    font-size: 0.8em;
    padding: 0.2rem;
  }

  .box {
    width: 50%;
    margin: auto;
  }

  .box img {
    padding: 10px;
  }
  
  footer h2 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
  }

  footer .social {
    height: 8rem;
    padding: 0 auto;
    margin: 0 auto;
  }

  footer .icons {
    margin: 0.5rem auto;
    height: 3rem;
  }

  .icons ul li {
    padding: 0;
  }

  .icons ul li a {
    margin: 0 auto;
    padding: 0.2em;
    width: 3rem;
    height: 3rem;
  }

  .icons a i {
    font-size: 1.4rem;
  }
}

