/*
Theme Name: SVS Theme
Template: twentytwentyfour
*/

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
    margin-top: 0;
    transition: all 0.3s ease;
    background-color: var(--wp--preset--color--custom-color-4);
    height: auto;
}

.next-homegame {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 997;
    transition: height 0.3s ease;
    height: 80px;
    padding: 3px;
    background-color: var(--wp--preset--color--custom-color-1);
}

.next-homegame * {
    opacity: 1;
    transition: opacity 0.5s ease;
    transition-delay: 0.3s;
    margin: 3px 5px;
}

.next-homegame figure {
    display: flex;
    flex: 0 0 55px;
    justify-content: center;
    align-items: center;
    height: 55px;
    width: 55px;
}

.next-homegame figure img,
.next-homegame figure .logo,
.next-homegame figure .logo-placeholder {
    display: block;
    position: static;
    width: 55px;
    height: 55px;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    object-fit: contain;
    scale: 1;
}

.next-homegame p {
    line-height: 20px;
    color: var(--wp--preset--color--custom-color-4);
}

.header-gameplan {
    display: none;
}

.collapsed * {
    opacity: 0;
    transition-delay: 0s;
}

.collapsed {
    height: 10px;
}


header .logo {
    position: absolute;
    z-index: 999;
    transition: transform 0.3s ease;
    scale: 0.5;
    left: -22px;
    top: -22px;
}

.search-social-bar {
    width: 100%;
    min-height: 80px;
    z-index: 998;
    background-color: var(--wp--preset--color--custom-color-4);
}

.search-social-bar * {
    display: none !important;
}


@media (min-width: 820px) {

    header .logo {
        left: 0;
        top: 15px;
        padding-left: 15px !important;
        scale: 1;
    }

    .search-social-bar {
        min-height: 0;
    }

    .search-social-bar * {
        display: flex !important;
    }

    .header-collapsed .search-social-bar {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .header-collapsed {
        top: -60px;
    }

    .header-collapsed .wp-block-site-logo {
        transform: scale(0.7) translateY(50px);
    }

    .header-collapsed .wp-block-site-logo:hover {
        transform: scale(0.75) translateY(50px);
    }

    .header-expanded {
        top: 0;
    }

    .header-expanded .search-social-bar {
        opacity: 1;
    }

    .header-expanded .logo {
        transform: scale(1) translateY(0px);
    }

    .header-expanded .logo:hover {
        transform: scale(1.05) translateY(0);
    }

}
