:root{
    --COLOR1: #d70000;
    --COLOR2: #a00000;
    --COLOR3: #f2f2f2;
    --COLOR4: #282828;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #282828;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    z-index: 1000;
    justify-content: space-between;
    color: #f2f2f2;
    height: 40px;
    transition: background-color 0.3s ease;
}
header.scrolled {
    background-color: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-head .logo{
    text-decoration: none;
    font-size: 2rem;
    color: #f2f2f2;
    font-weight: bolder;
    padding-right: 1.2rem;
    position: relative;
    cursor: default ;
    width:125px;
    height: 40px;
    display: flex;
    align-items: center;
}
.nav-head .logo img{
    width: 125px;
    object-fit: cover;
}
.nav-head nav a{
    text-decoration: none;
    font-size: 1.5rem;
    color: #f2f2f2;
    padding: 0 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-head .login{
    text-decoration: none;
    color: #f2f2f2;
    font-size: 1.5rem;
    font-weight: bolder;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-head nav a:hover, .login:hover, i.fas.fa-bars:hover{
    color: #fc6363 !important;
}
.nav-head .hamburger, .ham{
    display: none;
}
.nav-head #toggler{
    display: none;
}
.nav-head i.fas.fa-bars{
    font-size: 1.5rem;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1030px) {
    /*nav*/
    .nav-head .hamburger, .ham{
      display: block;
    }
    .nav-head nav{
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #282828;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      transition: background-color 0.3s ease;

    }
    .nav-head #toggler:checked ~ nav{
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-head nav a{
      margin: 0.5rem;
      padding: 0.5rem;
      display: block;
    }
    .nav-head nav.scrolled{
        background-color: rgba(40, 40, 40, 0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
  }
  @media screen and (max-width:700px) {
    .nav-head .logo{
    width:100px;
    height: 20px;
}
.nav-head .logo img{
    width: 100px;
}
header{
    height: 20px;
}
.nav-head i.fas.fa-bars{
    font-size: 1rem;
}
.nav-head nav a{
    font-size: 1rem;
}
  }