body {
    margin: 10px auto;
    min-width: 250px;
    max-width: 90%;
    background-color: #222831;
  }
  * {
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
  }

  header{
    display: flex;
    align-items: center;
    background: #222831;
    box-shadow: 0px 2px 5px rgba(8, 8, 8, 0.438);
    padding: 20px 40px;
    position: fixed;
    z-index: 1; /*top*/
    top: 0;
    left: 0;
    width: 100%;
  }

  @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){
    header{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    }
  }

  img{
    height: 100px;
    width: 100px;
    border-radius: 50%;
  }

  .contacts-heading{
    display: flex;
    position: absolute;
    margin: 20px auto;
    left: 500px;
    top: 30px;
    width: 200px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 50px;
  }

  .contacts-heading h4{
    background-color: #222831;
    color: #ddd;
    width: inherit;
    text-align: center;
    padding: 5px;
    border: none;
    border-radius: 5px;
    font-family: cursive;
  }

  .contacts{
    box-shadow: 2px 2px 5px rgba(136, 132, 132, 0.9);
    display: flex;
    position: absolute;
    margin: 20px auto;
    left: 300px;
    top: 90px;
    width: auto;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 50px;
  }

  header .header-items .contacts a{
    color: black;
    text-decoration: none;
  }

  header .header-items .contacts .facebook:hover{
    color: #0000ff;
  }

  header .header-items .contacts .twitter:hover{
    color: #08a0e9;
  }

  header .header-items .contacts .instagram:hover{
    color: #ffdc80;
    opacity: 1;
  }

  header .header-items .contacts .linkedin:hover{
    color: #0077b5;
  }

  header .header-items .contacts .github:hover{
    color: #171515;
    opacity: 1;
  }

  header .header-items .contacts .whatsapp:hover{
    color: #25d366;
  }

  .p-projects{
    font-size: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0.8;
  }

  .about-image{
    height: 150px;
    width: 150px;
    border-radius: 50%;
  }

  .header-items{
    display: flex;
    position: absolute;
    float: right;
    right: 30px;
  }

  .header-items a{
    color: #ddd;
    text-decoration: none;
    margin-right: 25px;
    transition: 0.5s;
  }

  .header-items a:hover{
    opacity: 0.5;
    cursor: pointer;
    text-decoration: none;
  }

  .about-btn{
    border: none;
    
    transition: 0.5s;
}

.header-items button:hover{
    cursor: pointer;
    opacity: 0.5;
    transition: 0.5s;
    text-decoration: underline 5px #00ADB5;
    margin-right: 0.8rem;
}

.header-items button{
  display: inline-block;
  width: 160px;
  padding: 5px;
}

.form{
  overflow: auto;
  display: none;
  position: fixed;
  top: 3rem;
  left: 16%;
  z-index: 1;
  width: 90%;
  left: 10px;
  right: 10px;
  margin: auto;
  max-height: 545px;
  background: #fff;
  padding: 2rem 1rem 1rem 1rem;
  border: none;
  border-radius: 5px;
}

.container{
  background-color: inherit;
  margin: 0.5rem auto;
  border-radius: 6px;
  width: auto;
  height: auto;
  padding: 1rem;
  color: #000;
  font-size: 20px;
}

.container .projects-card{
  display: inline-block;
}

