html, body {
    padding: 0px;
    margin: 0px;
    font-family: "Montserrat", sans-serif;
}
.logo>img {
    width: 64px;
    padding: 10px;
}
.top_bar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    background-color: #e4e4e4;
    height: 80px;
    /*fixinam pozicija paskui su js galim auto hide daryti*/
    position: fixed;
    //auto hide susvelninti naudojama mini animacija
    transition: top 0.3s;
    //dedam dar mini seseli boxui kad geriau atrodytu
    -webkit-box-shadow: 0px 2px 45px -28px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 45px -28px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 45px -28px rgba(0,0,0,0.75);
}
.navigacija {
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.navigacija a {
    color: rgb(34, 34, 34);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    height: 100%;
    align-content: center;
    white-space: nowrap;
}
.submeniu {
    display: flex;
    overflow: hidden;
    height: 100%;
}
.meniu-mygtukas {
    height: 100%;
    align-content: center;
    white-space: nowrap;
}
.submeniu {
    display: flex;
    border: none;
    outline: none;
    color: rgb(49, 49, 49);
    padding: 14px 16px;
    margin: 0;
}
.navigacija a:hover,
.submeniu:hover .meniu-mygtukas {
    color: rgb(207, 68, 4);
    cursor: pointer;
    transition: all 1s ease;
}
.submeniu-turinys {
    display: none;
    position: absolute;
    background-color: #3b3b3b;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 80px;
    transition: 0.2s ease;
}
.submeniu-turinys a {
    float: none;
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: all 0.2s ease;
}
.submeniu-turinys a:hover {
    background-color: #eeeeee;
}
.submeniu:hover .submeniu-turinys {
    display: block;
}
.right_nav {
    display: flex;
}
.search_btn>a>img {
    width: 48px;
}
#search_window>input {
    padding: 10px 20px;
    background-color: #020202;
    color: white;
    font-weight: 400;
    border: 0px;
    border-radius: 6px;
    width: 400px;
}
.search_btn>img:hover {
    cursor: pointer;
}
.huge_window {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/parallax.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
}
.parallax_mid_box {
    text-align: center;
    height: 150px;
    color: white;
    text-shadow: 2px 2px 5px rgb(22, 22, 22);
    font-size: 14pt;
}
.at_glance {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    justify-content: center;
    background-color: #5416e6;
    color: white;
    text-align: center;
}
.at_glance_antraste {
    display: flex;
    font-size: 32pt;
    justify-content: center;
    align-items: flex-start;
    padding: 46px;
    font-weight: 600;
    white-space: nowrap;
}
.maza_grid_dezute {
    display: flex;
    padding: 20px;
}
.maza_ikona {
    padding: 20px;
    font-size: 28pt;
    color: orange;
}
.mazas_tekstas {
    grid-column: 2;
    text-align: left;
    font-size: medium;
}
.mazas_tekstas>p {
    white-space: nowrap;
}
.boldintas_tekstas {
    font-size: 30pt;
    font-weight: 900;
    white-space: nowrap;
}
.headlainas_antraste {
    grid-row: span 2;
    text-align: left;
    font-size: 40pt;
    font-weight: 600;
}
.headlainas_feuture {
    padding: 20px;
    -webkit-box-shadow: 0px 5px 9px 6px rgba(0,0,0,0.15);
    box-shadow: 0px 5px 9px 6px rgba(0,0,0,0.15);
    border-radius: 4px;
}
.headlainas {
    padding: 100px 200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
}
.headline_icon {
    font-size: 28pt;
    color: orange;
}
.module_heading_small {
    font-size: 12px;
    color: rgb(139, 139, 139);
}
.post_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 60px;
    justify-items: center;
}
.post_row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 60px;
    justify-items: center;
    flex-direction: column-reverse;
}
.main_content2 {
    grid-column: 2;
}
.main_content_post_image2 {
    grid-column: 1;
    grid-row: 1;
    padding: 40px;
}
.main_content_post2 {
    padding: 40px;
}
.main_content {
    display: flex;
    flex-direction: column;
    width: 70%;
}
.small_content {
    font-size: 0.8em;
}
.offer_row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 150px;
    background-color: rgb(211, 63, 5);
    color: white;
}
.offer_title {
    font-size: 36pt;
    font-weight: 600;
}
.offer_btn {
    margin-top: 30px;
    padding: 10px 30px;
    font-weight: 500;
    background-color: #d33f05;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    transition: all 0.2s ease-in-out;
}
.offer_btn:hover {
    background-color: #e4e4e4;
    color: orangered;
}
.footer_main_grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    background-image: url('../img/atomic-footer-bg.jpg');
    height: 450px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    justify-items: center;
    align-content: center;
    text-shadow: 2px 2px 5px rgb(22, 22, 22);
}
.bottom_logo>img {
    width: 48px;
}
.bottom_logo {
    grid-column: 1 / 5;
}
.black_glass {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.3px);
    -webkit-backdrop-filter: blur(2.3px);
    margin-top: 40px;
}
.padding20 {
    padding: 20px;
}
.footer_first_section, .footer_first_section2, .footer_first_section3, .footer_first_section4 {
    grid-column: 1;
    grid-row: 1;
}
.footer_first_section {
    display: grid;
    grid-template-columns: 4;
    grid-template-rows: 2;
    width: 25%;
}
.social_icons {
    font-size: 25px;
    color: rgb(102, 102, 235);
    text-align: center;
}
.social_icons:hover {
    color: #eae4f8;
    cursor: pointer;
}
.bottom_mini_grid1 {
    grid-column: 1;
}
.bottom_mini_grid2 {
    grid-column: 2;
}
.bottom_mini_grid3 {
    grid-column: 3;
}
.bottom_mini_grid4 {
    grid-column: 4;
}
.footer_section_head {
    font-size: 18pt;
}
.footer_links_list {
    list-style: none;
    line-height: 2.5;
}
.footer_links_list>li>a {
    color: white;
    text-decoration: none;
}
.footer_links_list>li>a:hover {
    color: orange;
    transition: all 0.2s ease-in-out;
}
.hidden_search_modal {
    display: none;
}
.powered_by {
    margin-top: 40px;
    width: calc(100% - 40px);
    grid-row: 2;
    grid-column: span 4;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 60px;
    border-top: 1px solid rgb(78, 77, 77);
    background-color: black;
}
.powered_a {
    text-decoration: none;
    color: white;
    font-weight: 400;
}
.powered_a:hover {
    color: orange;
}
@media screen and (max-width: 768px) {
    .offer_btn {
        white-space: nowrap;
    }
    .at_glance {
        display: block;
    }
    .headlainas {
        display: block;
        padding: 10px;
    }
    .headlainas_antraste {
        width: 100%;
        display: block;
    }
    .post_row, .post_row2 {
        display: block;
        padding: 20px;
    }
    .main_content, .main_content2 {
        width: 100%;
    }
    .main_content_post_image>img, .main_content_post_image2>img {
        width: 100%;
        margin-top: 20px;
    }
    .footer_main_grid {
        display: flex;
        flex-direction: column;
    }
    .footer_links_list {
        margin-left: -30px;
    }
    .footer_first_section {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 90%;
        justify-content: center;
        align-items: center;
    }
    .footer_section2, .footer_section3, .footer_section4 {
        display: block;
        text-align: center;
    }
    .footer_first_section2, .footer_first_section3, .footer_first_section4 {
        display: flex;
        width: 100%;
        text-align: center;
    }
    .headlainas_feuture {
        margin-top: 20px;
    }
}
@media screen and (max-width: 1280px) {
    .at_glance {
        display: block;
    }
    .headlainas {
        display: flex;
        flex-direction: column;
        padding: 20px 30px;
        justify-content: center;
        align-items: center;
    }
    .post_row, .post_row2 {
        display: flex;
        grid-template-columns: 1fr 1fr;
        padding: 30px 60px;
        justify-items: center;
        flex-direction: column;
        align-items: center;
    }
    .main_content {
        width: 100%;
    }
    .main_content_post_image, .main_content_post_image2 {
        padding: 20px;
    }
    .footer_main_grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
    }
    .footer_first_section, .footer_section2, .footer_section3, .footer_section4 {
        width: 80%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
.cssReveal {
    opacity: 0;
    transform: translateY(300px) scale(0.3); /* Initial state */
    transition: all 1s; /* Smooth transition for manual updates */
}
.cssReveal.reveal {
    opacity: 1;
    transform: translateY(0px) scale(1);
}
.cssReveal.hide {
    opacity: 0;
    transform: translateY(300px) scale(0.3);
}