@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Roboto:wght@400;700&display=swap');


* {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Poppins';
}

html {
    scroll-behavior: smooth;
  }


.home {
    padding: 50px 1em 0 1em;
    height: 100vh;
    background-color: rgb(229, 229, 229);
}


.new-logo {
    margin-top: 6px;
    width: 60px;
}


nav div h4 {
    font-size: 1.2rem;
    font-weight: bold;
} 

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 5%;
    padding-right: 5%;
    height: 50px;
    width: 100%;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    gap: 2em;
    align-items: right;
}

.nav-links li {
    list-style: none;
    transition: text-shadow 0.5s ease;
}

.nav-links li a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    transition: text-shadow 0.5s ease;
}

.nav-links li a:hover {
    text-shadow: 0 0 1rem gray;
}



.burger {
    display: none;
    cursor: pointer;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4.5px;
    transition: all 0.3s ease;
}

@media screen and (max-width:768px) {
    body{
        overflow-x: hidden;
    }
    .nav-links {
        position: fixed;
        right: 0px;
        width: 50%;
        height: 75vh;
        top:50px;
        background-color: #f7f7f7;
        display: flex;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links li {
        opacity: 0;
        display: flex;
        justify-content: right;
        margin-right: 10%;
        padding: 15px 10px;
    }

    .burger{
        display: block;
    }

    .nav-active{
        display: block;
     
    }
}



@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links .active {
    color: red;
  }