.projects-card{
  margin-top: 20px;
  padding: 10px;
  background: linear-gradient(45deg, #00ADB5, #222831);
  max-height: 400px;
  overflow-y: auto;
  color: #ddd;
  width: 300px;
  border: none;
  border-radius: 5px;
  transition: 0.8s;
}

.projects-card:hover{
  cursor: pointer;
  box-shadow: 0px 5px 30px #393E46;
  border-radius: 0;
  transition: 0.8s;
}

.link{
  background-color: #f30a0a;
  margin: auto;
  border: none;
  border-radius: 5px;
  width: auto;
  padding: 5px;
}

.projects-card a:hover{
  text-decoration: none;
  color: #adb6c2;
  transition: 1s;
}

.dep{
  display: flex;
  width: 240px;
  height: 200px;
  border-radius: 4px;
  margin-bottom: 10px;
  margin: auto;
}

.close1{
  position: absolute;
  right: 10px;
  top: 0.5px;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close1:hover{
  cursor: pointer;
  opacity: 0.5;
}
  
  /* Style the close button */
  .close {
    position: absolute;
    right: 10px;
    top: 0;
    padding: 12px 16px 12px 16px;
    border-radius: 50%;
    transition: 0.5s;
  }
  
  .close:hover {
    background-color: #00ADB5;
    color: white;
    transition: 0.5s;
    cursor: pointer;
  }
  .header {
    background-color: #393E46;
    padding: 30px 40px;
    color: white;
    text-align: center;
    border-radius: 5px;
    transition: 0.7s;
    margin-top: 150px;
  }

  .header:hover{
    background: inherit;
    transition: 0.7s;
  }
  .header:after {
    content: "";
    display: table;
    clear: both;
  }
  input {
    margin: 0;
    border: none;
    border-radius: 5px;
    width: 75%;
    padding: 10px;
    float: left;
    font-size: 16px;
  }
  .addBtn {
    padding: 10px;
    width: 25%;
    background: #FFF;
    color: #bbb;
    float: left;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
  }
  .addBtn:hover {
    background-color: #bbb;
    color: #000;
  }
  #clear-list{
    width: 30%;
    font-family: sans-serif;
    font-size: 16px;
    margin: 40px 35%;
    padding: 10px;
    background-color: #00FFF5;
    color: #000;
    border: none;
    border-radius: 5px;
    transition: 0.5s;
  }
  #clear-list:hover{
    background-color: #00ADB5;
    color: white;
    transition: 0.5s;
    cursor: pointer;
  }

  footer{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    width: 100%;
    position: absolute;
    margin-bottom: 0;
    left: 0;
    padding: 10px 40px;
  }

  footer .copy{
    margin-left: 20px;
  }

  .footer-image{
    height: 70px;
    width: 70px;
    border-radius: 50%;
  }
  
  .notice{
    padding: 5px;
    color: gray;
    font-size: 22px;
    font-family: Arial, times New romans, sans-serif;
  }
  
  .top-notice{
    margin-top: 15%;
  }
  
  .nav-bar,.notice{
    box-shadow: 0px 2px 5px rgba(8, 8, 8, 0.438);
    border: 1px solid rgba(12, 12, 12, 0.623);
    border-radius: 5px;
  }
  
  .nav-btn{
    background-color: #393E46;
    padding: 15px 5px 15px 5px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    color: lightgray;
    font-family: 700;
    transition: 0.5s;
  }

  .nav-btn:hover{
    background-color: #202122;
    color: wheat;
  }

  .nav-btn:first-child{
    margin-right: 5%;
  }
  
  a{
    text-decoration: none;
  }
  
  .about-me{
    padding-top: 5px;
  }

  @media screen and (max-width:600px) {
    header{
      display: flex;
      align-items: center;
      background-color: #393E46;
      padding: 20px 40px;
      width: 100%;
    }
    
    img{
      height: 70px;
      width: 70px;
      transition: 0.5s;
    }

    .contacts-heading{
      display: none;
    }

    .contacts{
      display: block;
      height: auto;
      left: 200px;
      top: 10px;
      width: 130px;
      box-shadow: none;
    }

    header .header-items .contacts .facebook:hover{
      color: #0000ff;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #0000ff;
    }
  
    header .header-items .contacts .twitter:hover{
      color: #08a0e9;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #08a0e9;
    }
  
    header .header-items .contacts .instagram:hover{
      color: #ffdc80;
      opacity: 1;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #ffdc80;
    }
  
    header .header-items .contacts .linkedin:hover{
      color: #0077b5;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #0077b5;
    }
  
    header .header-items .contacts .github:hover{
      color: #171515;
      opacity: 1;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #171515;
    }
  
    header .header-items .contacts .whatsapp:hover{
      color: #25d366;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.9);
      padding: 3px;
      border: 2px solid #25d366;
    }

    .header {
      background-color: #393E46;
      padding: 30px 40px;
      color: white;
      text-align: center;
      border-radius: 5px;
      transition: 0.7s;
      margin-top: 150px;
    }

    .header-items button{
      right: 5rem;
      bottom: 2px;
    }

    footer{
      display: flex;
      align-items: center;
      color: #ddd;
      background: #393E46;
      width: 100%;
      position: absolute;
      margin-bottom: 0;
      left: 0;
      padding: 10px 40px;
    }

    footer .copy{
      margin-left: 20px;
    }
  
    .footer-image{
      display: none;
    }
  }

  @media screen and (min-width:700px) and (max-width: 1280px) {
    body{
      max-width: 80%;
    }
    .notice{
      width: 100%;
    }

    .top-notice{
      margin-top: 25%;
    }

    .about-me{
      display: flex;
      justify-content: flex-start;
    }
  }

  @media screen and (min-width: 600px) and (max-width: 700px) {
    .nav-logo{
      opacity: 0;
    }

    .top-notice{
      margin-top: 25%;
    }
  }

  @media screen and (min-width:260px) and (max-width: 600px) {
    body{
      background-color: #050f2e;
    }

    header{
      background-color: #208fdf;
      display: flex;
      justify-content: space-around;
      align-items: center;
      max-width: 95%;
      top: 10px;
      left: 10px;
      right: 10px;
      border-radius: 30px;
      padding: 8px 40px;
    }
    .nav-logo{
      opacity: 0;
    }
    .notice{
      margin-bottom: 10px;
      width: 100%;
    }

    .top-notice{
      margin-top: 30%;
    }

    .nav-btn{
      background-color: inherit;
      margin-left: 8%;
      width: fit-content;
      font-size: smaller;
      color: cornsilk;
    }

    .nav-btn:hover{
      background-color: inherit;
      color: #e718b3;
    }

    .about-me{
      display: flex;
      justify-content: flex-start;
    }

    .notice{
      border: 1px solid #e718b3;
    }

    footer{
      background-color: #208fdf;
    }
  }
