

body {
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    border: 0;
    justify-content: center;
    gap: 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
    overflow: auto;        
}

::-webkit-scrollbar {
  display: none;
}

#short_log {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(323deg) brightness(105%) contrast(101%);
}


#NavB {
    width: 100vw;
    height: 70px;
}

#Home {
    height: fit-content;
}

#HomeBG {
    position: relative;
    display: inline-block;
    
}

#HomeBG #BG1{
    width: 100vw;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    aspect-ratio: 96 / 35;
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 10px black;
}

#HomeBG #logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(323deg) brightness(105%) contrast(101%);
}

#NavBar {
    position: fixed;
    background-color: white;
    width: 100%;
    height: 70px;
    justify-content: center;
    z-index: 5;
    display: flex;
    flex-direction: row
    
}

#NavBar img{
    justify-self: center;
    position: absolute;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, 0);
    display: block;
    
}

#NavBar h1{
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: 900;
    z-index: 3;
    position: relative;
    margin-left: 120px;
}

#G {
    margin-right: 150px;
}

#PaslaugosBG{
    position: relative;
    display: block;
    height: 1100px;
}

#PaslaugosBG #BG1{
    width: auto;
    height: 1100px;
    margin: 0 auto;
    display: block;
    box-shadow: white 0px 0px 30px 60px inset;
    position: relative;
    top: -5px;
    opacity: 0.3;
}

#KubCont {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 1260px;
    height: fit-content;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#PslKub {
    width: 360px;
    height: 250px;
    background-color: black;
    border-radius: 20px;
    margin: 30px;
    margin-top: 40px;
    box-shadow: 15px 15px #adadad;
}

#PslLog {
    
    position: relative;
    left: -24px;
    top: -24px;
    background-color: rgb(40, 40, 40);
    width: 70px;
    height: 70px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;

}

#PslLog img {
    width: 100vw;
    margin: 0 auto;
    display: block;
    padding-top: 5px;
    width: 60px;
    height: 60px;
    
}

#white {
    filter: invert(99%) sepia(2%) saturate(1305%) hue-rotate(268deg) brightness(118%) contrast(100%);
}

#PslKub h1 {
    position: relative;
    display: inline-block;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 30px;
    left: 50%;
    top: -40px;
    text-align: center;
    transform: translate(-50%, 0);
}

#PslKub h2 {
    position: relative;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin: 0 30px;
    top: -20px;
    text-align: center;
}

#PslKub #P1 {
    position: relative;
    background-color: white;
    height: 3px;
    width: 240px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    top: -50px;
}


#PslKub #bug1 {
    top: -10px;    
}


#P2 {
    position: relative;
    background-color: white;
    height: 3px;
    width: 240px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    bottom: 150px;
}

#mygtuk {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.contact-form button {
    background-color: black;
    width: 400px;
    color: white;
    font-weight: 500;
    border: 2px solid #333;
    padding: 22px;
    text-wrap: nowrap;
    font-size: 26px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 15px 15px #adadad;
    margin-top: 100px;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form1 button {
    background-color: #00b300;
    width: 400px;
    color: white;
    font-weight: 600;
    
    padding: 12px;
    text-wrap: nowrap;
    font-size: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
    
    margin-top: 10px;
    
}

.carousel-container4 {
    position: relative;
    width: 100vw;
    height: 600px;
    overflow: hidden;
    
    
}
  
.carousel4 {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.carousel-item4 {
    background-color: #0c090d;
    /*filter: drop-shadow(0 0 5vw #df4afe);*/
    width: 600px;
    height: 400px;
    border-radius: 0px;
    transition: transform 0.5s, opacity 0.5s, z-index 0.5s;
    position: absolute;
}
  
.carousel-item4.active4 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}
  
.carousel-item4.prev4 {
    transform: translateX(-200px) scale(0.9);
    opacity: 0.5;
    z-index: 2;
}
  
.carousel-item4.next4 {
    transform: translateX(200px) scale(0.9);
    opacity: 0.5;
    z-index: 2;
}
  
.carousel-item4.hidden4 {
    transform: translateX(0) scale(0.7);
    opacity: 0;
    z-index: 1;
}
  
