:root{
    --primary: #FA4570;
    --secondary: white;
    --tertiary: #F0B830;

    --header-h: 140px;
}

html{ scroll-behavior: smooth; }

*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*{font-family: Jost, sans-serif;}
a{text-decoration: none;}

img, video, svg{
    display: block;
    height: auto;
}

img{
    width: 100%;
    max-width: max-content;
}

body{
    width: 100%;
    max-width: 1920px;
}

.container{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

section{position: relative;}

header{
    position: fixed;
    z-index: 777;
    top: 0; left: 0;
    width: 100%;
    transition: background-color .1s ease;
}

header .container{
    display: flex;
    justify-content: space-between;
    height: var(--header-h);
    padding: 40px 15px;
    transition: height .2s ease;
}

header .logo img{
    height: clamp(60px, 10vw, 161px);
    width: auto;
    transition: height .2s ease;
}

header ul{
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

header ul a{
    position: relative;
    display: inline-block;
    color: white;
    font-family: Chewy, sans-serif;
    font-size: 33px;
    padding: 10px 25px;
}

header ul li:last-of-type a{padding: 10px 50px;}

header ul a svg{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

header nav a path{transition: fill .3s ease;}
header nav a:hover path{fill: var(--tertiary);}

/* header mini */
header.mini{
    --header-h: 100px;
    background-color: rgba(0,0,0,.75);
    box-shadow: rgba(0,0,0,.16) 0 3px 6px;
    transition: background-color .5s ease;
}
header.mini .logo img{height: 40px;}
header.mini .container{padding: 20px 15px;}

#menu-trigger{
    position: fixed;
    top: 10px;
    right: 10px;
    width: 60px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
    transition: background-color .3s ease;
    cursor: pointer;
    z-index: 888;
}

#menu-trigger svg{
    width: 30px;
    height: auto;
}

#menu-trigger path{
    fill: var(--tertiary);
    transition: fill .3s ease;
}

#menu-trigger:hover{
    background-color: var(--primary);
}

#menu-trigger:hover path{
    fill: white;
}

.menu-mobile-opened{
    overflow: hidden;
}

@media (max-width: 1024px) {
    header nav ul{
        display: none;
    }

    header{
        --header-h: 80px!important;
        background-color: rgba(0,0,0,.75);
        box-shadow: rgba(0,0,0,.16) 0 3px 6px;
        transition: background-color .5s ease;
    }
    header .logo img{height: 40px;}
    header .container{padding: 20px 15px;}
}