@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat",sans-serif;
}

body{
    overflow-x: hidden;
    background-color: rgb(255, 255, 255);
}

a{
    text-decoration: none;
}

li{
    list-style-type: none;
}

header{
    z-index: 1001;
    width: 100%;
    position: fixed;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: rgb(255, 255, 255);
    top: 0;
    box-shadow: 1px 1px 5px rgb(168, 168, 168);
}

.logo{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 45px;
    color: rgb(37, 37, 37);
    letter-spacing: 5px;
    font-weight: 400;
}

nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li{
    margin-left: 40px;
}

nav ul li a{
    color: rgb(97, 97, 97);
    transition: 0.3s ease;
    font-weight: 400;
    font-size: 14px;
    padding-bottom: 5px;
    margin-left: 40px;
}

nav ul li a.active{
    font-weight: 600;
    border-bottom: 2px solid grey;
}

nav ul li a:hover{
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: rgb(97, 97, 97);
}

footer {
    background-color: white;
    border-top: 1px solid rgb(168, 168, 168);
    padding: 30px 0;
    text-align: center;
}

footer h6 {
    font-size: 14px;
    color: rgb(168, 168, 168);
    font-weight: 400;
}

@media (max-width: 1050px) {
    .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;
        top: 70px;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: rgb(255, 255, 255);
        transition: right 0.6s ease;
        padding: 20px 0;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 30px 0;
    }
    
    nav ul li a {
        margin-left: 0;
    }
}