.carousel-btn4 {
    position: absolute;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
  
.carousel-btn4.up4 {
    
    transform: translateX(-50%);
}
  
.carousel-btn4.down4 {
    
    transform: translateX(-50%);
}

#atsiliepim {
    background-color: rgb(24, 24, 24);
    height: 1110px;
    position: relative;
    
    display: flex;
    align-items: center;
    
    
}

#A_grid {
    position: relative;
    display: grid;
    grid-template-columns: 44% 56%;  
    grid-template-rows: 36% 36% 28%;
    gap: 30px;
    width: 1150px;
    height: 900px;
    margin: 0 auto;
    top: -25px;
  
}

.A_deze {
    background-color: white;
    border-radius: 13px;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100%;
    width: 100%;
    
}

.A_deze video {
    object-fit: fill;
    
    width: inherit;
    height: inherit;
    overflow-clip-margin: 0;
    overflow: hidden;
}

#auksta{
    grid-row: 1 / span 2;
    width: auto;
    
}

#auksta video {
transform: translateX(-29%);
}

#sq {
    width: ą;
}

#plot {
    grid-column: 1 / span 2;
}

#atsiliepim h1 {
    position: relative;
    margin: 0;
    color: white;
    font-size: 100px;
    letter-spacing: -0.1rem;
    width: fit-content;
    left: 50%;
    top: 75px;
    transform: translate(-50%, -50%);

}

#P3 {
    position: relative;
    background-color: white;
    height: 3px;
    width: 540px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    top: 50px;
}

#P4 {
    position: relative;
    background-color: white;
    height: 3px;
    width: 540px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    top: 340px;
}

#L1 {
    position: relative;
    background-color: white;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    border-radius: 50%;
    top: 310px;
    box-shadow: black 0px 0px 40px 10px ;
}

#L1 h1 {
    color: black;
    font-size: 50px;
    position: relative;
    top: 50%;
}

.carousel-item4 h2{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: 300;
    margin: 0 50px;
    font-size: x-large;
}

.carousel-item4 b{
    color: white;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    font-weight: 800;
    
    font-size: xx-large;
}

#Bottom #BG1 {
    width: 100vw;
    height: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    background-image: url(Assets/ApaciaBG.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#kubContainer {
    width: 80vw;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0 auto;
}

#atsiliepim #kub {
    width: 300px;
    height: 90px;
    background-color: black;
    transform: translate(0, -50%);
    position: relative;
    top: 0;
    z-index: 4;
}

#kub #logo {
    background-color: rgb(40, 40, 40);
    height: 60px;
    width: 60px;
    border-radius: 10px;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
}

#kub #logo img{   
    height: 50px;
    width: 50px;   
    margin: 5px;
}

#kub h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    top: -30px;
    transform: translate(-50%, -50%);
    font-weight: 600;
}

#kub h2 {
    color: rgb(122, 122, 122);
    width: fit-content;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    top: -45px;
    left: 50%;
    position: relative;
    letter-spacing: -0.1rem;
    
    transform: translate(-50%, -50%);
}

#BotImgContainer {
    width: 60vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    margin: 0 auto;
    position: relative;
    
}



#BotKK:hover {
    filter: brightness(100%);
    transition: 0.5s;
}

#BottLog {
    background-color: rgb(40, 40, 40);
    width: 200px;
    height: 100px;
    position: relative;
    top: -600px;
    left: -25px;
    
}

#BottLog img {
    height: 100px;
    transform: translate(-50%, -50%);
    position: relative;
    left: 45%;
    top: 50%;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(323deg) brightness(105%) contrast(101%);
}

#Bottom {
    height: 1000px;
}

#BotKK {
    height: 622px;
    width: 328px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    position: relative;
    margin-top: 12em;
}

#karusKont {
    
    position: absolute;  /* allows absolutely positioned images inside */
  width: 100%;
  height: 100%;
  display: block;      
    
    transition: transform 2s ease-in-out;

}

#BIC {
    position: absolute;
    transition: opacity 2s linear;
}

#karusKont img{
    height: 622px;
    width: auto;
    object-fit: cover;
    object-position: center; 
    
    opacity: 0;
    z-index: 0;
  pointer-events: none;
  transition: opacity 2s ease-in-out; /* <-- fade transition */
}


#karusKont img.fade-in {
  opacity: 1;
}

.footer {
    background-color: rgb(24, 24, 24);;
    color: white;
     
    width: 15vw;
    height: 15vh;
    
}

