﻿header {
    position: relative;
    overflow: hidden;
}

#header_container {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-color: #fff5f591;
}

#banner_bg img {
    opacity: 1;
}

#kongre_logo, #kongre_adi, #kongre_baslik, #kongre_slogan, #menubar {
    /*position: absolute;*/
    z-index: 20;
}

#kongre_logo {
    width: 284px;
    right: 279px;
    top: 25%;
    opacity: 0.9;
}

#kongre_adi {
    width: 564px;
    left: 135px;
    top: 75px;
    pointer-events: none;
}

#kongre_baslik {
    width: 229px;
    right: 0;
    top: 65%;
}


#kongre_slogan {
    width: 562px;
    left: 135px;
    top: 380px;
}

#counter {
    width: 100%;
    position: absolute;
    top: 520px;
    left: 70px
}


.partial {
    display: inline-block;
    background: radial-gradient(#0ae, transparent);
    position: absolute;
    width: 8px;
    height: 8px;
    animation: partial-anime 5s linear;
}

#flag {
    width: 40px;
    right: 0;
    filter: drop-shadow(0 2px 15px rgba(255,255,255, 1.5));
    transition: filter 200ms ease;
}

@keyframes partial-anime {
    from {
        opacity: 1;
        transform: translateY(0vh);
    }

    to {
        opacity: 0;
        transform: translateY(-50vh);
    }
}

@media screen and (max-width: 550px) {
    header {
        position: relative;
        height: 30vh;
    }

    .navbar-brand img {
        width: 95px !important;
    }

    #kongre_adi {
        width: 146px;
        left: 37px;
        top: 57px;
    }

    #kongre_logo {
        width: 91px;
        right: 85px;
        top: 60px;
    }

    #kongre_baslik {
        top: 62%;
        width: 83px;
    }


    #kongre_tarih {
        width: 100px;
        left: 60px;
        top: 135px;
    }

    #kongre_slogan {
        width: 102px;
        left: 62px;
        top: 137px;
    }
}


@media (min-width:768px) and (max-width:1024px) {

    #kongre_baslik {
        top: 34%;
        width: 163px;
    }

    #kongre_slogan {
        width: 286px;
        left: 113px;
        top: 270px;
    }

    #kongre_logo {
        width: 187px;
        right: 127px;
        top: 88px;
        opacity: 0.9;
    }

    #kongre_adi {
        width: 315px;
        left: 101px;
        top: 91px;
        pointer-events: none;
    }
}



@media (min-width:551px) and (max-width:768px) {
    header {
        height: 100%;
        overflow: visible;
    }

    #header_container {
        z-index: 2;
    }

    .navbar-collapse {
        transform: scale(0);
        transition: all 300ms ease-in-out;
    }

        .navbar-collapse.show {
            background-color: #fff;
            padding: 20px;
            margin-top: 5px;
            border-radius: 10px;
            box-shadow: 2px 4px 18px -2px rgb(0,0,0, .2);
            transform: scale(1);
        }

    #kongre_logo {
        width: 200px;
        right: 187px;
        top: 73px;
    }

    #kongre_adi {
        width: 295px;
        left: 72px;
        top: 70px;
    }

    #kongre_slogan {
        width: 269px;
        left: 85px;
        top: 237px;
    }

    #kongre_baslik {
        width: 161px;
        top: 63%;
    }

    #counter {
        width: 100%;
        position: absolute;
        top: 150px;
        left: 70px
    }

    #header-button {
        background-color: transparent;
        padding-bottom: 0 !important;
    }
}
