@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import 'header.css';
@import 'footer.css';
@import 'reset.css';
@import 'landing-page.css';
@import 'generic.css';
@import 'upplandskubb.css';
@import 'board.css';
@import 'cookie-consent.css';
@import 'edit-texts.css';
@import 'admin.css';

body{
    background-color: var(--background-color);
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 75vh;
}
.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20em;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}
.hero img{
    width: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: var(--accent-color);
    font-size: 4em;
    -webkit-text-stroke: 4px var(--dark-text-color);
    paint-order: stroke fill;
}
.hero .hero-gradient{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 2;
}
main {
    max-width: 1200px;
    width: 100%;
    padding: 0.5em;
}
.theme-switch{
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#theme-switch{
    color: var(--alternative-text-color);
    font-size: 1.5em;
    
}

.burger {
    display: none;
    color: var(--header-text-color);
}

@media screen and (max-width: 768px){
    header {
        padding: 0;
        padding-top: 0.25em;
        grid-template-columns: 4fr 1fr 1fr;
        grid-template-rows: 1fr;
    }
    #logo {
        grid-column: 1;
        justify-self: start;
        align-self: center;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 40px;
        right: 20px;
        width: 50%;
        background-color: var(--main-color);
        padding: 15px;
        border: 1px solid var(--accent-color);
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .theme-switch{
        grid-row: 1;
        grid-column: 2;
        font-size: 1.5em;
    }
    .nav-links.active {
        display: flex;
        z-index: 1000;
    }
    .nav-links li {
        width: 100%;
        margin: 0.5em 0;
    }

    .burger {
        display: block;
        grid-row: 1;
        grid-column: 3;
        font-size: 2em;
        align-self: center;
    }
    
    main{
        padding: 1.75em;
    }
    .hero {
        height: 15em;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .latest-news{
        width: 100%;
    }
    #quality_assurance{
        width: 100%;
    }
    .recipe-img{
        width: 50%;
    }
    .recipe-video{
        width: 100%;
       
    }
    .board-member{
        width: 100%;
        max-width: 300px;
        max-height: 500px;
        min-width: 0;
    }
    footer div{
        width: 100%;
    }
    footer img {
        width: 140px
    }
}
@media screen and (max-width: 480px){
    .hero h1 {
        font-size: 2em;
        -webkit-text-stroke: 1.5px var(--dark-text-color);
    }
    footer div{
        font-size: 0.75em;
    }
    footer img {
        width: 110px !important;
    }
}
@media screen and (max-width: 400px){
    .hero h1 {
        font-size: 2em;
        -webkit-text-stroke: 1.5px var(--dark-text-color);
    }
    footer div{
        font-size: 0.6em;
    }
    footer img {
        width: 100px !important;
    }
}