* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'popins', sans-serif;
    text-decoration: none;
}

body {
    overflow-x: hidden;
    background: blueviolet;
}

.header-1 {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    background: blueviolet;
}

header {
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: purple;
}

.logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logo .logo-text {
    font-size: 34px;
    font-weight: 500;
    color: whitesmoke;
    margin-left: 2rem;
}

nav .New {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: none;
}

nav .New span {
    display: block;
    background-color: #007ced;
    margin: 5px 0ppx;
    width: 100%;
    height: 3px;
    transition: 0.3s;
    transition-property: transform, opacity;
}

nav .nav {
    list-style-type: none;
    font-size: 26px;
}

nav .nav li {
    display: inline-block;
}

nav .nav li a {
    color: #e5e5e5;
    margin-right: 2.5rem;
}

nav .nav li a:hover {
    color: #007ced;
}

.hamburger{
    display: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}



@media screen and (max-width: 768px) {

    .header-1 {
        width: 100%;
        height: 100%;
        min-height: 100%;
        background: blueviolet;
    }
    
    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo .logo-text {
        font-size: 30px;
        font-weight: 350;
        color: whitesmoke;
        margin-left: 3rem;
    }
    
    nav .New {
        width: 100px;
        height: 100px;
        cursor: pointer;
    }
    
    nav .nav {
        font-size: 30px;
    }
    
    nav .nav li a {
        color: #e5e5e5;
        margin-left: 2rem;
    }
    
    nav .nav li a:hover {
        color: #007ced;
    }
    
    .hamburger{
        display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav{
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #262626;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item{
        margin: 16px 0;
    }

    .nav.active{
        left: 0;
    }

}

