﻿header {
    position: relative;
    overflow: hidden;
}

#header_container {
    position: absolute;
    inset: 0;
    z-index: 2;
}

#banner_bg img {
    opacity: 1;
}

#kongre_logo, #kongre_adi, #kongre_baslik, #kongre_tarih, #menubar {
    position: absolute;
    z-index: 20;
}

#kongre_logo {
    width: 120px;
    left: -50px;
    top: 110px;
    opacity: 0.9;
}

#kongre_adi {
    width: 700px;
    left: 90px;
    top: 80px;
    pointer-events: none;
}

#kongre_baslik {
    width: 461px;
    left: 319px;
    top: 212px;
}


#kongre_tarih {
    width: 350px;
    left: 430px;
    top: 252px;
}

#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: 120px;
        left: 60px;
        top: 75px;
    }

    #kongre_baslik {
        width: 120px;
        left: 60px;
        top: 130px;
    }


    #kongre_tarih {
        width: 100px;
        left: 60px;
        top: 135px;
    }
    li.nav-item {
        color: white;
    }
    
}




    @media (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: #000df8;
                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: 40px;
            left: 10px;
            top: 60px;
        }



        #kongre_adi {
            width: 200px;
            left: 65px;
            top: 55px;
        }

        #kongre_baslik {
            width: 135px;
            left: 128px;
            top: 95px;
        }

        #kongre_tarih {
            width: 95px;
            left: 168px;
            top: 109px;
        }

        #counter {
            width: 100%;
            position: absolute;
            top: 150px;
            left: 70px
        }

        #header-button {
            background-color: transparent;
            padding-bottom: 0 !important;
        }
    }


