header{
    height: 538px;
    background: url("../img/hero_mobile.jpg");
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;


    @media(min-width:425px){
        background: url("../img/hero_desktop.jpg");
        background-size: auto;
        background-position: center;
        height: 800px;
        width: auto;
    }

    div.header{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        svg path{
            fill: white;
        }

        nav button.burger-icon {
            border: none;
            background-color: transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: .375rem;
            width: 1.5rem;
            padding: 0;
            transition: opacity 0.1s linear;

            span{
                width: 100%;
                height: 2px;
                background-color: white;
            }

            @media(min-width:755px){
                display: none;
            }
        }

        nav{
            ul.navigation{
                display: flex;
                margin: 0;
                padding: 0;

                @media(max-width:755px){
                    &.hidden{
                        display: none;
                    }

                    &.open{
                        display: flex;
                        border-radius: 4px;
                        position: absolute;
                        flex-direction: column;
                        transform: translate(50%, -145%); 
                        background-color: white;
                        outline: 1px solid white;
                        right: 50%;
                        width: calc(100% - 3rem);
                        top: 15%;
                        height: 300px;
                        justify-content: center;
                        align-items: center;
                        gap: 32px;
                        &::after{
                            position: absolute;
                            content: "";
                            width: 50px;
                            height: 50px;
                            background-color: white;
                            top: 0;
                            transform: translateY(-50%);
                            right: -1px;
                            clip-path: polygon(30% 50%, 100% 0, 100% 100%);
                            border-radius: 2px;
                        }
    
                        li a{
                            color: #808397;
                            font-size: 20px;
                            letter-spacing: -0.14px;
                            text-decoration: none;
    
                            &.contact{
                                font-size: 15px;
                                line-height: 25px;
                                font-family: "Fraunces";
                                color: var(--paragraph-color);
                                padding: 1rem 30px 1rem 30px;
                                background-color: #FBD600;
                                border-radius: 28px;
                                transition: background-color 0.1s linear;
                            }
                        }
                    }
                }




                @media(min-width:755px){
                    display: flex;
                    gap: 47px;
                    li{
                        a{
                            letter-spacing: -0.13px;
                            text-decoration: none;
                            color: white;
                            font-family: var(--font-text);
                            font-size: 18px;
                            gap: 47px;
        
                            &.link:hover{
                                text-decoration: underline;
                            }
        
                            &.contact{
                                font-size: 15px;
                                line-height: 25px;
                                font-family: "Fraunces";
                                color: var(--paragraph-color);
                                padding: 1rem 30px 1rem 30px;
                                background-color: white;
                                border-radius: 28px;
                                transition: background-color 0.1s linear;
        
                                &:hover{
                                    color: white;
                                    background-color: rgba(255, 255, 255, 0.25);
                                }
                            }
                        }
                    }
                }
                
            }
        }
    }

    section.hero h1{ 
        text-align: center;
        margin-top: 5.5rem;
        color: white;
        font-family: var(--font-title);
        font-size: 40px;
        letter-spacing: 6.25px;
        font-weight: 700;
        text-transform: uppercase;
        @media(min-width:425px){
            font-size: 56px;
        }
    }

    svg.arrow{
        @media(min-width:425px){
            margin-top: 7rem;
        }
        margin-top: 21px;
    }
}