*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}
body{
    max-width: 1270px;
    width: 100%;
    margin: auto;
    height: 100vh;
}
nav{
    width: 100%;
    background-color: #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20%;
    box-shadow: -3px -3px 10px #ffffff, 3px 3px 5px #ceced1;
    z-index: 10;
}

nav .menu-toggle a{
    color: #3498db;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bolder;
}

nav button{
    cursor: pointer;
    font-weight: 500;
    font-size: 2rem;
    outline: none;
    border: none;
    background-color: transparent;
    display: none;
    transition: linear .1s ease;
    position: relative;
}

nav .developer{
    display: none;
}

nav button:hover::before{
    content: "";
    position: absolute;
    top: 7px;
    left: 2px;
    border: 1px solid #3498db;
    height: 25px;
    width: 27px;
}
nav button.cancel:hover::before{
    border-radius: 25px;
}

nav ul{
    display: flex;
    list-style: none;
}

nav ul li a{
    color: #31344b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    margin: 0 15px;
    padding: 10px 20px;
    position: relative;
    transition: all .6s ease;
}

nav ul li a:hover::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

nav ul li a:hover{
    color: #3498db;
}

main{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#back-container{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    background: rgba(255, 225, 225, .5);
    border: 2px solid rgba(255, 225, 225, .2);;
    /* backdrop-filter: blur();     */
    align-items: center;
    position: relative;
}

#back-container:hover::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset -3px -3px 7px #4d4c4c, inset 3px 3px 5px #ceced1;
}

#back-container h2{
    font-weight: 600;
}

#back-container h2 span{
    font-weight: bold;
}

#btn{
    background-color: white;
    height: 50px;
    width: 170px;
    border: 2px solid black;
    text-align: center;
    margin-top: 50px;
    font-weight: 500;
    font-size: 1.2rem;
    transition: linear .6s ease;
}

#btn:hover{
    background-color: #3498db;
    color: #f1f3f4;
    border: none;
    border-radius: 20px;
}

@media (max-width: 940px){
    #back-container{
        text-align: center;
    }
    nav{
        padding: 15px 35px;
    }
    nav ul{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 45px;
        max-width: 400px;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        box-shadow: 3px 5px 10px ;
        box-shadow: 0 5px 10px #b0b0b5;
        z-index: 12;
        transition: linear 0.9s ease;
        transition-delay: 2s;
    }
    nav ul li a{
        display: block;
        margin-top: 20px;
        text-align: center;
        box-shadow: none;
    }
    nav ul li a:hover::before{
        box-shadow: none;
    }
    nav button.bars{
        display: block;
        transition: linear 0.9s ease;
        transition-delay: 0.5s;
    }
    nav button.cancel{
        position: absolute;
        top: 25px;
        right: 30px;
    }

    nav .developer{
        position: relative;
    }

    nav .developer::before{
        position: absolute;
        content: "";
        width: 100%;
        height: 1px;
        top: -15px;
        background-color: #31344b;
    }
    nav .developer{
        width: 100%;
        position: absolute;
        bottom: 100px;
        display: block;
    }
    nav .developer img{
        width: 70%;
        max-width: 250px;
        object-fit: contain;
        transform: translateX(20%);
    }

    nav .developer p{
        text-align: center;
        padding-bottom: 10px;
        font-weight: 500;
    }
}

@media (max-width: 500px){
    html{
        font-size: 14px;
    }
    .container{
        width: 80%;
    }
    #back-container{
        border-radius: 20px;
        padding: 0 20px;
    }
    #back-container:hover::before{
        border-radius: 20px;
    }
    nav ul{
        padding-top: 45px;
        max-width: 250px;
    }
    nav button:hover::before{
        top: 5px;
        left: .5px;
    }
}