header{
    width: 100%;
    height: 80px;
    background-color: rgb(62, 59, 243);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}

.logo{
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.hamburger{
    display: none;
}

.navbar ul{
    display: flex;
}

.navbar ul  li{
    list-style: none;
}

.navbar  ul li a{
    display: block;
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: .2s;
    margin: 0 5px;
}

.navbar  ul li a:hover{
    color: black;
    background-color: white;
}

@media (max-width: 1280px) {
    header{
        padding: 0 50px;
    }
}

@media (max-width: 900px) {
    .hamburger{
        display: block;
        cursor: pointer;
    }
    .hamburger .line{
        width: 30px;
        height: 3px;
        background: #fff;
        margin: 5px;
    }
    .navbar.active{
        height: 450px;
    }
    .navbar.active ul{
        opacity: 1;
    }
    .navbar{
        position: absolute;
        height: 0;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background: rgba(53, 50, 243, 0.714);
        transition: .2s;
        overflow: hidden;
        z-index: 1;
    }
    .navbar ul{
        display: block;
        width: fit-content;
        margin: 50px auto 0 auto;
        text-align: center;
        transition: .3s;
        opacity: 0;
    }
    .navbar ul li a{
        margin-bottom: 30px;
        color: white;
    }
}