@import url('https://fonts.googleapis.com/css2?family=Jost:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
@media (max-width: 768px) {
    .search-menu{
        grid-template-rows: auto 150px;
        grid-template-columns: 1fr !important;
        width: 80% !important;
        justify-content: center !important;
    }
    .search-menu_check{
        grid-template-rows: auto 150px;
        grid-template-columns: 1fr !important;
        width: 80% !important;
        margin-top: 80px !important;
        justify-content: center !important;
    }
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .okna-img{
        display: none !important;
    }
    .upper-block{
        height: auto !important;
    }
    .upper-block_check{
        height: auto !important;
    }
    .upper-block-blue{
        height: 62px !important;
    }
    .search-form{
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
    }
    .search-block{
        position: relative;
        display: flex;
        width: 100% !important;
        justify-content: center;
    }
    .lupa-img{
        position: absolute; 
        top: 0px !important;
    }
    .block-title{
        height: calc(100% + 30px) !important;
        padding-bottom: 10px;
    }
    .justify-content-center{
        width: 90%;
    }
    .alert{
        top: 60px !important;
    }
    .alk-img{
        transform: scale(1); 
    }
    .alko-abs{
        right: 17%; 
        top: -45px;
    }
    .alk-img-operator{
        transform: scale(1); 
    }
    .alko-abs-operator{
        right: 25%; 
        top: 35px;
    }
    .logout-button, .login-button{
        font-size: 11px !important;
    }
}

@media (min-width: 769px) and (max-width: 1279px){
    .search-menu{
        grid-template-rows: auto 150px;
        grid-template-columns: 1fr !important;
        width: 80% !important;
        justify-content: center !important;
        justify-items: center;
    }
    .search-menu_check{
        grid-template-columns: 1fr 1fr !important;
        justify-items: center;
        width: 80% !important;
        margin-top: 80px !important;
        justify-content: center !important;
    }
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .okna-img{
        transform: scale(0.2);
    }
    .upper-block{
        height: auto !important;
    }
    .upper-block_check{
        height: auto !important;
    }
    .upper-block-blue{
        height: 80px !important;
    }
    .search-form{
        width: 100% !important;
    }
    .search-block{
        position: relative;
        display: flex;
        width: 100% !important;
        justify-content: center;
    }
    .lupa-img{
        position: absolute; 
        top: 6px;
    }
    .block-title{
        height: calc(100% + 30px) !important;
        padding-bottom: 10px;
    }
    .justify-content-center{
        width: 80%;
    }
    .main-block{
        min-height: 100vh;
    }

    .alko-abs{
        right: 0; 
        top: 25%;
    }
    .alk-img-operator{
        transform: scale(1.2); 
    }
    .alko-abs-operator{
        right: 16%; 
        top: 16%;
    }
    .search-menu-container{
        height: 200px;
    }
    .logout-button, .login-button{
        font-size: 14px !important;
    }
}
@media (min-width: 1280px) and (max-width: 1919px){
    .search-menu{
        grid-template-columns: 500px auto !important;
        width: 80% !important;
        justify-content: center !important;
        justify-items: center;
    }
    .search-menu_check{
        grid-template-columns: 1fr 1fr !important;
        justify-items: center;
        width: 80% !important;
        margin-top: 80px !important;
        justify-content: center !important;
    }
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .okna-img{
        transform: scale(0.3);
    }
    .upper-block{
        height: auto !important;
    }
    .upper-block_check{
        height: auto !important;
    }
    .upper-block-blue{
        height: 80px !important;
    }
    .search-form{
        width: 100% !important;
    }
    .search-block{
        position: relative;
        display: flex;
        width: 100% !important;
        justify-content: center;
    }
    .lupa-img{
        position: absolute; 
        top: 6px;
    }
    .block-title{
        height: calc(100% + 30px) !important;
        padding-bottom: 10px;
    }
    .justify-content-center{
        width: 80%;
    }
    .main-block{
        min-height: 100vh;
    }
    .alk-img{
        transform: scale(1.5); 
    }
    .alko-abs{
        right: 0; 
        top: 20%;
    }
    .alk-img-operator{
        transform: scale(1.5); 
    }
    .alko-abs-operator{
        right: 13%; 
        top: 15%;
    }
    .search-menu-container{
        height: 300px;
    }
    .logout-button, .login-button{
        font-size: 16px !important;
    }
}
@media (min-width: 1920px){
    .okna-img{
        transform: scale(0.4);
    }
    .justify-content-center{
        width: 80%;
    }
    .main-block{
        min-height: 100vh;
    }
    .alk-img{
        transform: scale(1); 
    }
    .alko-abs{
        right: 0; 
        /* top: 25%; */
    }
    .alk-img-operator{
        transform: scale(1.2); 
    }
    .alko-abs-operator{
        right: 19%; 
        top: 10%;
    }
    .search-menu-container{
        height: 100px;
    }
    .logout-button, .login-button{
        font-size: 16px !important;
    }
}
.search-block{
    position: relative;
    width: 100%;
}
.lupa-img{
    position: absolute; 
    right: 0; 
    top: 6px;
}
.okna-img{
    filter: opacity(0.5);
}
.upper-block{
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.upper-block_check{
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}
.upper-block-blue{
    width: 100%;
    height: 80px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(43, 69, 174, 1) 0%,rgba(114, 142, 255, 1) 100%);
}
.upper-block, .upper-block_check {
	background: linear-gradient(180deg, rgba(43, 69, 174, 1) 0%,rgba(114, 142, 255, 1) 100%);
	background-size: 150% 150%;
	animation: gradient 5s ease-in-out infinite;
    animation-fill-mode: both;
    overflow: hidden;
}
.search-menu{
    justify-content: space-between;
    display: grid !important;
    margin-top: 80px;
    grid-template-columns: 500px 1fr;
}
.search-menu-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes gradient {
	0% {
		background-position: 50% 0%;
	}
	50% {
		background-position: 50% 100%;
	}
	100% {
		background-position: 50% 0%;
	}
}



.search-menu, .search-menu_check{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.search-menu_check{
    justify-content: space-between;
    display: grid !important;
    grid-template-columns: 500px 1fr;
}

.search-form{
    outline-style: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 18px;
    width: 100%;
    border: solid 1px rgba(255, 255, 255, 0.712);
    box-shadow: 4px 4px 20px rgba(69, 78, 109, 0.5);
}
.logout-button, .login-button{
    padding: 10px 0;
    text-decoration: none !important;
    color: white !important;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    border: none !important;
    box-shadow: 4px 4px 20px rgba(69, 78, 109, 0.5);
    padding: 8px 20px;
    transition: 0.2s;
}
.logout-button:hover, .login-button:hover, .operator-button:hover{
    background-color: rgb(255, 255, 255) !important;
    color: #203179 !important;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
}
.footer{
    background-color: #323a5b !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.212) inset !important;
}

.footer-block{
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.operator-button{
    color: #ffffff !important; 
    text-decoration: none; 
    background-color: rgba(255, 255, 255, 0.3); 
    padding: 10px;
    border-radius: 8px; 
    transition: 0.2s;
    width: fit-content;
}
.footer-a{
    color: #d6d6d6 !important;
}
.footer-p{
    color: #e8e8e8; font-weight: 400;
}
.footer-h{
    color: #e8e8e8; font-weight: 450;
}
.footer-h1{
    color: #e8e8e8; font-weight: 500;
}
.hr::after {
    background: #323a5b;
    content: url(../../static/img/logo-white-new.svg);
    scale: 0.09;
    padding: 100px;
}
.hr{
    background-color: rgb(255, 255, 255); 
    width: 80%; height: 2px; 
    text-align: center; 
    display: flex;
    align-items: center;
    justify-content: center; 
    margin: 50px 0 50px 0;
}
.block-title{
    align-self: flex-start; 
    font-size: 32px; 
    font-weight: 500; 
    color: rgb(71 71 71) !important; 
    border-bottom: 2px solid #4864d0; 
    height: 50px;
    width: 100%;
}

.alert {
    position: fixed !important;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    top: 80px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    animation: slideIn 0.5s forwards;
}

.list-group-item-error {
    background-color: #dc3545 !important;
    color: white !important;
}

.close-btn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: black;
}

@keyframes slideIn {
    from {transform: translateX(100%); opacity: 0;}
    to {transform: translateX(0); opacity: 1;}
}
.alk-img, .alk-img-operator{
    filter: opacity(0.3);
}
.alko-abs, .alko-abs-operator{
    position: absolute;
}