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

html{
    scroll-behavior: smooth;
}

:root{
    --box-shadow-1:rgba(0, 0, 0, 0.815);
    --container-padding: 10px;
    --container-margin: 50px 20px;
    --container-bg: rgb(255, 255, 255);
    --link-bg: rgb(48, 48, 48);
}

body{
    /* min-height: 100vh; */
    background-image: url(../images/gym-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    top: 0;
    transition: background-position 2s;
}

body.sidebar-open {
    overflow: hidden;
}

header{
    background-color: rgb(255, 255, 255);
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.header-container{
    width: 1300px;
}

.header-box{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    align-items: center;
    border-bottom: 1px solid rgb(0, 0, 0);
    margin: 20px 20px 0 20px;
}

.header-box svg{
    margin-left: auto;
    display: block;
}

.logo-container{
    height: 100%;
}

.logo{
    height: 80px;
    display: flex;
    justify-content: center;
    margin-right: auto;
    grid-row: span 2;
}

.hfc{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    margin-bottom: -12px;
}

.vetlanda{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    grid-column: 2;
    grid-row: 2;
    font-size: 1.9rem;
    margin-top: -12px;
}

.social-media{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-row: span 2;
    margin-left: auto;
}

.social-media a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-media svg{
    height: 36px;
    width: 36px;
    transition: 0.3s;
    border-radius: 50%;
}

#hamburger-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    display: none;
    cursor: pointer;
}

#hamburger-icon svg{
    background-color: rgb(255, 255, 255);
    fill: black;
}



main{
    max-width: 1300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    padding: 50px 0;
}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    margin: var(--container-margin);
    padding: var(--container-padding);
    background-color: var(--container-bg);
    box-shadow: 3px 3px 8px var(--box-shadow-1);
    overflow: hidden;
}

.container a{
    color: black;
}

.container img{
    grid-row: span 2;
}

.container-img{
    transition: 0.3s;
}




.container button{
    margin-right: auto;
}



footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 140px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px -1px 8px var(--box-shadow-1);
}

footer p{
    font-size: 1.2rem;
}







@media(max-width: 1270px){
    body{
        background-size: auto;
    }
}

@media(max-width: 840px){
    header{
        position: sticky;
        top: 0;
    }

    header h1{
        display: none;
    }

    .header-box{
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 1fr;
        border-bottom: none;
        margin: 10px;
    }

    .header-box svg{
        display: block;
        margin-right: 10px;
    }

    main{
        background-color: rgba(34, 34, 37, 0.733);
    }

    .container{
        grid-template-columns: 1fr;
        background-color: rgba(255, 255, 255, 0);
        margin: 20px 0;
        padding: 20px;
        color: white;
        box-shadow: 0 0 0;
        font-size: 0.8rem;
    }

    .container a{
        color: white;
    }

    .logo{
        height: 40px;
        margin-left: 20px;
    }

    .social-media svg{
        height: 30px;
        width: 30px;
        margin: auto;
    }

    #hamburger-icon{
        display: block;
    }
}

@media(min-width: 840px){
    .social-media svg:hover{
        scale: 1.2;
        border: 1px solid black;
        border-radius: 50%;
        background-color: rgb(0, 0, 0);
        fill: white;
    }
}