footer {
    position: relative;
    top: -00px;
}

.contact-form {
    max-width: 25vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    justify-content: left;
    
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1vh;
    border: none;
    border-radius: 5px;
    background-color: #222;
}

.contact-form textarea {
    height: 7vh;
    resize: none;
    background-color: #222;
}



.contact-form button:hover {
    background-color: rgb(156, 156, 156);
}

@media (max-width: 600px) {
    .contact-form {
        width: 90%;
    }
}

#footer2 {
    background-color: rgb(24, 24, 24);
    color: white;
    text-align: center;
    position: relative;
    
    
    width: 100vw;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}

#dalis {
    width: 20vw;
    height: 300px;
    
    position: relative;
    text-align: left;
}

#dalis img {
    width: 390px;
    height: auto;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(323deg) brightness(105%) contrast(101%);
}

#dalis h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    color: #a8a8a8;
    font-weight: 500;
}
#dalis h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

/* Fullscreen overlay */
.loading-screen {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* The filling element — will show through the logo mask */
.logo-fill {
  width: 300px; /* your logo size */
  height: 300px;
  
  /* The mask defines the logo shape */
  -webkit-mask: url('Assets/PamarioGeoLogo.png') no-repeat center / contain;
  mask: url('Assets/PamarioGeoLogo.png') no-repeat center / contain;
  
  /* Background that will animate in */
  background: linear-gradient(to right, black 100%, transparent 0);
  background-size: 0% 100%; /* Start empty */
  background-repeat: no-repeat;
  background-position: left center;
  
  animation: fillLogo 3s ease-in-out forwards;
}

/* Animate the fill from left to right */
@keyframes fillLogo {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}

/* Fade out the loading screen after page load */
.loading-screen.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}


@media (max-width: 768px) {
    body {
        position: relative;
        width: 100vw;
        overflow-x: hidden;
    }

    html {
        overflow-x: hidden;
    }

    #HomeBG #BG1{
    width: auto;
    height: 400px;
    margin: 0 auto;
    display: block;
    position: relative;
    
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translatex(-50%);
    left: 50vw;
    box-shadow: 0 0 10px black;
}

    #PaslaugosBG #BG1{
    width: auto;
    height: 600px;
    margin: 0 auto;
    display: block;
    box-shadow: white 0px 0px 30px 60px inset;
    position: relative;
    top: -5px;
    opacity: 0.3;
    }

    #PaslaugosBG{
    position: relative;
    display: block;
    height: 600px;
    }

    #mygtuk {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    
    align-items: center;
    justify-content: center;
}

.contact-form button {
    background-color: black;
    width: fit-content;
    color: white;
    font-weight: 500;
    border: 2px solid #333;
    padding: 2.2vw;
    text-wrap: nowrap;
    font-size: 2.5vw;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 15px 15px #adadad;
    margin-top: 0px;
    font-family: 'Times New Roman', Times, serif;
}

    .contact-form button {
    width: 40vw;
    }

    .contact-form {
    max-width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    justify-content: left;
}

    #KubCont {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100vw;
    top: 50%;
    left: 50vw;
    transform: translate(-50%, -50%);
}



    #PslKub {
    zoom: 0.4;
    
}

    


    #footer2 {
        flex-direction: column;
        height: 120vh;
        
    }

    #dalis {
        width: 50vw;
        height: 300px;
        text-align: center;
        
        align-items: center;
    }

    #dalis img {
        height: auto;
        width: 50vw;
        position: absolute;
        transform: translateX(-50%);
        top: 25%;
    }

    #A_grid {
    position: relative;
    display: grid
;
    grid-template-columns: 44% 56%;
    grid-template-rows: 36% 36% 28%;
    gap: 30px;
    width: 80vw;
    height: 50vh;
    margin: 0 auto;
    top: -25px;
    left: -5vw;
}

    #atsiliepim {
    background-color: rgb(24, 24, 24);
    height: 70vh;
    position: relative;
    display: flex
;
    align-items: center;
}
    
    #auksta video {
        transform: translate(-14rem, 0);
        left: 50%;
    }

    .hide-on-mobile {
    display: none;
    height: 0;
    width: 0;
  }

  #BotImgContainer {
    width: 100vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    margin: 0 auto;
    position: relative;
    
}


}