
@media only screen and (max-width:990px) {
    .navbar {
        flex-direction: column;
        background: transparent;
        box-shadow: none;

    }
.navbar{
    padding-top: 40px;
    width: 9%;
    opacity: 80%;
    background-color: transparent;
}
    .h-nav-resp {
        height: 0px;
    }

    .nav-list {
        flex-direction: column;
        width: 152px;
        margin-top: 15px;
        background: none;
        box-shadow: none;
    }
    h1 span {
        display: none;
    }

    .searchBar {
        flex-direction: column;
    }

    #search {
        width: 80%;
    }
    ul li{
        margin-top: 6px;
        margin-left: 0px;
        margin-right: 0;
        margin-bottom: 6px;
      }
      ul li:active {
        margin-top: 6px;
        margin-right: 0px;
        margin-bottom: 6px;
    }
    .burger {
        display: block;
        z-index: 100;
    }

    .v-class-resp {
        visibility: hidden;
    }
    footer ul{
        width: 100%;
        margin:20px 10px;
    }
   
    .detail {
        padding-top: 150px;
        padding-bottom: 30px;
        margin: auto;
        width: 90%;
    }
}
@media only screen and (max-width:768px) {
      .overlay::after{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgb(255, 0, 0), #ff0000);
        clip-path: circle(12% at 34% 55%);
      }
      body::after{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(238, 255, 0);
        clip-path: circle(12% at 61% 90%);
        backdrop-filter: blur(12px);
      }
      ul{
        margin-top: 20px;
      }
      ul li{
        margin-top: 6px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 6px;
      }
      ul li:active {
        margin-top: 6px;
        margin-right: 0px;
        margin-bottom: 6px;
    }
      .main{
        z-index: 1;
    }
      #bg{
        position: absolute;
        width: 100%;
        height: 86vh;
        overflow: visible;
        object-fit: cover;
    }
    .overlay{
        position: absolute;
        width: 100%;
        height: 86vh;
        top: 0;
        left: 0;
        background: #0000009b;
      }
    .card{
        height: 480px;
        width: 375px;
        margin-top: 80px;
      }
      input[type=text] {
        width: 321px;
        height: 42px;
        margin-left: 21px;
    }
    .calc-buttons {
        margin-left: 1px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 15px;
    }
    .functions-one {
        width: 350px;
        display: flex;
        flex-wrap: wrap;
    }
    .functions-two {
        width: 350px;
        display: flex;
        flex-wrap: wrap;
    }
    #ihsan {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(160deg, #00ddff, transparent, transparent);
        box-shadow: inset 1px 1px 4px #ffffff, inset -4px -4px 10px #ffffff, 2px 2px 10px #272727;
        font-size: 1.2em;
        color: #000000;
        border: 1px solid #ffffff;
        width: 167px;
        display: flex;
        flex-wrap: wrap;
    }
    #ihsan:hover {
        background-color: hsl(53, 100%, 50%);
        transition: .4s;
    }
    #ihsan:active {
        background-color: hsl(0, 0%, 100%);
        box-shadow: 0px 0px 10px rgb(255, 255, 255),
            0px 0px 20px rgb(255, 255, 255),
            0px 0px 40px rgb(255, 255, 255),
            0px 0px 60px rgb(255, 255, 255), inset 4px 4px 10px #cacaca, inset -4px -4px 10px #cacaca;
        text-shadow: none;
        border: 1px solid rgb(181, 181, 181);
        color: #878787;
        cursor: none;
    }
    footer ul{
        width: 100%;
        margin:20px 0px;
    }
  
       .detail {
        padding-top: 150px;
        padding-bottom: 30px;
        margin: auto;
        width: 94%;
    }
    .socialbar ul {
        position: absolute;
        top: 800px;
        left: 5px;
        display: flex;
        flex-direction: row;
        transform-style: preserve-3d;
        transform: rotate(-0deg) skew(0deg);
    }
    .socialbar ul li {
        margin: 18px 16px;
    }
}
@media only screen and (max-width:690px) {
    .main h1 {
        margin-left: 0%;
        font-size: 36px;
    }
    footer ul{
        width: 100%;
        margin:20px 0px;
    }
}
@media only screen and (max-width:480px) {
    .main h1 {
        font-size: 30px;
        margin-left: 10px;
    }
    #bg {
        height: 95vh;
    }
    .overlay {
        height: 95%; 
    }
}
@media only screen and (max-width:455px) {

    .main h1 {
        font-size: 32px;
        margin-left: 20px;
    }
    .socialbar ul li {
        margin: 18px 17px;
    }
}
@media only screen and (max-width:380px) {
    .card {
        width: 100%;  
    }
    
    #bg {
        height: 127vh;
    }
    .overlay {
        height: 127%; 
    }
    .detail {
        padding-top: 170px;
    }
    input[type=text] {
        width: 85%;
        margin-left: 20px;
    }
}
@media only screen and (max-width:320px) {

    input[type=text] {
        width: 85%;
        margin-left: 20px;
    }
    .main h1 {
        font-size: 27px;
        margin-left: 20px;
    }
}