* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: "Poppins", sans-serif;
  }
  /*logo*/
  .logo {
    max-height: 70px;
    margin-left: 10px;
    cursor: pointer;
  }
  /* hero section*/
  .hero {
    height: 100vh;
    background-color: #252631;
    color: white;
  }
  /* hero navigation*/
  nav {
    padding: 30px 30px 0 30px;
    display: flex;
    justify-content: space-between;
    font-size: 40px;
  }
  ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    width: 600px;
    font-size: 25px;
  }
  .hero > nav > ul > a {
    text-decoration: none;
    color: rgb(241, 136, 97);
  }
  .hero > nav > ul > a :hover {
    text-decoration: underline;
    text-decoration-color: white;
    text-underline-offset: 10px;
  }
  /*hero text*/
  h1 {
    font-size: 50px;
    margin-bottom: 20px;
  }
  .banner-text {
    margin: 150px 0 0 70px;
  }
  .banner-text > h2 {
    font-size: 1.7rem;
    font-weight: 400;
  }
  /*hero buttons*/
  .buttons a button {
    font-size: 20px;
    background-color: coral;
    border: 0;
    outline: 0;
    border-radius: 20px;
    padding: 13px;
    margin: 20px 0 0 68px;
    cursor: pointer;
    transition: background width 1s;
  }
  .buttons a button:hover {
    transform: translateY(-5px);
    transition: 0.1s ease-in-out;
  }
  /*SOCIAL ICONS*/
  .socials {
    display: flex;
    justify-content: flex-end;
    margin: -195px 130px 0 0;
  }
  .socials > a > img {
    height: 50px;
    margin: 0px 30px;
  }
  .socials > a > img:hover {
    transform: scale(1.1);
    transition: 0.1s ease-in-out;
  }
  /*ABOUT SECTION*/
  .about-container {
    background-color: white;
    color: black;
    margin: 0px 40px;
    display: flex;
  }
  .about-container > div > img {
    border-radius: 10%;
    height: 300px;
    width: auto;
    margin-top: -3rem;
  }
  .about-text {
    text-align: center;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-title{
    margin-top: 1rem;
    text-align: center;
    font-size: 3.2rem;
  }
  h3 {
    font-weight: 500;
  }
  
  /*PROJECTS SECTION*/
  .projects {
    padding: 10px 50px;
  }
  .project-card {
    margin: .5rem;
    height: 31rem;
    width: 19rem;
    box-shadow: .1em .1em .6em #151516;
    border-radius: 40px;
    text-align: center;
    padding: .7rem;
  }
  .all-projects {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: space-between;
  }
  
  .project-text {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
  }
  .project-card > img {
    height: 16rem;
    width: 90%;
    border-radius: 50%;
    padding: .25rem;
  }
  .project-card > a > button {
    font-size: 20px;
    width: 140px;
    padding: 10px;
    margin: 10px;
    border: 0;
    outline: 0;
    border-radius: 20px;
    text-align: center;
    background-color: coral;
    box-shadow: .3em .3em .5em #252631;
    cursor: pointer;
    transition: background width 1s;
  }
  .project-card > a > button:hover {
    background: #252631;
    width: 160px;
    color: coral;
    box-shadow: .3em .3em .5em coral;
    transition: 0.1s ease-in-out;
  }
  .project-card:nth-child(4) a button{
    margin-top: 60px;
  }
  .project-card:hover {
    transform: scale(1.04);
    transition: 0.3s ease-in-out;
  }
  .more{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*SKILLS SECTION  */
  .skills-container {
    display: flex;
    justify-content: center;
  }
  
  .skills-container > ul {
    display: block;
    margin-top: -30px;
  }
  .skills-container > ul > li {
    margin: 35px;
    position: relative;
  }
  .skills > h2 {
    font-size: 45px;
    text-align: center;
    margin-top: 20px;
  }
  .skills-container > ul > li:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #252631;
    border-radius: 20px;
  }
  .skills-container > ul > li:after {
    content: "";
    position: absolute;
    top: 40px;
    width: 0%;
    left: 0;
    height: 20px;
    background-color: coral;
    border-radius: 20px;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
  }
  .skills-container > ul > li.html:after {
    animation-name: html;
  }
  @keyframes html {
    to {
      width: 75%;
    }
  }
  .skills-container > ul > li.css:after {
    animation-name: css;
  }
  @keyframes css {
    to {
      width: 55%;
    }
  }
  .skills-container > ul > li.javascript:after {
    animation-name: javascript;
  }
  @keyframes javascript {
    to {
      width: 40%;
    }
  }
  .skills-container > ul > li.c:after {
    animation-name: c;
  }
  @keyframes c {
    to {
      width: 60%;
    }
  }
  .skills-container > ul > li.dbms:after {
    animation-name: dbms;
  }
  @keyframes dbms {
    to {
      width: 50%;
    }
  }
  .skills-container > ul > li.wordpress:after {
    animation-name: wordpress;
  }
  @keyframes wordpress {
    to {
      width: 50%;
    }
  }
  .skills-container > ul > li.python:after {
    animation-name: python;
  }
  @keyframes python {
    to {
      width: 55%;
    }
  }
  .skills-container > ul > li.sql:after {
    animation-name: sql;
  }
  @keyframes sql {
    to {
      width: 50%;
    }
  }
   
  .skills-container > ul > li.java:after {
    animation-name: java;
  }
  @keyframes java {
    to {
      width: 50%;
    }
  }
  /*FOOTER  */
  footer {
    background-color: black;
    color: white;
  }
  .footer{
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .footer > img {
    width: 100px;
    height: 100px;
  }
  
  /*CONTACT ME*/
  .contact h2 {
    font-size: 45px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .contact-container {
    display: flex;
    justify-content: space-evenly;
  }
  .contact-form{
    overflow: hidden;
  }
  .contact-form > iframe {
    width: 640px;
    height: 760px;
  }
  .location > iframe {
    height: 500px;
    width: 650px;
    border-radius: 20px;
    box-shadow: 5px 5px 5px black;
    margin-top: 10px;
  }
  .about-title,.project-title,.skills-title,.contact-title{
    font-weight: 500;
  }
  /*Responsive layout for mobile display under 1200px*/
  @media only screen and (max-width: 1200px) {
    body,
    html {
      overflow-x: hidden;
    }
    .banner-text {
      margin-left: 0;
      text-align: center;
    }
    .buttons {
      margin: 0;
      display: flex;
      justify-content: center;
    }
    button {
      margin: 20px 20px 0 0;
    }
    .socials {
      margin: 40px 0 0 0;
      justify-content: center;
    }
    .all-projects {
      display: flex;
      flex-wrap: wrap;
    }
    .project-card:hover {
      transform: none;
    }
    .about-container {
      display: flex;
      flex-wrap: wrap-reverse;
      justify-content: center;
    }
    .about-text > h3 {
      text-align: start;
    }
    .contact-container {
      flex-wrap: wrap-reverse;
      width: fit-content;
    }
    .location > iframe {
      height: 50vh;
      width: 80vw;
    }
    .contact-form > iframe {
      width: 80vw;
    }
  }
  /* reponsive layout for mobile devices */
  @media only screen and (max-width: 560px) {
    .logo{
      margin-left: 0;
    }
    .hero{
      height: 94vh;
    }
    .about-title,.project-title,.skills-title,.contact-title{
      font-size: 40px;
      font-weight: 500;
    }
    .about-container > div > img {
      height: 350px;
      margin-top: -25px;
    }
    .about-text{
      padding: 0;
    }
    .about-text > h3{
      text-align: center;
      font-size: 20px;
    }
    .about-container {
      margin: 20px;
    }
    .contact-container {
      flex-wrap: wrap-reverse;
      width: 100vw;
    }
    .contact h2 {
      margin: 10px 0 10px 0;
    }
    .projects{
      padding: 10px 30px;
    }
    .project-card{
      padding: 2px;
      height: 60vh;
      width: 100vw;
      box-shadow: 0 0 10px grey;
      border: 0;
    }
    .project-card > a > button:hover {
      width: unset;
      background: coral;
      color: black;
    }
    .project-card img {
      height: 14rem;
      width: 85%;
    }
    .project-card h2{
      font-size: 1.4rem;
    }
    .more{
      width: 100%;
      margin-top: 1rem;
    }
    .socials {
      margin: 0;
      margin-top: 40px;
      justify-content: space-evenly;
    }
    .socials > a > img {
      height: 40px;
    }
    .socials > a > img:hover {
      transform: none;
    }
    .banner-text {
      margin: 0;
    }
    .banner-text h1 {
      font-size: 2.2rem;
    }
    .banner-text h2 {
      font-size: 1.5rem;
    }
    .buttons a button{
      margin: 20px 0 0 0;
    }
    .location > iframe {
      height: 50vh;
      width: 95vw;
      box-shadow: none;
    }
    .contact-form > iframe {
      width: 100vw;
      height: 820px;
    }
    .footer{
      width: 100%;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .footer img{
      margin: 0;
    }
    .footer h3{
      font-size: 12px;
      padding: 8px;
    }
    .nav-bar {
      flex-direction: column;
      text-align: center;
    }
    .nav-bar ul {
      width: 100%;
      flex-direction: column;
    }
    .nav-bar ul a li:hover {
      text-decoration: none;
    }
  }