@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&display=swap');

@font-face {
    font-family: "Ultramono";
    src: url("../fonts/UltramonoWide-Light.woff");
}

body{
    margin: 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

div{
    display: flex;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: inherit;
}

/* === */

.header{
    width: 100%;
    align-items: center;
    height: 90px;
    z-index: 9;
}

.header div{
    margin: 0 4%;
}

.header > div:first-of-type{
    justify-content: left;
    width: 35%;
}

.header img{
    width: 330px;
}

.menu{
    width: 65%;
    font-size: 18px;
    font-weight: 500;
    justify-content: space-around;
}

.menu a{
    position: relative;
}

.menu a::after{
    content: "";
    background: #ff6f10;
    height: 2px;
    width: 0;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: .15s ease-out;
}

.menu a:hover::after{
    width: 100%;
}

.menu div{
    width: 1px;
    margin: 0 -4%;
    background: #666;
}

@keyframes headeranim {
    from {transform: translateY(-100%);}
    to {transform: translateY(0);}
}

.sticky{
    animation: headeranim .2s forwards ease-out;
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 99;
}

#menubuttoncont{
    display: none;
    height: 100%;
    justify-content: right;
    align-items: center;
}

#responsivemenu{
    display: none;
    position: fixed;
    right: 0;
    width: 240px;
    z-index: 99;
}

#menubutton{
    margin: 0;
    height: 30px;
    cursor: pointer;
    align-items: center;
}

#menubutton span{
    height: 2px;
    width: 20px;
    background: #000;
    border-radius: 15px;
    position: relative;
    transition: .2s;
}

#menubutton span::before, #menubutton span::after{
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 25px;
    transition: .2s;
}

#menubutton span::before{
    top: -6px;
}

#menubutton span::after{
    bottom: -6px;
}

#menubutton.active span{
    background: #fff;
    transform: translateX(5px);
}

#menubutton.active span::after{
    transform: rotate(-45deg) translate(1px, -7.5px);
}

#menubutton.active span::before{
    transform: rotate(45deg) translate(1px, 7.5px);
}

@keyframes menuanim {
    from{
        transform: translateY(-100%);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

@media only screen and (min-width: 2150px) {

    .menu{
        font-size: 24px;
    }

}

@media only screen and (max-width: 1500px) {
    
    .header div {
        margin: 0 3%;
    }

    .menu div{
        margin: 0 -2%;
    }

}

@media only screen and (max-width: 1300px) {

    .menu div{
        margin: 0 -3%;
    }

    .menu{
        font-size: 16px;
    }

}

@media only screen and (max-width: 1190px) {

    .menu{
        display: none;
    }

    #menubuttoncont{
        display: flex;
        width: 100%;
    }

    #responsivemenu.active{
        display: flex;
        flex-direction: column;
    }

    #responsivemenu a{
        padding: 8px 20px;
        font-size: 18px;
        user-select: none;
        background: #fff;
        opacity: 0;
    }

    #responsivemenu a:not(:last-of-type){
        border-bottom: 1px solid rgb(202, 202, 202);
    }

    #responsivemenu.active a{
        animation: menuanim .2s forwards;
    }

}

@media only screen and (max-width: 1050px) {

    .header img{
        width: 290px;
    }

    .header{
        height: 75px;
    }

}  

@media only screen and (max-width: 550px) {

    .header img{
        width: 220px;
    }

    .header{
        height: 60px;
    }

    #responsivemenu a{
        font-size: 15px;
        
    }

}